/* vidagent.app: one stylesheet for every page. Light by default; Dark and System from the footer switch (data-theme
   on <html>, set before paint by the inline script in each page's head). The Mac window shows the app, so it stays dark. */
:root {
  color-scheme: light;
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-2: #f4f3ef;
  --surface-3: #f7f6f2;
  --line: rgba(20, 20, 25, 0.09);
  --line-2: rgba(20, 20, 25, 0.16);
  --hover: rgba(20, 20, 25, 0.05);
  --text: #141416;
  --dim: #5d5d64;
  --body: #36363c;
  --accent: #9a6700;
  --nav-bg: rgba(250, 249, 246, 0.82);
  --me-bg: #141416;
  --me-text: #fff;
  --agent-bg: rgba(255, 255, 255, 0.94);
  --art-top: #fffaf0;
  --tag-bg: rgba(255, 255, 255, 0.88);
  --faint: rgba(20, 20, 25, 0.22);
  --frame: #e8e6e0;
  --glow: rgba(255, 196, 0, 0.28);
  --shadow: 0 20px 50px -15px rgba(30, 25, 10, 0.22);
  --shadow-lg: 0 40px 90px -30px rgba(30, 25, 10, 0.35);
  --error: #c4362a;
  --gold: #ffc400;
  --radius: 22px;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
:root[data-theme="dark"], .mac {
  color-scheme: dark;
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --surface-3: #19191c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --hover: rgba(255, 255, 255, 0.06);
  --text: #f5f5f2;
  --dim: #a1a1a6;
  --body: #d4d4d8;
  --accent: #ffc400;
  --nav-bg: rgba(10, 10, 11, 0.72);
  --me-bg: #fff;
  --me-text: #111;
  --agent-bg: rgba(28, 28, 31, 0.92);
  --art-top: #232327;
  --tag-bg: rgba(0, 0, 0, 0.6);
  --faint: rgba(255, 255, 255, 0.25);
  --frame: #151517;
  --glow: rgba(255, 196, 0, 0.16);
  --shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
  --error: #ff8a7a;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --bg: #0a0a0b;
    --surface: #141416;
    --surface-2: #1c1c1f;
    --surface-3: #19191c;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --hover: rgba(255, 255, 255, 0.06);
    --text: #f5f5f2;
    --dim: #a1a1a6;
    --body: #d4d4d8;
    --accent: #ffc400;
    --nav-bg: rgba(10, 10, 11, 0.72);
    --me-bg: #fff;
    --me-text: #111;
    --agent-bg: rgba(28, 28, 31, 0.92);
    --art-top: #232327;
    --tag-bg: rgba(0, 0, 0, 0.6);
    --faint: rgba(255, 255, 255, 0.25);
    --frame: #151517;
    --glow: rgba(255, 196, 0, 0.16);
    --shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
    --error: #ff8a7a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; }
p { margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #111; box-shadow: 0 10px 40px -10px rgba(255, 196, 0, .55); }
.btn-gold:hover { background: #ffd23a; }
.btn-ghost { border: 1px solid var(--line); background: var(--hover); }
.btn-ghost:hover { background: var(--line); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; box-shadow: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 32px; padding: 14px max(20px, calc((100vw - 1200px) / 2)); background: var(--nav-bg); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; }
.logo img { border-radius: 8px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--dim); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; }

/* Features menu: hover or click on wide screens, a list in the phone menu */
.menu { position: relative; }
.menu-btn { display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--dim); font: 500 15px var(--sans); cursor: pointer; transition: color .2s; }
.menu-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform .2s; }
.menu:hover .menu-btn, .menu.open .menu-btn { color: var(--text); }
.menu.open .menu-btn svg, .menu:hover .menu-btn svg { transform: rotate(180deg); }
/* No overflow: hidden here, or the ::before bridge over the gap under the button gets clipped and the menu closes on
   the way down. Closing waits a moment so a slightly off path to an item doesn't lose it either. */
.menu-panel { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: auto 190px; width: max-content; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transition: opacity .15s, visibility 0s .25s; }
.menu-panel::before { content: ""; position: absolute; left: -12px; right: -12px; top: -22px; height: 24px; }
.menu:hover .menu-panel, .menu.open .menu-panel { visibility: visible; opacity: 1; transition: opacity .15s, visibility 0s; }
.menu-col { padding: 18px 16px; }
.menu-side { background: var(--surface-3); border-left: 1px solid var(--line); border-radius: 0 17px 17px 0; }
.menu-title { margin: 0 0 10px 8px; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 200px); }
.nav-links .menu-panel a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; color: var(--text); font-size: 14.5px; font-weight: 500; }
.nav-links .menu-panel a:hover { background: var(--hover); }
.menu-panel svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mini-badge { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 12px; }
.mini-badge.ai-code { font-size: 9px; }
.feature .more, .more { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 72px 20px 56px; }
.hero::before { content: ""; position: absolute; inset: -120px -20vw auto auto; width: 820px; height: 820px; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; z-index: -1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--dim); font-size: 14px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero h1 { margin-top: 24px; font-size: clamp(44px, 6.6vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -0.045em; }
.hero h1 em { font-size: 1.08em; }
.lede { margin-top: 24px; max-width: 560px; color: var(--dim); font-size: 19px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--dim); font-size: 15px; }
.hero-points li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 700; }

