@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url(../assets/fonts/bvp-400.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 500; font-display: swap; src: url(../assets/fonts/bvp-500.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap; src: url(../assets/fonts/bvp-600.woff2) format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700; font-display: swap; src: url(../assets/fonts/bvp-700.woff2) format("woff2"); }
:root {
  --paper: #FAF9FE;
  --white: #FFFFFF;
  --ink: #1B1740;
  --ink-2: #4B4770;
  --ink-3: #5F5B85;
  --rule: #E4DFF8;
  --lav: #F0EEFD;
  --ember: #30D5AC;
  --violet: #9A45EA;
  --indigo: #4452F2;
  --cobalt: #2B1FC9;
  --grad: linear-gradient(135deg, #B554EF 0%, #6430D2 48%, #2B1FC9 100%);
  --abyss: #0E0A3C;
  --abyss-2: #1A1360;
  --ice: #C3BCFF;
  --bone: #F4F2FF;
  --display: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.026em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.eyebrow { font: 600 12px/1.4 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.ln { display: block; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gutter); color: var(--ink); transition: color .3s, background .3s, padding .3s; }
.nav.scrolled { padding-block: 10px; background: rgba(250, 249, 254, .99); box-shadow: 0 1px 0 rgba(27, 23, 64, .08); }
.nav[data-tone="dark"] { color: var(--bone); }
.nav[data-tone="dark"].scrolled { background: rgba(14, 10, 60, .97); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { display: block; height: 34px; width: auto; }
.brand .l { display: none; }
.nav[data-tone="dark"] .brand .d { display: none; }
.nav[data-tone="dark"] .brand .l { display: block; }
.nav nav { display: flex; gap: clamp(4px, 1vw, 14px); font-size: 15px; font-weight: 500; }
.nav nav a { opacity: .8; transition: opacity .2s; padding: 12px clamp(8px, 1vw, 14px); }
.nav nav a:hover { opacity: 1; }

.pill { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; font-weight: 500; padding: 7px 7px 7px 22px; border-radius: 99px; box-shadow: 0 16px 34px -14px rgba(43, 31, 201, .55); transition: transform .25s var(--ease), box-shadow .25s; }
.pill i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); transition: transform .3s var(--ease); }
.pill svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pill:hover { transform: translateY(-1px); }
.pill:hover i { transform: translateX(2px) rotate(-8deg); }
.pill.small { padding: 12px 20px; font-size: 14.5px; box-shadow: none; background: var(--grad); }
.nav[data-tone="dark"] .pill.small { background: var(--bone); color: var(--ink); }
.pill.light { background: var(--white); color: var(--ink); }
.textlink { font-weight: 500; font-size: 15.5px; border-bottom: 1px solid currentColor; padding: 14px 0 3px; }

/* The figure section */
.hero { position: relative; min-height: max(100svh, 640px); background: #F4F0FE; overflow: clip; display: flex; flex-direction: column; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1.02fr) minmax(0, .74fr); gap: clamp(8px, 1.5vw, 28px); padding: 104px var(--gutter) 0; align-items: stretch; pointer-events: none; }
.hero-grid a, .hero-grid button { pointer-events: auto; }
.hero-left { align-self: center; padding-bottom: 34px; z-index: 2; }
.headline { font-size: clamp(2.5rem, 4.4vw, 5.4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.headline .w { display: inline-block; }
@media (min-width: 901px) { .headline .ln { white-space: nowrap; } }
.lede { max-width: 30em; margin-top: 22px; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.45; color: var(--ink-2); }
.cta-row { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.figure { position: relative; min-height: 380px; align-self: stretch; margin-top: -56px; }
.hero-right { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-bottom: 34px; z-index: 2; }
.statement { font: 600 clamp(1.7rem, 2.7vw, 2.9rem)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }

/* rotating ask list */
.asks { position: relative; height: 188px; }
.asks-card { position: relative; z-index: 2; display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 18px 40px -18px rgba(27, 23, 64, .3), 0 0 0 1px rgba(27, 23, 64, .05); }
.mark { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--lav); }
.mark img { width: 24px; height: 24px; }
.asks-card small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }
.asks-card strong { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.asks-now.flip { animation: flip .5s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(8px); } }
.asks-list { position: absolute; left: 60px; right: 0; top: 66px; font-size: 13.5px; color: var(--ink-2); line-height: 1.3; height: 122px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 20%, transparent); mask-image: linear-gradient(#000 20%, transparent); }
.asks-list li { padding: 5px 0; transition: transform .6s var(--ease); }

.call-card { background: var(--white); border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 40px -22px rgba(27, 23, 64, .3), 0 0 0 1px rgba(27, 23, 64, .05); }
.call-top { display: flex; align-items: center; gap: 9px; }
.dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); animation: blink 1.8s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.call-name { font: 500 12.5px/1.3 var(--mono); }
.call-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 9px; padding-left: 16px; font: 400 12px/1.3 var(--mono); color: var(--ink-3); }
.call-note { margin-left: auto; opacity: .7; }

/* Stream objects */
.tokens { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tok { position: absolute; left: 0; top: 0; opacity: 0; display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .92); border-radius: 8px; padding: 6px 10px 6px 7px; font: 400 12px/1 var(--mono); color: var(--ink-2); white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(27, 23, 64, .35), 0 0 0 1px rgba(27, 23, 64, .06); will-change: transform; }
.tok svg { width: 14px; height: 14px; fill: none; stroke: var(--ember); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }

.wired { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; padding: 14px var(--gutter) 22px; }
.wired p { font: 600 12px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.wired ul { display: flex; flex-wrap: wrap; justify-content: center; background: rgba(255, 255, 255, .9); border-radius: 12px; box-shadow: 0 0 0 1px rgba(27, 23, 64, .06); }
.wired li { padding: 10px clamp(10px, 1.3vw, 20px); font-size: 14px; font-weight: 500; }
.wired li + li { box-shadow: -1px 0 0 rgba(27, 23, 64, .06); }

/* What MCP is: one question, two answers, a line you can drag */
.define { min-height: 100svh; display: flex; align-items: center; padding: clamp(80px, 11svh, 104px) var(--gutter) clamp(24px, 4svh, 48px); color: #fff; overflow: clip; background: radial-gradient(60% 70% at 85% 0%, rgba(181, 84, 239, .5), transparent 70%), radial-gradient(55% 60% at 0% 100%, rgba(68, 82, 242, .45), transparent 70%), linear-gradient(180deg, #1A1360 0, #130C57 100%); }
.define-grid { width: 100%; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.define h2 { font-size: clamp(1.9rem, min(3.2vw, 6svh), 3.6rem); line-height: 1.06; margin-top: 10px; }
.define .eyebrow { color: #C3BCFF; }
.define-more { margin-top: clamp(14px, 2.4svh, 26px); max-width: 32em; font-size: clamp(15px, 1.15vw, 17.5px); line-height: 1.5; color: #E4E0FF; }
.hint { display: flex; align-items: center; gap: 10px; margin-top: 20px; font: 400 12px/1.4 var(--mono); color: var(--ice); }
.hint i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: blink 1.4s infinite; }
.reveal { --x: 50%; position: relative; display: grid; touch-action: pan-y; user-select: none; cursor: ew-resize; border-radius: 26px; }
.pane { grid-area: 1 / 1; position: relative; overflow: hidden; border-radius: 26px; padding: clamp(18px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; min-height: min(500px, 60svh); }
.pane header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.pane > * { position: relative; }
.chat-tag { font: 600 12px/1 var(--body); text-transform: uppercase; letter-spacing: .09em; }
.pane header small { font-size: 12.5px; }
.bub { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: clamp(14px, 1.1vw, 15.5px); line-height: 1.4; }
.bub.you { align-self: flex-end; border-bottom-right-radius: 5px; }
.bub.ai { align-self: flex-start; border-bottom-left-radius: 5px; }
.step { align-self: flex-start; display: flex; align-items: center; gap: 8px; font: 400 12px/1.2 var(--mono); }
.step::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #20BE98; }
.step.miss::before { background: #E5738A; }
.kpi { margin-top: auto; padding: 12px 14px 8px; border-radius: 16px; }
.kpi small { display: block; font-size: 12px; }
.kpi b { display: block; font: 600 clamp(1.5rem, 2.4vw, 2.3rem)/1.1 var(--display); letter-spacing: -.03em; }
.kpi b i { font: 500 13px/1 var(--body); letter-spacing: 0; color: #0F8F72; margin-left: 6px; }
.kpi svg { display: block; width: 100%; height: 36px; margin-top: 4px; overflow: visible; }
.kpi path, .kpi polyline { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ask { align-self: flex-start; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 10px 10px 15px; border-radius: 16px; font-size: 14.5px; font-weight: 500; }
.ask b { padding: 8px 16px; border-radius: 99px; font-weight: 600; font-size: 14px; }
.chat-foot { padding-top: 6px; font-size: 14px; font-weight: 500; }
.pane-off { background: rgba(255, 255, 255, .05); color: #D6D1FA; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.pane-off .chat-tag, .pane-off header small, .pane-off .chat-foot { color: #C3BCFF; }
.pane-off .bub.you { background: rgba(255, 255, 255, .2); color: #fff; }
.pane-off .bub.ai { background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.pane-off .kpi { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px dashed; border: 1px dashed rgba(255, 255, 255, .22); }
.pane-off .kpi small { color: #A9A2E0; }
.pane-off .kpi b { color: rgba(255, 255, 255, .35); }
.pane-off .kpi path { stroke: rgba(255, 255, 255, .3); stroke-dasharray: 3 6; }
.pane-off .ask.ghost { border: 1px dashed rgba(255, 255, 255, .22); color: #A9A2E0; padding: 12px 16px; }
.pane-on { background: #fff; color: var(--ink); clip-path: inset(0 0 0 var(--x)); box-shadow: 0 40px 80px -30px rgba(0, 0, 20, .7); }
.pane-on .chat-tag { color: #6430D2; }
.pane-on header small { color: var(--ink-3); }
.pane-on .bub.you { background: var(--indigo); color: #fff; }
.pane-on .bub.ai { background: var(--lav); }
.pane-on .step { color: var(--ink-2); }
.pane-on .kpi { background: linear-gradient(180deg, rgba(48, 213, 172, .12), rgba(48, 213, 172, 0)); box-shadow: inset 0 0 0 1px rgba(48, 213, 172, .35); }
.pane-on .kpi small { color: var(--ink-3); }
.pane-on .kpi polyline { stroke: var(--cobalt); stroke-dasharray: 1; animation: draw 2.6s var(--ease) infinite; }
.pane-on .ask { background: #fff; box-shadow: 0 14px 30px -18px rgba(27, 23, 64, .5), 0 0 0 1px var(--rule); }
.pane-on .ask b { background: var(--grad); color: #fff; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: scale(1.07); box-shadow: 0 0 0 6px rgba(154, 69, 234, .18); } }
.pane-on .chat-foot { color: #0F8F72; }
.rain { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: .34; pointer-events: none; }
.rv-handle { position: absolute; z-index: 4; top: -14px; bottom: -14px; left: var(--x); width: 0; pointer-events: none; }
.rv-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: linear-gradient(180deg, transparent, var(--ember) 12%, #B554EF 88%, transparent); box-shadow: 0 0 22px 3px rgba(48, 213, 172, .55); }
.rv-knob { position: absolute; top: 50%; left: 0; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .16); pointer-events: auto; cursor: grab; }
.rv-knob:focus-visible { outline: 2px solid var(--ember); outline-offset: 5px; }

/* System diagram */
.how { position: relative; background: var(--abyss); color: var(--bone); }
.stage { min-height: 100svh; display: flex; flex-direction: column; gap: clamp(8px, 1.6svh, 16px); padding: clamp(74px, 9.5svh, 88px) var(--gutter) clamp(12px, 2svh, 22px); background: radial-gradient(60% 55% at 70% 38%, rgba(100, 48, 210, .55) 0, transparent 70%), radial-gradient(50% 50% at 10% 90%, rgba(68, 82, 242, .35) 0, transparent 70%), var(--abyss); overflow: clip; }
.stage .eyebrow { color: var(--ice); }
.stage-head { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; }
.cap { flex: 1; min-width: 0; }
.cap .eyebrow, .cap-body { display: none; }
.cap.swap .cap-title, .cap.swap .cap-body { animation: rise .55s var(--ease); }
.cap.swap .cap-body { animation-delay: .05s; animation-fill-mode: backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.cap-title { font-size: clamp(1.5rem, min(2.8vw, 5svh), 3rem); line-height: 1.06; margin-top: 0; white-space: nowrap; }
.cap-body { margin-top: 8px; color: #D6D1FA; font-size: clamp(14.5px, 1.1vw, 17px); line-height: 1.42; max-width: 42em; min-height: 2.84em; }
.ticks { display: flex; gap: 4px; flex: none; font: 500 12px/1 var(--body); color: rgba(244, 242, 255, .55); }
.ticks li { padding-top: 10px; width: clamp(62px, 6.2vw, 92px); border-top: 2px solid rgba(255, 255, 255, .13); transition: color .3s, border-color .3s; }
.ticks li.on { border-color: var(--bone); color: var(--bone); }
.ticks li.now { border-color: var(--ember); }
.diagram { position: relative; flex: 1 1 0; min-height: 250px; }
.diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.diagram canvas { position: absolute; inset: 0; pointer-events: none; }
.edge { fill: none; stroke: rgba(195, 188, 255, .1); stroke-width: 1; transition: stroke .8s; }
.edge.on.e-raw { stroke: rgba(48, 213, 172, .4); }
.edge.on.e-table { stroke: rgba(195, 188, 255, .3); }
.edge.on.e-clean, .edge.on.e-out { stroke: rgba(243, 245, 252, .3); }
.n { opacity: .22; transition: opacity .8s; }
.n.on { opacity: 1; }
.lab { font: 400 13px var(--body); fill: #E4E0FF; }
.lab.big { font: 600 22px var(--display); fill: #fff; letter-spacing: -.01em; }
.lab.dim { fill: rgba(228, 224, 255, .75); font-size: 12px; }
.tiny { font: 400 10.5px var(--mono); fill: rgba(228, 224, 255, .75); }
.tile { fill: rgba(255, 255, 255, .05); stroke: rgba(48, 213, 172, .8); stroke-width: 1; }
.icon path { fill: none; stroke: #BDF5E6; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.core .topf, .core .side { stroke: var(--ice); stroke-width: 1; stroke-linejoin: round; transition: fill .3s, stroke .3s; }
.core .topf { fill: rgba(195, 188, 255, .14); }
.core .side { fill: rgba(26, 19, 96, .92); }
.mcp .p1 .topf { fill: rgba(243, 245, 252, .26); stroke: #fff; }
.mcp .plate { transition: transform .5s var(--ease); }
.mcp.on .p1 { animation: lift 5s ease-in-out infinite; }
.mcp.on .p3 { animation: drop 5s ease-in-out infinite; }
@keyframes lift { 50% { transform: translateY(-6px); } }
@keyframes drop { 50% { transform: translateY(6px); } }
.stub { stroke: #fff; stroke-width: 1.2; stroke-linecap: round; opacity: .75; }
.mcp.on .stub { animation: lift 5s ease-in-out infinite; }
.n.hot .topf, .n.hot .ring, .n.hot .art > *, .n.hot .tile { stroke: var(--ember); }
.n.hot .topf { fill: rgba(48, 213, 172, .3); }
.ring { fill: none; stroke: var(--ice); stroke-width: 1; }
.ring.spin { stroke-dasharray: 10 4 2 4; opacity: .55; transform-box: fill-box; transform-origin: center; }
.n.on .ring.spin { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.anode { fill: var(--abyss); stroke: #fff; stroke-width: 1.2; }
.art > * { fill: rgba(255, 255, 255, .04); stroke: var(--bone); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.runner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; flex: none; height: clamp(140px, 21svh, 200px); }
.stage:not([data-step="4"]) .answer { visibility: hidden; }
.ticks li { cursor: pointer; }
.run-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin-top: 8px; }
.run-chips button { font-size: 14px; font-weight: 500; padding: 8px 16px; min-height: 36px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background .2s, color .2s; text-align: left; line-height: 1.2; }
.run-chips button:hover { background: rgba(255, 255, 255, .1); }
.run-chips button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.trace { background: rgba(8, 5, 40, .66); border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); padding: 12px 14px; overflow: hidden; }
.trace-log { height: 100%; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; font: 400 12px/1.65 var(--mono); }
.tl { display: flex; gap: 10px; animation: rise .3s var(--ease); white-space: nowrap; }
.tl b { flex: none; width: 3.4em; font-weight: 500; color: var(--ice); }
.tl span { overflow: hidden; text-overflow: ellipsis; color: #E6E2FF; }
.k-you b { color: #fff; } .k-raw b, .k-warn b { color: var(--ember); } .k-ok b { color: #7FE3C0; }
.answer { position: relative; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 12px 15px; overflow: hidden; }
.answer.show { opacity: 1; transform: none; }
.a-kick { font: 600 12px/1.2 var(--body); color: #0F8F72; }
.answer h4 { font-size: 19px; line-height: 1.1; margin-top: 3px; }
.a-body { font-size: 13px; line-height: 1.32; color: var(--ink-2); margin-top: 3px; }
.a-note { font: 400 11.5px/1.2 var(--body); color: var(--ink-3); margin-top: 3px; }
.spark { display: block; width: 100%; height: 26px; margin-top: 4px; overflow: visible; }
.spark polyline { fill: none; stroke: var(--cobalt); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; }
.spark circle { fill: var(--ember); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.approve { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; padding: 5px 12px 5px 9px; border-radius: 99px; }
.approve i { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); animation: blink 1s infinite; }
.approve:disabled { opacity: .5; }

/* What we build: six panels, the live one swells open and draws itself */
.build { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 4svh, 40px); padding: clamp(80px, 11svh, 104px) var(--gutter) clamp(24px, 4svh, 44px); overflow: clip; background: radial-gradient(50% 60% at 80% 40%, rgba(181, 84, 239, .13), transparent 70%), var(--paper); }
.build-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.build h2 { font-size: clamp(2.2rem, min(4.6vw, 8svh), 4.8rem); line-height: 1; }
.build-lead { max-width: 30em; color: var(--ink-2); font-size: clamp(15px, 1.15vw, 17.5px); line-height: 1.42; }
.fan { --aw: calc((100vw - 2 * var(--gutter) - 60px) * .583); display: flex; gap: 12px; height: min(540px, 66svh); }
.disc { position: relative; flex: 1 1 0; min-width: 0; border-radius: 26px; overflow: hidden; cursor: pointer; color: #fff; background: radial-gradient(120% 60% at 50% 100%, rgba(181, 84, 239, .75), transparent 70%), linear-gradient(170deg, #1A1360, #2B1FC9 160%); box-shadow: 0 30px 50px -36px rgba(43, 31, 201, .6); transition: flex-grow .85s var(--ease), background .5s, color .4s; }
.disc:nth-child(2) { filter: hue-rotate(-14deg); } .disc:nth-child(3) { filter: hue-rotate(10deg); } .disc:nth-child(4) { filter: hue-rotate(-24deg); } .disc:nth-child(5) { filter: hue-rotate(18deg); } .disc:nth-child(6) { filter: hue-rotate(-6deg); }
.disc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255, 255, 255, .22) 1px, transparent 1.5px) 0 0 / 18px 18px; -webkit-mask: linear-gradient(180deg, transparent, #000 90%); mask: linear-gradient(180deg, transparent, #000 90%); transition: opacity .5s; }
.disc:hover:not(.on) { flex-grow: 1.35; }
.disc.on { flex-grow: 7; color: var(--ink); background: #fff; filter: none; box-shadow: 0 50px 90px -50px rgba(43, 31, 201, .55), 0 0 0 1px rgba(27, 23, 64, .06); cursor: default; }
.disc.on::before { opacity: .0; }
.disc-tag { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; white-space: nowrap; font: 600 clamp(1.05rem, 1.5vw, 1.45rem)/1 var(--display); letter-spacing: -.01em; transition: opacity .3s; }
.disc.on .disc-tag { opacity: 0; pointer-events: none; }
.disc-in { position: absolute; left: 0; top: 0; bottom: 0; width: var(--aw); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(8px, 2vw, 28px); align-items: center; padding: clamp(18px, 2.4vw, 36px); opacity: 0; transition: opacity .25s; }
.disc.on .disc-in { opacity: 1; transition: opacity .6s .3s; background: radial-gradient(circle, rgba(68, 82, 242, .16) 1px, transparent 1.5px) 0 0 / 22px 22px; }
.disc.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--grad); animation: fillbar 5.5s linear forwards; }
.fan.paused .disc.on::after { animation-play-state: paused; }
@keyframes fillbar { to { width: 100%; } }
.spec { aspect-ratio: 32 / 24; }
.spec svg { width: 100%; height: 100%; overflow: visible; }
.spec .s, .spec line, .spec path, .spec polygon, .spec rect, .spec circle, .spec ellipse { vector-effect: non-scaling-stroke; }
.spec .s { fill: var(--white); stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.disc .spec .s { vector-effect: none; }
.disc.on .spec .s { animation: trace 1.3s var(--ease) both; animation-delay: calc(var(--k, 0) * 38ms); }
@keyframes trace { from { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; } 60% { fill-opacity: 0; } to { stroke-dasharray: 1; stroke-dashoffset: 0; fill-opacity: 1; } }
.spec .sf { fill: var(--lav); }
.spec .lit { fill: var(--indigo); stroke: none; }
.spec .wire { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 4; stroke-linecap: round; }
.spec .g { fill: #20BE98; stroke: none; }
.spec .g2 { fill: var(--violet); stroke: none; }
.spec .float1 { animation: lift 4.6s ease-in-out infinite; }
.spec .float2 { animation: lift 4.6s ease-in-out .6s infinite; }
.spec .bar { transform-box: fill-box; transform-origin: bottom; animation: grow 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); }
.spec .bar.mid { transform-origin: center; }
@keyframes grow { 50% { transform: scaleY(.62); } }
.spec .rot { transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }
.disc h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); line-height: 1.05; }
.disc p { margin-top: 8px; font-size: clamp(14.5px, 1.1vw, 16px); line-height: 1.4; color: var(--ink-2); }
.disc ul { margin-top: 12px; font-size: 14px; line-height: 1.3; }
.disc li { padding: 7px 0; box-shadow: 0 -1px 0 var(--rule); }
.disc.on .disc-text > * { animation: rise .7s var(--ease) both .35s; }
.disc.on .disc-text > :nth-child(2) { animation-delay: .45s; } .disc.on .disc-text > :nth-child(3) { animation-delay: .55s; }

/* Work: a live build console */
.work { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 3svh, 32px); padding: clamp(80px, 11svh, 104px) var(--gutter) clamp(20px, 4svh, 44px); background: radial-gradient(45% 55% at 12% 30%, rgba(68, 82, 242, .09), transparent 70%), var(--paper); overflow: clip; }
.work h2 { font-size: clamp(2rem, min(4vw, 7.2svh), 4.2rem); line-height: 1; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.projects { border-bottom: 1px solid var(--rule); align-self: center; }
.projects li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: baseline; padding: clamp(7px, 1.35svh, 13px) 0; border-top: 1px solid var(--rule); cursor: pointer; transition: padding .35s var(--ease); }
.projects li[hidden] { display: none; }
.projects h3 { font-size: clamp(1.05rem, 1.45vw, 1.4rem); line-height: 1.1; transition: color .25s; }
.projects p { display: none; }
.projects .for { grid-column: 2; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.projects .kind { display: none; grid-row: 1; grid-column: 3; font: 500 12px/1.3 var(--body); color: var(--ink-3); text-align: right; }
.projects li::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--grad); }
.projects li.on { padding-left: 16px; }
.projects li.on h3 { color: var(--indigo); }
.projects li.on::after { animation: fillbar 5.5s linear forwards; }
.projects.paused li.on::after { animation-play-state: paused; }
.console { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: var(--abyss); color: #E7EAFB; overflow: hidden; min-height: min(330px, 40svh); box-shadow: 0 40px 80px -40px rgba(14, 10, 60, .85), 0 0 0 1px rgba(154, 69, 234, .35); }
.console::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px); pointer-events: none; }
.console::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: radial-gradient(70% 100% at 50% 100%, rgba(154, 69, 234, .35), transparent); pointer-events: none; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); font: 400 12px/1 var(--mono); color: var(--ice); }
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.console-bar i:first-child { background: #E5738A; } .console-bar i:nth-child(2) { background: #F0C36A; } .console-bar i:nth-child(3) { background: var(--ember); }
.c-name { margin-left: 8px; color: #fff; }
.c-for { margin-left: auto; }
.c-type { position: relative; z-index: 1; flex: 1; padding: 22px 22px 6px; font: 400 clamp(14px, 1.3vw, 18px)/1.8 var(--mono); color: #BDF5E6; white-space: pre-wrap; min-height: 6.4em; }
.c-type::after { content: ""; display: inline-block; width: .6em; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--ember); animation: blink 1s steps(2) infinite; }
.console-desc { position: relative; z-index: 1; padding: 0 20px 20px; color: #D6D1FA; font-size: clamp(14px, 1.05vw, 15.5px); line-height: 1.45; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); padding-top: clamp(4px, 1.5svh, 18px); }
.quotes blockquote { position: relative; padding-left: 18px; }
.quotes blockquote::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--grad); }
.quotes blockquote p { font: 500 clamp(1.05rem, 1.55vw, 1.5rem)/1.2 var(--display); letter-spacing: -.016em; text-wrap: balance; }
.quotes footer { margin-top: 8px; font-size: 14px; font-weight: 500; }
.quotes footer span { display: block; font-weight: 400; color: var(--ink-3); }

/* Apps */
.apps { min-height: 100svh; display: flex; align-items: center; background: radial-gradient(52% 62% at 78% 30%, rgba(181, 84, 239, .14), transparent 72%), radial-gradient(46% 52% at 4% 100%, rgba(68, 82, 242, .08), transparent 72%), #fff; color: var(--ink); padding: clamp(84px, 11svh, 112px) var(--gutter) clamp(24px, 4svh, 64px); overflow: clip; }
.apps-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.apps .eyebrow { color: #6430D2; }
.apps h1 { font-size: clamp(2.4rem, min(4.9vw, 8.4svh), 5.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin-top: 12px; }

.apps .cases { margin-top: 26px; }
.apps-text > p:not(.eyebrow):not(.fine) { margin-top: 20px; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.45; color: var(--ink-2); max-width: 33em; }
.cases { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.cases button { font-size: 14.5px; font-weight: 500; padding: 12px 16px; min-height: 44px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--rule); background: #fff; transition: background .2s, color .2s; }
.cases button:hover { background: var(--lav); }
.cases button[aria-pressed="true"] { background: var(--grad); color: #fff; box-shadow: none; }
.how-mobile { margin-top: 26px; font-size: 15px; line-height: 1.38; color: var(--ink-2); }
.how-mobile li { padding: 10px 0; box-shadow: 0 -1px 0 var(--rule); }
.how-mobile b { font-weight: 600; color: var(--ink); }
.fine { margin-top: 14px; font: 400 12px/1.4 var(--body); color: var(--ink-3); }
.phones { position: relative; display: flex; justify-content: center; gap: clamp(14px, 3vw, 44px); align-items: flex-start; }
.hop { position: absolute; left: 50%; top: 6%; width: 34%; transform: translateX(-50%); overflow: visible; pointer-events: none; z-index: 3; }
.hop path { fill: none; stroke: rgba(100, 48, 210, .4); stroke-width: 1; stroke-dasharray: 2 5; }
.hop-dot { fill: #30D5AC; opacity: 0; }
.phone { flex: 0 1 min(300px, 31svh); min-width: 0; }
.phone.android { margin-top: 5svh; }
.ph-label { font: 600 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; text-align: center; }
.ph-body { position: relative; aspect-ratio: 300 / 610; max-height: 600px; background: #05060F; padding: 9px; box-shadow: 0 40px 70px -34px rgba(43, 31, 201, .45), inset 0 0 0 1.5px #2A2E48; }
.ios .ph-body { border-radius: 44px; }
.android .ph-body { border-radius: 30px; }
.island { position: absolute; z-index: 2; left: 50%; top: 18px; width: 30%; height: 22px; background: #05060F; border-radius: 99px; transform: translateX(-50%); }
.punch { position: absolute; z-index: 2; left: 50%; top: 18px; width: 14px; height: 14px; background: #05060F; border-radius: 50%; transform: translateX(-50%); }
.ph-head { align-self: stretch; margin-bottom: auto; padding-bottom: 8px; text-align: center; font-weight: 600; font-size: 13px; box-shadow: 0 1px 0 var(--rule); }
.ph-screen { height: 100%; background: var(--paper); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 54px 12px 14px; font-size: 13.5px; line-height: 1.32; }
.ios .ph-screen { border-radius: 36px; }
.android .ph-screen { border-radius: 22px; background: #EEF0F6; }
.msg { max-width: 88%; padding: 8px 12px; border-radius: 15px; animation: rise .4s var(--ease); }
.msg.you { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--white); box-shadow: 0 0 0 1px rgba(27, 23, 64, .06); border-bottom-left-radius: 4px; }
.toolchip { align-self: flex-start; display: flex; align-items: center; gap: 7px; font: 400 12px/1.2 var(--mono); color: var(--ink-2); animation: rise .3s var(--ease); }
.toolchip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); animation: blink .8s infinite; }
.toolchip.done::before { animation: none; background: #1FA971; }
.push { background: var(--white); border-radius: 18px; padding: 12px; box-shadow: 0 16px 28px -16px rgba(27, 23, 64, .4), 0 0 0 1px rgba(27, 23, 64, .05); animation: rise .5s var(--ease); }
.push small { display: block; font-size: 12px; color: var(--ink-3); }
.push strong { display: block; font-weight: 600; font-size: 14px; margin-top: 2px; }
.push p { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.push .acts { display: flex; gap: 6px; margin-top: 9px; }
.push .acts span { flex: 1; text-align: center; font-size: 12.5px; font-weight: 500; padding: 7px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--rule); transition: background .2s, color .2s; }
.push .acts .yes { background: var(--indigo); color: #fff; box-shadow: none; }
.push .acts .yes.pressed { background: #1FA971; }
.lock { align-self: center; margin-bottom: auto; margin-top: 8px; text-align: center; font: 500 34px/1 var(--display); color: var(--ink); opacity: .9; }
.lock small { display: block; font: 400 12px/1.4 var(--body); color: var(--ink-3); }

/* Method: a light that walks the five steps */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding-inline: var(--gutter); }
.section-head h2 { font-size: clamp(2rem, min(4.6vw, 8svh), 4.8rem); line-height: 1; }
.section-head > p { max-width: 26em; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.42; }
.method { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(30px, 8svh, 80px); padding: clamp(80px, 11svh, 104px) 0 clamp(24px, 5svh, 56px); background: radial-gradient(60% 50% at 50% 60%, rgba(154, 69, 234, .1), transparent 70%), var(--paper); overflow: clip; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 18px); padding-inline: var(--gutter); counter-reset: s; }
.steps::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 27px; height: 1px; background: linear-gradient(90deg, var(--ink-3) 50%, transparent 0) 0 0 / 7px 1px; opacity: .5; animation: march 1s linear infinite; }
.steps li { position: relative; padding: 62px 18px 22px; border-radius: 24px; counter-increment: s; transition: background .5s, box-shadow .5s, transform .6s var(--ease); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink-3); box-shadow: 0 0 0 1px var(--rule); font: 600 13px/1 var(--body); transition: background .4s, color .4s, box-shadow .5s; }
.steps li.act { background: #fff; transform: translateY(-8px); box-shadow: 0 34px 64px -36px rgba(68, 82, 242, .55), 0 0 0 1px rgba(100, 48, 210, .16); }
.steps li.act::before { background: var(--grad); color: #fff; box-shadow: 0 0 0 7px rgba(154, 69, 234, .18); }
.steps li.done::before { background: var(--ink); color: #fff; box-shadow: none; }
.steps h3 { font-size: clamp(1.1rem, 1.55vw, 1.5rem); line-height: 1.1; }
.steps p { margin-top: 8px; font-size: clamp(14px, 1.05vw, 15.5px); line-height: 1.4; color: var(--ink-2); }
.run-dot { position: absolute; z-index: 2; top: 20px; left: var(--px, 0); width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(48, 213, 172, .25), 0 0 26px 8px rgba(48, 213, 172, .6), -40px 0 30px -4px rgba(48, 213, 172, .35); transition: left 1s var(--ease); pointer-events: none; }
@keyframes march { to { background-position: 7px 0; } }

/* Contact */
.contact { position: relative; flex-direction: column; align-items: stretch; min-height: 100svh; background: radial-gradient(60% 60% at 80% 0%, rgba(181, 84, 239, .55), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(68, 82, 242, .5), transparent 70%), linear-gradient(180deg, var(--abyss-2) 0, #170F78 100%); color: #fff; overflow: clip; display: flex; align-items: center; }
.flow2 { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-inner { position: relative; z-index: 2; flex: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(88px, 11svh, 120px) var(--gutter) clamp(20px, 3svh, 40px); align-content: center; align-items: center; pointer-events: none; }
.contact-inner a, .contact-inner form { pointer-events: auto; }
.contact-head { font-size: clamp(2.8rem, 5.9vw, 7rem); line-height: .98; letter-spacing: -.03em; }
.contact-head .w { display: inline-block; }
@media (min-width: 861px) { .contact-head .ln { white-space: nowrap; } }
.brief { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(18px, 2vw, 28px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.brief fieldset { border: 0; padding: 0; }
.brief legend, .brief-text > span { display: block; padding: 0; font-weight: 500; font-size: 15px; margin-bottom: 9px; }
.brief-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.brief-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.brief-chips span { display: block; padding: 11px 16px; border-radius: 99px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--rule); cursor: pointer; transition: background .2s, color .2s; background: var(--white); }
.brief-chips span:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.brief-chips input:checked + span { background: var(--grad); color: #fff; box-shadow: none; }
.brief-chips input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.brief-text { display: block; margin-top: 18px; }
.brief textarea { display: block; width: 100%; resize: vertical; font: inherit; font-size: 15.5px; line-height: 1.4; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.brief textarea:focus { outline: 2px solid var(--indigo); outline-offset: 1px; }
.brief .pill { margin-top: 16px; background: var(--ink); color: #fff; }
.brief .err { margin-top: 10px; font-size: 14px; font-weight: 500; color: #B3261E; }
.brief-note { margin-top: 9px; font-size: 13px; color: var(--ink-3); }
.direct { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 36px; font: 500 clamp(1.2rem, 2.2vw, 2.1rem)/1.2 var(--display); }
.direct a { border-bottom: 1px solid rgba(255, 255, 255, .4); transition: border-color .2s; }
.direct a { display: inline-block; padding: 10px 0; }
.direct a:hover { border-color: var(--ember); }
.foot { position: relative; z-index: 2; align-self: stretch; width: 100%; display: flex; justify-content: space-between; gap: 16px; padding: 6px var(--gutter) 8px; color: #D8D4FF; font-size: 14px; box-shadow: 0 -1px 0 rgba(255, 255, 255, .1); }
.foot a { padding: 12px 6px; text-decoration: underline; text-underline-offset: 3px; }

.filament { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none; }

/* Reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.hero-left > *, .hero-right > * { animation: rise .9s var(--ease) backwards; }
.hero-left > :nth-child(2) { animation-delay: .08s; } .hero-left > :nth-child(3) { animation-delay: .16s; } .hero-left > :nth-child(4) { animation-delay: .24s; }
.hero-right > :nth-child(1) { animation-delay: 1.1s; } .hero-right > :nth-child(2) { animation-delay: 1.3s; } .hero-right > :nth-child(3) { animation-delay: 1.5s; }

/* One screen per section, each one snaps */
@media (min-width: 861px) and (min-height: 600px) {
  html { scroll-snap-type: y mandatory; }
  main > section { scroll-snap-align: start; scroll-snap-stop: always; }
  .how .stage { touch-action: none; }
}
@media (max-width: 860px), (max-height: 599px) {
  html { scroll-snap-type: y proximity; }
  main > section { scroll-snap-align: start; }
}

/* Medium */
@media (max-width: 1180px) {
  .steps li { padding-inline: 12px; }
  .steps li::before { left: 12px; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 100px; }
  .hero-left { padding-bottom: 0; }
  .figure { height: 84vw; max-height: 560px; min-height: 320px; margin-top: 0; }
  .hero-right { padding-bottom: 12px; }
  .asks { display: none; }
  .statement { font-size: clamp(2rem, 6vw, 3rem); }
  .tokens { display: none; }
}
/* Small */
@media (max-width: 860px) {
  .nav nav { display: none; }
  .stage { padding: 76px 16px 40px; min-height: 0; }
  .cap-title { white-space: normal; }
  .diagram { flex: none; }
  .stage:not([data-step="4"]) .answer { display: none; }
  .diagram { height: min(138vw, 640px); }
  .stage-head { display: block; }
  .ticks { display: none; }
  .cap { min-height: 64px; }
  .cap .eyebrow { display: none; }
  .cap-title { font-size: 1.5rem; margin-top: 0; }
  .cap-body { font-size: 13.5px; line-height: 1.32; }
  .runner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; height: auto; gap: 10px; }
  .run-left .eyebrow { display: none; }
  .run-chips { flex-direction: row; overflow-x: auto; flex-wrap: nowrap; margin: 0 0 6px; padding-bottom: 2px; scrollbar-width: none; }
  .run-chips button { flex: none; font-size: 13.5px; padding: 11px 14px; }
  .trace { height: 104px; padding: 8px 10px; }
  .trace-log { font-size: 12px; }
  .answer { position: relative; }
  .answer .spark { display: none; }
  .apps-grid { grid-template-columns: minmax(0, 1fr); }
  .phones { margin-top: 8px; }
  .phone.android { margin-top: 36px; }
  .ph-screen { padding-top: 44px; font-size: 12px; padding-inline: 8px; }
  .ios .ph-body { border-radius: 34px; } .ios .ph-screen { border-radius: 27px; }
  .island { top: 16px; height: 17px; }
  .msg { padding: 6px 9px; }
  .push { padding: 9px; } .push strong { font-size: 12.5px; } .push p { font-size: 11px; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .define-grid, .work-grid { grid-template-columns: minmax(0, 1fr); }
  .fan { flex-direction: column; height: auto; }
  .disc { flex: none; min-height: 64px; transition: none; }
  .disc.on { min-height: 0; }
  .disc-tag { writing-mode: horizontal-tb; transform: none; left: 20px; bottom: auto; top: 22px; }
  .disc-in { position: static; width: auto; grid-template-columns: minmax(0, 1fr); display: none; }
  .disc.on .disc-in { display: grid; }
  .define, .build, .work, .method { min-height: 0; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps::before, .run-dot { display: none; }
  .steps li { padding: 18px 16px 16px 62px; }
  .steps li::before { left: 16px; top: 16px; }
  .pane { min-height: 0; }
  .bub { max-width: 94%; }
  .wired { gap: 10px; }
  .wired li { font-size: 13px; padding: 7px 10px; }
}
@media (max-width: 560px) {
}
@media (pointer: coarse) { .filament, .peek { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .filament, .tokens { display: none; }
}

@media (min-width: 861px) and (max-height: 860px) { .how-mobile { display: none; } .fine { margin-top: 10px; } .apps .cases { margin-top: 20px; } }
@media (min-width: 861px) and (max-height: 700px) { .apps-text > p:not(.eyebrow):not(.fine) { font-size: 15.5px; margin-top: 12px; } .apps .cta-row { margin-top: 18px; } }

.bubble { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* First screen: life behind and around the phones */
.apps { position: relative; isolation: isolate; }
.apps::before, .apps::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.apps::before { width: 46vw; height: 46vw; right: -6vw; top: -10vw; background: radial-gradient(circle, rgba(181, 84, 239, .38), transparent 68%); animation: drift 14s ease-in-out infinite alternate; }
.apps::after { width: 38vw; height: 38vw; right: 22vw; bottom: -14vw; background: radial-gradient(circle, rgba(48, 213, 172, .22), rgba(68, 82, 242, .2) 45%, transparent 70%); animation: drift 18s ease-in-out -6s infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-6vw, 5vw, 0) scale(1.15); } }
.apps h1 .ln { animation: rise 1s var(--ease) backwards; }
.apps h1 .ln:nth-child(2) { animation-delay: .18s; }
.apps .eyebrow { animation: rise .9s var(--ease) backwards; }
.apps-text > p:not(.eyebrow):not(.fine) { animation: rise 1s var(--ease) .35s backwards; }
.apps .cta-row, .apps .cases { animation: rise 1s var(--ease) .5s backwards; }
.phones { transform: perspective(1400px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .5s var(--ease); transform-style: preserve-3d; }
.phone.ios { animation: bob 7s ease-in-out infinite; }
.phone.android { animation: bob 7s ease-in-out -3.5s infinite; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.phone.android .ph-body { position: relative; }
.phone.android .ph-body::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(48, 213, 172, .7); pointer-events: none; }
.phone.android.ping .ph-body::after { animation: ring 1.3s ease-out; }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(48, 213, 172, .75); } to { box-shadow: 0 0 0 46px rgba(48, 213, 172, 0); } }
@media (max-width: 860px) { .phones { transform: none !important; } }

.figure { overflow: visible; }


/* First screen: white, with the flowing streaks */
.apps { background: #fff; }
.apps::before { background: radial-gradient(circle, rgba(181, 84, 239, .18), transparent 68%); }
.apps::after { background: radial-gradient(circle, rgba(68, 82, 242, .1), transparent 70%); }
.flow3 { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.apps-grid { position: relative; z-index: 2; }

/* Work screen turns dark so the page alternates light and dark */
.work { background: radial-gradient(60% 60% at 85% 0%, rgba(181, 84, 239, .45), transparent 70%), radial-gradient(55% 60% at 0% 100%, rgba(68, 82, 242, .45), transparent 70%), linear-gradient(180deg, #1A1360 0, #130C57 100%); color: #fff; }
.work h2 { color: #fff; }
.projects, .projects li { border-color: rgba(255, 255, 255, .16); }
.projects h3 { color: #fff; }
.projects .for { color: #C3BCFF; }
.projects li.on h3 { color: var(--ember); }
.projects li::after { background: linear-gradient(90deg, var(--ember), #B554EF); }
.console { background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 20, .8), 0 0 0 1px rgba(255, 255, 255, .2); }
.console::before { background: repeating-linear-gradient(180deg, rgba(27, 23, 64, .025) 0 1px, transparent 1px 3px); }
.console::after { background: radial-gradient(70% 100% at 50% 100%, rgba(154, 69, 234, .16), transparent); }
.console-bar { color: var(--ink-3); box-shadow: 0 1px 0 var(--rule); }
.console-bar i { background: var(--rule); }
.c-name { color: var(--ink); }
.c-type { color: var(--cobalt); }
.c-type::after { background: var(--violet); }
.console-desc { color: var(--ink-2); }
.quotes blockquote p { color: #fff; }
.quotes footer { color: #fff; }
.quotes footer span { color: #C3BCFF; }

.direct a { overflow-wrap: anywhere; max-width: 100%; }
@media (max-width: 420px) { .direct { font-size: 1.05rem; } }

/* Flow field behind every section */
.bgflow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.stage, .define, .build, .work, .method { position: relative; }
.stage > :not(canvas), .define > :not(canvas), .build > :not(canvas), .work > :not(canvas), .method > :not(canvas) { position: relative; z-index: 1; }
.steps { position: relative; }
