/* Jaunty landing page. The film's stage: near-black, hairlines, one white button, two greys of type. Colour belongs
   to the crew. Inter for everything, JetBrains Mono only for code. */
@font-face { font-family: 'Inter'; src: url('fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #050506; --bg-2: #09090B; --panel: #0C0C0F; --panel-2: #121216; --panel-3: #19191E;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --ink: #F4F4F6; --body: #C6C6CD; --mute: #8B8B93; --dim: #787880;
  --key: 255, 241, 222;                         /* the spotlight's warm white, as rgb */
  --verm: #FF5A36; --blue: #2F7BFF; --green: #2FBF63;
  --thinking: #6FA8FF; --working: #2EA8FF; --needs: #FFB020; --done: #5BE04A; --offline: #8A8A93;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1200px; --gutter: clamp(20px, 5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); color: var(--body); font: 400 17px/1.55 var(--sans); font-feature-settings: 'ss03'; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: hidden; }
main { overflow-x: clip; }
/* Film grain, still: it dithers the dark gradients that would otherwise band on 8-bit screens. */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: rgba(255, 255, 255, .2); color: #fff; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
code { font: 500 .88em/1 var(--mono); color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 6px; padding: .18em .42em; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, .85); outline-offset: 3px; border-radius: 8px; }

/* ── type ─────────────────────────────────────────────────────────────────────────────────────────── */
.h1 { color: var(--ink); font-weight: 600; font-size: clamp(58px, 9.4vw, 136px); line-height: .92; letter-spacing: -.052em; }
.h2 { color: var(--ink); font-weight: 600; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.dim { color: var(--mute); }
h3 { color: var(--ink); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }

/* ── buttons ──────────────────────────────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn.big { height: 54px; padding: 0 26px; font-size: 16px; }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn small { font-size: 13px; font-weight: 500; letter-spacing: 0; }
.btn.primary { background: #fff; color: #050506; }
.btn.primary:hover { background: #E4E4E9; }
.btn.primary small { color: #6E6E77; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.btn.ghost small { color: var(--mute); }
.btn .i { width: 16px; height: 16px; }

/* ── nav ──────────────────────────────────────────────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(5, 5, 6, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--mute); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav nav a:hover { color: var(--ink); }

/* ── light: a soft cone from above. The wrapper blurs, the child is the clipped shape (clip-path is applied after
   filters, so the two can't share an element). ── */
.ray { position: absolute; pointer-events: none; filter: blur(var(--blur, 24px)); mix-blend-mode: screen; }
.ray > b { position: absolute; inset: 0; clip-path: polygon(calc(50% - var(--top, 9%)) 0, calc(50% + var(--top, 9%)) 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(var(--c, var(--key)), var(--a0, .24)), rgba(var(--c, var(--key)), var(--a1, .1)) 62%, rgba(var(--c, var(--key)), var(--a2, .06))); }

/* Characters on the stage catch the light: a bright rim along the top edge, and a glow in their own colour. */
.lit-bot > svg { filter: drop-shadow(0 -1.2px 0 rgba(255, 246, 234, .5)) drop-shadow(0 0 28px var(--glow, transparent)); }

/* ── hero: the stage ──────────────────────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: calc(64px + clamp(48px, 9vh, 110px)) var(--gutter) 40px; overflow: hidden; isolation: isolate; }
.hero-copy { position: relative; z-index: 3; text-align: center; max-width: 980px; }
.hero .lede { margin: 26px auto 0; max-width: 600px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--mute); text-wrap: pretty; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.stage { --size: clamp(96px, min(14.5vw, 21vh), 204px); position: relative; z-index: 2; width: min(1040px, 100%); height: calc(var(--size) * 1.62); margin-top: auto; padding-top: 40px; }
.beams { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.beam { --x: 50%; --blur: 26px; bottom: var(--floor-y, 30%); left: var(--x); width: min(36vw, 480px); height: 150vh; transform: translateX(-50%); opacity: 0; }
.beam.on { opacity: 1; animation: clunk .5s steps(1, end); }
@keyframes clunk { 0% { opacity: 1; filter: blur(26px) brightness(1.7); } 7% { opacity: .3; } 14% { opacity: 1; filter: blur(26px) brightness(1.25); } 100% { opacity: 1; } }
.floor { position: absolute; left: -30vw; right: -30vw; bottom: 0; height: calc(var(--size) * .5);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012) 12%, rgba(0, 0, 0, 0)); border-top: 1px solid rgba(255, 255, 255, .04); }
.actor { position: absolute; bottom: calc(var(--size) * .5); left: var(--x); width: var(--size); height: var(--size); transform: translateX(-50%); }
.actor[data-light="0"] { --x: 24%; } .actor[data-light="1"] { --x: 50%; --size-k: 1.08; } .actor[data-light="2"] { --x: 76%; }
.actor::before { content: ''; position: absolute; left: 50%; top: 93%; width: 250%; height: 60%; transform: translate(-50%, -50%); border-radius: 50%; opacity: 0; transition: opacity .3s;
  background: radial-gradient(closest-side, rgba(var(--key), .3), rgba(var(--key), .1) 50%, transparent); pointer-events: none; }
.actor.lit::before { opacity: 1; }
.actor .host { width: 100%; height: 100%; cursor: pointer; filter: brightness(.04) saturate(.5); transform: scale(var(--size-k, 1)); transform-origin: 50% 93%;
  -webkit-box-reflect: below calc(var(--size) * -.14) linear-gradient(transparent 52%, rgba(0, 0, 0, .26)); }
.actor.lit .host { filter: none; animation: lamp .5s steps(1, end); }
@keyframes lamp { 0% { filter: brightness(1.45); } 7% { filter: brightness(.3); } 14% { filter: brightness(1.15); } 100% { filter: none; } }
.status { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 500; color: var(--mute); opacity: 0; transition: opacity .4s; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--offline)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot, var(--offline)) 18%, transparent); }
.actor.lit .status { opacity: 1; }
.facts { position: relative; z-index: 3; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 18px 0 0; font-size: 13px; color: var(--dim); }
.facts li + li::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 22px 3px -22px; vertical-align: middle; transform: translateX(11px); }

/* ── sections ─────────────────────────────────────────────────────────────────────────────────────── */
main > section:not(.hero) { position: relative; padding: clamp(88px, 13vw, 168px) var(--gutter) 0; }
.head { max-width: var(--max); margin: 0 auto; }
.head p { max-width: 620px; margin-top: 22px; font-size: 18px; color: var(--mute); text-wrap: pretty; }

/* film */
.film-frame { position: relative; max-width: var(--max); margin: 56px auto 0; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px -40px rgba(0, 0, 0, .8), 0 0 180px -60px rgba(var(--key), .18); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.sound { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(10, 10, 12, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-2); }
.sound-icon { width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='m22 9-6 6M16 9l6 6'/%3E%3C/svg%3E"); }
.sound[aria-pressed="true"] .sound-icon { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }

/* faces: a hairline grid, each state under its own small light */
.face-grid { max-width: var(--max); margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.face-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 30px 32px; text-align: left; cursor: pointer; overflow: hidden;
  background: transparent; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.face-tile:hover { background: rgba(255, 255, 255, .018); }
.mini { position: relative; align-self: stretch; height: 210px; display: grid; place-items: end center; padding-bottom: 26px; }
.mini .ray { --blur: 14px; --top: 12%; --a0: 0; --a1: .07; --a2: .1; left: 50%; bottom: 26px; width: 230px; height: 260px; transform: translateX(-50%); transition: opacity .3s; opacity: .8; }
.mini::after { content: ''; position: absolute; left: 50%; bottom: 18px; width: 200px; height: 30px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--key), .16), transparent); }
.face-tile:hover .mini .ray { opacity: 1; }
.mini .face { position: relative; z-index: 1; width: 124px; height: 124px; }
.face-tile h3 { display: flex; align-items: center; gap: 10px; }
.face-tile h3 i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 18%, transparent), 0 0 18px var(--dot); }
.face-tile p { font-size: 15px; color: var(--mute); max-width: 320px; }