.hero-stage { position: relative; display: flex; justify-content: center; padding: 30px 0 40px; }
/* the hero's Mac window, laid out like the app: videos in a sidebar, the open video beside it */
.mac { width: min(560px, 100%); border-radius: 14px; overflow: hidden; background: #111113; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 50px 100px -24px rgba(0, 0, 0, .95); }
.mac-bar { position: relative; display: flex; gap: 8px; align-items: center; height: 38px; padding: 0 14px; background: #1b1b1e; border-bottom: 1px solid var(--line); }
.mac-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mac-bar i:nth-child(2) { background: #febc2e; }
.mac-bar i:nth-child(3) { background: #28c840; }
.mac-bar span { position: absolute; left: 0; right: 0; text-align: center; color: var(--dim); font-size: 13px; font-weight: 600; pointer-events: none; }
.mac-body { display: grid; grid-template-columns: 172px 1fr; height: 400px; }
.mac-side { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; background: #151517; border-right: 1px solid var(--line); font-size: 12.5px; min-width: 0; }
.mac-side b { font-size: 16px; letter-spacing: -0.02em; margin-bottom: 6px; }
.mac-new { padding: 7px 10px; border-radius: 9px; background: var(--gold); color: #111; font-weight: 700; }
.mac-link { padding: 5px 4px; color: var(--text); font-weight: 600; }
.mac-side small { margin-top: 8px; color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.mac-item { display: flex; align-items: center; gap: 8px; padding: 5px; border-radius: 8px; color: #d8d8dc; white-space: nowrap; overflow: hidden; }
.mac-item.on { background: rgba(255, 255, 255, .08); }
.mac-item img { flex: none; width: 22px; height: 30px; border-radius: 4px; object-fit: cover; }
.mac-main { display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 40%, #1d1d21, #111113); }
.mac-video { height: 340px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .9); }
.mac-video video { width: 100%; height: 100%; object-fit: cover; }

/* early-access sign-up */
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; max-width: 520px; }
.signup input[type=email] { flex: 1 1 240px; height: 54px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 500 16px var(--sans); outline: none; transition: border-color .2s; }
.signup input[type=email]:focus { border-color: var(--gold); }
.signup button { border: 0; cursor: pointer; font-family: var(--sans); }
.signup button:disabled { opacity: .6; cursor: default; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-note { flex-basis: 100%; color: var(--dim); font-size: 14px; }
.signup.done .signup-note { color: var(--accent); font-weight: 600; }
.signup.error .signup-note { color: var(--error); }
.final .signup { justify-content: center; margin: 0 auto; }
.final .signup-note { text-align: center; }
.bubble { position: absolute; z-index: 2; max-width: 270px; padding: 14px 16px; border-radius: 20px; font-size: 15px; line-height: 1.4; box-shadow: var(--shadow); opacity: 0; animation: pop .6s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.bubble-user { top: 70px; right: -24px; background: var(--me-bg); color: var(--me-text); border-bottom-right-radius: 6px; animation-delay: .5s; }
.bubble-agent { bottom: 40px; left: -24px; display: flex; gap: 10px; background: var(--agent-bg); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-left-radius: 6px; animation-delay: 1.6s; }
.spark { color: var(--accent); font-size: 18px; line-height: 1.1; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- style marquee ---------- */
.marquee-wrap { padding: 24px 0 40px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: slide 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 9px)); } }
.tile { margin: 0; flex: none; width: 200px; }
.tile video { width: 200px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.tile figcaption { margin-top: 10px; color: var(--dim); font-size: 14px; font-weight: 500; text-align: center; }

/* ---------- sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 110px 20px 0; }
.section-head { max-width: 820px; margin-bottom: 56px; }
.kicker { margin-bottom: 16px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-sub { margin-top: 20px; max-width: 640px; color: var(--dim); font-size: 19px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 28px 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.step-art { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; margin: -28px -28px 28px; background: radial-gradient(90% 90% at 50% 30%, var(--art-top), var(--surface)); border-bottom: 1px solid var(--line); }
.art-clips img { width: 74px; height: 132px; margin: 0 -10px; border-radius: 12px; object-fit: cover; border: 2px solid var(--line-2); box-shadow: var(--shadow); }
.art-clips img:nth-child(1) { transform: rotate(-9deg) translateY(8px); }
.art-clips img:nth-child(3) { transform: rotate(9deg) translateY(8px); }
.art-clips img:nth-child(2) { position: relative; z-index: 1; }
.art-tag { position: absolute; bottom: 16px; padding: 4px 12px; border-radius: 999px; background: var(--tag-bg); color: var(--dim); font-size: 13px; font-weight: 600; }
.art-ask { flex-direction: column; gap: 16px; padding: 0 24px; }
.art-msg { align-self: flex-end; padding: 12px 16px; border-radius: 18px 18px 6px 18px; background: var(--me-bg); color: var(--me-text); font-size: 15px; font-weight: 500; }
.art-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.art-chips i { padding: 6px 12px; border-radius: 999px; background: rgba(255, 196, 0, .14); color: var(--accent); font-size: 13px; font-style: normal; font-weight: 600; }
.art-versions { flex-direction: column; gap: 10px; padding: 0 24px; }
.art-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.art-row img { width: 34px; height: 60px; border-radius: 7px; object-fit: cover; }
.art-row b { font-size: 15px; }
.art-row em { margin-left: auto; color: var(--dim); font: 500 13px var(--sans); }
.art-row:first-child { border-color: rgba(255, 196, 0, .4); }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; background: var(--gold); color: #111; font-weight: 800; font-size: 15px; }
.step p { margin-top: 10px; color: var(--dim); font-size: 16px; }

/* split + chat demo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy > p:not(.kicker) { margin-top: 22px; color: var(--dim); font-size: 18px; }
.checks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.checks li::before { content: "✓"; color: var(--accent); font-weight: 800; }

.chat { padding: 22px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 40px 100px -40px rgba(255, 196, 0, .18); }
.chat-top { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 650; font-size: 15px; }
.chat-top img { border-radius: 6px; }
.msg-user { margin-left: auto; max-width: 82%; padding: 13px 16px; border-radius: 20px 20px 6px 20px; background: var(--me-bg); color: var(--me-text); font-size: 15px; }
.tool-steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.tool-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; color: var(--dim); font-size: 15px; opacity: .25; transition: opacity .4s, color .4s, background .4s; }
.tool-steps li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); transition: all .3s; }
.tool-steps li.active { opacity: 1; color: var(--text); background: var(--hover); }
.tool-steps li.active::before { border-color: var(--gold); border-top-color: transparent; animation: spin .8s linear infinite; }
.tool-steps li.done { opacity: 1; color: var(--text); }
.tool-steps li.done::before { border: 0; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.version-card { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.version-card.show { opacity: 1; transform: none; }
.version-card img { width: 54px; height: 96px; border-radius: 10px; object-fit: cover; }
.version-card div { display: grid; gap: 2px; }
.version-card span { color: var(--dim); font-size: 14px; }
.version-card .play { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #111; font-size: 15px; }

/* caption wall */
.caption-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.caption-wall figure { margin: 0; }
.caption-wall video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: #1b1b1e; border: 1px solid var(--line); }
.caption-wall figcaption { margin-top: 8px; color: var(--dim); font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, transform .3s; }
.feature:hover { border-color: rgba(255, 196, 0, .35); transform: translateY(-3px); }
.feature svg { width: 30px; height: 30px; margin-bottom: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature p { margin-top: 10px; color: var(--dim); font-size: 15.5px; }

/* AI cards */
.ai-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ai-card { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ai-badge { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 14px; font-size: 26px; }
.ai-gold { background: var(--gold); color: #111; }
.ai-claude { background: #d97757; color: #fff; }
.ai-gpt { background: #fff; color: #111; box-shadow: inset 0 0 0 1px var(--line-2); }
.ai-code { background: #26262b; color: var(--gold); font: 700 18px ui-monospace, Menlo, monospace; }
.ai-card p { margin-top: 10px; color: var(--dim); }

/* privacy band */
.privacy-band { padding-top: 110px; }
.privacy-inner { padding: 64px clamp(24px, 6vw, 80px); border-radius: 32px; text-align: center; background: radial-gradient(120% 140% at 50% 0%, rgba(255, 196, 0, .14), transparent 60%), var(--surface); border: 1px solid var(--line); }
.privacy-inner svg { width: 44px; height: 44px; margin: 0 auto 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.privacy-inner p { max-width: 680px; margin: 20px auto 0; color: var(--dim); font-size: 18px; }
.privacy-inner a { color: var(--accent); white-space: nowrap; }

/* who */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-card { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.who-card p { margin-top: 8px; color: var(--dim); font-size: 16px; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 26px; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--dim); }
.faq a { color: var(--accent); }

/* final CTA */
.final { max-width: 1200px; margin: 120px auto 0; padding: 0 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.final img { border-radius: 22px; box-shadow: 0 20px 80px -10px rgba(255, 196, 0, .45); }
.final h2 { margin-top: 32px; max-width: 760px; }
.final p { margin: 18px 0 32px; color: var(--dim); font-size: 19px; }

/* footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; max-width: 1200px; margin: 120px auto 0; padding: 32px 20px 48px; border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.02em; }
.footer-brand img { border-radius: 6px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer p { margin: 0; }
.theme-switch { display: inline-flex; gap: 2px; margin-left: auto; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.theme-switch button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 999px; background: none; color: var(--dim); font: 500 13.5px var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.theme-switch button:hover { color: var(--text); }
.theme-switch button[aria-pressed="true"] { background: var(--hover); color: var(--text); }
.theme-switch svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- feature pages (ai-captions) ---------- */
.cap-hero { padding-bottom: 40px; }
.cap-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cap-screen { width: min(420px, 100%); aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: #1b1b1e; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg), 0 0 0 7px var(--frame); }
.cap-screen video { width: 100%; height: 100%; object-fit: cover; }
.cap-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 460px; }
.cap-chips button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--dim); font: 600 13.5px var(--sans); cursor: pointer; transition: all .2s; }
.cap-chips button:hover { color: var(--text); }
.cap-chips button.on { background: var(--gold); border-color: var(--gold); color: #111; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 1160px; margin: 30px auto 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--line); }
.stats div { display: grid; gap: 2px; padding: 22px 24px; background: var(--surface); }
.stats b { font-size: 24px; letter-spacing: -0.03em; }
.stats span { color: var(--dim); font-size: 14.5px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
.section-head + .row { margin-top: 0; }
.row-flip .row-copy { order: 2; }
.row-copy h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.row-copy > p { margin-top: 16px; color: var(--dim); font-size: 18px; }
.row-art { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; min-height: 320px; padding: 32px; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(90% 90% at 50% 20%, var(--art-top), var(--surface)); overflow: hidden; }
.wt { margin: 0; font: 800 clamp(28px, 3.4vw, 42px)/1.1 var(--sans); letter-spacing: -0.02em; text-align: center; text-transform: uppercase; }
.wt span { color: var(--text); transition: color .15s; }
.wt span.lit { color: var(--accent); }
.wt-wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.wt-wave i { width: 5px; border-radius: 3px; background: var(--faint); animation: wave 1.1s ease-in-out infinite; }
.wt-wave i:nth-child(3n) { animation-delay: -.3s; } .wt-wave i:nth-child(3n+1) { animation-delay: -.6s; } .wt-wave i:nth-child(4n) { animation-delay: -.9s; }
@keyframes wave { 0%, 100% { height: 10px; } 50% { height: 40px; } }
.face-frame { position: relative; height: 300px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #2c2c31, #1a1a1d); border: 1px solid rgba(255, 255, 255, .1); }
.face-person { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 3 / 4; fill: #4a4a52; }
.face-box { position: absolute; left: 24%; top: 36%; width: 52%; height: 28%; border: 2px dashed rgba(255, 196, 0, .85); border-radius: 50%; }
.cap-ghost { position: absolute; left: 50%; top: 47%; transform: translateX(-50%); padding: 3px 8px; border: 1.5px dashed rgba(255, 255, 255, .35); border-radius: 6px; color: rgba(255, 255, 255, .45); font: 700 10px var(--sans); letter-spacing: .05em; white-space: nowrap; }
.cap-real { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); color: #fff; font: 800 17px var(--sans); white-space: nowrap; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.cap-real b { color: var(--gold); }
.cap-arrow { position: absolute; left: 50%; top: 65%; width: 16px; height: 26px; transform: translateX(-50%); fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.art-ask-cap { align-items: stretch; }
.art-reply { display: flex; gap: 10px; align-self: flex-start; max-width: 88%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px; }
.art-reply b { color: var(--accent); }

.steps-plain .step { padding-top: 28px; }

.transcript { position: relative; padding: 22px 22px 56px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.transcript p { display: flex; gap: 14px; margin: 0; padding: 10px 6px; border-radius: 10px; font-size: 16px; }
.transcript .t { flex: none; width: 34px; color: var(--dim); font: 500 13px ui-monospace, Menlo, monospace; padding-top: 2px; }
.transcript s { color: var(--dim); text-decoration-color: #ff6b5b; text-decoration-thickness: 2px; }
.transcript .cut { background: rgba(255, 107, 91, .06); }
.snap { position: absolute; right: 18px; bottom: 18px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 196, 0, .14); color: var(--accent); font-size: 13px; font-weight: 600; }

/* video-styles page */
.style-screen { height: 460px; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg), 0 0 0 7px var(--frame); }
.style-screen video { width: 100%; height: 100%; object-fit: cover; }
.switch-line { margin: 0; min-height: 1.5em; color: var(--dim); font-size: 15px; text-align: center; }
.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.set-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.set-card h3 { font-size: 18px; }
.set-card h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--gold); }
.set-card p { margin-top: 8px; color: var(--dim); font-size: 15.5px; }
.explorer { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.style-tile { position: relative; padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; background: var(--surface); cursor: pointer; aspect-ratio: 9 / 16; transition: border-color .2s, transform .2s; }
.style-tile:hover { transform: translateY(-2px); }
.style-tile.on { border-color: var(--gold); }
.style-tile video { width: 100%; height: 100%; object-fit: cover; }
.style-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 10px 9px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; font: 600 13px var(--sans); text-align: left; }
.style-detail { position: sticky; top: 90px; display: grid; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.style-detail-video { width: 160px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; }
.style-detail-video video { width: 100%; height: 100%; object-fit: cover; }
.style-detail .kicker { margin-bottom: 6px; }
.style-detail h3 { font-size: 28px; letter-spacing: -0.03em; }
.style-tagline { margin-top: 6px; color: var(--dim); }
.style-detail .checks { margin-top: 16px; gap: 10px; font-size: 15px; }
.explorer-more { margin-top: 18px; color: var(--dim); font-size: 15px; }
.art-pace { align-items: stretch; gap: 16px; }
.pace { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; }
.pace b { font-size: 14px; }
.pace span { height: 30px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--gold) 0 calc(100% / var(--n) - 3px), transparent calc(100% / var(--n) - 3px) calc(100% / var(--n))); opacity: .9; }
.pace-note { margin: 4px 0 0 110px; color: var(--dim); font-size: 13px; }

/* ---------- text pages (privacy, support) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 20px 0; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; }
.doc h2 { margin: 40px 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--body); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--accent); }
.doc .updated { margin: 10px 0 28px; color: var(--dim); font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 24px; }
  .hero-stage { padding-top: 28px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .features, .ai-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-stage { max-width: 600px; margin: 0 auto; width: 100%; }
  .caption-wall { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .row { grid-template-columns: 1fr; gap: 28px; }
  .row-flip .row-copy { order: 0; }
  .explorer { grid-template-columns: 1fr; }
  .style-detail { position: static; grid-template-columns: 140px 1fr; }
  .style-detail-video { width: 140px; }
  .sets { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { gap: 12px; padding: 12px 16px; }
  .nav .btn-sm { margin-left: auto; }
  .nav-toggle { display: grid; gap: 5px; place-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
  .nav-toggle span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 65px 0 0; display: none; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 32px; background: var(--bg); overflow-y: auto; }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }   /* a blur would make the header the fixed menu's box */
  .nav-links > a { padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 18px; font-weight: 600; }
  .menu-btn { display: none; }
  .menu-panel, .menu:hover .menu-panel { position: static; transform: none; display: block; width: auto; border: 0; border-radius: 0; background: none; box-shadow: none; visibility: visible; opacity: 1; }
  .menu-panel::before { display: none; }
  .menu-col { padding: 8px 0 12px; }
  .menu-side { background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .menu-title { margin: 12px 0 6px 4px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .nav-links .menu-panel a { padding: 10px 4px; font-size: 15px; }
  .hero { padding: 36px 16px 24px; }
  .lede { font-size: 17px; }
  .mac-body { grid-template-columns: 1fr; height: 330px; }
  .mac-side { display: none; }
  .mac-video { height: 290px; }
  .signup { margin-top: 26px; }
  .signup button { width: 100%; justify-content: center; }
  .bubble { max-width: 220px; font-size: 13.5px; padding: 11px 13px; }
  .bubble-user { right: 0; top: 30px; }
  .bubble-agent { left: 0; bottom: 20px; }
  .tile, .tile video { width: 150px; }
  .section { padding: 80px 16px 0; }
  .section-head { margin-bottom: 36px; }
  .section-sub { font-size: 17px; }
  .features, .ai-cards, .who { grid-template-columns: 1fr; }
  .caption-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .caption-wall figure:nth-child(n+13) { display: none; }
  .step-shot { height: 300px; }
  .privacy-inner { padding: 44px 22px; }
  .final { margin-top: 90px; padding: 0 16px; }
  .footer { padding: 28px 16px 40px; }
  .theme-switch { margin-left: 0; }
  .footer p { width: 100%; }
  .doc { padding: 40px 16px 0; }
  .stats { margin-left: 16px; margin-right: 16px; }
  .stats div { padding: 18px 16px; }
  .stats b { font-size: 20px; }
  .row { margin-top: 48px; }
  .row-art { min-height: 260px; padding: 24px; }
  .style-screen { height: 400px; }
  .sets { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .style-tile span { font-size: 11.5px; padding: 16px 7px 7px; }
  .style-detail { grid-template-columns: 1fr; }
  .style-detail-video { display: none; }
  .pace { grid-template-columns: 80px 1fr; }
  .pace-note { margin-left: 94px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .bubble { animation: none; opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
