@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  color-scheme: light dark;
  --paper: #f7f3ea;
  --paper-2: #efe8d9;
  --card: #fffdf8;
  --ink: #14181b;
  --ink-2: #2c3338;
  --muted: #59616a;
  --line: #e3dbca;
  --line-2: #d6ccb7;
  --teal: #15788a;
  --teal-ink: #0f6575;
  --teal-deep: #0c4f5c;
  --teal-soft: #d6ecee;
  --on-teal: #ffffff;
  --green: #2f8a5b; --red: #d9483b; --teal-2: #2c7672; --purple: #6d54b5; --slate: #4b5563; --pink: #d9467f; --orange: #e8962b; --blue: #3457c9;
  --t-green: #e2f1e7; --t-orange: #fcecd4; --t-purple: #ebe6f8; --t-pink: #fbe3ec; --t-blue: #e2e8fa; --t-teal: #ddefed;
  --allow: #1f7a4c; --allow-bg: #dff1e6;
  --ask: #9a5a00; --ask-bg: #fdefd5;
  --deny: #b4362b; --deny-bg: #fbe2df;
  --auto: #4f3d96; --auto-bg: #ebe6f8;
  --facade: #f0dfc4;
  --facade-2: #e6cfac;
  --facade-line: #d4b88f;
  --street: #2c3338;
  --sill: #fffaf0;
  --shadow: 0 1px 2px #2a20100d, 0 12px 32px -12px #2a201029;
  --shadow-lg: 0 2px 4px #0b2a3014, 0 40px 80px -24px #0b2a3059;
  --radius: 28px;
  --sans: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1416;
    --paper-2: #111b1e;
    --card: #152024;
    --ink: #f2eee6;
    --ink-2: #dcd7cd;
    --muted: #a3adb2;
    --line: #22323a;
    --line-2: #2d404a;
    --teal: #3aa6b7;
    --teal-ink: #6dcad7;
    --teal-deep: #0b3e48;
    --teal-soft: #12343b;
    --on-teal: #06181c;
    --t-green: #173126; --t-orange: #33261a; --t-purple: #231f38; --t-pink: #351d28; --t-blue: #1a2342; --t-teal: #133230;
    --allow: #7ad9a1; --allow-bg: #173a2a;
    --ask: #f2c068; --ask-bg: #3b2c12;
    --deny: #ff9a8f; --deny-bg: #43201d;
    --auto: #bcaaf5; --auto-bg: #2a2447;
    --facade: #1c2a30;
    --facade-2: #172328;
    --facade-line: #2a3c44;
    --street: #33454e;
    --sill: #2c3e46;
    --shadow: 0 1px 2px #0006, 0 12px 32px -12px #0009;
    --shadow-lg: 0 2px 4px #0005, 0 40px 80px -24px #000c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--teal-ink); }
code { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .2s ease, opacity .2s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover:not(:disabled) { background: var(--teal); color: var(--on-teal); }
.btn-teal { background: var(--teal); color: var(--on-teal); }
.btn-teal:hover:not(:disabled) { background: #fff; color: #0c4f5c; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-xs { height: 34px; padding: 0 14px; font-size: 14px; }
.btn.wide { width: 100%; }

.nav { position: sticky; top: 0; z-index: 50; transition: background-color .25s, box-shadow .25s, backdrop-filter .25s; }
.nav.scrolled { background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.signin { padding: 8px 14px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 999px; }
.signin:hover { background: var(--paper-2); }

.hero { position: relative; padding: clamp(32px, 4.4vw, 64px) 0 clamp(48px, 5vw, 72px); text-align: center; isolation: isolate; }
.sky { position: absolute; inset: -72px 0 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 70% at 50% 0%, var(--t-teal), transparent 70%); }
.cloud { position: absolute; height: 26px; border-radius: 999px; background: var(--card); opacity: .9; box-shadow: 0 1px 0 var(--line); }
.cloud::before, .cloud::after { content: ""; position: absolute; bottom: 8px; border-radius: 50%; background: inherit; }
.cloud::before { width: 44%; aspect-ratio: 1; left: 16%; }
.cloud::after { width: 30%; aspect-ratio: 1; left: 50%; }
.c1 { width: 150px; top: 230px; left: 4%; animation: drift 60s linear infinite; }
.c2 { width: 100px; top: 420px; right: 5%; animation: drift 80s linear infinite reverse; }
.c3 { width: 72px; top: 96px; right: 24%; opacity: .6; animation: drift 70s linear infinite; }
.sun { position: absolute; top: 112px; right: 12%; width: 64px; height: 64px; border-radius: 50%; background: #f5c35b; box-shadow: 0 0 0 14px #f5c35b33, 0 0 0 30px #f5c35b17; }
@media (prefers-color-scheme: dark) {
  .cloud, .sun { display: none; }
  .sky { background: radial-gradient(120% 70% at 50% 0%, #12343b, transparent 70%); }
}
@keyframes drift { from { transform: translateX(-30px); } 50% { transform: translateX(30px); } to { transform: translateX(-30px); } }
.pill { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.pill a { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-ink); font-weight: 600; text-decoration: none; }
.pill a:hover { text-decoration: underline; }
.pill a svg { width: 12px; height: 12px; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #2f8a5b2e; }
.pill-sep { color: var(--muted); }
.hero h1 { margin: 26px auto 0; font-size: clamp(54px, 8.8vw, 128px); line-height: .94; letter-spacing: -0.055em; font-weight: 640; max-width: 12ch; text-wrap: balance; }
.h1-crew { display: inline-flex; vertical-align: -0.06em; margin: 0 .06em 0 .02em; }
.h1-crew img { width: .8em; height: .8em; border-radius: .22em; box-shadow: 0 0 0 .05em var(--paper), 0 .06em .12em #0002; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.h1-crew img + img { margin-left: -.24em; }
.h1-crew img:nth-child(1) { transform: rotate(-8deg); }
.h1-crew img:nth-child(2) { transform: translateY(-.06em) rotate(3deg); position: relative; z-index: 1; }
.h1-crew img:nth-child(3) { transform: rotate(9deg); }
.h1-crew:hover img:nth-child(1) { transform: translateX(-.08em) rotate(-14deg); }
.h1-crew:hover img:nth-child(2) { transform: translateY(-.16em) rotate(0); }
.h1-crew:hover img:nth-child(3) { transform: translateX(.08em) rotate(15deg); }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.nav-download, .hero-downloads a:first-child { color: var(--on-teal); background: var(--teal); }
.nav-download svg, .hero-downloads svg, .dl-primary svg { width: 20px; height: 20px; flex: none; }
.hero-downloads { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.hero-downloads a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 clamp(10px, 2vw, 20px); border-radius: 12px; font-weight: 650; font-size: 16px; text-decoration: none; }
.hero-downloads a:last-child { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.hero-downloads a:hover, .nav-download:hover { text-decoration: underline; text-underline-offset: 3px; }

.signup { width: 100%; max-width: 520px; }
.hero-signup { margin: 32px auto 0; }
.join { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow); }
.join:focus-within { box-shadow: inset 0 0 0 2px var(--teal), var(--shadow); }
.join input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font-size: 16px; outline: none; }
.join input::placeholder { color: var(--muted); }
.fine { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.fine:empty { display: none; }
.fine a { color: var(--ink); text-underline-offset: 3px; }
.joined { padding: 20px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow); text-align: left; display: grid; gap: 10px; }
.joined strong { font-size: 18px; }
.joined p { color: var(--muted); font-size: 15px; }
.joined .ref { display: flex; gap: 8px; }
.joined input { flex: 1; min-width: 0; border-radius: 999px; border: 1.5px solid var(--line-2); padding: 0 14px; background: var(--paper); font-family: var(--mono); font-size: 13px; }
.joined .btn { height: 42px; background: var(--ink); color: var(--paper); }
.joined a { color: var(--teal-ink); font-weight: 600; }
.runs-on { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.runs-on li { display: inline-flex; align-items: center; gap: 7px; }
.runs-on img, .runs-on svg { width: 16px; height: 16px; }
@media (prefers-color-scheme: dark) { img.mono { filter: invert(1); } }

.demo-block { position: relative; padding: 0 0 clamp(64px, 8vw, 120px); }
.demo-frame { position: relative; background: linear-gradient(180deg, #1a8597, var(--teal-fixed, #15788a) 40%, #106878); border-radius: clamp(24px, 3vw, 40px); padding: clamp(56px, 7vw, 104px) clamp(12px, 3vw, 48px) clamp(16px, 2.5vw, 36px); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
@media (prefers-color-scheme: dark) { .demo-frame { background: linear-gradient(180deg, #0f5d6b, #0b4651); box-shadow: inset 0 0 0 1px #ffffff14, var(--shadow-lg); } }
.town { position: absolute; left: 0; right: 0; top: 0; height: calc(clamp(56px, 7vw, 104px) + 60px); z-index: -1; }
.town .b { position: absolute; bottom: 0; left: var(--x); width: var(--w); height: var(--h); border-radius: 10px 10px 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='44'%3E%3Crect x='7' y='8' width='10' height='12' rx='2' fill='%23c9f1f5' fill-opacity='.55'/%3E%3Crect x='24' y='8' width='10' height='12' rx='2' fill='%23ffe08a'/%3E%3Crect x='7' y='28' width='10' height='12' rx='2' fill='%23ffe08a'/%3E%3Crect x='24' y='28' width='10' height='12' rx='2' fill='%23c9f1f5' fill-opacity='.55'/%3E%3C/svg%3E") 4px 6px / 40px 44px, #238ea0; }
.town .b:nth-child(even) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='44'%3E%3Crect x='7' y='8' width='10' height='12' rx='2' fill='%23c9f1f5' fill-opacity='.55'/%3E%3Crect x='24' y='8' width='10' height='12' rx='2' fill='%23c9f1f5' fill-opacity='.55'/%3E%3Crect x='7' y='28' width='10' height='12' rx='2' fill='%23c9f1f5' fill-opacity='.55'/%3E%3Crect x='24' y='28' width='10' height='12' rx='2' fill='%23ffe08a'/%3E%3C/svg%3E") 2px 10px / 40px 44px, #1d8293; }
.town .b:nth-child(3n) { border-radius: 40px 40px 0 0; }
.peek { position: absolute; top: clamp(18px, 3.4vw, 50px); right: clamp(28px, 7vw, 120px); display: flex; gap: 10px; z-index: 1; }
.peek img { width: clamp(40px, 4.6vw, 64px); height: clamp(40px, 4.6vw, 64px); border-radius: 18px; box-shadow: 0 0 0 3px #ffffff40; transform: translateY(14px); animation: peek 6s ease-in-out infinite; }
.peek img:nth-child(2) { animation-delay: .5s; }
.peek img:nth-child(3) { animation-delay: 1s; }
@keyframes peek { 0%, 70%, 100% { transform: translateY(14px); } 78%, 92% { transform: translateY(2px) rotate(-4deg); } }
.demo-note { margin-top: 16px; text-align: center; color: #e6f6f8; font-size: 14px; }

.app { position: relative; z-index: 2; background: var(--card); border-radius: 22px; box-shadow: 0 30px 60px -20px #04252ccc, 0 0 0 1px #00000014; overflow: hidden; text-align: left; font-size: 15px; }
.app-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ef6a5e; }
.dots i:nth-child(2) { background: #f4bf4f; }
.dots i:nth-child(3) { background: #61c454; }
.app-url { margin: 0 auto; font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding: 4px 14px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.app-hint { position: absolute; right: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.app-body { display: grid; grid-template-columns: 236px minmax(0, 1fr) 340px; height: 640px; }
.crew-list { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border-right: 1px solid var(--line); background: var(--paper); overflow: auto; }
.crew-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 2px 10px 8px; }
.crew-item { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 10px; border: 0; border-radius: 14px; background: transparent; text-align: left; transition: background-color .15s; }
.crew-item:hover { background: var(--paper-2); }
.crew-item[aria-selected="true"] { background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.av { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.crew-text { display: grid; min-width: 0; }
.crew-text b { font-weight: 600; font-size: 15px; }
.crew-text small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { position: absolute; right: 12px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #e8962b33; }

.chat { display: flex; flex-direction: column; min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.chat-head .av { width: 36px; height: 36px; border-radius: 11px; }
.chat-head div { display: grid; line-height: 1.25; }
.chat-head small { color: var(--muted); font-size: 13px; }
.chat-chip { margin-left: auto; font-size: 12px; font-family: var(--mono); color: var(--teal-ink); background: var(--teal-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; overflow: auto; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: var(--paper); line-height: 1.5; animation: rise .4s ease both; }
.msg.me { align-self: flex-end; background: var(--ink); color: var(--paper); border-radius: 18px 18px 6px 18px; }
.who { display: block; font-size: 12px; font-weight: 600; opacity: .7; margin-bottom: 3px; }
.steps { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; font-size: 14px; color: var(--muted); }
.steps li { display: flex; gap: 8px; }
.steps li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 3px; border-radius: 50%; background: var(--allow-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5' fill='none' stroke='%232f8a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.request { border-radius: 18px; padding: 14px 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ask), 0 8px 20px -10px #9a5a0040; animation: rise .4s .1s ease both; }
.request-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.request p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.request-btns { display: flex; gap: 8px; margin-top: 12px; }
.decided { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: 14px; font-weight: 500; animation: rise .35s ease both; }
.decided svg { width: 18px; height: 18px; flex: none; }
.decided.allow { background: var(--allow-bg); color: var(--allow); }
.decided.deny { background: var(--deny-bg); color: var(--deny); }
.decided.deny svg { transform: rotate(45deg); }
.composer { margin: 0 16px 16px; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 8px 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 14px; }
.composer i { width: 32px; height: 32px; border-radius: 50%; background: var(--teal); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.side { display: flex; flex-direction: column; border-left: 1px solid var(--line); min-width: 0; background: var(--paper); }
.side-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); }
.side-tabs button { flex: 1; height: 34px; border: 0; border-radius: 10px; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); }
.side-tabs button:hover { color: var(--ink); }
.side-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.pane { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; overflow: auto; }
.pane-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 #2f8a5b80; animation: pulse 2s infinite; flex: none; }
.live-dot.off { background: var(--orange); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px #2f8a5b00; } 100% { box-shadow: 0 0 0 0 #2f8a5b00; } }
.pc-screen { position: relative; flex: 1; min-height: 240px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.pc-url { display: flex; align-items: center; gap: 6px; margin: 8px; padding: 5px 10px; border-radius: 8px; background: var(--paper); font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lock { width: 8px; height: 9px; border-radius: 2px; background: var(--allow); flex: none; }
.pc-page { position: relative; flex: 1; padding: 6px 16px 14px; display: flex; flex-direction: column; gap: 9px; }
.pc-title { font-size: 17px; letter-spacing: -.02em; }
.ln { display: block; height: 7px; border-radius: 4px; background: var(--paper-2); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.pc-hl { align-self: flex-start; padding: 6px 10px; border-radius: 8px; background: var(--t-orange); box-shadow: inset 0 0 0 1.5px var(--orange); font-size: 13px; font-weight: 600; }
.pc-cursor { position: absolute; width: 20px; height: 20px; left: 62%; top: 42%; animation: wander 7s ease-in-out infinite; }
@keyframes wander { 0%, 100% { left: 62%; top: 42%; } 30% { left: 28%; top: 56%; } 55% { left: 70%; top: 72%; } 80% { left: 40%; top: 30%; } }
.pc-term { margin: 0 8px 8px; padding: 10px 12px; border-radius: 10px; background: #12191d; color: #b9f0c8; font-size: 11.5px; line-height: 1.6; white-space: pre-wrap; }
.pc-yours { position: absolute; inset: 0; display: none; place-content: center; text-align: center; gap: 4px; padding: 20px; background: color-mix(in srgb, var(--orange) 16%, var(--card) 84%); box-shadow: inset 0 0 0 3px var(--orange); border-radius: 14px; }
.pc-yours span { font-size: 13.5px; color: var(--muted); }
.driving .pc-yours { display: grid; }
.pane-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pane-rules, .pane-receipts, .pane-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pane-rules li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.pane-rules li.hit { box-shadow: inset 0 0 0 2px var(--ask); }
.pane-receipts li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: var(--card); animation: rise .3s ease both; }
.pane-receipts time { font-family: var(--mono); color: var(--muted); }
.pane-notes li { padding: 10px 12px; border-radius: 12px; background: #fff7d1; color: #3c3410; font-size: 14px; box-shadow: 0 1px 0 #e8da9a; }
@media (prefers-color-scheme: dark) { .pane-notes li { background: #3a3415; color: #f6eab0; box-shadow: none; } }
.pane-empty { font-size: 13.5px; color: var(--muted); }

.fx { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; font-style: normal; }
.fx.allow { background: var(--allow-bg); color: var(--allow); }
.fx.ask { background: var(--ask-bg); color: var(--ask); }
.fx.deny { background: var(--deny-bg); color: var(--deny); }
.fx.auto { background: var(--auto-bg); color: var(--auto); }

.section { padding: clamp(80px, 10vw, 140px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-ink); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.045em; font-weight: 640; text-wrap: balance; }
h2 em { font-size: 1.05em; }
.shead { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.shead.center { margin-inline: auto; text-align: center; justify-items: center; }
.shead.split { max-width: none; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 32px 64px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

.orchestrate { padding: 16px 20px; border-radius: 22px; background: var(--teal-soft); box-shadow: inset 0 0 0 1.5px var(--teal); }
.orchestrate p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.orchestrate strong { color: var(--teal-ink); font-weight: 650; }
@keyframes blink { 50% { opacity: .25; } }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.card h3 { font-size: 23px; letter-spacing: -.03em; line-height: 1.15; font-weight: 640; }
.card > p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.card .mini, .card .phone, .card .schedule { margin-top: 14px; }
.c-computer { grid-column: span 7; --tint: var(--t-green); }
.c-routines { grid-column: span 5; --tint: var(--t-orange); }
.c-memory { grid-column: span 5; --tint: var(--t-purple); }
.c-group { grid-column: span 7; --tint: var(--t-pink); }
.c-approve { grid-column: span 6; --tint: var(--t-blue); }
.c-share { grid-column: span 6; --tint: var(--t-teal); }
.card .mini { flex: 1; border-radius: 20px; background: var(--tint); padding: 14px; }
.chip-btn { height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip-btn.ok { background: var(--ink); color: var(--paper); box-shadow: none; align-self: flex-end; }
.mini-head { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.mini-head .tag { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--allow-bg); color: var(--allow); }
.mini-head .chip-btn { margin-left: auto; }
.mini-screen { position: relative; border-radius: 14px; background: var(--card); box-shadow: 0 1px 0 var(--line), var(--shadow); overflow: hidden; }
.mini-url { padding: 8px 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-page { position: relative; display: grid; gap: 10px; padding: 16px; min-height: 150px; }
.mini-hl { justify-self: start; padding: 6px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; background: var(--allow-bg); color: var(--allow); font-family: var(--mono); }
.mini-cursor { position: absolute; width: 20px; height: 20px; left: 60%; top: 40%; animation: wander 6s ease-in-out infinite; }
.mini-yours { position: absolute; inset: 0; display: none; place-items: center; font-weight: 600; background: color-mix(in srgb, var(--orange) 18%, var(--card)); box-shadow: inset 0 0 0 3px var(--orange); border-radius: 14px; }
.driving .mini-yours { display: grid; }
.driving .mini-head .tag { background: var(--ask-bg); color: var(--ask); }
@keyframes arc { 0%, 100% { transform: translate(0, 8px); } 50% { transform: translate(140px, -4px); } }
.routines { list-style: none; margin: 0; display: grid; gap: 8px; }
.routines li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--card); }
.routines img { width: 34px; height: 34px; border-radius: 10px; }
.routines div { display: grid; line-height: 1.3; min-width: 0; flex: 1; }
.routines b { font-size: 14.5px; font-weight: 600; }
.routines small { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.switch { position: relative; flex: none; width: 44px; height: 26px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background-color .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0003; transition: transform .2s cubic-bezier(.3,1.4,.5,1); }
.switch input:checked + span + i { background: var(--teal); }
.switch input:checked + span + i::after { transform: translateX(18px); }
.switch input:focus-visible + span + i { outline: 3px solid var(--teal); outline-offset: 2px; }
.notes { list-style: none; margin: 0; display: grid; gap: 8px; align-content: start; }
.notes li { position: relative; display: grid; gap: 2px; padding: 12px 40px 12px 14px; border-radius: 12px; background: #fff7d1; color: #3c3410; box-shadow: 0 1px 0 #e8da9a; animation: rise .3s ease both; }
.notes li:nth-child(2) { transform: rotate(-.6deg); }
.notes li:nth-child(3) { transform: rotate(.5deg); }
.notes span { font-weight: 600; font-size: 15px; outline: none; border-radius: 4px; }
.notes span:focus { box-shadow: 0 0 0 2px #9a8a34; }
.notes small { font-family: var(--mono); font-size: 11.5px; color: #6b6230; }
.notes .x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #6b6230; }
.notes .x:hover { background: #0000000f; }
.notes .x svg { width: 14px; height: 14px; transform: rotate(45deg); }
.notes .empty { padding-right: 14px; font-size: 14px; }
.thread { display: flex; flex-direction: column; gap: 10px; }
.thread-top { display: flex; justify-content: space-between; font-size: 14px; padding-bottom: 6px; border-bottom: 1px solid #00000012; }
.thread-top span { color: var(--muted); font-size: 13px; }
.tmsg { display: flex; gap: 10px; align-items: flex-start; animation: rise .3s ease both; }
.tmsg img { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.tmsg p { font-size: 14.5px; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--card); }
.tmsg.me { justify-content: flex-end; }
.tmsg.me p { background: var(--ink); color: var(--paper); border-radius: 14px 14px 4px 14px; }
mark { background: var(--t-blue); color: var(--blue); padding: 0 4px; border-radius: 5px; font-weight: 600; }
@media (prefers-color-scheme: dark) { mark { color: #a9bcff; } }
mark.you { background: var(--pink); color: #fff; }
.c-approve { flex-direction: column; }
.phone { position: relative; flex: 1; min-height: 210px; border-radius: 30px 30px 0 0; margin-bottom: -40px; padding: 34px 16px 16px; background: linear-gradient(160deg, #3457c9, #6d54b5); box-shadow: inset 0 0 0 6px #14181b; width: min(100%, 320px); align-self: center; }
.phone-notch { position: absolute; top: 12px; left: 50%; width: 70px; height: 16px; margin-left: -35px; border-radius: 999px; background: #14181b; }
.notif { display: grid; gap: 2px; padding: 12px 14px; border-radius: 18px; background: #ffffffeb; color: #14181b; font-size: 14px; box-shadow: 0 10px 20px -10px #0006; animation: drop 5s ease-in-out infinite; }
.notif-top { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #59616a; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.notif-top img { width: 18px; height: 18px; border-radius: 5px; }
.notif span { color: #3c4349; font-size: 13px; }
.notif-btns { display: flex; gap: 6px; margin-top: 8px; }
.notif-btns span { flex: 1; text-align: center; padding: 6px; border-radius: 10px; background: #14181b; color: #fff; font-weight: 600; font-size: 13px; }
.notif-btns span + span { background: #e9e5dc; color: #14181b; }
@keyframes drop { 0%, 8% { transform: translateY(-14px); opacity: 0; } 16%, 86% { transform: none; opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }
.channels { position: absolute; top: clamp(22px, 2.4vw, 32px); right: clamp(22px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; display: none; }
.c-approve .channels { position: static; display: flex; flex-wrap: wrap; gap: 6px; order: 3; margin-top: 2px; }
.c-approve .channels li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tint); }
.c-approve .phone { order: 4; margin-top: 16px; }
.file { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.file-icon { display: grid; justify-items: center; gap: 8px; width: 112px; padding: 14px 10px 10px; border-radius: 6px 22px 6px 6px; background: var(--card); box-shadow: var(--shadow); }
.file-icon img { width: 60px; height: 60px; border-radius: 14px; }
.file-icon span { font-family: var(--mono); font-size: 11px; font-weight: 600; word-break: break-all; text-align: center; }
.file pre { margin: 0; padding: 14px; border-radius: 14px; background: #12191d; color: #e2e8ea; font-size: 12.5px; line-height: 1.6; overflow: auto; min-width: 0; }
.file .k { color: #8fd6e1; } .file .s { color: #ffd38a; }
.scan { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--allow-bg); color: var(--allow); font-weight: 600; font-size: 14px; }
.scan svg { width: 16px; height: 16px; }


.trailer .screen { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(20px, 3vw, 36px); overflow: hidden; background: linear-gradient(180deg, #3457c9, #6d54b5 70%, #d9467f); box-shadow: var(--shadow-lg); isolation: isolate; }
.trailer-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; opacity: 0; visibility: hidden; transition: opacity .4s; z-index: 2; }
.trailer .ready .trailer-video, .screen.ready .trailer-video { opacity: 1; visibility: visible; }
.screen.ready .trailer-soon { display: none; }
.trailer-stage { position: absolute; inset: 0; }
.stage-lights i { position: absolute; top: -10%; width: 26%; height: 120%; background: linear-gradient(180deg, #fff6, transparent 75%); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); transform-origin: top center; animation: sweep 7s ease-in-out infinite; }
.stage-lights i:nth-child(1) { left: 8%; transform: rotate(14deg); }
.stage-lights i:nth-child(2) { left: 37%; animation-delay: -2s; }
.stage-lights i:nth-child(3) { right: 8%; transform: rotate(-14deg); animation-delay: -4s; }
@keyframes sweep { 50% { opacity: .5; } }
.stage-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(180deg, #14181b, #0b0d0f); }
.stage-floor::before { content: ""; position: absolute; left: 12%; right: 12%; top: -14px; height: 28px; border-radius: 50%; background: #ffd36b33; filter: blur(8px); }
.stage-bots { position: absolute; left: 50%; bottom: 16%; display: flex; gap: 3%; width: 50%; transform: translateX(-50%); align-items: flex-end; }
.stage-bots img { flex: 1; min-width: 0; border-radius: 22% 22% 0 0; box-shadow: 0 20px 40px -10px #0008; }
.stage-bots img:nth-child(2) { transform: translateY(-14%) scale(1.12); }
.trailer-soon { position: absolute; left: 50%; top: 12%; transform: translateX(-50%); width: max-content; max-width: 86%; padding: 10px 18px; border-radius: 999px; background: #14181bcc; color: #fff; font-size: 14.5px; font-weight: 500; text-align: center; backdrop-filter: blur(6px); }

.homes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.home { display: grid; gap: 10px; align-content: start; }
.home h3 { font-size: 23px; letter-spacing: -.03em; margin-top: 10px; }
.home p { color: var(--muted); font-size: 16px; }
.scene { position: relative; height: 240px; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.scene::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 110px; border-radius: 50%; background: #0000001a; }
.s-mac { background: linear-gradient(180deg, #f8d38a, #e8962b); }
.s-server { background: linear-gradient(180deg, #8ea0f0, #3457c9); }
.s-hub { background: linear-gradient(180deg, #6dc3b9, #2c7672); }
.laptop { position: relative; z-index: 1; width: 230px; }
.lid { display: grid; gap: 8px; align-content: center; height: 136px; padding: 14px; border-radius: 14px 14px 4px 4px; background: #fffdf8; box-shadow: inset 0 0 0 6px #14181b; }
.base { height: 12px; margin: 0 -18px; border-radius: 0 0 14px 14px; background: #d9d2c4; box-shadow: inset 0 3px 0 #b5ad9e; }
.mini-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: #f3eee3; font-size: 13px; font-weight: 600; color: #14181b; }
.mini-row img { width: 26px; height: 26px; border-radius: 8px; }
.rack { position: relative; z-index: 1; display: grid; gap: 8px; width: 170px; padding: 10px; border-radius: 14px; background: #14181b; }
.rack i { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 6px; background: #2b333a; }
.rack b { width: 7px; height: 7px; border-radius: 50%; background: #61c454; animation: blink 1.6s infinite; }
.rack i:nth-child(2) b { animation-delay: .4s; }
.rack i:nth-child(3) b:last-child { background: #f4bf4f; animation-delay: .9s; }
.mini-row.float { position: absolute; z-index: 2; right: 8%; top: 14%; box-shadow: 0 10px 20px -8px #0005; }
.hub { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 28px; padding: 6px; background: #fffdf8; box-shadow: 0 0 0 10px #ffffff33, 0 0 0 22px #ffffff1a; }
.hub img { border-radius: 22px; }
.orbit span { position: absolute; z-index: 2; padding: 5px 11px; border-radius: 999px; background: #fffdf8; color: #14181b; font-size: 13px; font-weight: 600; box-shadow: 0 8px 16px -8px #0005; }
.orbit span:nth-child(1) { left: 10%; top: 18%; }
.orbit span:nth-child(2) { right: 9%; top: 34%; }
.orbit span:nth-child(3) { left: 18%; bottom: 18%; }

.models { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding: 6px 0; }
.track { flex: none; display: flex; gap: 14px; padding: 0 7px; margin: 0; list-style: none; animation: marquee 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track li { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px 14px 18px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); font-size: clamp(20px, 2.2vw, 28px); font-weight: 640; letter-spacing: -.03em; white-space: nowrap; }
.track img, .track svg { width: 28px; height: 28px; }
@keyframes marquee { to { transform: translateX(-100%); } }

.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c); }
.step .n { font-size: 56px; font-weight: 640; letter-spacing: -.05em; line-height: 1; color: var(--c); }
.step h3 { font-size: 20px; letter-spacing: -.02em; margin-top: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step-art { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.ticket, .pick, .say { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; }
.ticket b { color: var(--allow); }
.pick.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.pick img, .pick svg { width: 14px; height: 14px; }
.pick.on img.mono { filter: invert(1); }
@media (prefers-color-scheme: dark) { .pick.on img.mono { filter: none; } }
.say { border-radius: 14px 14px 14px 4px; font-weight: 500; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { display: grid; gap: 18px; position: sticky; top: 110px; }
.faq-side a { color: var(--teal-ink); font-weight: 600; }
.faq-bot { width: 120px; height: 120px; border-radius: 32px; margin-top: 12px; transform: rotate(-6deg); box-shadow: var(--shadow); }
.faq-list { display: grid; gap: 10px; }
details { border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
details[open] { box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17.5px; letter-spacing: -.01em; cursor: pointer; list-style: none; border-radius: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' stroke='%2359616a' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 22px; color: var(--muted); max-width: 62ch; }

.finale { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-2); text-align: center; }
.finale-in { display: grid; justify-items: center; gap: 22px; }
.finale h2 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.05em; max-width: 12ch; }
.finale .lede { max-width: 520px; }
.final-signup { margin-top: 10px; }

.autopilot { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 28px; }
.autopilot-head { display: grid; gap: 12px; max-width: 760px; }
.autopilot-head h3 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -.035em; margin: 0; }
.autopilot-head h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--teal-ink); }
.ap-copy { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ap-copy small { color: var(--muted); font-size: 14px; }
.ap-stage { --ap-glow: #7ee0ea; --ap-amber: #f2c068; --ap-ease: cubic-bezier(.4, 0, .2, 1); position: relative; display: grid; justify-items: center; padding: 32px clamp(16px, 3vw, 40px) 40px; border-radius: 32px; overflow: hidden; background: linear-gradient(180deg, #134b57 0%, #0b2a31 100%); color: #eef7f8; box-shadow: 0 40px 80px -30px #0b2a3088; isolation: isolate; }
.ap-composer { box-sizing: border-box; width: min(520px, 100%); min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #ffffff14; box-shadow: inset 0 0 0 1px #ffffff26; font-size: 15px; }
.ap-lab { font: 500 11px var(--mono); color: var(--ap-glow); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.ap-txt { min-height: 1.5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-caret { display: none; width: 2px; height: 1.1em; background: var(--ap-glow); margin-left: 2px; animation: ap-blink 1s steps(1) infinite; }
.ap-stage[data-phase="type"] .ap-caret { display: inline-block; }
.ap-foot { width: min(520px, 100%); margin-top: 10px; }
.ap-example { font-size: 13px; line-height: 1.4; color: #cfe9ec; text-align: center; margin: 0; min-height: 2.8em; }
.ap-hub { box-sizing: border-box; position: relative; z-index: 2; width: 220px; margin-top: 28px; padding: 16px 14px; border-radius: 28px; text-align: center; background: var(--card); color: var(--ink); box-shadow: 0 0 0 6px #7ee0ea33; transition: box-shadow .24s var(--ap-ease); }
.ap-hub img { display: block; margin: 0 auto; width: 84px; height: 84px; border-radius: 22px; }
.ap-hub b { display: block; font-size: 15px; margin-top: 6px; }
.ap-sub { font-size: 12px; color: var(--muted); }
.ap-summary { height: 22px; margin-top: 8px; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--teal-ink); white-space: nowrap; opacity: 0; transition: opacity .24s var(--ap-ease); }
.ap-stage[data-phase="think"] .ap-hub { animation: ap-pulse 1s var(--ap-ease) 1; }
.ap-stage[data-phase="summary"] .ap-summary, .ap-stage[data-phase="hold"] .ap-summary, .ap-stage.final .ap-summary { opacity: 1; }
.ap-stage[data-phase="summary"] .ap-hub, .ap-stage[data-phase="hold"] .ap-hub, .ap-stage.final .ap-hub { box-shadow: 0 0 0 6px #f2c06855; }
.ap-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.ap-lines path { fill: none; stroke: #7ee0ea55; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; transition: stroke .24s var(--ap-ease); }
.ap-lines path.active, .ap-stage.final .ap-lines path { stroke: #7ee0ea; }
.ap-dot-layer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.ap-dot-layer circle { fill: var(--ap-glow); opacity: 0; }
.ap-grid { box-sizing: border-box; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 72px; }
.ap-node { display: flex; flex-direction: column; min-height: 168px; padding: 14px; border-radius: 20px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .24s var(--ap-ease); }
.ap-node header { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14px; }
.ap-node header img { width: 34px; height: 34px; border-radius: 11px; flex: none; }
.ap-state { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; min-height: 22px; }
.ap-dot { width: 8px; height: 8px; border-radius: 50%; background: #b9b2a2; flex: none; transition: background .24s var(--ap-ease); }
.ap-node.working { box-shadow: inset 0 0 0 1px var(--ap-amber); }
.ap-node.working .ap-dot { background: var(--ap-amber); }
.ap-node.done .ap-dot, .ap-stage.final .ap-dot { background: var(--teal); }
.ap-node.done, .ap-stage.final .ap-node { box-shadow: inset 0 0 0 1px var(--teal); }
.ap-result { margin-top: 8px; min-height: 2.8em; font-size: 13px; line-height: 1.4; border-radius: 10px; padding: 0; color: var(--ink-2); opacity: 0; transition: opacity .24s var(--ap-ease); }
.ap-node.done .ap-result, .ap-stage.final .ap-result { opacity: 1; }
.ap-cta { margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 650; text-decoration: none; color: var(--teal-ink); opacity: 0; visibility: hidden; transition: opacity .24s var(--ap-ease), visibility .24s var(--ap-ease); }
.ap-node.done .ap-cta, .ap-stage.final .ap-cta { opacity: 1; visibility: visible; }
@media (max-width: 900px) { .ap-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; } .ap-node { min-height: 0; } }
@keyframes ap-pulse { 50% { box-shadow: 0 0 0 12px #7ee0ea55; } }
.network { --paper: #0d1416; --ink: #f2eee6; --muted: #a3adb2; --teal-ink: #6dcad7; padding-bottom: 0; background: #0d1416; color: #f2eee6; overflow: hidden; }
.network-head { display: grid; justify-items: center; gap: 22px; text-align: center; margin-bottom: clamp(24px, 4vw, 56px); }
.network-head h2 { max-width: 14ch; font-size: clamp(44px, 5.2vw, 64px); letter-spacing: -.055em; }
.network-head .lede { max-width: 640px; }
.crew-portraits { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 12px; width: min(100%, 760px); padding: 0; margin: 0; scroll-margin-top: 90px; }
.crew-portraits li { display: grid; justify-items: center; gap: 6px; align-content: start; font-size: 14px; font-weight: 600; }
.crew-portraits img { width: min(100%, 88px); height: auto; border-radius: 17%; }
@media (max-width: 620px) { .crew-portraits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; } .crew-portraits li { font-size: 12px; } }
.network-canvas { display: block; width: 100%; height: clamp(520px, 56vw, 880px); -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%); }
.download { background: var(--paper-2); padding-block: clamp(48px, 6vw, 84px); }
.download-head { margin-bottom: clamp(20px, 3vw, 36px); }
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.device-panel { border: 1px solid var(--line-2); background: var(--card); border-radius: 22px; overflow: clip; }
.desktop-panel { grid-row: span 2; }
.device-head { display: flex; align-items: center; gap: 16px; padding: clamp(18px, 2.5vw, 32px); color: white; }
.desktop-panel .device-head { background: #115460; }
.mobile-panel .device-head { background: #483770; }
.device-head > svg { width: 46px; height: 46px; flex: none; }
.device-head h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -.045em; }
.device-head p { margin-top: 5px; font-size: 15px; line-height: 1.4; }
.dl-card { --dl-tint: var(--card); display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 15px clamp(16px, 2.2vw, 28px); }
.dl-card + .dl-card { border-top: 1px solid var(--line); }
.dl-logo { width: 26px; height: 26px; }
.dl-card :is(h3, h4) { font-size: 20px; line-height: 1.2; letter-spacing: -.035em; margin: 0; }
.dl-req { color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 3px; }
.dl-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.dl-notify, .dl-link, .dl-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 15px; font-weight: 600; }
.dl-link, .dl-notify { color: var(--teal-ink); text-underline-offset: 3px; }
.dl-notify { border: 1px solid var(--line-2); border-radius: 10px; padding-inline: 12px; text-decoration: none; }
.dl-notify:hover { background: var(--paper-2); }
.dl-primary { padding-inline: 16px; gap: 8px; border-radius: 10px; text-decoration: none; }
.dl-primary:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl-lin { background: var(--t-teal); padding-block: clamp(18px, 2vw, 28px); }
.dl-lin h4 { font-size: 25px; }
.dl-lin .dl-primary { background: var(--teal); color: var(--on-teal); min-height: 48px; }
.dl-lin .dl-actions, .dl-web .dl-actions { grid-column: 2 / -1; margin-top: 6px; }
.dl-web { background: var(--paper); border: 1px solid var(--line-2); border-radius: 18px; }
.dl-web .dl-primary { background: var(--ink); color: var(--paper); }
.dl-actions [hidden] { display: none; }
.dl-card .dl-actions:has([data-download]:not([hidden])) { grid-column: 2 / -1; }
@media (max-width: 840px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .desktop-panel { grid-row: auto; }
}
@media (max-width: 560px) {
  .device-head > svg { width: 36px; height: 36px; }
  .dl-lin .dl-actions, .dl-web .dl-actions { grid-column: 1 / -1; }
  .dl-lin .dl-primary { flex: 1 0 100%; }
  .dl-lin .dl-link { margin-inline: auto; }
  .hero-downloads a { font-size: 15px; }
}

.nav-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--paper-2); cursor: pointer; position: relative; }
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); content: ""; }
.nav-toggle i { top: 19px; } .nav-toggle i::before { left: 0; top: -5px; } .nav-toggle i::after { left: 0; top: 5px; }
.foot-row { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.foot-copy { flex-basis: 100%; font-size: 13.5px; color: var(--muted); }
.schedule { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule span { padding: 7px 12px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12.5px; }
.jobs-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.jobs-head h2 { font-size: clamp(44px, 5.2vw, 64px); letter-spacing: -.055em; }
.job-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.job { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: transform .2s; }
.job:hover { transform: translateY(-3px); }
.job-lead { background: var(--teal-soft); }
.job img { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 10px; }
.job h3 { font-size: 21px; letter-spacing: -.03em; }
.job p { flex: 1; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.job-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; font-size: 15px; color: var(--teal-ink); text-decoration: none; }
.job-cta svg { width: 14px; height: 14px; }
.job-cta:hover { text-decoration: underline; }
.more-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.more-head h2 { font-size: clamp(44px, 5.2vw, 64px); letter-spacing: -.055em; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.more-card { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 26px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.more-art { display: grid; place-items: center; height: 200px; margin-bottom: 14px; border-radius: 16px; background: linear-gradient(160deg, var(--tint), var(--paper-2)); overflow: hidden; padding: 16px; }
.more-card h3 { font-size: 22px; letter-spacing: -.03em; padding: 0 12px; }
.more-card p { padding: 0 12px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.app-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.app-chips span, .m-routines span { padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-weight: 600; font-size: 14px; }
.app-chips .plus { font-family: var(--mono); font-size: 12.5px; }
.rec { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; }
.rec b { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
.memo { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; }
.memo b { font-family: var(--mono); font-size: 12.5px; color: var(--teal-ink); }
.m-routines { display: grid; gap: 8px; justify-items: center; }
.handoff { display: flex; align-items: center; gap: 0; width: 100%; max-width: 280px; }
.handoff img { border-radius: 18px; flex: none; box-shadow: var(--shadow); }
.hand-line { position: relative; flex: 1; height: 0; border-top: 3px dotted var(--line-2); margin: 0 6px; }
.hand-dot { position: absolute; top: -8px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--teal); animation: hand 2.4s ease-in-out infinite; }
@keyframes hand { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 13px); opacity: 0; } }
.call { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); min-width: 260px; }
.call img { border-radius: 14px; }
.call div { display: grid; flex: 1; font-size: 14px; } .call span { color: var(--muted); font-size: 13px; }
.call-accept { width: 38px; height: 38px; border-radius: 50%; background: var(--green); position: relative; animation: ring 1.6s infinite; }
.call-accept::after { content: ""; position: absolute; inset: 11px; border-radius: 3px; background: #fff; }
@keyframes ring { 50% { transform: scale(1.12); } }
@media (max-width: 1020px) { .job-grid { grid-template-columns: repeat(2, 1fr); } .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: var(--paper); box-shadow: 0 12px 24px -12px #2a201040, inset 0 1px 0 var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-radius: 0; font-size: 17px; }
}
@media (max-width: 600px) { .more-grid { grid-template-columns: 1fr; } .foot-links { margin-left: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ap-stage * { animation: none !important; transition: none !important; }
}
@keyframes ap-blink { 50% { opacity: 0; } }
@keyframes ap-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.footer { padding: 28px 0; background: var(--paper); box-shadow: inset 0 1px 0 var(--line); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul a, .cookie-link { text-decoration: none; font-size: 15.5px; color: var(--ink); }
.footer ul a:hover, .cookie-link:hover { color: var(--teal-ink); }
.cookie-link { border: 0; padding: 0; background: none; }

@media (max-width: 1180px) {
  .app-body { grid-template-columns: 210px minmax(0, 1fr) 300px; }
  .app-hint { display: none; }
}
@media (max-width: 1020px) {
  .nav-cta { margin-left: auto; }
  .app-body { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto 1fr; height: auto; }
  .crew-list { grid-column: 1 / -1; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; padding: 10px; scrollbar-width: none; }
  .crew-label { display: none; }
  .crew-item { flex: none; padding: 7px 26px 7px 7px; }
  .crew-item .av { width: 34px; height: 34px; }
  .crew-text small { max-width: 130px; }
  .badge { right: 10px; }
  .chat { min-height: 520px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-bot { display: none; }
  .bento > .card { grid-column: span 6; }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .shead.split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app-body { grid-template-columns: 1fr; }
  .side { border-left: 0; border-top: 1px solid var(--line); }
  .chat { min-height: 0; }
  .pc-screen { min-height: 220px; }
  .bento > .card { grid-column: 1 / -1; }
  .homes { grid-template-columns: 1fr; }
  .scene { height: 210px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-in { height: 64px; gap: 12px; }
  .signin { padding: 8px 10px; }
  .hero { padding-top: 32px; }
  .hero h1 { margin-top: 22px; font-size: clamp(44px, 13.2vw, 60px); max-width: none; }
  .c2, .c3 { display: none; }
  .c1 { top: 150px; left: -60px; }
  .sun { top: 60px; right: -10px; width: 48px; height: 48px; }
  .pill { font-size: 13px; }
  .join { flex-direction: column; border-radius: 24px; }
  .join input[type="email"] { flex: none; height: 48px; text-align: center; }
  .join .btn { width: 100%; }
  .runs-on { gap: 8px 16px; font-size: 13.5px; }
  .demo-frame { padding-top: 64px; border-radius: 26px; }
  .peek { right: 20px; top: 16px; }
  .app { border-radius: 16px; }
  .app-bar { height: 38px; }
  .app-url { margin: 0 0 0 auto; font-size: 11.5px; }
  .chat-chip { display: none; }
  .msg { max-width: 94%; }
  .step-list { grid-template-columns: 1fr; }
  .file { grid-template-columns: 1fr; }
  .file-icon { display: none; }
  .trailer .screen:not(.ready) { aspect-ratio: 4 / 5; }
  .stage-bots { width: 84%; bottom: 16%; }
  .trailer-soon { top: 7%; border-radius: 18px; font-size: 13.5px; }
}

@media (max-width: 760px) {
  .logo { min-height: 44px; }
  .btn-sm, .btn-xs, .dl-notify, .nav-toggle { min-height: 44px; }
  .nav-toggle { width: 44px; height: 44px; }
  .side-tabs button, .chip-btn, .signin { min-height: 44px; }
  .x { min-width: 44px; min-height: 44px; }
  .notes li { padding-right: 52px; }
  .switch { min-height: 44px; display: inline-flex; align-items: center; }
  .switch i { inset: 9px 0; }
  .pill a { position: relative; }
  .pill a::after { content: ""; position: absolute; inset: -12px 0; }
  .dl-link, .ap-cta, .fine a, .footer ul a, .cookie-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .ap-cta { padding-top: 0; }
  .pc-url, .pc-term, .fx, .mini-head .tag, .notes small, .notif-top, .file-icon span, .app-url { font-size: 12px; }
  .ap-cta, .runs-on { font-size: 13px; }
  .ap-lab, .file .k, .file .s, .file code, .app code { font-size: 12px; }
  .pane { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .track { animation: none; flex-wrap: wrap; justify-content: center; }
  .track[aria-hidden] { display: none; }
  .marquee { justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .notif { opacity: 1; transform: none; }
}
