:root {
  --page: #08070c;
  --page-deep: #050407;
  --panel: #15121d;
  --panel-raised: #201829;
  --text: #fbf8ff;
  --muted: #a09aa8;
  --disabled: #746a78;
  --pink: #ff3b81;
  --violet: #8f5bff;
  --violet-deep: #6626d9;
  --gold: #ffc85a;
  --cyan: #36d7e7;
  --line: rgba(255,255,255,.11);
  --max: 1440px;
  --header: 88px;
  --ease: cubic-bezier(.2,.82,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body { margin: 0; min-width: 320px; background: var(--page); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; border-radius: 8px; background: var(--text); color: var(--page); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid #df7cff; outline-offset: 3px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 clamp(20px, 4.5vw, 76px); border-bottom: 1px solid transparent; transition: background .22s ease, border-color .22s ease; }
.site-header.scrolled { background: rgba(8,7,12,.78); border-color: var(--line); backdrop-filter: blur(22px) saturate(122%); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.brand img { flex: 0 0 auto; border-radius: 13px; box-shadow: 0 0 30px rgba(143,91,255,.18); }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-size: 18px; line-height: 1.05; letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: 14px; font-weight: 700; color: #dcd7e1; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a:not(.nav-contact)::after { position: absolute; right: 0; bottom: 8px; left: 0; height: 2px; content: ""; background: linear-gradient(90deg, var(--pink), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.nav-contact { padding: 0 19px; border: 1px solid rgba(255,59,129,.4); border-radius: 999px; background: rgba(255,59,129,.08); }
.nav-contact:hover { background-color: #a44158; }
.menu-button { display: none; width: 48px; height: 48px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(21,18,29,.8); cursor: pointer; }
.menu-button i { display: block; width: 100%; height: 2px; margin: 6px 0; background: var(--text); transition: transform .22s var(--ease); }

.hero { position: relative; min-height: 800px; height: 100svh; max-height: 1040px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .55fr); align-items: center; gap: 48px; padding: calc(var(--header) + 56px) clamp(24px, 6vw, 100px) 64px; overflow: hidden; isolation: isolate; }
.hero-media, .hero-veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -3; object-fit: cover; object-position: center 28%; filter: saturate(.84) contrast(1.06); transform: scale(1.015); animation: hero-in 1.1s var(--ease) both; }
.hero-veil { z-index: -2; background: linear-gradient(90deg, rgba(5,4,7,.97) 0%, rgba(8,7,12,.82) 44%, rgba(8,7,12,.35) 72%, rgba(8,7,12,.72) 100%), linear-gradient(0deg, var(--page) 0%, transparent 38%), radial-gradient(circle at 77% 37%, rgba(143,91,255,.28), transparent 34%); }
.hero::after { position: absolute; z-index: -1; right: -15vw; bottom: -38vw; width: 70vw; aspect-ratio: 1; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(255,59,129,.2), transparent 64%); filter: blur(35px); }
.hero-copy { max-width: 760px; align-self: center; animation: rise-in .8s .08s var(--ease) both; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #ff8db7; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 6px rgba(255,59,129,.11), 0 0 24px var(--pink); }
.hero h1 { max-width: 800px; margin: 0; font-size: clamp(68px, 7.4vw, 128px); font-weight: 800; line-height: .88; letter-spacing: -.07em; }
.hero h1 em, .ai-copy h2 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(251,248,255,.7); }
.hero-copy > p { max-width: 620px; margin: 34px 0 0; color: #d8d3de; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-size: 15px; font-weight: 800; transition: transform .18s var(--ease), border-color .18s ease, background .18s ease; }
.button:active { transform: scale(.96); }
.button-primary { background: linear-gradient(105deg, var(--pink), var(--violet)); box-shadow: 0 12px 34px rgba(143,91,255,.26); }
.button-secondary { border-color: var(--line); background: rgba(21,18,29,.5); backdrop-filter: blur(14px); }
.button-secondary:hover { border-color: rgba(255,255,255,.28); background: rgba(32,24,41,.72); }
.play-icon { font-size: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta span::before { width: 4px; height: 4px; border-radius: 50%; content: ""; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.app-preview { position: relative; width: min(100%, 410px); aspect-ratio: .51; justify-self: end; align-self: center; overflow: hidden; padding: 18px 16px 68px; border: 1px solid rgba(255,255,255,.2); border-radius: 42px; background: linear-gradient(180deg, rgba(31,22,39,.4), rgba(8,7,12,.93)), url('../img/KnotReel/hero.webp') center/cover; box-shadow: 0 36px 110px rgba(0,0,0,.58), 0 0 0 10px rgba(10,7,13,.5), 0 0 70px rgba(143,91,255,.2); transform: perspective(1100px) rotateY(-5deg); animation: preview-in 1s .18s var(--ease) both; }
.app-preview::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(8,7,12,.08) 35%, rgba(8,7,12,.93) 75%); pointer-events: none; }
.preview-bar, .preview-search, .preview-tabs, .preview-content, .preview-nav { position: relative; z-index: 1; }
.preview-bar { display: flex; justify-content: space-between; padding: 0 12px 12px; font-size: 11px; font-weight: 800; }
.preview-search { padding: 13px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; background: rgba(21,18,29,.58); color: #d3cdd8; font-size: 12px; backdrop-filter: blur(18px); }
.preview-tabs { display: flex; gap: 21px; margin: 16px 2px 0; overflow: hidden; color: #cbc4d1; font-size: 11px; white-space: nowrap; }
.preview-tabs b { position: relative; color: var(--text); }
.preview-tabs b::after { position: absolute; bottom: -8px; left: 0; width: 100%; height: 3px; border-radius: 3px; content: ""; background: linear-gradient(90deg, var(--pink), var(--violet)); }
.preview-content { position: absolute; right: 20px; bottom: 110px; left: 20px; z-index: 2; }
.preview-content small { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.preview-content h2 { margin: 11px 0 5px; font-size: 35px; line-height: .98; letter-spacing: -.05em; }
.preview-content p { margin: 0 0 18px; color: #d4ced8; font-size: 12px; }
.preview-content button { min-width: 112px; min-height: 44px; border: 0; border-radius: 12px; background: var(--text); color: var(--page); font-weight: 800; cursor: pointer; }
.preview-nav { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; display: grid; height: 68px; grid-template-columns: repeat(4,1fr); align-items: center; border-top: 1px solid var(--line); background: rgba(8,7,12,.88); color: var(--muted); font-size: 10px; text-align: center; backdrop-filter: blur(20px); }
.preview-nav b { color: #ff8db7; }

.story-section, .features-section { padding: clamp(84px, 10vw, 156px) clamp(24px, 5vw, 80px); }
.section-intro { max-width: var(--max); margin: 0 auto 64px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 60px; }
.section-intro h2, .ai-copy h2, .support-section h2 { margin: 0; font-size: clamp(48px, 5.2vw, 86px); line-height: .96; letter-spacing: -.06em; }
.section-intro > p, .ai-copy > p, .support-card > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.section-kicker { margin-bottom: 18px; color: #d686ff; }
.rail-toolbar { max-width: var(--max); margin: 0 auto 24px; display: flex; align-items: center; justify-content: space-between; color: #d8d1dd; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rail-toolbar > div { display: flex; gap: 8px; }
.rail-toolbar button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); cursor: pointer; transition: background .18s ease, transform .18s var(--ease); }
.rail-toolbar button:hover { background: var(--panel-raised); }
.rail-toolbar button:active { transform: scale(.94); }
.story-rail { display: grid; grid-auto-columns: clamp(230px, 24vw, 370px); grid-auto-flow: column; gap: 20px; overflow-x: auto; padding: 4px max(24px, calc((100vw - var(--max)) / 2)) 24px; margin-inline: calc(clamp(24px, 5vw, 80px) * -1); scroll-padding-inline: max(24px, calc((100vw - var(--max)) / 2)); scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--violet-deep) transparent; }
.story-rail.is-loading, .story-rail.has-error { display: block; }
.story-status { min-height: 420px; display: grid; place-items: center; margin: 0; color: var(--muted); text-align: center; }
.story-card { scroll-snap-align: start; min-width: 0; }
.story-poster { position: relative; width: 100%; aspect-ratio: .68; overflow: hidden; padding: 0; border: 1px solid rgba(143,91,255,.34); border-radius: 17px; background: var(--panel); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,59,129,.08); }
.story-poster::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(8,7,12,.86), transparent 52%); opacity: .8; transition: opacity .28s ease; }
.story-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .5s var(--ease); }
.story-poster span { position: absolute; z-index: 2; left: 18px; bottom: 18px; display: inline-flex; min-height: 42px; align-items: center; padding: 0 16px; border-radius: 10px; background: rgba(251,248,255,.95); color: var(--page); font-size: 13px; font-weight: 900; opacity: 0; transform: translateY(8px); transition: opacity .24s ease, transform .24s var(--ease); }
.story-poster i { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(8,7,12,.65); color: var(--text); font-size: 10px; font-style: normal; font-weight: 900; backdrop-filter: blur(10px); }
.story-poster:hover img { transform: scale(1.045); filter: saturate(1.12); }
.story-poster:hover span, .story-poster:focus-visible span { opacity: 1; transform: translateY(0); }
.story-card > p { margin: 17px 0 5px; color: #d686ff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.story-card h3 { margin: 0; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.15; letter-spacing: -.03em; }

.ai-section { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: clamp(48px, 7vw, 110px); padding: clamp(90px, 12vw, 180px) clamp(24px, 6vw, 96px); background: radial-gradient(circle at 82% 45%, rgba(143,91,255,.19), transparent 34%), linear-gradient(180deg, var(--page-deep), #0e0713); overflow: hidden; }
.ai-video-wrap { position: relative; }
.ai-video-wrap::before { position: absolute; inset: -2px; border-radius: 23px; content: ""; background: linear-gradient(120deg, var(--pink), var(--violet), var(--cyan)); filter: blur(10px); opacity: .45; }
.ai-video-wrap video { position: relative; width: 100%; aspect-ratio: 16/10; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: #000; object-fit: cover; }
.ai-badge { position: absolute; top: 18px; left: 18px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(8,7,12,.72); color: #f5d4ff; font-size: 10px; font-weight: 900; letter-spacing: .14em; backdrop-filter: blur(14px); }
.ai-copy { max-width: 650px; }
.ai-copy h2 em { -webkit-text-stroke-color: rgba(214,134,255,.8); }
.ai-copy > p { margin-top: 28px; }
.ai-copy ul { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; }
.ai-copy li { display: flex; align-items: center; gap: 12px; color: #ded8e3; }
.ai-copy li::before { width: 8px; height: 8px; border-radius: 50%; content: ""; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }

.section-intro.compact { margin-bottom: 58px; }
.feature-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: rgba(21,18,29,.4); }
.feature-grid article { min-height: 390px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); transition: background .25s ease; }
.feature-grid article:last-child { border: 0; }
.feature-grid article:hover { background: var(--panel); }
.feature-grid article > span { color: var(--disabled); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.feature-icon { width: 58px; height: 58px; margin-top: 28px; display: grid; place-items: center; border: 1px solid rgba(255,59,129,.32); border-radius: 16px; background: linear-gradient(135deg, rgba(255,59,129,.13), rgba(143,91,255,.13)); color: #ff8db7; font-size: 25px; }
.feature-grid h3 { margin: auto 0 12px; color: #e7c7ff; font-size: 26px; line-height: 1.1; letter-spacing: -.04em; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.support-section { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr .82fr; align-items: end; gap: 90px; padding: clamp(90px, 10vw, 160px) clamp(24px, 5vw, 72px); }
.support-card { padding: clamp(28px, 4vw, 50px); border: 1px solid rgba(143,91,255,.28); border-radius: 22px; background: linear-gradient(145deg, rgba(32,24,41,.92), rgba(21,18,29,.65)); }
.support-card a { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 32px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: #efc7ff; font-size: clamp(20px, 2vw, 28px); font-weight: 700; word-break: break-word; }
.support-card a span { color: var(--pink); }
.support-card small { color: var(--disabled); font-size: 13px; }

footer { padding: 72px clamp(24px, 5vw, 76px) 28px; border-top: 1px solid var(--line); background: #050407; }
.footer-top { max-width: var(--max); margin: 0 auto; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.footer-top > p { max-width: 460px; margin: 0; color: var(--muted); text-align: right; }
.footer-links { max-width: var(--max); margin: 64px auto 54px; display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 40px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-links span { margin-bottom: 3px; color: var(--disabled); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a { min-height: 32px; color: #d9d3dd; font-size: 15px; }
.footer-links a:hover { color: #f3b6ff; }
.footer-bottom { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--disabled); font-size: 12px; }

.story-dialog { width: min(1160px, calc(100vw - 32px)); max-height: min(820px, calc(100svh - 32px)); padding: 0; border: 1px solid rgba(143,91,255,.4); border-radius: 24px; background: var(--page); color: var(--text); overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.75); }
.story-dialog[open] { display: grid; grid-template-columns: 1.2fr .8fr; animation: dialog-in .3s var(--ease) both; }
.story-dialog::backdrop { background: rgba(3,2,5,.82); backdrop-filter: blur(10px); }
.dialog-close { position: absolute; z-index: 4; top: 16px; right: 16px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: rgba(8,7,12,.78); font-size: 28px; line-height: 1; cursor: pointer; backdrop-filter: blur(12px); }
.dialog-media { min-height: 560px; display: grid; place-items: center; background: #000; }
.dialog-media video { width: 100%; height: 100%; max-height: 820px; object-fit: contain; }
.dialog-panel { overflow-y: auto; padding: 56px 30px 30px; border-left: 1px solid var(--line); background: radial-gradient(circle at 75% 10%, rgba(143,91,255,.18), transparent 34%), var(--panel); }
.dialog-panel h2 { margin: 0; font-size: clamp(32px, 4vw, 56px); line-height: .98; letter-spacing: -.05em; }
.dialog-panel > p:not(.section-kicker) { color: var(--muted); }
.episode-tabs { display: flex; gap: 8px; margin: 28px 0 16px; }
.episode-tabs button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.episode-tabs button.active { border-color: rgba(255,59,129,.4); background: rgba(255,59,129,.12); color: #ff9ec1; }
.episode-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.episode-grid button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; background: rgba(8,7,12,.48); color: #cfc7d5; cursor: pointer; transition: background .16s ease, border-color .16s ease; }
.episode-grid button:hover, .episode-grid button.active { border-color: var(--violet); background: rgba(143,91,255,.2); color: var(--text); }

.legal-page { min-height: 100svh; background: radial-gradient(circle at 75% 0%, rgba(143,91,255,.14), transparent 32%), var(--page); }
.legal-header { position: sticky; z-index: 20; top: 0; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(20px,5vw,72px); border-bottom: 1px solid var(--line); background: rgba(8,7,12,.84); backdrop-filter: blur(20px); }
.legal-back { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; color: #d9d3dd; font-size: 14px; font-weight: 700; }
.legal-document { width: min(940px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0 120px; }
.legal-document > .section-kicker { margin-bottom: 16px; }
.legal-document h1 { margin: 0; font-size: clamp(54px, 8vw, 100px); line-height: .9; letter-spacing: -.07em; }
.legal-meta { margin: 24px 0 54px; color: var(--muted); font-size: 14px; }
.legal-lede { margin: 0 0 64px; padding: 28px; border-left: 3px solid var(--pink); border-radius: 0 16px 16px 0; background: rgba(32,24,41,.64); color: #ded8e3; font-size: 19px; line-height: 1.65; }
.legal-document section { padding: 38px 0; border-top: 1px solid var(--line); }
.legal-document h2 { margin: 0 0 18px; color: #e9cfff; font-size: clamp(26px,3vw,38px); line-height: 1.1; letter-spacing: -.04em; }
.legal-document h3 { margin: 28px 0 10px; color: #f4e9fa; font-size: 20px; }
.legal-document p, .legal-document li { color: #bdb6c3; font-size: 17px; line-height: 1.75; }
.legal-document p { margin: 12px 0; }
.legal-document ul { display: grid; gap: 10px; padding-left: 22px; }
.legal-document strong { color: #eee9f1; }
.legal-document a { color: #e5a7ff; text-decoration: underline; text-decoration-color: rgba(229,167,255,.38); text-underline-offset: 4px; }
.legal-contact { margin-top: 18px; padding: 24px; border: 1px solid rgba(143,91,255,.24); border-radius: 16px; background: var(--panel); font-style: normal; }

@keyframes hero-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1.015); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes preview-in { from { opacity: 0; transform: perspective(1100px) rotateY(-7deg) translateY(34px); } to { opacity: 1; transform: perspective(1100px) rotateY(-5deg); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .site-header { height: 76px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 16px; left: 16px; display: grid; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(15,11,19,.96); backdrop-filter: blur(22px); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .22s var(--ease); }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 0 14px; }
  .nav-contact { margin-top: 6px; border-radius: 12px; }
  .hero { min-height: 980px; height: auto; grid-template-columns: 1fr; align-content: start; gap: 58px; padding-top: 150px; }
  .hero-copy { max-width: 760px; }
  .app-preview { width: min(410px, 76vw); justify-self: center; transform: none; }
  .hero-veil { background: linear-gradient(90deg, rgba(5,4,7,.96), rgba(8,7,12,.55)), linear-gradient(0deg, var(--page) 0%, transparent 45%); }
  .section-intro, .support-section { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .ai-section { grid-template-columns: 1fr; }
  .ai-copy { max-width: 780px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid article:nth-child(2) { border-right: 0; }
  .feature-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .story-dialog[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .dialog-media { min-height: auto; aspect-ratio: 16/9; }
  .dialog-panel { overflow: visible; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 640px) {
  .brand small { display: none; }
  .site-header { padding-inline: 16px; }
  .hero { min-height: 870px; gap: 40px; padding: 132px 20px 52px; }
  .hero h1 { font-size: clamp(56px, 18vw, 78px); }
  .hero-copy > p { margin-top: 26px; font-size: 17px; }
  .hero-actions .button { flex: 1 1 150px; }
  .hero-meta { margin-top: 34px; gap: 8px 18px; }
  .app-preview { width: min(340px, 88vw); border-radius: 34px; }
  .preview-content h2 { font-size: 30px; }
  .story-section, .features-section { padding: 82px 20px; }
  .section-intro { margin-bottom: 44px; }
  .section-intro h2, .ai-copy h2, .support-section h2 { font-size: 48px; }
  .section-intro > p, .ai-copy > p, .support-card > p { font-size: 16px; }
  .story-rail { grid-auto-columns: 74vw; margin-inline: -20px; padding-inline: 20px; }
  .ai-section { padding: 82px 20px; }
  .ai-video-wrap video { aspect-ratio: 4/5; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid article:nth-child(3) { border-bottom: 1px solid var(--line); }
  .support-section { padding: 82px 20px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-top > p { text-align: left; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; }
  .dialog-panel { padding: 46px 20px 24px; }
  .episode-grid { grid-template-columns: repeat(5,1fr); }
  .legal-header .brand span { display: none; }
  .legal-document { width: min(100% - 32px, 940px); padding-top: 66px; }
  .legal-document h1 { font-size: 58px; }
  .legal-lede { padding: 22px; font-size: 17px; }
  .legal-document p, .legal-document li { font-size: 16px; }
}

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