@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    --bg: #111018;
    --bg-deep: #0b0a10;
    --surface: #191720;
    --surface-raised: #211e29;
    --surface-soft: #282431;
    --text: #f8f5f7;
    --muted: #cbc5d0;
    --subtle: #a69fac;
    --line: rgba(255, 255, 255, .09);
    --accent: #ff626e;
    --accent-bright: #ff7c85;
    --accent-dark: #d94352;
    --violet: #a991ff;
    --green: #5fd3a5;
    --shell: 1180px;
    --radius: 24px;
    --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; }
body {
    margin: 0;
    overflow-x: hidden;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body::before {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 56px 56px;
    content: '';
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.ambient { position: absolute; z-index: -2; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-one { width: 660px; height: 660px; top: -290px; right: -90px; background: radial-gradient(circle, rgba(255,75,96,.13), transparent 68%); }
.ambient-two { width: 620px; height: 620px; top: 210px; left: -360px; background: radial-gradient(circle, rgba(130,95,255,.09), transparent 68%); }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(17,16,24,.78); backdrop-filter: blur(20px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; background: linear-gradient(145deg, var(--accent-bright), var(--accent-dark)); box-shadow: 0 7px 24px rgba(255,98,110,.2); color: white; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.7px; }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.8px; }
.brand-name span { color: var(--accent); }
.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: var(--text); }
.header-action { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 600; transition: border-color .2s, background .2s; }
.header-action:hover { border-color: rgba(255,98,110,.5); background: rgba(255,98,110,.07); }
.header-action span { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1fr; align-items: center; gap: 48px; padding-block: 72px 80px; }
.hero-copy { max-width: 1100px; margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-bright); font-size: 11px; font-weight: 700; letter-spacing: 1.7px; line-height: 1.4; }
.pulse-dot, .success-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(255,98,110,.09); }
.success-dot { background: var(--green); box-shadow: 0 0 0 5px rgba(95,211,165,.09); }
.hero h1 { margin: 22px 0 24px; font-family: var(--font-display); font-size: clamp(40px, 4.6vw, 58px); font-weight: 800; line-height: 1.07; letter-spacing: -2.5px; white-space: nowrap; }
.hero h1 span { background: linear-gradient(105deg, var(--accent-bright), #ff9a9f 55%, #ffc0b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 650px; margin-inline: auto; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-top: 38px; color: var(--subtle); font-size: 12px; }
.hero-proof span { display: flex; align-items: center; gap: 7px; }
.hero-proof b { color: var(--text); font-family: var(--font-display); font-size: 16px; }

.downloader-wrap { position: relative; width: 100%; }
.downloader-card { position: relative; z-index: 1; padding: 30px; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius); background: linear-gradient(145deg, rgba(37,33,45,.98), rgba(25,23,32,.98)); box-shadow: 0 32px 80px rgba(0,0,0,.32); }
.card-glow { position: absolute; inset: 18% -8% -8%; z-index: 0; border-radius: 40%; background: rgba(255,75,96,.16); filter: blur(70px); }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.card-kicker, .small-label { color: var(--subtle); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; }
.card-heading h2 { margin: 5px 0 0; font-family: var(--font-display); font-size: 23px; line-height: 1.3; letter-spacing: -.8px; }
.secure-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(95,211,165,.15); border-radius: 8px; background: rgba(95,211,165,.05); color: #94d9bd; font-size: 9px; white-space: nowrap; }
.secure-chip svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; }
#extract-form { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 13px; }
#extract-form label { display: block; grid-column: 1 / -1; margin-bottom: -4px; color: #d4ced7; font-size: 12px; font-weight: 600; }
.url-field { display: flex; align-items: center; gap: 9px; height: 58px; padding: 0 9px 0 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #131118; transition: border-color .2s, box-shadow .2s; }
.url-field:focus-within { border-color: rgba(255,98,110,.7); box-shadow: 0 0 0 4px rgba(255,98,110,.08); }
.url-field > svg { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: var(--subtle); stroke-linecap: round; stroke-width: 1.7; }
.url-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.url-field input::placeholder { color: #686270; }
.paste-button { padding: 6px 9px; border: 0; border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-size: 11px; }
.paste-button:hover { color: var(--text); background: #332e3d; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 13px 20px; border: 0; border-radius: 13px; background: linear-gradient(110deg, var(--accent-bright), var(--accent-dark)); box-shadow: 0 10px 26px rgba(255,75,96,.17); color: white; font-weight: 700; transition: transform .2s, box-shadow .2s, filter .2s; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(255,75,96,.25); filter: brightness(1.05); }
.primary-button:active { transform: translateY(0); }
.primary-button:disabled { cursor: wait; filter: saturate(.5); opacity: .7; transform: none; }
.extract-button { width: 100%; min-height: 58px; margin-top: 0; }
.button-arrow { margin-left: auto; font-size: 20px; font-weight: 400; }
.button-label { margin-left: auto; }
.button-spinner { display: none; width: 19px; height: 19px; border: 2px solid rgba(255,255,255,.3); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
.extract-button.is-loading .button-label, .extract-button.is-loading .button-arrow { display: none; }
.extract-button.is-loading .button-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin: 16px 4px 0; color: var(--subtle); font-size: 10px; line-height: 1.6; text-align: center; }
.form-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.supported-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 23px -30px -30px; padding: 15px 20px; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); background: rgba(0,0,0,.11); color: var(--subtle); font-size: 10px; }
.supported-row strong { color: #aaa3b0; font-weight: 500; }
.supported-row i { color: #504a57; font-style: normal; }
.status-box { margin-top: 14px; padding: 13px 15px; border: 1px solid rgba(169,145,255,.18); border-radius: 11px; background: rgba(169,145,255,.06); color: #c9bcf4; font-size: 12px; }
.status-box.error { border-color: rgba(255,98,110,.25); background: rgba(255,98,110,.07); color: #ffabb2; }
#status-text { display: block; line-height: 1.6; }
.failure-fallback { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.1); }
.failure-fallback strong { display: block; color: #ffd4d8; font-size: 13px; }
.failure-fallback p { margin: 4px 0 0; color: #f0c3c8; font-size: 12px; line-height: 1.55; }
.failure-fallback a, .dialog-fallback { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; padding: 10px 14px; border-radius: 9px; background: var(--accent); color: white; font-size: 12px; font-weight: 700; }
.failure-fallback a:hover, .dialog-fallback:hover { background: var(--accent-bright); }
.dialog-fallback { display: flex; width: 100%; margin: 6px auto 14px; padding: 12px 16px; font-size: 13px; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.014); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 27px; }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 13px; padding-inline: 22px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { justify-content: flex-start; padding-left: 0; }
.trust-grid > div:last-child { justify-content: flex-end; padding-right: 0; border-right: 0; }
.trust-icon { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; border: 1px solid rgba(255,98,110,.14); border-radius: 10px; background: rgba(255,98,110,.05); color: var(--accent); font-size: 17px; }
.trust-grid p { margin: 0; line-height: 1.35; }
.trust-grid strong, .trust-grid small { display: block; }
.trust-grid strong { font-size: 12px; font-weight: 600; }
.trust-grid small { margin-top: 4px; color: var(--subtle); font-size: 10px; }

.content-section { padding-block: 100px; }
.section-heading { margin-bottom: 45px; }
.section-heading.centered { text-align: center; }
.section-heading h2 { margin: 13px 0 12px; font-family: var(--font-display); font-size: clamp(32px, 4vw, 43px); line-height: 1.2; letter-spacing: -1.8px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; min-height: 270px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); }
.step-card.featured { border-color: rgba(255,98,110,.2); background: linear-gradient(145deg, rgba(255,98,110,.08), rgba(255,255,255,.02)); }
.step-number { position: absolute; top: 16px; right: 23px; color: rgba(255,255,255,.05); font-family: var(--font-display); font-size: 68px; font-weight: 800; letter-spacing: -4px; }
.step-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 29px; border: 1px solid rgba(255,98,110,.18); border-radius: 14px; background: rgba(255,98,110,.07); color: var(--accent); font-size: 22px; }
.step-card h3, .bento-card h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 19px; letter-spacing: -.5px; }
.step-card p, .bento-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.split-heading p { max-width: 390px; padding-bottom: 7px; }
.bento-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.bento-card { min-height: 280px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.feature-icon { display: inline-grid; place-items: center; min-width: 46px; height: 40px; margin-bottom: 25px; padding-inline: 10px; border: 1px solid rgba(169,145,255,.2); border-radius: 11px; background: rgba(169,145,255,.07); color: #c2b1ff; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.quality-card { background: radial-gradient(circle at 100% 0, rgba(169,145,255,.09), transparent 55%), var(--surface); }
.quality-bars { display: flex; align-items: flex-end; gap: 9px; height: 65px; margin-top: 28px; }
.quality-bars span { display: grid; place-items: center; flex: 1; height: 32px; border-radius: 6px; background: rgba(255,255,255,.04); color: var(--subtle); font-size: 9px; }
.quality-bars span:nth-child(2) { height: 40px; }
.quality-bars span:nth-child(3) { height: 50px; }
.quality-bars .active { height: 62px; border: 1px solid rgba(255,98,110,.2); background: rgba(255,98,110,.11); color: var(--accent-bright); }
.device-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.device-pills span { padding: 6px 11px; border: 1px solid var(--line); border-radius: 20px; color: var(--subtle); font-size: 10px; }
.demo-progress { height: 7px; margin-top: 37px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.06); }
.demo-progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--accent)); }
.privacy-card a { display: inline-block; margin-top: 25px; color: var(--accent-bright); font-size: 12px; }
.faq-section { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 4px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -5px 0 24px; padding-right: 60px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 90px; padding: 42px 46px; border: 1px solid rgba(255,98,110,.16); border-radius: 22px; background: radial-gradient(circle at 80% 20%, rgba(255,98,110,.12), transparent 40%), var(--surface); }
.final-cta h2 { margin: 10px 0 0; font-family: var(--font-display); font-size: 28px; line-height: 1.3; letter-spacing: -1px; }

