/* darkwoods rebuild: black ground, one green accent, Instrument Sans + Geist Mono. */
@font-face { font-family: 'Instrument Sans Variable'; src: url('/fonts/InstrumentSans-Variable.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Geist Mono Variable'; src: url('/fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Albert Sans Variable'; src: url('/fonts/AlbertSans-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #f5f5f5;
  --ink-2: rgba(245, 245, 245, 0.9);
  --muted: #8c8c8c;
  --faint: #5c5c5c;
  --line: rgba(255, 255, 255, 0.09);
  --panel: rgba(255, 255, 255, 0.04);
  --sunken: rgba(255, 255, 255, 0.07);
  --inset: rgba(255, 255, 255, 0.033);
  --raised: rgba(255, 255, 255, 0.08);
  --float: rgba(255, 255, 255, 0.1);
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.14);
  --red: #ef4444;
  --sans: 'Instrument Sans Variable', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono Variable', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --display: 'Albert Sans Variable', var(--sans);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure, pre { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { flex: none; }
.sp { flex: 1; }
.muted { color: var(--muted); }
.mono-label { font: 400 10.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.on { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; }

/* ---- type ---------------------------------------------------------------- */
.h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.h3 { font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; }
.lede { margin-top: 12px; max-width: 520px; font-size: 18px; line-height: 1.5; color: var(--muted); }

/* ---- buttons, pills, chips ---------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 14px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: filter 0.2s, transform 0.2s var(--ease); }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: scale(0.98); }
.btn-light { background: var(--ink); color: #000; }
.btn-green { background: var(--green); color: #03140a; }
.btn-dark { background: var(--float); color: #fff; }
.mini { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.mini.boxed { height: 28px; padding: 0 9px; border-radius: 9px; background: var(--sunken); }
.mini.boxed.on { background: var(--green-soft); color: var(--green); }
.tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; background: var(--raised); color: #a3a3a3; font: 500 9.5px/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.tag-on { background: var(--green-soft); color: var(--green); }
.badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 5px; border-radius: 5px; background: var(--raised); color: #a3a3a3; font: 500 9px/1.4 var(--mono); vertical-align: 1px; }
.badge-on { background: var(--green-soft); color: var(--green); }

/* ---- header -------------------------------------------------------------- */
.site-head { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 24px 5vw; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.logo svg { display: block; }
.head-right { display: flex; align-items: center; gap: 8px; }
.nav { display: flex; align-items: center; gap: 22px; margin-right: 14px; font-size: 15px; }
.nav a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s, opacity 0.2s; }
.nav a:hover { color: #fff; }
.nav .nav-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.nav .nav-pill:hover { color: var(--green); background: rgba(34, 197, 94, 0.2); }
.nav-x { display: inline-grid; place-items: center; width: 28px; height: 28px; }
.pill { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.25); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background 0.2s; }
.pill:hover { background: rgba(255, 255, 255, 0.32); }
.only-phone { display: none; }

/* ---- hero ---------------------------------------------------------------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: calc(100svh + 90px); overflow: hidden; isolation: isolate; }
.tree { position: absolute; top: 0; left: 0; z-index: -2; width: 100%; height: 100svh; }
.hero-glow { position: absolute; z-index: -1; left: 50%; top: calc(100svh - 70px); width: 120px; height: 200px; transform: translate(-50%, -62%); background: radial-gradient(ellipse 50% 60% at 50% 75%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%); filter: blur(10px); opacity: 0.55; animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { opacity: 0.8; transform: translate(-50%, -60%) scaleY(1.08); } }
.hero-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 20px 40px; }
.chips { position: absolute; left: 0; right: 0; top: -88px; height: 100svh; pointer-events: none; }
.chip { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--sunken); color: var(--ink-2); font: 400 11.5px/1 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; pointer-events: auto; backdrop-filter: blur(6px); transition: background 0.6s, color 0.6s; animation: bob 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
.chip.lit { background: var(--green-soft); color: var(--green); }
.chip-solid { background: var(--green); color: #050505; font-weight: 500; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.hero-prompt { position: relative; width: min(700px, 100%); }
.prompt { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 13px; border-radius: 24px; text-align: left; }
.prompt-hero { background: var(--sunken); backdrop-filter: blur(14px); }
.prompt-inset { background: var(--inset); }
.prompt-ph { font-size: 17px; line-height: 1.45; color: #707070; }
.prompt-text { font-size: 17px; line-height: 1.45; color: var(--ink); }
.prompt-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prompt-bar.end { justify-content: flex-end; gap: 18px; }
.prompt-agent { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.prompt-right { display: inline-flex; align-items: center; gap: 10px; }
.model-pill { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; height: 32px; padding: 0 9px; border-radius: 10px; background: var(--sunken); font-size: 14px; font-weight: 500; }
.model-pill.plain { background: none; }
.prompt-tool { display: inline-grid; place-items: center; width: 28px; color: var(--muted); }
.send { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--float); color: #5c5c5c; }
.send-green { background: var(--green); color: #03140a; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: min(830px, 100%); margin-top: 44px; }
.trust li { display: flex; flex-direction: column; gap: 7px; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; font-size: 15px; }

/* ---- feature sections ---------------------------------------------------- */
.page { position: relative; }
.roots { position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none; overflow: visible; }
.root { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; }
.root-main { stroke: rgba(255, 255, 255, 0.8); }
.root-branch { stroke: rgba(255, 255, 255, 0.42); }
.root-node { fill: #fff; transition: opacity 0.4s; }
.page > :not(.roots) { position: relative; z-index: 1; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-top: 144px; }
.feature.flip .feature-panel { order: -1; }
.feature-copy { max-width: 520px; }
.numlist { margin-top: 28px; }
.numlist li { display: flex; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.numlist li:last-child { border-bottom: 1px solid var(--line); }
.num { width: 24px; flex: none; font: 400 11.5px/1.5 var(--mono); color: var(--faint); }
.numlist-rich li { padding: 12px 0; }
.numlist-title { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.numlist-rich p { font-size: 14px; color: var(--muted); }
.feature-cta { display: flex; gap: 8px; margin-top: 24px; }

.panel { position: relative; overflow: hidden; border-radius: 24px; background: var(--panel); }

/* chat */
.chat-panel { display: flex; flex-direction: column; min-height: 560px; padding: 22px 18px 18px; }
.bubble { align-self: flex-end; max-width: 85%; padding: 10px 16px; border-radius: 18px 18px 8px 18px; background: var(--raised); font-size: 15px; line-height: 1.625; }
.answer-who { display: flex; align-items: center; gap: 6px; margin: 22px 0 6px; font: 400 11.5px/1 var(--mono); color: var(--muted); }
.answer { margin-top: 10px; font-size: 15px; line-height: 1.65; }
.chat-foot { position: relative; margin-top: auto; padding-top: 150px; }
.picker { position: absolute; z-index: 2; left: 31%; bottom: 58px; width: 288px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #1d1d1d; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6); animation: rise 0.7s var(--ease) both; }
.picker-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }
.picker-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; color: var(--ink); }
.picker-row:hover { background: rgba(255, 255, 255, 0.04); }
.picker-name { font-size: 12.5px; font-weight: 500; }
.picker-row small { display: block; font-size: 10.5px; color: var(--faint); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* studio */
.studio-panel { display: flex; flex-direction: column; gap: 18px; padding: 18px; }
.seg { display: inline-flex; align-self: flex-start; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.seg > span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 9px; font-size: 13.5px; color: var(--muted); }
.seg > span.on { background: var(--raised); color: var(--ink); }
.seg-sm > span { height: 28px; font-size: 13px; }
.studio-day { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.ring { width: 16px; height: 16px; border: 1.5px solid var(--muted); border-radius: 50%; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumbs img { width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; background: #1a1a1a; }
.feature-panel.in .thumbs img { animation: develop 1.2s var(--ease) both; animation-delay: calc(var(--i) * 0.12s + 0.2s); }
@keyframes develop { from { opacity: 0; filter: blur(8px) brightness(1.4); } }
.studio-prompt .prompt-text { font-size: 16px; }

/* ---- film section -------------------------------------------------------- */
.director { --p: 0; --word: 0; --fade: 0; --open: 0; --copy: 0; padding-top: 80px; }
.dir-scroll { position: relative; height: 280vh; }
.dir-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; background: var(--bg); }
.dir-word-wrap { text-align: center; transform: scale(calc(1 + var(--word) * 0.12)); opacity: calc(1 - var(--fade)); will-change: transform, opacity; padding: 0 16px; }
.dir-word { font-family: var(--display); font-size: clamp(54px, 11.6vw, 200px); font-weight: 800; line-height: 0.92; letter-spacing: -0.02em; white-space: nowrap; color: transparent; background: url('/img/film.svg') 30% 50% / 140% auto; -webkit-background-clip: text; background-clip: text; animation: pan 16s ease-in-out infinite alternate; }
@keyframes pan { to { background-position: 70% 40%; } }
.dir-sub { margin-top: 26px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.03em; }
.dir-film { position: absolute; inset: 0; opacity: min(1, calc(var(--open) * 25)); clip-path: inset(calc((1 - var(--open)) * 36%) calc((1 - var(--open)) * 16%) round calc((1 - var(--open)) * 28px)); will-change: clip-path; }
.dir-film-img { position: absolute; inset: -3%; background: url('/img/film.svg') center / cover; animation: drift 24s ease-in-out infinite alternate; }
.dir-film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65)); }
@keyframes drift { to { transform: scale(1.06) translate(-1.5%, -1%); } }
.dir-overlay { position: absolute; z-index: 1; left: 5vw; bottom: 9vh; max-width: 560px; opacity: var(--copy); transform: translateY(calc((1 - var(--copy)) * 24px)); }
.dir-overlay p { margin-bottom: 18px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5); }

.graph { position: relative; display: flex; flex-direction: column; align-items: center; gap: 64px; margin-top: 56px; padding: 48px 40px; border-radius: 24px; background-color: #0b0b0b; background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.3px); background-size: 16px 16px; }
.graph-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.g-line { fill: none; stroke: rgba(255, 255, 255, 0.36); stroke-width: 1; }
.g-port { fill: #fff; }
.g-dot { fill: var(--green); }
.g-row { position: relative; z-index: 1; display: flex; justify-content: center; width: 100%; }
.g-pair { gap: 100px; }
.node { position: relative; padding: 10px; border-radius: 18px; background: #171717; }
.node-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 4px 8px; font-size: 13px; }
.node-head strong { font-weight: 600; }
.node-head strong span, .node-head > span { margin-left: 6px; font-weight: 400; color: var(--muted); }
.node-head > .mono-label { margin: 0; }
.idea { width: min(450px, 100%); padding: 16px 20px 14px; background: #1b1b1b; }
.idea p { font-size: 17px; line-height: 1.4; }
.idea-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.place { width: 260px; }
.place img { width: 100%; aspect-ratio: 3 / 2; border-radius: 10px; object-fit: cover; }
.cast-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.cast-imgs img { aspect-ratio: 3 / 4; }
.node-cap { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 4px 2px; }
.node-cap strong { font-size: 14px; font-weight: 600; }
.g-shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shot-img { position: relative; overflow: hidden; border-radius: 9px; }
.shot-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ver { position: absolute; top: 6px; left: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); font: 500 10px/1.6 var(--mono); }
.use { position: absolute; top: 6px; right: 6px; padding: 1px 7px; border-radius: 6px; background: var(--green); color: #03140a; font-size: 10.5px; font-weight: 600; line-height: 1.6; }
.shot-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.shot-tags span { padding: 2px 6px; border-radius: 6px; background: var(--sunken); font-size: 11px; color: var(--muted); white-space: nowrap; }
.shot-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; }
.ok { display: inline-flex; align-items: center; gap: 4px; color: var(--green); }
.cont { color: var(--muted); }
.in-use { outline: 1.5px solid var(--green); }
.film { width: min(480px, 100%); }
.film-frame { position: relative; overflow: hidden; border-radius: 12px; }
.film-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); transform: translate(-50%, -50%); }
.play .ic, .play-sm .ic { fill: currentColor; }
.film-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 4px; }
.film-strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }
.film-ok { display: flex; align-items: center; gap: 6px; padding: 10px 4px 2px; font-size: 12px; color: var(--muted); }
.film-ok .ic { color: var(--green); }
.steps { display: none; }

/* ---- everything else ----------------------------------------------------- */
.center-head { padding-top: 144px; text-align: center; }
.center-head .h2, .center-head .lede { display: table; margin: 0 auto; padding: 0 14px; background: var(--bg); }
.center-head .lede { margin-top: 12px; }
.center-head .feature-cta { justify-content: center; }
.more-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; margin-top: 56px; }
.more-card { display: flex; flex-direction: column; min-height: 600px; padding: 22px 24px 24px; }
.more-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.more-chips { display: inline-flex; gap: 6px; }
.more-card .h3 { margin: 22px 0 18px; }
.checks li { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; }
.checks .ic { color: var(--green); }
.more-card.in .checks li { animation: rise 0.6s var(--ease) both; animation-delay: calc(var(--i) * 0.25s + 0.3s); }
.more-card > .prompt { margin-top: auto; }
.tracks { display: flex; flex-direction: column; gap: 14px; }
.track { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.track-art { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; }
.art-a { background: linear-gradient(135deg, #2546a8, #0e1d4f); }
.art-b { background: linear-gradient(135deg, #b4387a, #4d1032); }
.play-sm { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, 0.65); }
.len { position: absolute; right: 4px; bottom: 4px; padding: 0 4px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); font-size: 10px; font-weight: 600; }
.track-meta { min-width: 0; }
.track-meta p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; }
.track-meta strong { font-weight: 500; }
.track-meta p span { margin-left: 6px; font-size: 11.5px; color: var(--muted); }
.track-meta small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: var(--muted); }
.track-acts { display: flex; align-items: center; gap: 6px; }
.ib { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); color: #cfcfcf; }
.ib-on { border-radius: 50%; background: var(--green); color: #03140a; }
.ib-on .ic { fill: currentColor; }
.selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 18px; }
.selects div { padding: 10px 12px; border-radius: 12px; background: var(--panel); }
.selects small { display: block; font-size: 11.5px; color: var(--faint); }
.selects span { font-size: 14px; color: var(--faint); }

/* ---- desktop app window ---------------------------------------------------- */
.app-win { display: grid; grid-template-columns: 280px minmax(0, 1fr) 420px; height: 680px; margin-top: 48px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; background: #0a0a0a; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.02); font-size: 14px; }
.app-side { display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; }
.lights { display: flex; gap: 7px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.app-brand { display: flex; align-items: center; gap: 6px; margin: 22px 0 14px; color: var(--muted); }
.app-brand .mark { color: var(--ink); }
.app-brand strong { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.side-item { display: flex; align-items: center; gap: 10px; padding: 5px 4px; }
.side-search { display: flex; align-items: center; gap: 8px; margin: 12px 0 18px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); font-size: 13px; color: var(--faint); }
.side-label { display: flex; align-items: center; font: 400 10.5px/1.6 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.side-proj { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 500; }
.side-proj small { color: var(--faint); }
.side-task { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--raised); font-size: 13.5px; }
.dot-y { width: 10px; height: 10px; border-radius: 50%; background: #eab308; }
.side-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 13px; color: var(--muted); }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: repeating-conic-gradient(var(--green) 0 25%, #0b3d1d 0 50%) 50% / 8px 8px; }
.app-main { display: flex; flex-direction: column; min-width: 0; background: #121212; border-inline: 1px solid var(--line); }
.app-bar { display: flex; align-items: center; gap: 10px; height: 52px; flex: none; padding: 0 16px; font-size: 13.5px; color: var(--muted); }
.crumb strong { color: var(--ink); font-weight: 600; }
.app-chat { display: flex; flex-direction: column; flex: 1; padding: 12px 28px; }
.app-chat .bubble { align-self: center; max-width: 400px; margin-left: 60px; font-size: 14.5px; }
.made { display: flex; align-items: center; gap: 4px; margin-top: 26px; font-size: 13px; color: var(--muted); }
.edit-row { display: flex; align-items: center; gap: 6px; margin: 12px 0 8px; font-size: 14px; }
.edit-row code { font: 400 12px var(--mono); color: var(--muted); }
.plus { color: var(--green); font: 500 12px var(--mono); }
.minus { color: var(--red); font: 500 12px var(--mono); }
.app-chat .answer { font-size: 14.5px; line-height: 1.6; }
.app-input { margin: 0 16px 16px; }
.app-input .prompt-ph { font-size: 15px; }
.app-input .prompt-bar { color: var(--muted); }
.app-diff { display: flex; flex-direction: column; min-width: 0; padding: 0 10px 10px; background: #121212; }
.diff-box { flex: 1; min-height: 0; overflow: hidden; border-radius: 12px; background: #171717; }
.diff-folder, .diff-file { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 13px; }
.diff-file { padding-top: 4px; gap: 6px; }
.diff { margin: 6px 6px 0; padding: 8px 0; border-radius: 8px; background: #0b0b0b; font: 400 11.5px/1.75 var(--mono); color: #cfcfcf; }
.dl { display: flex; white-space: pre; }
.dl i { width: 34px; flex: none; padding-right: 10px; font-style: normal; text-align: right; color: var(--faint); }
.dl b { width: 14px; flex: none; font-weight: 400; }
.dl.add { background: rgba(34, 197, 94, 0.17); color: #e2f8ea; }
.dl.del { background: rgba(239, 68, 68, 0.18); color: #fde6e6; }

/* ---- privacy ------------------------------------------------------------- */
.relay { aspect-ratio: 600 / 520; }
.relay-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rl { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.rl-relay { transform: none; }
.kept-wrap { padding-top: 24px; }
.kept { display: grid; grid-template-columns: 1fr 1fr; min-height: 160px; padding: 30px 24px 22px; }
.kept::before { content: ''; position: absolute; left: 50%; top: 50%; width: 160px; height: 90px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.35), transparent); filter: blur(14px); animation: glow2 5s ease-in-out infinite alternate; }
@keyframes glow2 { to { opacity: 0.5; transform: translate(-50%, -50%) scale(1.2); } }
.kept-side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 22px; }
.kept-items { display: flex; gap: 0; }
.kept-items span { padding: 0 22px 10px; border-bottom: 2px solid var(--green); font-size: 15px; font-weight: 500; }
.drop-items { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.drop-items span { position: relative; font-size: 15px; color: var(--muted); animation: fade 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.drop-items span::after { content: ''; position: absolute; left: calc(100% + 6px); top: 60%; width: 22px; height: 1px; background: var(--line); }
@keyframes fade { 0%, 100% { opacity: 0.18; filter: blur(1px); transform: translateY(-4px); } 50% { opacity: 0.7; filter: blur(0); transform: translateY(4px); } }
.report { padding: 22px 24px; }
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.report-head .h3 { font-size: 24px; }
.report-ok { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(34, 197, 94, 0.1); }
.report-ok > .ic { color: var(--green); margin-top: 2px; }
.report-ok strong { font-size: 15px; font-weight: 500; }
.report-ok p { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.report-ev { display: flex; justify-content: space-between; margin: 22px 0 6px; font-size: 14px; }
.report-ev strong { font-weight: 500; }
.report-ev .on { font-size: 13px; }
.report-rows li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.report-rows .ic { color: var(--green); }
.report-rows strong { display: block; font-size: 14px; font-weight: 500; }
.report-rows small { font-size: 12px; color: var(--faint); }
.report-rows .on { font-size: 13px; }

/* ---- token --------------------------------------------------------------- */
.tok-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.tok-card { min-height: 120px; padding: 14px 16px 16px; border-radius: 16px; background: var(--panel); }
.tok-top { display: flex; align-items: center; justify-content: space-between; }
.tok-card h3 { margin: 14px 0 6px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.tok-card p { font-size: 13.5px; color: var(--muted); }
.tri { position: relative; width: min(460px, 100%); margin: 0 auto; padding: 34px 0 40px; }
.tri-svg { display: block; width: 100%; height: auto; overflow: visible; }
.tri-edge, .tri-inner { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 1; }
.tri-inner { fill: url(#dots); }
.tri-dash { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; stroke-dasharray: 2 4; }
.tri-label { font: 500 11px var(--mono); fill: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; }
.tri-node { fill: #fff; }
.tri-arrow { fill: var(--green); }
.tri-cap { position: absolute; transform: translateX(-50%); font: 500 10.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.tri-cap small { display: block; font-size: 9px; color: var(--faint); }
.tc-top { left: 50%; top: calc(34px + 11.8% * 0.85 - 30px); }
.tc-left { left: 10%; top: calc(34px + 88% * 0.85 + 6px); }
.tc-right { left: 90%; top: calc(34px + 88% * 0.85 + 6px); }
.stats-wrap { padding-top: 56px; }
.stats-title { text-align: center; font-size: 13px; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 14px; }
.stat { padding: 12px 14px; border-radius: 14px; background: var(--panel); }
.stat small { font-size: 11.5px; color: var(--muted); }
.stat p { margin-top: 2px; }
.stat strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.stat p span { margin-left: 5px; font-size: 11px; color: var(--muted); }

/* ---- models + close ------------------------------------------------------ */
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.portraits img { width: 100%; aspect-ratio: 3 / 4; border-radius: 16px; object-fit: cover; }
.portraits figcaption { margin-top: 10px; font-size: 14px; font-weight: 500; }
.close { padding-top: 168px; text-align: center; }
.close-title { position: relative; display: inline-block; padding: 0 16px; background: var(--bg); font-size: clamp(32px, 4.4vw, 60px); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; }
.close-cta { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; max-width: 900px; margin: 96px auto 0; padding: 24px 0 64px; border-top: 1px solid var(--line); font-size: 15px; }
.foot a { color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.foot a:hover { color: #fff; }
.noscript { padding: 40px; text-align: center; }

/* ---- soon, contract address, preview note -------------------------------- */
.is-soon { cursor: default; opacity: 0.55; }
.is-soon:hover { filter: none; }
.btn.is-soon:active { transform: none; }
.is-soon small { margin-left: 4px; font: 500 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--faint); text-align: center; }
.ca-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.ca-value { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 400 14px/1.4 var(--mono); color: var(--muted); }
.ca-box.is-live .ca-value { color: var(--ink); }
.ca-copy { height: 32px; padding: 0 12px; border-radius: 10px; background: var(--sunken); font-size: 13px; font-weight: 500; }
.ca-copy:hover { background: var(--float); }

/* ---- reveal -------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { gap: 16px; margin-right: 6px; }
  .app-win { grid-template-columns: 240px minmax(0, 1fr) 360px; }
}
@media (max-width: 1023px) {
  .nav { display: none; }
  .wrap { padding: 0 24px 0 52px; }
  .feature { grid-template-columns: 1fr; gap: 40px; padding-top: 112px; }
  .feature.flip .feature-panel { order: 0; }
  .feature-copy { max-width: none; }
  .center-head { padding-top: 112px; }
  .graph { display: none; }
  .steps { display: block; }
  .step { margin-top: 56px; }
  .step-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--panel); }
  .step-tabs span { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 4px; height: 36px; border-radius: 10px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
  .step-tabs span.on { background: var(--raised); color: var(--ink); font-weight: 500; }
  .step-tabs span.done .ic { color: var(--green); }
  .step-bar { position: relative; height: 1px; margin-top: 10px; background: var(--line); }
  .step-bar::before { content: ''; position: absolute; left: 0; top: -0.5px; width: var(--w); height: 2px; background: var(--green); }
  .step-title { margin: 18px 0 14px; font-size: 21px; font-weight: 500; letter-spacing: -0.025em; }
  .step-cards { display: flex; gap: 10px; margin-right: -24px; padding-right: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .step-cards::-webkit-scrollbar { display: none; }
  .step-cards > * { flex: 0 0 auto; scroll-snap-align: start; }
  .step-cards .idea { width: 92%; }
  .step-cards .place { width: 72%; }
  .step-cards .shot { width: 78%; }
  .step-cards .film { width: 100%; }
  .more-grid { grid-template-columns: 1fr; }
  .app-win { grid-template-columns: 1fr; height: 640px; }
  .app-side, .app-diff { display: none; }
  .app-main { border: 0; }
  .relay { aspect-ratio: auto; height: 520px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .dir-scroll { height: 260vh; }
}
@media (max-width: 767px) {
  .site-head { padding: 20px; }
  .logo .wordmark { height: 22px; width: auto; }
  .logo .mark { width: 25px; height: 25px; }
  .only-phone { display: inline; }
  .only-wide { display: none; }
  .hero { min-height: 0; }
  .hero-body { justify-content: flex-start; padding: 0 20px 24px; }
  .tree { display: none; }
  .hero-glow { display: none; }
  .chips { position: static; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 360px; margin: 300px auto 14px; }
  .chip { position: static; height: 30px; padding: 0 10px; border-radius: 8px; font-size: 11px; animation: none; }
  .chip-solid { order: -1; }
  .trust { grid-template-columns: 1fr 1fr; row-gap: 22px; margin-top: 40px; }
  .wrap { padding: 0 20px 0 48px; }
  .lede { font-size: 17px; }
  .chat-panel { min-height: 520px; }
  .picker { display: none; }
  .chat-foot { padding-top: 120px; }
  .chat-foot .model-pill, .chat-foot .prompt-tool { display: none; }
  .thumbs { grid-template-columns: 1fr 1fr; }
  .hide-phone { display: none; }
  .track-acts { display: none; }
  .more-card { min-height: 0; }
  .more-card > .prompt, .selects { margin-top: 18px; }
  .more-top { flex-direction: column; align-items: flex-start; }
  .kept { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tok-cards { grid-template-columns: 1fr; }
  .close-cta { flex-wrap: wrap; }
  .dir-overlay { left: 20px; right: 20px; }
  .dir-word { font-size: 15vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
