/* Keep the first screen dedicated to the download tool and its results. */
.download-stage{padding-bottom:48px}
.download-hero{padding-top:48px;padding-bottom:20px}
.download-hero .home-hero-copy{max-width:1040px}
.download-hero h1{font-size:52px;line-height:1.12;margin-bottom:18px}
.download-hero .home-lead{max-width:780px;margin-bottom:26px;font-size:var(--font-size-body)}
.download-hero .home-url-form{max-width:820px}
.download-hero .home-hero-kicker>span,.download-hero .home-link-icon{display:inline-flex;align-items:center;justify-content:center}
.download-hero .home-hero-kicker .app-icon{width:16px;height:16px;flex-shrink:0}
.download-hero .home-link-icon .app-icon{width:20px;height:20px;flex-shrink:0}
#download-analyze .app-icon{width:18px;height:18px;flex-shrink:0}
.download-guide{background:#fff}
.download-guide-inner{max-width:1104px;padding-top:24px;padding-bottom:16px}
.download-guide-intro{text-align:left;margin-bottom:28px}
.download-guide-intro h2{font-size:30px;line-height:1.25;font-weight:550;margin:0 0 10px;letter-spacing:-.8px}
.download-guide-intro>p:last-child{font-size:15px;line-height:1.7;margin:0}
.download-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:0}
.download-guide-steps li{min-width:0;overflow:hidden;border-radius:16px;background:#f7f7f5}
.download-step-preview{display:flex;align-items:center;justify-content:center;min-height:174px;padding:24px 24px 12px;user-select:none}
.download-step-example{width:100%;max-width:270px;padding:16px;border:1px solid #e5e7ed;border-radius:10px;background:#fff;box-shadow:0 4px 12px #18223604;font-size:12px;line-height:1.5;color:#657084}
.download-step-label{display:block;font-size:12px;font-weight:550;color:#334155;margin-bottom:10px}
.download-step-url{padding:9px 10px;border:1px solid #e5e7ed;border-radius:6px;white-space:nowrap;overflow:hidden;margin-bottom:10px}
.download-step-action{display:inline-block;border-radius:5px;background:#eef1ff;color:var(--primary);padding:5px 10px;font-size:11px;font-weight:550}
.download-step-tabs{display:flex;gap:18px;border-bottom:1px solid #edf0f4;padding-bottom:10px;margin-bottom:12px}
.download-step-tabs span:first-child{color:var(--primary);font-weight:600}
.download-step-format{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:10px}
.download-step-lines{display:flex;justify-content:space-between;gap:24px}
.download-step-lines i{width:52%;height:6px;border-radius:2px;background:#eef0f4}
.download-step-lines i:last-child{width:22%}
.download-step-progress{height:5px;border-radius:3px;background:#edf0f4;margin:16px 0}
.download-step-progress span{display:block;width:100%;height:100%;border-radius:inherit;background:#7d8ce5}
.download-step-save{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px}
.download-step-copy{padding:16px 24px 26px}
.download-guide-number{display:block;margin-bottom:8px;font-size:12px;line-height:1.5;font-weight:500;font-variant-numeric:tabular-nums;color:#7b8494}
.download-guide-steps h3{font-size:19px;font-weight:600;line-height:1.4;letter-spacing:-.4px;margin:0 0 12px}
.download-guide-steps p{font-size:14px;line-height:1.8;margin:0;color:#606b7a}
@media(max-width:800px) and (min-width:601px){.download-step-preview{padding:18px 14px 8px;min-height:160px}.download-step-copy{padding:16px 18px 24px}.download-step-example{padding:12px}.download-step-save{flex-wrap:wrap}}
.download-benefits{max-width:1104px;padding-top:48px;padding-bottom:16px}
.download-cta{max-width:1104px;padding-bottom:72px}
.download-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:28px 40px;padding:36px 40px;border:1px solid #e5e9f5;border-radius:18px;background:#f6f7fc}
.download-cta-inner>div{min-width:0}
.download-cta h2{font-size:28px;font-weight:550;line-height:1.3;letter-spacing:-.7px;margin:0 0 10px}
.download-cta p{font-size:14px;line-height:1.8;margin:0;color:#657084}
.download-cta .home-button{flex-shrink:0;gap:12px;padding:13px 20px}
.download-cta .home-button svg{flex-shrink:0}
#download-tool{scroll-margin-top:110px}
@media(max-width:768px){.download-cta-inner{align-items:flex-start;flex-direction:column;padding:28px}.download-cta h2{font-size:26px}#download-tool{scroll-margin-top:92px}}
@media(max-width:600px){.download-cta{padding-bottom:48px}.download-cta-inner{padding:26px 22px;gap:24px}.download-cta .home-button{width:100%;justify-content:center}}
.download-benefits-heading{margin-bottom:28px}
.download-benefits-heading h2{font-size:30px;line-height:1.25;font-weight:550;letter-spacing:-.8px;margin:0 0 10px}
.download-benefits-heading p{font-size:15px;line-height:1.7;margin:0}
.download-benefits-gallery{display:grid;grid-template-columns:1fr 1fr 1.16fr;grid-template-areas:"video video travel" "audio quality travel";gap:14px}
.download-benefit{min-width:0;overflow:hidden;border-radius:16px;background:#f7f7f5}
.download-benefit>img{display:block;width:100%;height:194px;object-fit:cover}
.download-benefit-copy{padding:24px}
.download-benefit-copy h3{font-size:19px;font-weight:600;line-height:1.4;letter-spacing:-.4px;margin:0 0 12px}
.download-benefit-copy p{font-size:14px;line-height:1.8;margin:0;color:#606b7a}
.download-benefit-video{grid-area:video;display:grid;grid-template-columns:1fr 1fr;align-items:center}
.download-benefit-video>img{height:100%;min-height:248px;object-position:48% center}
.download-benefit-audio{grid-area:audio}
.download-benefit-quality{grid-area:quality}
.download-benefit-travel{grid-area:travel;display:flex;flex-direction:column}
.download-benefit-travel>img{flex:1;min-height:350px;object-position:35% center}
.download-benefit-travel .download-benefit-copy{padding-top:28px;padding-bottom:28px}
.download-faq{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr);align-items:start;gap:64px;max-width:1104px;padding-top:64px;padding-bottom:72px}
.download-faq-heading h2{font-size:30px;font-weight:550;line-height:1.25;letter-spacing:-.8px;margin:0 0 16px}
.download-faq-heading p{max-width:240px;font-size:14px;line-height:1.8;margin:0}
#download-faq .home-faq-list{min-width:0;border-top:1px solid var(--line)}
#download-faq details{padding:0;border-bottom:1px solid var(--line)}
#download-faq summary{padding:22px 0;gap:20px;font-size:16px;font-weight:550;line-height:1.6;transition:color .15s}
#download-faq summary::marker{content:""}
#download-faq summary:hover,#download-faq details[open] summary{color:var(--primary)}
#download-faq summary:after{content:"";width:26px;height:26px;flex-shrink:0;border-radius:50%;color:#6c778c;background-color:#f4f5f8;background-image:linear-gradient(currentColor,currentColor),linear-gradient(currentColor,currentColor);background-position:center;background-repeat:no-repeat;background-size:10px 1.5px,1.5px 10px}
#download-faq details[open] summary:after{content:"";color:var(--primary);background-color:#eef1ff;background-image:linear-gradient(currentColor,currentColor);background-size:10px 1.5px}
#download-faq .home-faq-list p{font-size:14px;line-height:1.85;margin:-6px 44px 24px 0;color:#657084}
#download-faq .home-faq-list a{text-underline-offset:3px;text-decoration:underline;text-decoration-color:#bdc6f4}
@media(max-width:900px){.download-faq{grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:36px}}
@media(max-width:600px){.download-faq{grid-template-columns:1fr;gap:28px;padding-top:44px;padding-bottom:48px}.download-faq-heading h2{font-size:26px;margin-bottom:10px}.download-faq-heading p{max-width:none}#download-faq summary{padding:20px 0;font-size:16px}#download-faq .home-faq-list p{margin-right:36px}}
@media(prefers-reduced-motion:reduce){#download-faq summary{transition:none}}
@media(max-width:900px){.download-benefits-gallery{grid-template-columns:1fr 1fr;grid-template-areas:"video video" "audio quality" "travel travel"}.download-benefit-travel{display:grid;grid-template-columns:1fr 1fr;align-items:center}.download-benefit-travel>img{height:260px;min-height:0;object-position:center}}
@media(max-width:600px){.download-benefits{padding-top:36px}.download-benefits-heading h2{font-size:26px}.download-benefits-gallery{grid-template-columns:1fr;grid-template-areas:"video" "audio" "quality" "travel";gap:16px}.download-benefit-video,.download-benefit-travel{display:block}.download-benefit>img{height:auto;aspect-ratio:3/2;min-height:0;object-position:center}.download-benefit-copy,.download-benefit-travel .download-benefit-copy{padding:22px}.download-benefit-copy h3{font-size:19px}}
.download-hero .home-url-form input:focus,.download-hero .home-url-form input:focus-visible{outline:none}
.download-hero .home-url-form:focus-within{outline:2px solid var(--primary);outline-offset:3px}
.download-hero .home-url-form[data-state="loading"]{border-color:#a9b6ff;background:#f8faff;box-shadow:0 0 0 3px #3f5ae40c}
.download-hero .home-url-form[data-state="loading"] .home-link-icon{font-size:0}
.download-hero .home-url-form[data-state="loading"] .home-link-icon .app-icon{display:none}
.download-hero .home-url-form[data-state="loading"] .home-link-icon:before{content:"";display:block;width:20px;height:20px;border:2px solid #dce2f1;border-top-color:var(--primary);border-radius:50%;animation:download-analysis-spin .8s linear infinite}
@keyframes download-analysis-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.download-hero .home-url-form[data-state="loading"] .home-link-icon:before{animation:none}}
.download-notice{font-size:var(--font-size-caption);line-height:1.8;margin:12px auto 0;color:var(--muted)}
.downloader-page .home-button:disabled{cursor:not-allowed;opacity:1;background:#7182e9;border-color:#7182e9;color:#fff;transform:none;box-shadow:none}
.download-output:is([data-state="initial"],[data-state="verifying"],[data-state="analyzing"]){padding-top:0;padding-bottom:0}
.download-output:is([data-state="initial"],[data-state="verifying"],[data-state="analyzing"],[data-state="ready"]) .download-status{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;border:0;white-space:nowrap}
.download-output[data-state="ready"] .download-result-layout{margin-top:0}
.download-output{max-width:1040px;padding-top:8px;padding-bottom:10px}
/* A photo and its download choices share the homepage's editorial canvas. */
.download-stage{position:relative;isolation:isolate;background:#fff}
.download-stage:before{z-index:-1}
.download-hero{background:transparent}
.download-hero:before{background:none}
.download-hero h1{font-size:56px;letter-spacing:-2px}
.download-hero .home-url-form{max-width:700px}
.download-features{max-width:924px;margin:0 auto;padding-bottom:8px}
.download-showcase{display:grid;grid-template-columns:.94fr 1.2fr;gap:12px;padding:12px;border:1px solid #e3e7f2;border-radius:24px;background:#f1f3fa;box-shadow:0 16px 48px #2d3e6f09}
.download-showcase-photo{position:relative;overflow:hidden;min-width:0;min-height:300px;border-radius:15px;background:#d6d7ce}
.download-showcase-photo>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:51% center}
.download-showcase-photo:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#162023bb);pointer-events:none}
.download-showcase-caption{position:absolute;z-index:1;bottom:20px;left:18px;right:18px;display:flex;align-items:center;gap:10px;color:#fff}
.download-showcase-caption>span{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff70;border-radius:12px;background:#16202366;flex-shrink:0}
.download-showcase-caption .app-icon{width:22px;height:22px}
.download-showcase-caption small{display:block;font-size:11px;line-height:1.5;letter-spacing:.7px;color:#e7eaf1;margin-bottom:4px}
.download-showcase-caption strong{display:block;font-size:14px;font-weight:550;line-height:1.5}
.download-showcase-note{min-width:0;padding:20px 24px 16px;border:1px solid #e5e8f1;border-radius:15px;background:#fff}
.download-showcase-note h2{font-size:30px;line-height:1.15;font-weight:500;letter-spacing:-1px;margin:0 0 12px}
.download-showcase-note h2 span{color:var(--primary)}
.download-showcase-note>p{font-size:14px;line-height:1.75;margin:0 0 16px}
.download-showcase-options{display:grid;gap:10px}
.download-showcase-option{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #e5e9f5;background:#f9faff;border-radius:12px}
.download-showcase-option>div{min-width:0}
.download-showcase-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #dce3ff;border-radius:12px;background:linear-gradient(145deg,#f0f3ff,#e6ecff);color:var(--primary)}
.download-showcase-icon .app-icon{width:24px;height:24px}
.download-showcase-option strong{display:block;font-size:15px;font-weight:600;line-height:1.5;margin-bottom:2px}
.download-showcase-option small{display:block;font-size:13px;line-height:1.6;color:#657084}
@media(max-width:768px){.download-showcase{grid-template-columns:.85fr 1.2fr;padding:10px;gap:10px;border-radius:20px}.download-showcase-note{padding:20px}.download-showcase-note h2{font-size:26px}}
@media(max-width:600px){.download-showcase{grid-template-columns:1fr;max-width:420px;margin:auto}.download-showcase-photo{min-height:0;height:190px}.download-showcase-photo>img{object-position:center 45%}.download-showcase-note h2{font-size:28px}.download-showcase-caption{bottom:16px}}
/* Give the active download result room before the supporting introduction. */
.download-output:has(.download-result-layout:not([hidden]))+.download-features{margin-top:72px}
@media(max-width:600px){.download-output:has(.download-result-layout:not([hidden]))+.download-features{margin-top:48px}}
/* Reserve the widget's space even before render and after token cleanup. */
#download-verification{width:100%;max-width:320px;min-height:70px;margin:12px auto 0;text-align:left}
/* Once results are visible, the empty verification slot is no longer needed. */
.download-stage:has(#download-result:not([hidden])) #download-verification:empty{min-height:0;margin-top:0}
.download-status{font-size:var(--font-size-caption);text-align:center;margin:0;padding:9px 14px;border:1px dashed #dce3f4;border-radius:10px;background:#fafbff;overflow-wrap:anywhere}
.download-output[data-state="error"] .download-status,.download-output[data-state="download-error"] .download-status{color:#a32d35;border-color:#efc7cc;background:#fff8f8}
.download-output[data-state="ready"] .download-status,.download-output[data-state="download-success"] .download-status{color:#27644e}
.download-result-layout{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);align-items:center;gap:28px;margin-top:12px;padding:24px;border:1px solid #ccd5f4;border-top:3px solid var(--primary);border-radius:18px;background:#fff;box-shadow:0 12px 36px #243d7010,0 2px 6px #243d7006}
.download-video{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0}
.download-video img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:9px}
.download-video>div{min-width:0}.download-video .home-eyebrow{font-size:var(--font-size-caption)!important;margin:0 0 3px}
.download-video h2{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 6px;overflow-wrap:anywhere}
.download-video p:last-child{font-size:var(--font-size-caption);margin:0}
.download-picker{min-width:0;padding:24px;border:1px solid #e5eafa;border-radius:12px;background:#f6f8ff}
.download-picker-title{font-size:21px;font-weight:600;line-height:1.4;letter-spacing:-.5px;margin:0 0 16px}
.download-format-menu{position:relative;min-width:0}
.download-format-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:12px 16px;border:1px solid #dce2f1;border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:var(--font-size-control);text-align:left;transition:border-color .15s,box-shadow .15s}
#download-format-label{min-width:0;overflow-wrap:anywhere}
.download-format-toggle:hover,.download-format-toggle[aria-expanded="true"]{border-color:#a6b2f8;background:#fafbff}
.download-format-toggle[aria-expanded="true"]{box-shadow:0 0 0 3px #3f5ae40c}
.download-format-toggle:disabled{cursor:wait;color:var(--muted);background:#f8faff}
.download-format-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 4px;flex-shrink:0}
.download-format-toggle[aria-expanded="true"] .download-format-chevron{transform:rotate(225deg);margin-top:6px}
.download-format-listbox{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:30;max-height:min(560px,75svh);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid #e1e6f2;border-radius:12px;background:#fff;box-shadow:0 12px 32px #243d7021;scrollbar-width:thin}
.download-format-heading{padding:6px 12px 4px;font-size:var(--font-size-caption);line-height:1.5;font-weight:650;letter-spacing:1.1px;text-transform:uppercase;color:#7c879d}
.download-format-listbox>[role="group"]+div{border-top:1px solid var(--line);margin-top:6px;padding-top:2px}
.download-format-option{position:relative;padding:6px 36px 6px 12px;border-radius:7px;font-size:var(--font-size-small);line-height:1.5;cursor:pointer;overflow-wrap:anywhere;scroll-margin:6px}
.download-format-option:hover,.download-format-option[data-active="true"]{background:#f3f5ff;color:var(--primary)}
.download-format-option[aria-selected="true"]{background:#edf1ff;color:var(--primary);font-weight:600}
.download-format-option[aria-selected="true"]:after{content:"✓";position:absolute;right:12px;top:6px}
.download-format-option[aria-disabled="true"]{color:#9ca5b5;background:transparent;cursor:not-allowed;font-weight:400}
.download-size{display:block;margin:10px 0 18px;font-size:13px;line-height:1.6;color:#657084;overflow-wrap:anywhere}
.download-action{display:grid}
.download-action .download-complete{margin:12px 0 0;font-size:13px;line-height:1.6;color:#28734c;text-align:center}
.download-action .download-start{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;width:100%;padding:13px 18px;min-height:50px;font-size:15px;font-weight:600;border-radius:10px;box-shadow:0 4px 10px #3f5ae41a}
.download-start span{position:relative;z-index:1}
.downloader-page #download-file{background:#218354;border-color:#218354;color:#fff;box-shadow:0 4px 10px #21835426}
.downloader-page #download-file:hover{background:#196b43;border-color:#196b43;color:#fff;box-shadow:0 5px 14px #21835433}
.downloader-page .download-start[aria-busy="true"]{background:#263c57;border-color:#263c57;cursor:wait}
.download-start progress{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;appearance:none;opacity:.28;background:transparent}
.download-start progress::-webkit-progress-bar{background:transparent}
.download-start progress::-webkit-progress-value{background:#9cbeef}
.download-start progress::-moz-progress-bar{background:#9cbeef}
.download-start progress:indeterminate{width:35%;background:#9cbeef;animation:download-loading 1.5s ease-in-out infinite alternate}
@keyframes download-loading{to{transform:translateX(185%)}}
@media(prefers-reduced-motion:reduce){.download-start progress:indeterminate{animation:none}}
.download-output:is([data-state="download-preparing"],[data-state="download-success"]) .download-status{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0;border:0;white-space:nowrap}
.downloader-page .home-menu a[aria-current="page"]{color:var(--primary);font-weight:700}
@media(max-width:900px) and (min-width:769px){.download-result-layout{grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:20px;padding:20px}}
@media(max-width:768px){.download-result-layout{grid-template-columns:1fr;gap:20px;padding:20px}.download-video{flex-direction:row;align-items:center;gap:16px}.download-video img{width:160px;flex-shrink:0}.download-video h2{font-size:var(--font-size-body)}}
@media(max-width:520px){.download-video img{width:112px}.download-result-layout{padding:16px;gap:18px}.download-picker{padding:18px}.download-picker-title{font-size:20px}}

@media(max-width:768px){.download-stage{padding-bottom:36px}.download-hero{padding-top:36px}.download-hero h1{font-size:42px}.download-guide-inner{padding-top:16px;padding-bottom:16px}}
@media(max-width:600px){.download-hero h1{font-size:36px}.download-hero .home-lead{font-size:var(--font-size-body)}.download-guide-intro{margin-bottom:24px}.download-guide-intro h2{font-size:26px}.download-guide-steps{grid-template-columns:1fr;gap:16px}.download-step-preview{min-height:0;padding:24px 22px 8px}.download-step-copy{padding:18px 22px 24px}}
@media(max-width:400px){.download-hero h1{font-size:31px}}

/* MP3 page copy sections share the download site's typography and palette. */
.mp3-content .download-features{max-width:1104px;margin-top:40px}
.mp3-content .download-features h2{font-size:30px;line-height:1.25;font-weight:550;letter-spacing:-.8px;margin:0 0 24px}
.mp3-reassurance{font-size:13px;color:#657084;margin:14px 0 0;line-height:1.7;text-wrap:balance}
.mp3-format-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e5e9f5;border-radius:16px;overflow:hidden;background:#fff;text-align:left;font-size:14px;line-height:1.8}
.mp3-format-table th,.mp3-format-table td{padding:18px 24px;vertical-align:top;overflow-wrap:anywhere}
.mp3-format-table thead{background:#f6f8ff}
.mp3-format-table th{font-weight:600;color:#334155}
.mp3-format-table tbody th{width:25%}
.mp3-format-table td{color:#606b7a}
.mp3-format-table tbody tr>*{border-top:1px solid #e5e9f5}
.mp3-content code{font-size:.95em;background:#eef1f7;padding:1px 4px;border-radius:4px}
.mp3-content .download-step-copy{padding-top:26px}
.mp3-benefits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mp3-benefit,.mp3-related-card{min-width:0;padding:26px;border:1px solid #e5e9f5;border-radius:16px;background:#f9faff}
.mp3-benefit .app-icon{width:24px;height:24px;color:var(--primary);margin-bottom:16px}
.mp3-benefit h3{font-size:19px;font-weight:600;line-height:1.4;margin:0 0 12px}
.mp3-benefit p{font-size:14px;line-height:1.8;margin:0;color:#606b7a}
.mp3-related-card{background:#fff}
.mp3-related-card a:hover{color:var(--primary)}
@media(max-width:600px){.mp3-content .download-features h2{font-size:26px}.mp3-format-table th,.mp3-format-table td{padding:14px 12px}.mp3-format-table tbody th{width:32%}.mp3-benefits-grid{grid-template-columns:1fr}.mp3-benefit,.mp3-related-card{padding:22px}}