/* feature rows: copy beside a live piece of the app */
.feature { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature.flip .copy { order: 2; }
.feature .copy p { margin-top: 22px; font-size: 18px; color: var(--mute); max-width: 460px; text-wrap: pretty; }
.points { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); max-width: 460px; }
.points li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--body); }
.points li::before { content: ''; width: 16px; height: 16px; flex: none; background: var(--mute); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5L19 7'/%3E%3C/svg%3E"); }
.visual { position: relative; display: grid; place-items: center; min-height: 560px; }

/* the phone, in the app's dark theme */
.phone { position: relative; width: 340px; height: 720px; padding: 10px; border-radius: 58px;
  background: linear-gradient(140deg, #3A3A42, #111114 22%, #0B0B0E 60%, #26262C);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06), 0 0 160px -40px rgba(140, 160, 255, .22); }
.tilt-left { transform: perspective(1900px) rotateY(-17deg) rotateX(5deg) rotateZ(1.2deg); }
.phone .screen { position: relative; height: 100%; border-radius: 48px; background: #000; overflow: hidden; display: flex; flex-direction: column; font-size: 14px; color: #fff; }
.phone .screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 38%); }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px 0; font-size: 14px; }
.sb span { width: 58px; height: 12px; background: #fff; -webkit-mask: var(--sys) right / contain no-repeat; mask: var(--sys) right / contain no-repeat;
  --sys: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 12'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='5' y='6' width='3' height='6' rx='1'/%3E%3Crect x='10' y='3' width='3' height='9' rx='1'/%3E%3Crect x='15' y='0' width='3' height='12' rx='1'/%3E%3Crect x='34' y='1' width='20' height='10' rx='3' fill='none' stroke='black' stroke-width='1.6'/%3E%3Crect x='36.5' y='3.5' width='13' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.chat-head .i { width: 20px; height: 20px; color: #fff; }
.chat-head > .i:last-child { margin-left: auto; }
.chat-head .face-slot { position: relative; width: 34px; height: 34px; }
.chat-head .face-slot::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 2.5px #000; }
.chat-head b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.chat-head em { display: block; font-style: normal; font-size: 12px; color: #A8A8B3; }
.chat-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 16px; overflow: hidden; }
.chat-body .me { align-self: flex-end; max-width: 78%; background: #171717; color: #F5F5F5; padding: 10px 14px; border-radius: 18px; animation: pop .35s var(--ease); }
.chat-body .bot { align-self: flex-start; max-width: 92%; color: #fff; line-height: 1.5; }
.chat-body .work { display: flex; align-items: center; gap: 8px; color: #A8A8B3; font-size: 13px; }
.chat-body .work .face-slot { width: 24px; height: 24px; }
.chat-body .step { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #1A1A1A; color: #A8A8B3; font-size: 12.5px; animation: pop .35s var(--ease); }
.chat-body .step .tick, .approval .tick { width: 14px; height: 14px; background: var(--done); -webkit-mask: var(--t) center / contain no-repeat; mask: var(--t) center / contain no-repeat;
  --t: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l5 5L19 7'/%3E%3C/svg%3E"); }
.chat-body .step .spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: #fff; animation: spin .8s linear infinite; }
.chat-body .card { border-radius: 14px; background: #111; overflow: hidden; animation: pop .45s var(--ease); }
.chat-body .card .shot { position: relative; aspect-ratio: 16 / 9; background: url('img/desktop.jpg') center / cover; }
.chat-body .card .shot::after { content: ''; position: absolute; right: 9%; top: 11%; width: 44%; height: 42%; border-radius: 5px; background: #16171B; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.chat-body .card .row { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 12.5px; }
.chat-body .card .row .i { width: 15px; height: 15px; color: #8FB8FF; }
.chat-body .card .row b { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: #1C1C1F; font-size: 11.5px; font-weight: 600; }
.composer { display: flex; align-items: center; gap: 6px; margin: 0 10px 10px; color: #9898a2; }
.composer .attach, .draft-pill { background: #121214; border: 1px solid #29292e; border-radius: 22px; }
.composer .attach { display: grid; place-items: center; width: 38px; height: 38px; color: #eee; }
.draft-pill { flex: 1; display: flex; align-items: center; gap: 5px; min-width: 0; min-height: 38px; padding: 4px 5px 4px 12px; }
#chat-draft { flex: 1; }
.composer .mic { margin-inline: 6px; width: 16px; }
.composer .send { display: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f5f5f5; color: #0a0a0a; }
.composer .send .i { width: 16px; height: 16px; }
.composer.typed #chat-draft { color: white; }
.composer.typed .mic { display: none; }
.composer.typed .send { display: grid; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes spin { to { transform: rotate(1turn); } }

/* approvals: the circle in its amber light, and a card you can really tap */
.approve-stage { position: relative; width: min(100%, 620px); height: 520px; }
.lamp { --c: 255, 176, 71; --a0: 0; --a1: .1; --a2: .17; --top: 10%; left: 125px; bottom: 70px; width: 400px; height: 640px; transform: translateX(-50%); animation: pulse 1s ease-in-out infinite; }
.approve-stage::after { content: ''; position: absolute; left: 125px; bottom: 42px; width: 420px; height: 64px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 176, 71, .32), transparent); transition: background .4s; animation: pulse 1s ease-in-out infinite; }
.approve-stage.ok .lamp { --c: var(--key); animation: none; }
.approve-stage.ok::after { background: radial-gradient(closest-side, rgba(var(--key), .26), transparent); animation: none; }
@keyframes pulse { 50% { opacity: .65; } }
.approve-bot { position: absolute; left: 0; bottom: 70px; width: 250px; height: 250px; -webkit-box-reflect: below -34px linear-gradient(transparent 55%, rgba(0, 0, 0, .22)); }
.approval { position: absolute; right: 0; top: 0; width: min(340px, 62%); padding: 22px; border-radius: 24px; background: rgba(17, 17, 19, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px var(--line-2), 0 40px 100px -30px rgba(0, 0, 0, .9); }
.approval .who { display: flex; align-items: center; gap: 10px; }
.approval .who .face-slot { width: 36px; height: 36px; }
.approval .who b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.approval .who i { display: block; font-style: normal; font-size: 13px; color: var(--mute); }
.approval .q { margin-top: 18px; color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.approval code { display: block; margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; background: rgba(255, 255, 255, .05); border: 0; }
.approval .actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-top: 18px; }
.approval .actions button { height: 44px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: 14.5px; transition: transform .2s var(--ease), background .2s; }
.approval .actions button:active { transform: scale(.96); }
.approval .deny { background: #1E1E22; color: var(--ink); }
.approval .deny:hover { background: #26262B; }
.approval .allow { background: #F5F5F5; color: #0A0A0A; }
.approval .allow:hover { background: #fff; }
.approval .done { display: flex; align-items: center; gap: 10px; margin-top: 18px; height: 44px; color: var(--ink); font-weight: 600; animation: pop .4s var(--ease); }
.approval .done .tick { width: 18px; height: 18px; }
.approval .done.denied .tick { background: var(--mute); --t: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }

/* its own computer: a screen standing in the dark, its light on the floor */
.desk-scene { position: relative; max-width: 1080px; margin: 64px auto 0; perspective: 2200px; padding-bottom: 40px; }
.desk-scene::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: -20px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 175, 255, .16), transparent); }
.desk { position: relative; border-radius: 18px; overflow: hidden; transform: rotateX(10deg) rotateY(-9deg); transform-origin: 50% 100%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 140px -40px rgba(0, 0, 0, .9), 0 0 200px -60px rgba(150, 175, 255, .3);
  -webkit-box-reflect: below 6px linear-gradient(transparent 70%, rgba(0, 0, 0, .18)); }
.desk img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.desk .win { position: absolute; right: 6%; top: 9%; width: 46%; border-radius: 12px; background: #141519; box-shadow: 0 20px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.desk .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #1D1E24; }
.desk .bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; } .desk .bar i:nth-child(2) { background: #FEBC2E; } .desk .bar i:nth-child(3) { background: #28C840; }
.desk .bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: #8C8F99; }
.desk pre { margin: 0; min-height: 176px; padding: 14px 16px; font: 500 clamp(10px, 1.15vw, 13.5px)/1.75 var(--mono); color: #E8E6E3; white-space: pre-wrap; }
.desk pre .g { color: #5BE04A; } .desk pre .b { color: #8FB8FF; }
.desk pre::after { content: ''; display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: #E8E6E3; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.live { position: absolute; left: 3%; top: 5%; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(10, 10, 12, .7); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.live i, .caption i { width: 7px; height: 7px; border-radius: 50%; background: var(--verm); box-shadow: 0 0 10px var(--verm); animation: pulse 1.2s ease-in-out infinite; }
.caption { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px;
  background: rgba(20, 20, 23, .92); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.desk-bot { position: absolute; left: -2%; bottom: -30px; width: clamp(110px, 17vw, 210px); height: clamp(110px, 17vw, 210px); -webkit-box-reflect: below -26px linear-gradient(transparent 55%, rgba(0, 0, 0, .2)); }

/* apps: a ring of marks turning around the crew */
.orbit { position: relative; width: 100%; max-width: 640px; height: 520px; }
.orbit-ray { --a0: 0; --a1: .1; --a2: .14; --top: 11%; left: 50%; top: -60px; bottom: 150px; width: 440px; transform: translateX(-50%); }
.orbit::after { content: ''; position: absolute; left: 50%; bottom: 130px; width: 380px; height: 60px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--key), .2), transparent); }
.orbit-crew { position: absolute; left: 50%; bottom: 150px; width: 330px; height: 130px; transform: translateX(-50%); z-index: 5; }
.orbit-crew > div { position: absolute; bottom: 0; width: 110px; height: 110px; }
.app { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(180deg, #1C1C20, #0E0E10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 18px 40px -12px rgba(0, 0, 0, .8); will-change: transform, opacity; }
.app svg { width: 30px; height: 30px; }

/* more: three quiet panels */
.more { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.panel { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); min-height: 380px; }
.panel > p { font-size: 15px; color: var(--mute); }
.thread { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.msg { display: flex; align-items: center; gap: 8px; }
.msg.you { align-self: flex-end; background: #171717; color: #F5F5F5; padding: 9px 13px; border-radius: 16px; max-width: 92%; }
.msg.bot { color: var(--body); }
.msg .face-slot { width: 28px; height: 28px; flex: none; }
.msg mark { background: rgba(47, 191, 99, .16); color: #7BE09D; padding: 1px 4px; border-radius: 5px; }
.routines { margin-top: auto; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.routines .row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.routines b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.routines i { display: block; font-style: normal; font-size: 12.5px; color: var(--mute); }
.switch { margin-left: auto; width: 38px; height: 22px; border-radius: 999px; background: #26262B; position: relative; flex: none; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #8B8B93; transition: transform .3s var(--ease); }
.switch.on { background: #F5F5F5; } .switch.on::after { transform: translateX(16px); background: #050506; }
.maker { margin-top: auto; display: grid; grid-template-columns: 116px 1fr; grid-template-rows: auto auto; gap: 12px 16px; align-items: center; }
.maker-face { grid-row: span 2; width: 116px; height: 116px; cursor: pointer; }
.maker-shapes, .maker-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.maker-shapes button { width: 30px; height: 30px; padding: 6px; border-radius: 9px; border: 0; background: #17171B; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.maker-shapes button[aria-pressed="true"] { background: #F5F5F5; }
.maker-shapes button[aria-pressed="true"] path { fill: #050506; }
.maker-shapes svg path { fill: #C6C6CD; }
.maker-colors button { width: 20px; height: 20px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .2s var(--ease); }
.maker-colors button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px #F5F5F5; }
.maker-colors button:hover { transform: scale(1.12); }

/* self-hosted */
.diagram { max-width: 860px; margin: 64px auto 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0; }
.node { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 200px; padding: 24px 16px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); text-align: center; }
.node .i { width: 30px; height: 30px; color: var(--ink); stroke-width: 1.6; margin-bottom: 8px; }
.node b { color: var(--ink); font-weight: 600; font-size: 15px; }
.node i { font-style: normal; font-size: 13px; color: var(--mute); }
.wire { position: relative; height: 1px; background: linear-gradient(90deg, var(--line-2), rgba(255, 255, 255, .3), var(--line-2)); }
.wire em { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); font-style: normal; font-size: 12.5px; color: var(--mute); white-space: nowrap; }
.packet { position: absolute; top: -2.5px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; animation: travel 2.4s linear infinite; }
.packet.p2 { animation-delay: -.8s; } .packet.p3 { animation-delay: -1.6s; animation-direction: reverse; }
@keyframes travel { from { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: calc(100% - 6px); opacity: 0; } }
.steps { max-width: var(--max); margin: 80px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 28px 30px 8px 0; }
.steps li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.steps h3 span { color: var(--dim); margin-right: 12px; font-weight: 500; }
.steps p { margin-top: 10px; font-size: 15px; color: var(--mute); }
.own-more { max-width: var(--max); margin: 48px auto 0; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; color: var(--mute); }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; align-items: start; }
.faq .head { margin: 0; position: sticky; top: 110px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; color: var(--mute); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 40px 24px 0; font-size: 16px; color: var(--mute); max-width: 640px; }

/* finale */
.finale { text-align: center; padding-bottom: clamp(96px, 12vw, 150px) !important; overflow: hidden; }
.finale-light { --a0: .02; --a1: .1; --a2: .16; --blur: 26px; left: 50%; top: -80px; width: 560px; height: calc(clamp(88px, 13vw, 168px) + 330px); transform: translateX(-50%); }
.finale-crew { position: relative; width: 250px; height: 250px; margin: 0 auto 40px; }
.finale-crew::after { content: ''; position: absolute; left: -40%; right: -40%; bottom: -8%; height: 26%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--key), .22), transparent); z-index: -1; }
.crew-bot { position: absolute; }
.finale-actions { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.qr { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 13px; color: var(--mute); text-align: left; }
.qr img { padding: 8px; border-radius: 14px; background: #fff; }
.finale-links { display: flex; justify-content: center; gap: 26px; margin-top: 40px; font-size: 14px; }
.finale-links a { color: var(--mute); text-decoration: none; } .finale-links a:hover { color: var(--ink); }

/* footer */
.foot { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 28px var(--gutter) 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 13px; color: var(--dim); }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--mute); font-weight: 500; }
.foot-brand img { border-radius: 6px; }
.foot a { color: var(--mute); text-decoration: none; } .foot a:hover { color: var(--ink); }
.foot-links { display: flex; gap: 20px; margin-left: auto; }

/* film dialog */
.film-dialog { width: min(1280px, 94vw); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #000; overflow: visible; box-shadow: 0 0 0 1px var(--line-2); }
.film-dialog::backdrop { background: rgba(0, 0, 0, .86); backdrop-filter: blur(10px); }
.film-dialog video { width: 100%; border-radius: 20px; }
.film-dialog .close { position: absolute; right: -8px; top: -52px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; cursor: pointer; }

/* reveals */
.rise { animation: rise 1.1s var(--ease) both; }
.hero-copy .rise:nth-child(2) { animation-delay: .1s; } .hero-copy .rise:nth-child(3) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } }
.reveal { opacity: 0; transform: translateY(20px); filter: blur(6px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ── narrow screens ───────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .feature { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
  .visual { min-height: 0; }
  .tilt-left { transform: none; }
  .face-grid { grid-template-columns: repeat(2, 1fr); }
  .more { grid-template-columns: 1fr; }
  .panel { min-height: 0; }
  .faq { grid-template-columns: 1fr; }
  .faq .head { position: static; }
}
@media (max-width: 640px) {
  html { font-size: 16px; }
  .hero { padding-top: 112px; }
  .ctas .btn { width: 100%; }
  .stage { --size: 27vw; height: calc(var(--size) * 1.75); }
  .actor[data-light="0"] { --x: 18%; } .actor[data-light="2"] { --x: 82%; }
  .status { font-size: 11.5px; }
  .beam { width: 62vw; }
  .lamp, .approve-stage::after { left: 85px; }
  .face-grid { grid-template-columns: repeat(2, 1fr); }
  .face-tile { padding: 0 16px 22px; gap: 8px; }
  .mini { height: 150px; padding-bottom: 20px; }
  .mini .face { width: 92px; height: 92px; }
  .mini .ray { width: 170px; height: 190px; bottom: 20px; }
  .face-tile h3 { font-size: 16px; }
  .face-tile p { font-size: 13.5px; }
  .phone { width: 300px; height: 636px; border-radius: 52px; }
  .phone .screen { border-radius: 43px; }
  .approve-stage { height: 560px; }
  .approve-bot { left: 0; bottom: 30px; width: 170px; height: 170px; }
  .approval { top: 0; width: 100%; }
  .desk { transform: none; }
  .desk .win { width: 62%; }
  .desk-bot { display: none; }
  .caption { font-size: 12.5px; }
  .orbit { height: 420px; }
  .diagram { grid-template-columns: 1fr; gap: 56px; justify-items: center; }
  .wire { width: 1px; height: 80px; background: linear-gradient(180deg, var(--line-2), rgba(255, 255, 255, .3), var(--line-2)); }
  .wire em { top: 50%; left: 16px; transform: translateY(-50%); }
  .packet { left: -2.5px !important; animation-name: travel-down; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 8px; border-left: 0; border-bottom: 1px solid var(--line); }
  .foot-links { margin-left: 0; }
  .qr { display: none; }
}
@keyframes travel-down { from { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { top: calc(100% - 6px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .beam.on, .actor.lit .host, .lamp, .approve-stage::after, .packet, .desk pre::after, .live i, .caption i { animation: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .beam { opacity: 1; } .actor .host { filter: none; } .actor::before, .status { opacity: 1; }
}