.result-section { padding-bottom: 90px; scroll-margin-top: 30px; }
.result-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.result-tools { display: flex; align-items: center; gap: 12px; }
.secondary-button, .text-button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.035); color: var(--muted); font-size: 11px; font-weight: 600; }
.secondary-button:hover { border-color: rgba(255,255,255,.2); color: var(--text); }
.text-button { border-color: transparent; background: transparent; }
.text-button:hover { color: var(--accent-bright); }
.video-summary { display: grid; grid-template-columns: 330px 1fr; gap: 32px; padding: 24px; border: 1px solid var(--line); border-radius: 22px 22px 0 0; background: var(--surface); }
.thumbnail-wrap { position: relative; min-height: 190px; overflow: hidden; border-radius: 14px; background: #0d0c12; }
.thumbnail-wrap img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }
.thumbnail-fallback { display: grid; place-items: center; min-height: 190px; background: radial-gradient(circle at 30% 20%, rgba(255,98,110,.15), transparent 50%), #15131b; }
.thumbnail-fallback span { color: rgba(255,255,255,.08); font-family: var(--font-display); font-size: 70px; font-weight: 800; }
.extractor-badge { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: rgba(10,9,14,.75); backdrop-filter: blur(10px); color: #ddd7e0; font-size: 9px; text-transform: uppercase; }
.video-details { align-self: center; min-width: 0; }
.video-details h2 { margin: 8px 0 15px; font-family: var(--font-display); font-size: 23px; line-height: 1.4; letter-spacing: -.6px; overflow-wrap: anywhere; }
.metadata { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; }
.metadata div { display: flex; gap: 6px; font-size: 11px; }
.metadata dt { color: var(--subtle); }
.metadata dd { margin: 0; color: #d6d0d9; }
.source-link { color: var(--accent-bright); font-size: 11px; }
.formats-panel { padding: 26px 24px 20px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; background: rgba(25,23,32,.65); }
.formats-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.formats-heading h3 { margin: 0; font-family: var(--font-display); font-size: 17px; }
.formats-heading p { margin: 2px 0 0; color: var(--subtle); font-size: 10px; }
.filter-control { display: flex; align-items: center; gap: 9px; color: var(--subtle); font-size: 10px; }
.filter-control select { padding: 8px 30px 8px 11px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: var(--surface-soft); color: #d8d2db; font-size: 11px; }
.format-list { display: grid; gap: 9px; }
.format-card { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(0, 1.6fr) auto; align-items: center; gap: 20px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); transition: border-color .2s, background .2s; }
.format-card:hover { border-color: rgba(255,98,110,.18); background: rgba(255,255,255,.035); }
.format-quality { display: flex; align-items: center; gap: 10px; }
.quality-badge { display: inline-grid; place-items: center; min-width: 61px; height: 34px; padding-inline: 8px; border-radius: 8px; background: rgba(255,98,110,.09); color: var(--accent-bright); font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.format-type { color: var(--muted); font-size: 10px; text-transform: capitalize; }
.format-specs { display: flex; flex-wrap: wrap; gap: 5px 14px; color: var(--subtle); font-size: 10px; }
.format-specs span { position: relative; }
.format-specs span + span::before { position: absolute; left: -8px; content: '·'; color: #4f4955; }
.format-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.download-link { display: inline-flex; align-items: center; justify-content: center; min-height: 35px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 10px; font-weight: 600; white-space: nowrap; }
.download-link:hover { border-color: rgba(255,255,255,.2); color: white; }
.download-link.server-download { border-color: rgba(255,98,110,.22); background: rgba(255,98,110,.1); color: var(--accent-bright); }
.download-link.server-download:hover { background: var(--accent); color: white; }
.formats-note { display: flex; gap: 8px; margin: 17px 2px 0; color: var(--subtle); font-size: 10px; line-height: 1.6; }
.formats-note span { color: var(--violet); }
.empty-formats { padding: 35px; border: 1px dashed var(--line); border-radius: 12px; color: var(--subtle); font-size: 12px; text-align: center; }

.preparation-dialog { width: min(calc(100% - 36px), 470px); padding: 32px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: var(--surface-raised); box-shadow: 0 35px 100px rgba(0,0,0,.55); color: var(--text); text-align: center; }
.preparation-dialog::backdrop { background: rgba(6,5,9,.78); backdrop-filter: blur(6px); }
.dialog-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 15px; background: rgba(255,98,110,.09); }
.dialog-icon .button-spinner { display: block; border-color: rgba(255,98,110,.25); border-top-color: var(--accent); }
.preparation-dialog h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 23px; }
.preparation-dialog > p { color: var(--muted); font-size: 12px; }
.preparation-progress { height: 8px; margin: 25px 0 15px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.06); }
.preparation-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-dark), var(--accent-bright)); transition: width .3s; }
.preparation-progress.indeterminate span { width: 35%; animation: progress-slide 1.4s ease-in-out infinite; }
@keyframes progress-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(300%); } }
#preparation-phase { font-size: 12px; }
.preparation-details { margin: 7px 0; }
.preparation-elapsed { color: var(--subtle) !important; font-size: 12px !important; }
.preparation-dialog .secondary-button { margin-top: 12px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; padding: 12px 17px; border: 1px solid rgba(95,211,165,.2); border-radius: 11px; background: #21362f; box-shadow: 0 15px 40px rgba(0,0,0,.35); color: #b7ead5; font-size: 12px; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 42px; }
.footer-brand .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-main p { margin: 12px 0 0; color: var(--subtle); font-size: 11px; }
.footer-links { display: flex; gap: 28px; color: var(--muted); font-size: 11px; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 17px; border-top: 1px solid var(--line); color: #65606a; font-size: 9px; }

.legal-shell { max-width: 850px; padding-block: 85px 100px; }
.legal-shell h1 { margin: 15px 0 20px; font-family: var(--font-display); font-size: clamp(38px, 5vw, 54px); line-height: 1.15; letter-spacing: -2px; }
.legal-intro { max-width: 740px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.legal-meta { margin: 26px 0 45px; padding-bottom: 25px; border-bottom: 1px solid var(--line); color: var(--subtle); font-size: 10px; }
.legal-content section { padding: 5px 0 26px; }
.legal-content h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 11px; font-family: var(--font-display); font-size: 18px; }
.legal-content h2 span { color: var(--accent); font-size: 10px; letter-spacing: 1px; }
.legal-content p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.legal-back { display: inline-flex; margin-top: 20px; color: var(--accent-bright); font-size: 12px; }

/* Keep secondary copy comfortable to read on both desktop and mobile. */
.card-kicker,
.small-label { font-size: 11px; }
.hero-proof { font-size: 13px; }
.form-note,
.supported-row,
.trust-grid small,
.formats-heading p,
.filter-control,
.format-type,
.formats-note,
.legal-meta,
.preparation-elapsed { font-size: 12px; }
.status-box,
.metadata div,
.source-link,
.footer-main p,
.footer-links { font-size: 13px; }
.section-heading p { font-size: 16px; }
.step-card p,
.bento-card p,
.faq-list details p,
.legal-content p { font-size: 14px; }
.format-specs { font-size: 12px; }
.legal-intro { font-size: 17px; }
.url-field input::placeholder { color: #968e9e; }
.supported-row strong { color: var(--muted); }
.footer-bottom { color: var(--subtle); }

@media (max-width: 1000px) {
    .hero { gap: 38px; }
    .hero h1 { font-size: 44px; }
    .trust-grid > div { padding-inline: 12px; }
    .trust-grid small { display: none; }
    .format-card { grid-template-columns: 120px 1fr; }
    .format-actions { grid-column: 1 / -1; justify-content: flex-start; padding-left: 0; }
}

@media (max-width: 820px) {
    .shell { width: min(calc(100% - 36px), var(--shell)); }
    .main-nav { display: none; }
    .hero { grid-template-columns: 1fr; gap: 45px; padding-block: 65px; }
    .hero-copy { text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-proof { justify-content: center; }
    .downloader-wrap { width: 100%; margin-inline: auto; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
    .trust-grid > div, .trust-grid > div:first-child, .trust-grid > div:last-child { justify-content: flex-start; padding-inline: 20px; }
    .trust-grid > div:nth-child(2) { border-right: 0; }
    .content-section { padding-block: 75px; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-card { min-height: 230px; }
    .split-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card { min-height: auto; }
    .video-summary { grid-template-columns: 1fr; }
    .thumbnail-wrap { max-height: 380px; }
    .thumbnail-wrap img { max-height: 380px; }
    .final-cta { align-items: flex-start; flex-direction: column; padding: 34px; }
}

@media (max-width: 560px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .header-inner { min-height: 70px; gap: 12px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 15px; }
    .brand-name { font-size: 18px; }
    .header-action { padding: 8px 10px; font-size: 10px; }
    .header-action span { display: none; }
    .hero { min-height: auto; padding-block: 52px 58px; }
    .hero h1 { margin-top: 17px; font-size: 43px; letter-spacing: -2.5px; white-space: normal; }
    .hero-lead { font-size: 15px; }
    .hero-proof { gap: 15px; margin-top: 28px; }
    .hero-proof span { flex-direction: column; gap: 0; font-size: 9px; }
    .downloader-card { padding: 22px; border-radius: 20px; }
    #extract-form { grid-template-columns: 1fr; }
    .failure-fallback { align-items: flex-start; flex-direction: column; }
    .failure-fallback a { width: 100%; }
    .extract-button { margin-top: 0; }
    .card-heading { flex-direction: column; margin-bottom: 22px; }
    .secure-chip { position: absolute; top: 25px; right: 22px; }
    .supported-row { margin: 20px -22px -22px; }
    .trust-grid { padding-block: 22px; }
    .trust-grid > div, .trust-grid > div:first-child, .trust-grid > div:last-child { gap: 9px; padding-inline: 8px; }
    .trust-grid strong { font-size: 10px; }
    .trust-icon { width: 30px; height: 30px; font-size: 14px; }
    .content-section { padding-block: 62px; }
    .section-heading { margin-bottom: 30px; }
    .section-heading h2 { font-size: 32px; }
    .step-card, .bento-card { padding: 25px; }
    .faq-list summary { font-size: 13px; }
    .faq-list details p { padding-right: 15px; }
    .final-cta { gap: 25px; margin-bottom: 60px; padding: 28px; }
    .final-cta h2 { font-size: 23px; }
    .result-topline { align-items: flex-start; flex-direction: column; }
    .video-summary, .formats-panel { padding: 16px; }
    .video-details h2 { font-size: 19px; }
    .formats-heading { align-items: flex-start; flex-direction: column; }
    .format-card { grid-template-columns: 1fr; gap: 12px; }
    .format-actions { grid-column: auto; flex-wrap: wrap; }
    .download-link { flex: 1; }
    .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; gap: 20px; }
    .footer-links { gap: 20px; }
    .footer-bottom { gap: 5px; }
    .legal-shell { padding-block: 60px; }
    .toast { right: 14px; bottom: 14px; left: 14px; text-align: center; }
}

@media (max-height: 850px) and (min-width: 821px) {
    .header-inner { min-height: 66px; }
    .hero { gap: 26px; padding-block: 30px 42px; }
    .hero h1 { margin: 12px 0 14px; font-size: 48px; letter-spacing: -2.2px; }
    .hero-lead { font-size: 16px; line-height: 1.55; }
    .hero-proof { margin-top: 19px; }
    .downloader-card { padding: 23px 26px; }
    .card-heading { margin-bottom: 17px; }
    .supported-row { margin: 18px -26px -23px; padding-block: 12px; }
    .form-note { margin-top: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
