/* Biolume Hosting — public site. One dark look: gold #FFC95F on near-black, Geist. */
@font-face { font-family: "Geist"; src: url("assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0c0f;
  --bg-2: #0f1014;
  --surface: #14161b;
  --surface-2: #1a1c22;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f4f6;
  --muted: #a5a9b3;
  --dim: #7d828d;
  --gold: #ffc95f;
  --gold-hover: #ffd88a;
  --gold-soft: rgba(255, 201, 95, 0.12);
  --gold-line: rgba(255, 201, 95, 0.32);
  --ink: #111214;
  --green: #4ade80;
  --red: #f87171;
  --claude: #d97757;
  --vscode: #1f9cf0;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.gold { color: var(--gold); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark { width: 18px; height: 18px; flex: none; fill: currentColor; }
.c-claude { color: var(--claude); }
.c-vscode { color: var(--vscode); }

/* Reveal on scroll (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* The hero comes in by CSS alone, so it never waits on a script */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s var(--ease) both; }
  .rise:nth-child(2) { animation-delay: .06s; }
  .rise:nth-child(3) { animation-delay: .12s; }
  .rise:nth-child(4) { animation-delay: .18s; }
  .rise:nth-child(5) { animation-delay: .26s; }
  .rise:nth-child(6) { animation-delay: .34s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.nav.stuck { background: rgba(11, 12, 15, 0.985); border-bottom-color: var(--line); }
.nav.open { background: var(--bg); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; font-size: 17px; font-weight: 400; letter-spacing: -0.015em; color: var(--muted); white-space: nowrap; }
.brand .wordmark { flex: none; margin-bottom: -3px; }
.links { display: flex; gap: 26px; margin-left: 12px; font-size: 15px; color: var(--muted); }
.links a { transition: color .2s; }
.links a:hover, .signin:hover, .foot nav a:hover { color: var(--text); }
.links-signin { display: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.signin { color: var(--muted); transition: color .2s; }
.menu-btn { display: none; width: 40px; height: 40px; margin-right: -8px; border-radius: 10px; position: relative; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-btn i:first-child { top: 15px; }
.menu-btn i:last-child { top: 23px; }
.nav.open .menu-btn i:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .menu-btn i:last-child { top: 19px; transform: rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 30px -8px rgba(255, 201, 95, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 10px 36px -8px rgba(255, 201, 95, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold-line); background: var(--gold-soft); }
/* A press answers with light: one soft bloom swells from where the button was pressed, then it is gone.
   site.js and signup.js add .lit and say where (--bx, --by); it sits behind the words so they stay sharp. */
@media (prefers-reduced-motion: no-preference) {
  .btn.lit { position: relative; z-index: 0; }
  .btn.lit::before, .btn.lit::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
  /* Drawn as a shadow round a speck at the press point, so the light can spill past the edge of a phone without widening the page */
  .btn.lit::before { left: calc(var(--bx, 50%) - 1px); top: calc(var(--by, 50%) - 1px); width: 2px; height: 2px; border-radius: 50%; background: rgba(255, 201, 95, .5);
    box-shadow: 0 0 26px 14px rgba(255, 201, 95, .3), -30px 0 80px 44px rgba(255, 201, 95, .2), 30px 0 80px 44px rgba(255, 201, 95, .2); animation: bloom-out .8s cubic-bezier(.2, .7, .3, 1) both; }
  .btn.lit::after { inset: 0; border-radius: inherit; background: radial-gradient(90px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%); animation: bloom-in .8s ease-out both; }
  .btn-ghost.lit::before { background: rgba(255, 201, 95, .26); box-shadow: 0 0 26px 14px rgba(255, 201, 95, .15), -30px 0 80px 44px rgba(255, 201, 95, .1), 30px 0 80px 44px rgba(255, 201, 95, .1); }
  .btn-ghost.lit::after { background: radial-gradient(90px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 201, 95, .22), rgba(255, 201, 95, 0) 70%); }
}
@keyframes bloom-out { 0% { opacity: 0; transform: scale(.35); } 25% { opacity: 1; animation-timing-function: ease-in-out; } 100% { opacity: 0; transform: none; } }
@keyframes bloom-in { 0% { opacity: 0; } 20% { opacity: 1; animation-timing-function: ease-in-out; } 100% { opacity: 0; } }
.btn-ghost span { transition: transform .2s; }
.btn-ghost:hover span { transform: translateX(3px); }

/* Hero */
.hero { position: relative; padding: 44px 0 56px; overflow-x: clip; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.glow { position: absolute; inset: -180px 0 auto; height: 760px; pointer-events: none;
  background: radial-gradient(50% 55% at 50% 30%, rgba(255, 201, 95, .17), transparent 70%), radial-gradient(30% 40% at 78% 20%, rgba(57, 135, 229, .10), transparent 70%); }
.hero .wrap { position: relative; }

/* Fireflies: Biolume is named for living light. Small warm lights that wander, flash and fade. */
.flies { position: absolute; inset: 0 0 auto; width: 100%; height: 720px; pointer-events: none;
  -webkit-mask-image: radial-gradient(80% 90% at 50% 40%, #000 40%, transparent 100%); mask-image: radial-gradient(80% 90% at 50% 40%, #000 40%, transparent 100%); }
.flies circle { fill: url(#fly); opacity: calc(var(--o) * .4); }
@media (prefers-reduced-motion: no-preference) {
  .flies circle { opacity: .04; animation: wander var(--d) ease-in-out var(--dl) infinite alternate, flash var(--f) ease-in-out var(--fl) infinite; will-change: transform, opacity; }
  .hero.away .flies circle { animation-play-state: paused; }
}
.flies { transition: opacity 1.2s ease, visibility 0s 1.2s; }
.swarm-on .flies { opacity: 0; visibility: hidden; }
.swarm-on .flies circle { animation-play-state: paused; }
/* The live swarm (swarm.js) takes over from the still fireflies above when the browser can draw it */
.swarm { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; z-index: 40; opacity: 0; transition: opacity 1.8s ease; }
.swarm.on { opacity: 1; }
@media print { .swarm, .jar, .jar-front { display: none; } }
/* Visitors in Australia, on the main site: a small card in the corner opposite the jar that points at biolume.au.
   site.js adds it once the server has said where the visitor is. It is laid out like a phone notification: the flag and
   the site's name, the message, then one action across the foot. It sits above the fireflies so the words stay clear,
   and stops short of the jar on a phone. No blur behind it: the fireflies move under it all the time. */
.au-note { position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
  width: min(336px, calc(100vw - 108px)); overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px;
  background: linear-gradient(180deg, #1c1e24, #131519);
  box-shadow: 0 28px 64px -22px rgba(0, 0, 0, .95), 0 3px 10px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .05);
  font-size: 14.5px; line-height: 1.5; color: var(--muted); opacity: 0; transform: translateY(12px); }
.au-note::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 22%, var(--gold-line) 46%, transparent 88%); }
.au-note.in { opacity: 1; transform: none; }
.au-note-head { display: flex; align-items: center; gap: 10px; padding: 15px 48px 0 18px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.au-note-flag { position: relative; flex: none; width: 40px; height: 20px; overflow: hidden; border-radius: 3.5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 5px 12px -5px rgba(0, 0, 0, .9); }
.au-note-flag svg { width: 100%; height: 100%; }
.au-note-flag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .38) 50%, transparent 64%); transform: translateX(-120%); }
.au-note p { padding: 11px 18px 15px; }
.au-note b { display: block; margin-bottom: 2px; font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; color: var(--text); }
.au-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px 13px; border-top: 1px solid var(--line); color: var(--gold); font-weight: 600; transition: background .2s, color .2s; }
.au-go:hover { background: var(--gold-soft); color: var(--gold-hover); }
.au-go:focus-visible { outline-offset: -4px; border-radius: 0 0 14px 14px; }
.au-go svg { flex: none; width: 15px; height: 15px; transition: transform .3s var(--ease); }
.au-go:hover svg { transform: translateX(3px); }
.au-close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--dim); transition: color .2s, background .2s; }
.au-close::after { content: ""; position: absolute; inset: -7px; }
.au-close:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.au-close svg { width: 12px; height: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .au-note { transition: opacity .7s ease, transform .7s var(--ease); }
  /* One slow gleam across the flag as the card arrives, then it is still */
  .au-note.in .au-note-flag::after { animation: au-gleam 1.6s ease .8s both; }
  @keyframes au-gleam { to { transform: translateX(120%); } }
}
@media print { .au-note { display: none; } }
/* The jar: a small glass jar with a brass lid in the corner. Tap it and the fireflies fly in through the mouth, gather inside
   and the lid goes on; tap again to let them out. Two layers, so the lights (z 40) sit inside the glass: the glass itself is
   behind them, its shine and the lid are in front. Lengths inside the drawing are in its own units (the jar is 44 by 60). */
.jar, .jar-front { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); width: 50px; height: 68px;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; --fill: 0; }
.jar { z-index: 39; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.jar-front { z-index: 41; pointer-events: none; }
.jar::after { content: ""; position: absolute; inset: -8px; }
.jar.on, .jar.on + .jar-front { opacity: 1; visibility: visible; transition-delay: 0s; }
/* Brighten each drawn part, not the layer: a filter on the layer would clip the lid and the light pool, which sit outside its box.
   The warm glow is left alone, as brightening gold turns it green. */
.jar svg > *, .jar-front svg > * { transition: filter .25s ease; }
.jar:hover svg > :not(.j-warm, .j-pool), .jar:hover + .jar-front svg > *, .jar:focus-visible svg > :not(.j-warm, .j-pool), .jar:focus-visible + .jar-front svg > * { filter: brightness(1.4); }
.jar svg, .jar-front svg { display: block; width: 100%; height: 100%; overflow: visible; }
.jar .j-warm { opacity: var(--fill); }
.jar .j-pool { opacity: calc(var(--fill) * .9); }
.jar .j-lidshadow { transition: opacity .35s ease .25s; }
.jar.shut .j-lidshadow { opacity: 0; transition-delay: 0s; }
.jar-front .j-lid { transform: translate(-26px, 43px); }
.jar.shut + .jar-front .j-lid { transform: none; animation: lid-on .75s cubic-bezier(.45, 0, .3, 1); }
.jar.opening + .jar-front .j-lid { animation: lid-off .65s cubic-bezier(.45, 0, .3, 1); }
.jar.hello.opening + .jar-front .j-lid { animation-duration: 1.25s; }
.jar.shut svg, .jar.shut + .jar-front svg { animation: jar-thud .28s ease-out .6s; }
.jar.still + .jar-front .j-lid, .jar.still svg, .jar.still + .jar-front svg { animation: none; }
@keyframes lid-on { 0% { transform: translate(-26px, 43px); } 38% { transform: translate(-19px, 4px) rotate(-13deg); } 70% { transform: translate(-1.5px, -8px) rotate(-4deg); }
  86% { transform: translate(0, -1.5px); } 94% { transform: translate(0, .7px); } 100% { transform: none; } }
@keyframes lid-off { 0% { transform: none; } 28% { transform: translate(-2px, -8px) rotate(-6deg); } 64% { transform: translate(-20px, 6px) rotate(-13deg); }
  90% { transform: translate(-26px, 43px); } 95% { transform: translate(-26px, 42px); } 100% { transform: translate(-26px, 43px); } }
@keyframes jar-thud { 40% { transform: translateY(1px); } }
@media (max-width: 600px) { .jar, .jar-front { right: max(14px, env(safe-area-inset-right)); width: 40px; height: 54.5px; } }
@keyframes wander { 50% { transform: translate(calc(var(--dx) * .7), calc(var(--dy) * -.4)); } to { transform: translate(var(--dx), var(--dy)); } }
@keyframes flash { 0%, 52%, 100% { opacity: .04; } 9% { opacity: var(--o); } 24% { opacity: calc(var(--o) * .65); } }

h1 { font-size: clamp(38px, 4.7vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
h1 .gold { display: block; background: linear-gradient(100deg, #ffc95f 20%, #ffe6b0 45%, #ffc95f 70%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: no-preference) { h1 .gold { animation: sheen 7s ease-in-out 1.2s infinite; } }
@keyframes sheen { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: -20% 0; } }
.lede { max-width: 600px; margin: 24px 0 0; font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.works { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 36px; font-size: 14.5px; color: var(--muted); }
.works-label { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.works-list { display: flex; flex-wrap: wrap; gap: 8px; }
.works-list span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px 0 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: #d6d8de; font-weight: 500; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.works-list .mark { width: 16px; height: 16px; }
.works:hover .works-list span { border-color: var(--line-2); }
.works-list span:hover { border-color: var(--gold-line); background: var(--gold-soft); transform: translateY(-2px); }

/* The screenshot is wider than its column and runs off the right edge of the page */
.stage { position: relative; width: 152%; }
.browser { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-2);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 201, 95, .05), 0 -20px 90px -30px rgba(255, 201, 95, .2); }
.browser img { width: 100%; }
.chrome { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #121317; position: relative; }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #2c2f37; }
.chrome span { position: absolute; left: 50%; transform: translateX(-50%); font: 12.5px var(--mono); color: var(--dim); }

/* The screenshot leans back and settles as it scrolls in (where the browser can do it without script) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .browser { transform-origin: 50% 100%; animation: settle linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
  }
}
@keyframes settle { from { transform: perspective(1400px) rotateX(10deg) scale(.96); } }

/* Facts */
.facts { padding: 24px 0 24px; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.facts-in { background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 60%), var(--bg-2); }
.fact { padding: 24px 24px 28px; border-left: 1px solid var(--line); transition: background .25s; }
.fact:hover { background: rgba(255, 255, 255, .02); }
.fact:first-child { border-left: 0; }
.fact > b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.fact > b + span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }

/* A small picture for each fact */
.fg { display: flex; align-items: center; height: 44px; margin-bottom: 18px; }
.fg-rack { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
.fg-rack i { position: relative; width: 50px; height: 12px; border-radius: 3.5px; border: 1px solid var(--line-2); background: var(--surface-2); }
.fg-rack i::before { content: ""; position: absolute; left: 5px; top: 3.5px; width: 3px; height: 3px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(74, 222, 128, .8); }
.fg-rack i::after { content: ""; position: absolute; right: 6px; top: 4.5px; width: 16px; height: 1px; background: var(--line-2); box-shadow: 0 -2.5px 0 rgba(255, 255, 255, .07), 0 2.5px 0 rgba(255, 255, 255, .07); }
.fg-rack i:nth-child(2)::before { background: var(--gold); box-shadow: 0 0 6px rgba(255, 201, 95, .8); }
.fg-seal { gap: 11px; }
.fg-seal svg { flex: none; width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(255, 201, 95, .22)); transition: transform .9s var(--ease), opacity .5s; }
.seal-edge { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 1; stroke-linejoin: round; }
.seal-ring { fill: var(--bg-2); stroke: var(--gold-line); stroke-width: 1; stroke-dasharray: 100; transition: stroke-dashoffset .9s var(--ease) .3s; }
.fg-seal text { fill: var(--gold); font: 700 14.5px var(--font); letter-spacing: .04em; }
.seal-txt { display: grid; gap: 3px; padding-left: 11px; border-left: 1px solid var(--gold-line); font-family: var(--mono); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.seal-txt em { font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; color: var(--gold); }
.seal-txt small { font-size: 9.5px; letter-spacing: .12em; color: var(--muted); }
.js .fact:not(.in) .fg-seal svg { transform: rotate(-50deg) scale(.8); opacity: 0; }
.js .fact:not(.in) .seal-ring { stroke-dashoffset: 100; }
.fg-nope s { position: relative; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(248, 113, 113, .22); background: rgba(248, 113, 113, .08); color: #f6b4b4; font: 14px var(--mono); text-decoration: none; }
.fg-nope s::after { content: ""; position: absolute; left: -5px; right: -5px; top: 50%; height: 1.5px; border-radius: 2px; background: var(--gold); transform: rotate(-7deg); transition: clip-path .6s var(--ease) .5s; clip-path: inset(0); }
.js .fact:not(.in) .fg-nope s::after { clip-path: inset(0 100% 0 0); }
.fg-people .av, .fg-people img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 3px var(--bg-2); font-size: 14px; }
.fg-people img { border-radius: 9px; margin-left: 12px; }
.fg-people .av + .av { margin-left: -9px; }
@media (prefers-reduced-motion: no-preference) {
  .fg-rack i::before { animation: led 2.6s steps(1) infinite; }
  .fg-rack i:nth-child(2)::before { animation-duration: 1.7s; animation-delay: -.6s; }
  .fg-rack i:nth-child(3)::before { animation-duration: 3.4s; animation-delay: -1.3s; }
}
@keyframes led { 0%, 100% { opacity: 1; } 82% { opacity: .25; } 90% { opacity: 1; } }

/* Sections */
.sec { padding: 104px 0; position: relative; }
.sec-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.sub { max-width: 660px; margin-top: 18px; font-size: 18px; color: var(--muted); text-wrap: pretty; }

.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), #111317); transition: border-color .25s, transform .25s var(--ease); }
.card:hover { border-color: var(--line-2); }
/* A soft light that follows the pointer across a card (mouse only) */
@media (hover: hover) {
  .card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 201, 95, .10), transparent 65%); }
  .card:hover::after { opacity: 1; }
}

.ticks { display: grid; gap: 12px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 30px; color: #d6d8de; font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.7 2.7L13 6.5' fill='none' stroke='%23ffc95f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, .15); flex: none; }
.live-red { background: var(--red); box-shadow: 0 0 0 4px rgba(248, 113, 113, .15); }
/* A status light swells softly once as it comes on, then holds steady: site.js adds .woke the first time a light
   is seen, and the Live badge in the 1, 2, 3 sequence lights as step 3 lands. */
@media (prefers-reduced-motion: no-preference) {
  .live.woke, .led.woke, .trio.play.a6 .t-badge .live { position: relative; }
  .live.woke::after, .led.woke::after, .trio.play.a6 .t-badge .live::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(74, 222, 128, .55), rgba(74, 222, 128, .18) 50%, rgba(74, 222, 128, 0)); animation: dot-on 1.2s ease-out .35s both; }
  .trio.play.a6 .t-badge .live::after { animation-delay: .6s; }
}
@keyframes dot-on { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; } 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .on-screen .live { animation: beat 2.4s ease-in-out infinite; } }
@keyframes beat { 50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }

/* AI tools */
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tools li { display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .025); transition: border-color .2s, background .2s, transform .25s var(--ease); }
.tools li:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .045); transform: translateY(-2px); }
.tools .mark { width: 18px; height: 18px; }
.tools b { font-size: 15px; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.tools + .ticks { margin-top: 28px; }

.demo { min-width: 0; }
.chat { border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 -18px 80px -40px rgba(255, 201, 95, .22); font-size: 15.5px; overflow: hidden; }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.chat-tool { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: 14.5px; }
.chat-tool b { font-weight: 600; }
.chat-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); }
.chat-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; height: 420px; padding: 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 34px); mask-image: linear-gradient(180deg, transparent, #000 34px); }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 16px; line-height: 1.5; flex: none; }
.me { align-self: flex-end; background: var(--gold); color: var(--ink); border-bottom-right-radius: 5px; font-weight: 500; }
.ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: #dfe1e6; }
/* A tool call, as a chat app shows one: the connector's icon, what it did, then a tick */
.tool { display: flex; align-items: center; gap: 9px; align-self: flex-start; max-width: 100%; padding: 6px 11px 6px 7px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); font-size: 13.5px; line-height: 1.4; color: var(--muted); flex: none; }
.tool img { flex: none; width: 18px; height: 18px; border-radius: 5px; }
.tool > span { min-width: 0; }
.tool::after { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--line-2); border-top-color: var(--gold); animation: spin .7s linear infinite; }
.tool.done::after { content: "✓"; width: auto; height: auto; border: 0; animation: none; font-size: 12px; line-height: 1; color: var(--dim); }
.tool.ok::after { color: var(--green); }
.tool.ok { color: var(--green); }
.pop { animation: pop .38s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes spin { to { transform: rotate(360deg); } }
code { font: 0.9em var(--mono); }
.chat code { color: inherit; }
.composer { margin: 0 14px 14px; padding: 13px 9px 9px 15px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-2); color: var(--text); }
.composer-text { display: block; height: 1.6em; white-space: nowrap; overflow: hidden; }
.composer-bar { display: flex; align-items: center; gap: 8px; margin: 10px 0 0 -6px; }
.plus { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); color: var(--muted); font-style: normal; font-size: 18px; line-height: 1; }
/* The connector, switched on, where a chat app keeps its tools */
.conn { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px 0 5px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .03); font-size: 13.5px; color: #d6d8de; white-space: nowrap; }
.conn img { width: 20px; height: 20px; border-radius: 5.5px; }
.conn b { font-weight: 500; }
.sw { position: relative; width: 24px; height: 14px; border-radius: 999px; background: var(--gold); }
.sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.composer-bar .send { margin-left: auto; }
.composer-text:empty::before { content: attr(data-empty); color: var(--dim); }
.composer.typing .composer-text::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--gold); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.send { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--dim); font-style: normal; font-size: 15px; transition: background .2s, color .2s, transform .15s; }
.composer.typing .send { background: var(--gold); color: var(--ink); }
.composer.sent .send { transform: scale(.86); }
.prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prompts button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: 14.5px; font-weight: 500; color: var(--muted); transition: border-color .2s, background .2s, color .2s; }
.prompts button:hover { color: var(--text); border-color: var(--line-2); }
.prompts button.on { color: var(--text); border-color: var(--gold-line); background: var(--gold-soft); }
.prompts .mark { width: 16px; height: 16px; }

/* Plans: one picture of a host and two ways to use it. Two radio buttons, drawn as a segmented
   control, switch the picture and the words, so it works without JS. Everything is drawn in the
   shared state; "#way-own:checked ~" turns it into the dedicated one. */
.plans { margin-top: 48px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.tag-gold { border-color: var(--gold-line); color: var(--gold); background: var(--gold-soft); }
.hw { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "host seg" "host words" "host both"; column-gap: 44px; padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 70px -50px rgba(0, 0, 0, .95); }
.hw:has(#way-own:checked) { border-color: var(--gold-line); }
.hw-wash { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .8s ease;
  background: linear-gradient(180deg, rgba(255, 201, 95, .07), transparent 55%); box-shadow: inset 0 1px 0 rgba(255, 226, 160, .14), 0 40px 90px -50px rgba(255, 201, 95, .3); }
#way-own:checked ~ .hw-wash { opacity: 1; }
.hw-pick { position: absolute; left: 24px; top: 24px; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
/* The switch */
.hw-seg { grid-area: seg; align-self: start; position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: #0b0c0f; box-shadow: inset 0 1px 4px rgba(0, 0, 0, .6); }
.hw-seg label { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 58px; padding: 8px 16px; border-radius: 10px; cursor: pointer; color: var(--muted); transition: color .3s; -webkit-user-select: none; user-select: none; }
.hw-seg label:hover { color: var(--text); }
.hw-seg b { font-size: 16.5px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.hw-seg small { font: 500 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); transition: color .3s; }
.hw-thumb { position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc(50% - 4px); border-radius: 10px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #252830, #1b1d23);
  box-shadow: 0 8px 18px -10px #000, inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .55s var(--ease), border-color .5s; }
.hw-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 201, 95, .16), rgba(255, 201, 95, .06)); opacity: 0; transition: opacity .5s; }
#way-own:checked ~ .hw-seg .hw-thumb { transform: translateX(100%); border-color: var(--gold-line); }
#way-own:checked ~ .hw-seg .hw-thumb::after { opacity: 1; }
#way-shared:checked ~ .hw-seg label[for="way-shared"], #way-own:checked ~ .hw-seg label[for="way-own"] { color: var(--text); }
#way-shared:checked ~ .hw-seg label[for="way-shared"] small { color: #c3c7d0; }
#way-own:checked ~ .hw-seg label[for="way-own"] small { color: var(--gold); }
#way-shared:focus-visible ~ .hw-seg label[for="way-shared"], #way-own:focus-visible ~ .hw-seg label[for="way-own"] { outline: 2px solid var(--gold); outline-offset: 2px; }
/* The host: one drawing of the machine and the space on it (inline SVG, isometric, every point worked out by sum so the edges line up).
   The gold glass is your space. It is drawn at full size, as on a dedicated host; on a shared host transforms hold it to its corner,
   so switching is one move: the same glass grows over the whole machine while the other customers' spaces ease away. */
.hw-host { grid-area: host; align-self: center; position: relative; aspect-ratio: 540 / 400; --grow: 1s cubic-bezier(.62, .02, .2, 1) .08s; }
.hx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.hx * { vector-effect: non-scaling-stroke; transform-origin: 0 0; }
/* The machine */
.hx-shade { fill: url(#hx-sg); }
.hx-slab { stroke: rgba(255, 255, 255, .13); }
.hx-slab.t { fill: #17191f; }
.hx-slab.l { fill: #111317; }
.hx-slab.r { fill: #0b0c0f; }
.hx-grid { stroke: rgba(255, 255, 255, .04); }
.hx-face rect { fill: rgba(0, 0, 0, .55); stroke: rgba(255, 255, 255, .08); }
.hx-face circle { fill: #3b3e47; }
.hx-face .hx-led { fill: var(--green); }
.hx-own { opacity: 0; transition: opacity .8s ease; }
.hx-owntop { fill: rgba(255, 201, 95, .05); }
.hx-ownedge { stroke: rgba(255, 201, 95, .6); stroke-width: 1.25; }
#way-own:checked ~ .hw-host .hx-own { opacity: 1; transition-delay: .5s; }
/* Other customers: closed, and you never see inside */
.hx-nb { stroke: rgba(255, 255, 255, .13); }
.hx-nb.t { fill: #23262e; }
.hx-nb.l { fill: url(#hx-ng); }
.hx-nb.r { fill: url(#hx-ng2); }
.hx-nbedge { stroke: rgba(255, 255, 255, .26); }
.hx-dimlight { fill: url(#hx-dg); }
.hx-n { transition: opacity .45s ease calc(.5s + var(--i) * 70ms), transform .6s var(--ease) calc(.5s + var(--i) * 70ms); }
#way-own:checked ~ .hw-host .hx-n { opacity: 0; transform: translateY(10px); transition-delay: calc(var(--i) * 50ms); }
/* Your space */
.hx-k, .hx-kx, .hx-by, .hx-bx { transition: transform var(--grow); }
.hx-k { transform: scale(.466); }
.hx-kx { transform: scale(.466, 1); }
.hx-by { transform: translate(-122.1px, 70.5px); }
.hx-bx { transform: translate(122.1px, 70.5px); }
#way-own:checked ~ .hw-host .hx-k { transform: scale(1); }
#way-own:checked ~ .hw-host .hx-kx { transform: scale(1, 1); }
#way-own:checked ~ .hw-host :is(.hx-by, .hx-bx) { transform: translate(0, 0); }
.hx-pool { fill: url(#hx-pg); }
.hx-floor { fill: rgba(255, 201, 95, .09); stroke: rgba(255, 201, 95, .42); }
.hx-inner { fill: rgba(255, 201, 95, .03); stroke: rgba(255, 201, 95, .2); }
.hx-wall { fill: url(#hx-wg); stroke: rgba(255, 201, 95, .62); }
.hx-wall2 { fill: url(#hx-wg2); }
.hx-rimglow { stroke: rgba(255, 201, 95, .13); stroke-width: 6; }
.hx-rim { fill: rgba(255, 201, 95, .035); stroke: var(--gold); stroke-width: 1.4; }
/* The fireflies (swarm.js) settle around your space; this box follows the glass */
.hw-you { position: absolute; top: 36.8%; right: 30.3%; bottom: 17.5%; left: 30.3%; border-radius: 400px; pointer-events: none; transition: top var(--grow), right var(--grow), left var(--grow); }
#way-own:checked ~ .hw-host .hw-you { top: 1.5%; right: 7.7%; left: 7.7%; }
/* Apps: small lit blocks. On a dedicated host more arrive, a group per customer, each group on its own pad. */
.hx-b.t { fill: #ffe6ad; }
.hx-b.l { fill: #e3a945; }
.hx-b.r { fill: #9c6c25; }
.hx-glow { fill: url(#hx-pg); }
.hx-pad { fill: rgba(255, 201, 95, .045); stroke: rgba(255, 201, 95, .24); opacity: 0; transition: opacity .3s ease; }
#way-own:checked ~ .hw-host .hx-pad { opacity: 1; transition: opacity .6s ease calc(.5s + var(--i) * .22s); }
.hx-new { opacity: 0; transform: translateY(-9px); transition: opacity .25s ease, transform .3s ease; }
#way-own:checked ~ .hw-host .hx-new { opacity: 1; transform: translateY(0); transition: opacity .5s ease calc(.4s + var(--i) * 50ms), transform .7s var(--ease) calc(.4s + var(--i) * 50ms); }
/* Built to your spec: a graphics card slides into the machine */
.hx-gpu { opacity: 0; transform: translate(31px, 18px); transition: opacity .3s ease, transform .4s ease; }
#way-own:checked ~ .hw-host .hx-gpu { opacity: 1; transform: translate(0, 0); transition: opacity .5s ease 1.15s, transform .9s var(--ease) 1.15s; }
.hx-card { stroke: rgba(255, 201, 95, .62); }
.hx-card.t { fill: #2c2618; }
.hx-card.l { fill: #1e1a10; }
.hx-card.r { fill: #15120b; }
.hx-gpu circle { fill: rgba(0, 0, 0, .4); stroke: rgba(255, 201, 95, .55); }
.hx-gpu .hx-hub { fill: var(--gold); stroke: none; }
/* The few words, each on a fine leader line */
.hx-lead path { stroke: rgba(255, 255, 255, .26); }
.hx-lead circle { fill: #c9ccd4; }
.hx-ld-you path, .hx-ld-d path { stroke: rgba(255, 201, 95, .5); }
.hx-ld-you circle, .hx-ld-d circle { fill: var(--gold); }
.hx-tag { position: absolute; transform: translateX(-50%); font-size: 12.5px; line-height: 1.25; font-weight: 500; letter-spacing: .005em; white-space: nowrap; color: #b4b8c1; }
.hx-tag b { font-weight: 600; }
.hx-t-you { left: 33.6%; top: 91.6%; display: grid; justify-items: center; color: var(--gold); }
.hx-t-you > * { grid-area: 1 / 1; transition: opacity .45s ease .3s; }
.hx-t-you > .hw-d, #way-own:checked ~ .hw-host .hx-t-you > .hw-s { opacity: 0; transition-delay: 0s; }
#way-own:checked ~ .hw-host .hx-t-you > .hw-d { opacity: 1; transition-delay: .3s; }
.hx-t-s { left: 24%; bottom: 83.4%; }
.hx-t-d { left: 78.8%; top: 91.6%; color: var(--gold); font-weight: 600; }
.hx-t-s, .hx-ld-s { transition: opacity .4s ease .8s; }
.hx-t-d, .hx-ld-d { opacity: 0; transition: opacity .3s ease; }
#way-own:checked ~ .hw-host :is(.hx-t-s, .hx-ld-s) { opacity: 0; transition-delay: 0s; }
#way-own:checked ~ .hw-host :is(.hx-t-d, .hx-ld-d) { opacity: 1; transition: opacity .5s ease 1.7s; }
@media (prefers-reduced-motion: reduce) {
  .hw-host, .hw-host * { transition: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Your first apps arrive in turn the first time */
  .hx-app:not(.hx-new) { transition: opacity .5s ease calc(.45s + var(--i, 3) * .14s), transform .7s var(--ease) calc(.45s + var(--i, 3) * .14s); }
  .js .hw:not(.in) .hx-app:not(.hx-new) { opacity: 0; transform: translateY(-9px); }
  /* A little life while it is on screen: one app's light swells slowly, and now and then a new app settles in */
  .hw.on-screen .hx-breathe .hx-glow { animation: hx-breathe 7s ease-in-out infinite alternate; }
  .hw.on-screen .hx-late { animation: hx-settle 24s ease 5s infinite both; }
  @keyframes hx-breathe { from { opacity: .35; } to { opacity: 1; } }
  @keyframes hx-settle { 0% { opacity: 0; transform: translateY(-11px); } 5%, 86% { opacity: 1; transform: translateY(0); } 92%, 100% { opacity: 0; transform: translateY(0); } }
}
/* The words for each */
.hw-words { grid-area: words; display: grid; align-content: start; margin-top: 30px; padding: 0 4px; }
.hw-panel { grid-area: 1 / 1; transition: opacity .45s ease .25s, transform .55s var(--ease) .25s, visibility 0s .25s; }
.hw-panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hw-lead { font-size: 22px; line-height: 1.32; font-weight: 500; letter-spacing: -.015em; color: var(--text); text-wrap: balance; }
.hw-panel.hw-d, #way-own:checked ~ .hw-words .hw-s { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .3s ease, visibility 0s .25s; }
#way-own:checked ~ .hw-words .hw-d { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .25s, transform .55s var(--ease) .25s, visibility 0s .25s; }

/* What both kinds of host include: the foot of the same card, which stays put while the rest changes */
.both { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 36px; }
.hw .both { grid-area: both; position: relative; display: block; margin-top: 24px; padding: 18px 4px 2px; border-top: 1px solid var(--line); }
.hw .both > p { margin-bottom: 10px; }
.hw .both ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hw .both li { padding-left: 25px; }
.hw .both li::before { top: 4px; width: 16px; height: 16px; background-size: 16px; }
.hw .both b { font-size: 15px; }
.both > p { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.both ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; }
.both li { position: relative; padding-left: 30px; }
.both li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.7 2.7L13 6.5' fill='none' stroke='%23ffc95f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.both b { display: block; font-size: 16px; font-weight: 600; }
/* Tablet: the switch, then the host, then the words */
@media (max-width: 980px) {
  .hw { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "seg" "host" "words" "both"; }
  .hw-seg { margin-bottom: 16px; }
  .hw-words { margin-top: 26px; }
  .hw-host { width: 100%; max-width: 500px; margin: 4px auto 0; }
  .hw .both { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 18px 4px 0; }
  .hw .both > p { margin: 0; }
}
/* Phone */
@media (max-width: 600px) {
  .hw { padding: 12px; }
  .hw-pick { left: 12px; top: 12px; }
  .hw-seg { margin-bottom: 12px; }
  .hw-seg label { min-height: 54px; padding: 7px 12px; }
  .hw-seg b { font-size: 15.5px; }
  .hw-host { margin: 8px auto 4px; }
  .hx-tag { font-size: 12px; }
  .hw-words { margin-top: 22px; padding: 0 8px; }
  .hw-lead { font-size: 19px; }
  .hw-panel .ticks { margin-top: 16px; gap: 9px; }
  /* On both: one short run of text */
  .hw .both { display: block; margin-top: 18px; padding: 14px 8px 4px; font-size: 14.5px; line-height: 1.55; }
  .hw .both > p { display: inline; margin: 0 8px 0 0; font-size: 11.5px; }
  .hw .both ul, .hw .both li, .hw .both b { display: inline; padding: 0; font-size: inherit; }
  .hw .both li:not(:last-child) { margin-right: 12px; }
  .hw .both b { font-weight: 500; color: #d6d8de; }
  .hw .both li { white-space: nowrap; }
  /* Each item carries its own small gold dot in front, so a wrapped line never ends on a stray separator */
  .hw .both li::before { position: static; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--gold); opacity: .8; }
}

/* CMP */
.cmp-head { display: flex; align-items: center; gap: 18px; }
.cmp-head img { border-radius: 14px; flex: none; }
.cmp-head h2 { margin-top: 6px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 48px; }
.feat { padding: 22px 22px 26px; overflow: hidden; display: flex; flex-direction: column; }
.feat:hover { transform: translateY(-3px); }
.feat h3 { margin-top: 20px; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.f-dash { grid-column: span 7; }
.f-edit { grid-column: span 5; }
.f-logs, .f-audit, .f-roles { grid-column: span 4; }
.f-find, .f-git { grid-column: span 6; }
kbd { display: inline-block; min-width: 22px; padding: 0 6px; margin: 0 1px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; font: 500 13px/20px var(--mono); text-align: center; color: var(--text); background: var(--surface-2); }

/* The small previews inside each card */
.vig { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); min-height: 176px; overflow: hidden; font-size: 13.5px; flex: 1 0 auto; }
.v-dash { display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 10px; padding: 12px; }
.tile { position: relative; display: flex; flex-direction: column; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.tile small { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.tile b { margin-top: 14px; font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile sub { font-size: 14px; font-weight: 500; color: var(--dim); vertical-align: baseline; margin-left: 5px; letter-spacing: 0; }
.tile em { margin-top: auto; font-style: normal; font-size: 12px; color: var(--green); }
.pulse { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.pulse .live { width: 6px; height: 6px; }
.spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 56px; fill: none; }
.spark path { stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
html:not(.js) .spark path { stroke-dashoffset: 0; }
.in .spark path { animation: draw 1.8s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.v-edit { display: flex; flex-direction: column; padding: 12px 0; }
.v-edit pre { font: 12.5px/1.7 var(--mono); color: #cfd2d9; white-space: pre; }
.ln { display: inline-block; width: 34px; padding-right: 12px; text-align: right; color: #4d515b; user-select: none; }
.k { color: #8ab4f8; }
.bad { text-decoration: underline wavy var(--red); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hint { margin: auto 12px 0; padding: 8px 11px; border-radius: 9px; border: 1px solid rgba(248, 113, 113, .35); background: #1d1416; color: #f1c6c6; font-size: 12.5px; line-height: 1.4; opacity: 0; transform: translateY(6px); transition: opacity .5s ease .9s, transform .5s var(--ease) .9s; }
.hint b { color: var(--red); font-weight: 600; margin-right: 4px; }
.in .hint, html:not(.js) .hint { opacity: 1; transform: none; }

.v-logs { position: relative; font: 11.5px/2 var(--mono); color: var(--muted); -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.logs-roll { position: absolute; left: 14px; right: 14px; top: 4px; }
.v-logs p { white-space: nowrap; height: 24px; overflow: hidden; }
.v-logs i { font-style: normal; color: #565a64; margin-right: 8px; }
.v-logs b { font-weight: 500; color: var(--green); }
@media (prefers-reduced-motion: no-preference) { .logs-roll { animation: roll 9s steps(6) infinite; } .f-logs:not(.on-screen) .logs-roll { animation-play-state: paused; } }
@keyframes roll { to { transform: translateY(-144px); } }

.v-audit, .v-roles { display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; }
.v-audit p, .v-roles p { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.35; }
.v-audit p:last-child, .v-roles p:last-child { border-bottom: 0; }
.v-audit p > span:nth-child(2) { flex: 1; min-width: 0; }
.v-audit b, .v-roles b { color: var(--text); font-weight: 500; }
.v-audit time { font: 11.5px var(--mono); color: var(--dim); }
.av { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #3b3222; color: var(--gold); font-size: 12px; font-weight: 600; }
.av-2 { background: #1d2f3f; color: #7cc4ff; }
.av-3 { background: #2a2540; color: #b7a6ff; }
.av-ai { background: #2b1d18; }
.av-ai .mark { width: 14px; height: 14px; }
.v-roles b { flex: 1; font-size: 14.5px; }
.role { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.role-a { border-color: var(--gold-line); color: var(--gold); background: var(--gold-soft); }
.role-o { border-color: rgba(124, 196, 255, .35); color: #7cc4ff; background: rgba(124, 196, 255, .08); }

.v-find { padding: 10px; }
.find-bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 15px; }
.find-bar svg { width: 17px; height: 17px; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; }
.find-q { flex: 1; }
.find-q::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--gold); }
@media (prefers-reduced-motion: no-preference) { .on-screen .find-q::after { animation: blink 1s steps(2) infinite; } }
.v-find ul { margin-top: 6px; }
.v-find li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.v-find li b { color: var(--gold); font-weight: 500; }
.v-find li .meta { color: var(--dim); font-size: 12.5px; }
.v-find .hit { background: var(--gold-soft); color: var(--text); }

/* Extras */
.duo { display: grid; gap: 20px; }
.wide { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; overflow: hidden; }
.wide-copy { padding: 36px; }
.wide .ticks { margin-top: 20px; gap: 10px; }
.wide h3, .vibe h3 { font-size: 26px; margin-top: 10px; letter-spacing: -0.02em; }
.wide p:not(.kicker), .vibe p:not(.kicker) { margin-top: 12px; color: var(--muted); }
/* The kiosk screen: a thin bezel, shown whole so the numbers can be read */
.tv { margin: 36px 36px 36px 0; padding: 7px; border-radius: 12px; background: linear-gradient(160deg, #2b2e36, #101114 45%); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tv img { width: 100%; border-radius: 6px; }
.vibe { padding: 36px; border-color: var(--gold-line); background: radial-gradient(120% 90% at 100% 0%, rgba(255, 201, 95, .14), transparent 60%), var(--surface); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center; }
.vibe > * { grid-column: 1; }
.vibe > p:not(.kicker) { max-width: 60ch; }
.vibe > .textlink { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding-top: 0; }
.textlink { margin-top: auto; padding-top: 22px; color: var(--gold); font-weight: 600; }
.textlink:hover { color: var(--gold-hover); }
.textlink span { display: inline-block; transition: transform .2s; }
.textlink:hover span { transform: translateX(4px); }

/* Included by default: firewall, threat protection, backups.
   One drawing in the same hand as the host picture above it (inline SVG, isometric, made by tools/make-guard-drawing.mjs; it
   borrows that picture's .hx classes and gradients). Your apps sit in their gold glass on the machine. Traffic comes in along
   the deck in front: it meets the firewall, then the threat check, then your apps. Beside the machine a smaller one keeps the
   backups, a short stack of copies. The markup is the finished picture; while it is on screen CSS alone plays one loop of 22s:
   other traffic is turned away at the firewall, a visitor passes and reaches an app, one that looks like a visitor is caught
   at the check, and a copy of the apps lifts out and settles on the stack. One thing moves at a time. */
#included { padding-top: 0; }
.guard { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); grid-template-areas: "words pic"; align-items: center; gap: 0 40px; margin-top: 44px; padding: 26px 30px 26px 38px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 70px -50px rgba(0, 0, 0, .95); }
.g-pic { grid-area: pic; position: relative; aspect-ratio: 514 / 344; }
/* The way in, the firewall and the check are neutral glass and steel; gold is kept for what is yours */
.gx-deck { stroke: rgba(255, 255, 255, .1); }
.gx-deck.t { fill: #15171c; }
.gx-deck.l { fill: #0f1014; }
.gx-deck.r { fill: #0a0b0e; }
.gx-lane { stroke: rgba(255, 255, 255, .3); stroke-dasharray: 1.5 5; }
.gx-lane-in { stroke: rgba(255, 201, 95, .5); }
.gx-fw { stroke: rgba(226, 232, 245, .5); }
.gx-fw.l { fill: url(#gx-fg); }
.gx-fw.t { fill: rgba(226, 232, 245, .35); }
.gx-fw.r { fill: rgba(226, 232, 245, .2); }
.gx-brick { stroke: rgba(226, 232, 245, .13); }
.gx-hit { fill: rgba(201, 150, 128, .13); opacity: 0; }
.gx-rip { stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.gx-rip-ok { stroke: var(--gold); }
.gx-rip-no { stroke: #c79a88; }
.gx-scanfill { fill: rgba(226, 232, 245, .04); }
.gx-post { stroke: rgba(226, 232, 245, .5); }
.gx-post.t { fill: rgba(226, 232, 245, .34); }
.gx-post.l { fill: rgba(226, 232, 245, .2); }
.gx-post.r { fill: rgba(226, 232, 245, .12); }
.gx-caught { stroke: #c9a392; stroke-width: 1.25; opacity: 0; }
.gx-band { transform: translateY(.7px); opacity: .6; }
.gx-band rect { fill: url(#gx-sg); }
.gx-band path { stroke: rgba(255, 240, 205, .75); }
/* Traffic: small lights. Visitors are gold; what is turned away is a muted, warm grey. At rest one of each is in the picture. */
.gx-web { fill: url(#gx-lg); }
.gx-dull { fill: url(#gx-dg); }
.gx-web.gx-core { fill: #fff6de; }
.gx-dull.gx-core { fill: #e6d5cc; }
.gx-l1 { transform: translate(77.4px, -44.7px); opacity: .85; }
.gx-l2 { transform: translate(227.3px, -131.3px); }
.gx-l3, .gx-l3b, .gx-warm { opacity: 0; }
.gx-warm { fill: url(#gx-wg); }
/* Backups: thin gold slices, the newest on top and brightest. The fourth is the one that arrives during the loop. */
.gx-tl { stroke: rgba(255, 201, 95, .5); }
.gx-tl.t { fill: rgba(255, 201, 95, .16); }
.gx-tl.l { fill: rgba(255, 201, 95, .1); }
.gx-tl.r { fill: rgba(255, 201, 95, .05); }
.gx-hi { opacity: 0; }
.gx-hi .gx-tl { stroke: var(--gold); }
.gx-hi .gx-tl.t { fill: rgba(255, 201, 95, .3); }
.gx-t2 .gx-hi, .gx-t3 .gx-hi { opacity: 1; }
.gx-t3, .gx-ghost, .gx-ghf { opacity: 0; }
.gx-bkglow { opacity: .45; }
.gx-gh { stroke: rgba(255, 214, 130, .95); }
.gx-gh.t { fill: rgba(255, 230, 173, .34); }
.gx-gh.l { fill: rgba(255, 201, 95, .2); }
.gx-gh.r { fill: rgba(255, 201, 95, .1); }
.gx-ghf { fill: rgba(255, 201, 95, .12); stroke: rgba(255, 201, 95, .7); }
/* The four words */
.gx-ld-you path, .gx-ld-bk path { stroke: rgba(255, 201, 95, .5); }
.gx-ld-you circle, .gx-ld-bk circle { fill: var(--gold); }
.gx-t-fw { left: 12.9%; top: calc(93.6% + 5px); }
.gx-t-sc { left: 27.7%; bottom: calc(93% + 5px); }
.gx-t-you { left: 75.7%; bottom: calc(93% + 5px); color: var(--gold); font-weight: 600; }
.gx-t-bk { left: 77.2%; top: calc(93.6% + 5px); color: var(--gold); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .guard.on-screen .gx-light { animation: 22s cubic-bezier(.45, .05, .35, 1) infinite; }
  .guard.on-screen .gx-l1 { animation-name: gx-l1; }
  .guard.on-screen .gx-l2 { animation-name: gx-l2; }
  .guard.on-screen .gx-l3 { animation-name: gx-l3; }
  .guard.on-screen .gx-l3a { animation: gx-l3a 22s ease infinite; }
  .guard.on-screen .gx-l3b { animation: gx-l3b 22s ease infinite; }
  .guard.on-screen .gx-rip-no { animation: gx-rip-no 22s ease-out infinite; }
  .guard.on-screen .gx-rip-ok { animation: gx-rip-ok 22s ease-out infinite; }
  .guard.on-screen .gx-hit { animation: gx-hit 22s ease infinite; }
  .guard.on-screen .gx-band { animation: gx-band 22s cubic-bezier(.45, .05, .35, 1) infinite; }
  .guard.on-screen .gx-caught { animation: gx-caught 22s ease infinite; }
  .guard.on-screen .gx-warm { animation: gx-warm 22s ease infinite; }
  .guard.on-screen .gx-ghost { animation: gx-ghost 22s cubic-bezier(.5, 0, .25, 1) infinite; }
  .guard.on-screen .gx-ghost-s { animation: gx-ghost-s 22s cubic-bezier(.5, 0, .25, 1) infinite; }
  .guard.on-screen .gx-ghf { animation: gx-ghf 22s ease infinite; }
  .guard.on-screen .gx-t3 { animation: gx-t3 22s ease infinite; }
  .guard.on-screen .gx-t0 { animation: gx-t0 22s ease infinite; }
  .guard.on-screen .gx-t2 .gx-hi { animation: gx-hi2 22s ease infinite; }
  .guard.on-screen .gx-stack { animation: gx-stack 22s cubic-bezier(.5, 0, .25, 1) infinite; }
  .guard.on-screen .gx-bkglow { animation: gx-bkglow 22s ease infinite; }
  .guard.on-screen .g-fw h3 { animation: g-lit-fw 22s ease infinite; }
  .guard.on-screen .g-tp h3 { animation: g-lit-tp 22s ease infinite; }
  .guard.on-screen .g-bk h3 { animation: g-lit-bk 22s ease infinite; }
  /* A little life between beats: the tallest app's light swells slowly */
  .guard.on-screen .gx-a2 .hx-glow { animation: gx-breathe 7s ease-in-out infinite alternate; }
  @keyframes gx-breathe { from { opacity: .35; } to { opacity: 1; } }
  /* gx-keyframes:start (written by tools/make-guard-drawing.mjs; change the times there) */
  @keyframes gx-l1 { 0% { transform: translate(0px, 0px); opacity: 0 } 1.82% { transform: translate(0px, 0px); opacity: 0 } 4.09% { opacity: 1 } 9.55% { transform: translate(77.4px, -44.7px); opacity: 1 } 12.27% { transform: translate(77.4px, -44.7px); opacity: .9 } 18.18% { transform: translate(72.2px, -41.7px); opacity: 0 } 100% { transform: translate(72.2px, -41.7px); opacity: 0 } }
  @keyframes gx-l2 { 0% { transform: translate(0px, 0px); opacity: 0 } 18.18% { transform: translate(0px, 0px); opacity: 0 } 20.45% { opacity: 1 } 25.45% { transform: translate(77.4px, -44.7px) } 31.36% { transform: translate(157.2px, -90.7px) } 32.73% { transform: translate(157.2px, -90.7px) } 38.64% { transform: translate(245.5px, -141.8px); opacity: 1 } 40.45% { transform: translate(245.5px, -141.8px); opacity: 0 } 100% { transform: translate(245.5px, -141.8px); opacity: 0 } }
  @keyframes gx-l3 { 0% { transform: translate(0px, 0px); opacity: 0 } 42.73% { transform: translate(0px, 0px); opacity: 0 } 45% { opacity: 1 } 50% { transform: translate(77.4px, -44.7px) } 55.91% { transform: translate(157.2px, -90.7px) } 63.18% { transform: translate(157.2px, -90.7px); opacity: 1 } 68.18% { transform: translate(154.1px, -88.9px); opacity: 0 } 100% { transform: translate(154.1px, -88.9px); opacity: 0 } }
  @keyframes gx-l3a { 0%, 59.55% { opacity: 1 } 62.27%, 100% { opacity: 0 } }
  @keyframes gx-l3b { 0%, 59.55% { opacity: 0 } 62.27%, 100% { opacity: 1 } }
  @keyframes gx-rip-no { 0%, 9.09% { opacity: 0; transform: scale(.4) } 10% { opacity: .9 } 16.36% { opacity: 0; transform: scale(1.5) } 100% { opacity: 0; transform: scale(1.5) } }
  @keyframes gx-hit { 0%, 9.09% { opacity: 0 } 11.36% { opacity: 1 } 17.73% { opacity: 0 } 100% { opacity: 0 } }
  @keyframes gx-rip-ok { 0%, 25% { opacity: 0; transform: scale(.4) } 25.91% { opacity: 1 } 31.36% { opacity: 0; transform: scale(2.1) } 49.55% { opacity: 0; transform: scale(.4) } 50.45% { opacity: 1 } 55.91% { opacity: 0; transform: scale(2.1) } 100% { opacity: 0; transform: scale(2.1) } }
  @keyframes gx-band { 0%, 29.55% { transform: translateY(1.05px); opacity: 0 } 30.45% { opacity: 1 } 34.09% { transform: translateY(0); opacity: 1 } 35.45% { transform: translateY(0); opacity: 0 } 55% { transform: translateY(1.05px); opacity: 0 } 55.91% { transform: translateY(1.05px); opacity: 1 } 62.27% { transform: translateY(0); opacity: 1 } 64.09% { transform: translateY(0); opacity: 0 } 100% { transform: translateY(0); opacity: 0 } }
  @keyframes gx-caught { 0%, 59.55% { opacity: 0 } 62.27% { opacity: 1 } 66.36% { opacity: 1 } 70.91% { opacity: 0 } 100% { opacity: 0 } }
  @keyframes gx-warm { 0%, 38.18% { opacity: 0 } 40.91% { opacity: 1 } 48.18% { opacity: 0 } 100% { opacity: 0 } }
  @keyframes gx-ghost { 0%, 70% { transform: translate(0px, 0px); opacity: 0 } 71.82% { opacity: 1 } 75.91% { transform: translate(0px, -58.5px) } 84.55% { transform: translate(148.1px, 17.4px); opacity: 1 } 88.64% { transform: translate(148.1px, 50.4px); opacity: 0 } 100% { transform: translate(148.1px, 50.4px); opacity: 0 } }
  @keyframes gx-ghost-s { 0%, 75.91% { transform: scale(1) } 84.55%, 100% { transform: scale(0.429) } }
  @keyframes gx-ghf { 0%, 77.27% { opacity: 0 } 84.55% { opacity: 1 } 100% { opacity: 1 } }
  @keyframes gx-t3 { 0%, 86.36% { opacity: 0 } 89.09%, 100% { opacity: 1 } }
  @keyframes gx-t0 { 0%, 90.45% { opacity: 1 } 92.73%, 100% { opacity: 0 } }
  @keyframes gx-stack { 0%, 92.27% { transform: translateY(0) } 96.36%, 100% { transform: translateY(11.7px) } }
  @keyframes gx-hi2 { 0%, 87.73% { opacity: 1 } 90.91%, 100% { opacity: 0 } }
  @keyframes gx-bkglow { 0%, 86.36% { opacity: .45 } 90% { opacity: 1 } 98.18%, 100% { opacity: .45 } }
  @keyframes g-lit-fw { 0%, 7.73% { color: var(--text) } 10%, 15.45% { color: var(--gold) } 18.18%, 23.64% { color: var(--text) } 25.45%, 29.09% { color: var(--gold) } 31.82%, 100% { color: var(--text) } }
  @keyframes g-lit-tp { 0%, 54.55% { color: var(--text) } 56.82%, 66.36% { color: var(--gold) } 69.55%, 100% { color: var(--text) } }
  @keyframes g-lit-bk { 0%, 70% { color: var(--text) } 72.27%, 93.64% { color: var(--gold) } 97.27%, 100% { color: var(--text) } }
  /* gx-keyframes:end */
}
/* The words for each part, set as a key to the drawing: a hairline runs down the side with a dot at each heading, like the
   drawing's own leader lines. The heading of the part at work is gold, and its dot with it. Heading, one line of words, then
   the small tag, all on one left edge. */
.g-words { grid-area: words; }
.g-part { position: relative; padding: 0 0 34px 30px; }
.g-part:last-child { padding-bottom: 0; }
.g-part::before { content: ""; position: absolute; left: 3px; top: 14px; bottom: -14px; width: 1px; background: var(--line-2); }
.g-part:last-child::before { content: none; }
.g-part h3 { font-size: 21px; letter-spacing: -0.02em; }
.g-part h3::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px var(--surface); }
.g-part p { max-width: 34ch; margin-top: 7px; font-size: 15.5px; line-height: 1.55; color: var(--muted); text-wrap: balance; }
.g-part .tag { display: inline-block; margin-top: 14px; padding: 3px 10px; font-size: 12px; }
/* Tablet: the picture, then the three parts side by side under it, tags on one line */
@media (max-width: 980px) {
  .guard { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pic" "words"; gap: 8px; padding: 22px 26px 26px; }
  .g-pic { width: 100%; max-width: 530px; margin: 0 auto; }
  .g-words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; padding-top: 4px; border-top: 1px solid var(--line); }
  .g-part { display: grid; grid-template-rows: auto 1fr auto; justify-items: start; padding: 22px 0 0; }
  .g-part::before, .g-part h3::before { content: none; }
  .g-part h3 { font-size: 19px; }
  .g-part p { font-size: 15px; }
}
/* Phone: the picture, then the parts one under another down the hairline */
@media (max-width: 680px) {
  .guard { margin-top: 30px; padding: 14px 16px 22px; gap: 6px; }
  .g-pic { width: auto; margin: 4px -8px 10px; }
  .g-words { display: block; padding: 22px 2px 0; }
  .g-part { display: block; padding: 0 0 26px 26px; }
  .g-part::before, .g-part h3::before { content: ""; }
  .g-part:last-child::before { content: none; }
  .g-part h3::before { top: 9px; }
  .g-part p { max-width: none; margin-top: 5px; }
  .g-part .tag { margin-top: 11px; }
}

/* Bills: each one is a sheet of paper lying on the dark page. Ink on paper, a letterhead, ruled lines, a rubber stamp.
   The cloud bill is torn off along the bottom because it runs on to another page; ours is one whole sheet. */
.bills { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; align-items: start; }
.bill { --ink: #1c1d21; --ink-2: #5d6069; --rule: rgba(20, 22, 28, .16); --accent: #b3261e; --paper: linear-gradient(172deg, #f6f7f9, #e7e9ed);
  position: relative; isolation: isolate; padding: 30px 34px 26px; color: var(--ink); rotate: -.7deg;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)) drop-shadow(0 22px 28px rgba(0, 0, 0, .55)); }
.bill::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 2px; background: var(--paper); }
.bill-them { padding-bottom: 36px; }
.bill-them::before { border-radius: 2px 2px 0 0; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.bill-us { --accent: #8f5b00; --paper: linear-gradient(var(--gold) 0 0) top / 100% 6px no-repeat, linear-gradient(172deg, #fcfaf4, #f1ecdf); rotate: .6deg; }
.bill-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.bill-from { display: flex; align-items: center; gap: 11px; min-width: 0; }
.bill-from svg { flex: none; width: 30px; height: 30px; fill: var(--ink-2); }
.bill-from img { flex: none; }
.bill h3 { font-size: 18px; color: var(--ink); }
.bill-kind { font-size: 24px; font-weight: 300; line-height: 30px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.bill-meta dt, .bill-cols { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.bill-meta { display: flex; gap: 40px; margin: 0; padding: 26px 0 24px; }
.bill-meta dd { margin: 3px 0 0; font-size: 14.5px; line-height: 1.3; }
/* The stamp: pressed on by hand, so it sits crooked and the ink is uneven */
.stamp { position: absolute; top: 88px; right: 30px; padding: 5px 12px 4px; border: 2px solid currentColor; border-radius: 4px; outline: 1px solid currentColor; outline-offset: 2px; rotate: -8deg; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); opacity: .78; -webkit-mask: radial-gradient(circle at 30% 40%, #000 55%, rgba(0, 0, 0, .55)); mask: radial-gradient(circle at 30% 40%, #000 55%, rgba(0, 0, 0, .55)); }
.bill-cols, .bill li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: baseline; }
.bill-them .bill-cols, .bill-them li { grid-template-columns: 1fr 104px 80px; }
.bill-cols { padding: 8px 0 7px; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--ink); }
.bill-cols span:last-child, .bill i { text-align: right; }
.bill li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.bill em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.bill i { font-style: normal; font-family: var(--mono); font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.incl::before { content: "✓"; margin-right: 7px; color: var(--accent); }
.bill-sub, .total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bill-sub { padding: 11px 0; font-size: 14px; color: var(--ink-2); }
.bill-them li i, .bill-sub i { color: var(--accent); }
.total { padding: 12px 0 11px; border-top: 1.5px solid var(--ink); border-bottom: 4px double var(--ink); font-weight: 600; font-size: 16.5px; }
.total span { white-space: nowrap; }
.total i { font-size: 14.5px; font-weight: 600; white-space: normal; }
.bill-them .total i { font-weight: 500; color: var(--ink-2); }
.bill-us .total i { color: var(--accent); }
.bill-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.bill-foot span:last-child { flex: none; font-family: var(--mono); font-size: 11.5px; }
.bill ::selection { background: var(--ink); color: #fff; }
/* The bills in motion. site.js adds .play to the pair when motion is allowed; without it both sheets are simply there, finished.
   The cloud bill prints line by line, then its meters run on quietly: an amount eases up now and then, and once in a while
   a new line arrives under the two big ones (compute and data out stay put at the top).
   Ours is whole from the start; its stamp is pressed on once, and a highlighter runs over the total. */
.play .bill-them { --row: 45px; }
.play .bill-roll { height: calc(var(--row) * 5); overflow: hidden; }
.play .bill-them li { height: var(--row); }
.play .bill-them li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.play .bill-roll ul.roll { transform: translateY(calc(var(--row) * -1)); transition: transform 1.3s cubic-bezier(.45, 0, .2, 1); }
.play .bill-them :is(li, .bill-sub, .total, .bill-foot) { transition: opacity .45s ease, transform .55s var(--ease); }
.play .bill-them :is(li, .bill-sub, .total, .bill-foot):not(.is-in) { opacity: 0; transform: translateY(-5px); }
.play .bill-us .stamp { opacity: 0; }
.play .bill-us.stamped .stamp { opacity: .78; animation: stamp-press .52s both; }
/* Quick down, pressed a touch too far, lifted off, and the wet ink dries back a little */
@keyframes stamp-press {
  0% { opacity: 0; scale: 1.5; animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  38% { opacity: 1; scale: .955; animation-timing-function: ease-out; }
  62% { opacity: 1; scale: 1.012; animation-timing-function: ease-in-out; }
  100% { opacity: .78; scale: 1; }
}
.play .bill-us.thud { animation: bill-thud .3s ease-out .19s; }
@keyframes bill-thud { 30% { translate: 0 1.2px; } }
.play .bill-us .total i { margin-right: -5px; padding: 1px 5px; border-radius: 2px; background: linear-gradient(rgba(255, 201, 95, .5) 0 0) 0 78% / 0 58% no-repeat; transition: background-size .8s var(--ease) .55s; }
.play .bill-us.stamped .total i { background-size: 100% 58%; }
/* On a phone the two sheets become one pile: one on top, the other tucked behind with its letterhead showing.
   The switch above, a tap on the sheet behind, or a sideways swipe brings the other one forward. */
.bill-pick[hidden] { display: none; }
.bill-pick { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 400px; margin-top: 34px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.bill-pick::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; border: 1px solid var(--gold-line); background: var(--gold-soft); transition: transform .55s var(--ease); }
.bill-pick.is-us::before { transform: translateX(100%); }
.bill-pick button { position: relative; min-height: 44px; padding: 0 8px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: color .3s; -webkit-tap-highlight-color: transparent; }
.bill-pick button[aria-pressed="true"] { color: var(--text); }
.bill-pick button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.bills.deck { --peek: 58px; margin-top: 18px; padding-bottom: var(--peek); align-items: stretch; touch-action: pan-y; }
.deck .bill { grid-area: 1 / 1; rotate: none; transform-origin: 50% 0; }
.deck .bill::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 2px; background: #0b0c10; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.deck .bill-them::after { -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.deck .is-front { z-index: 2; transform: translateY(var(--peek)); }
.deck .is-back { z-index: 1; transform: scale(.94); cursor: pointer; }
.deck .is-back::after { opacity: .46; }
.deck .to-front { animation: bill-front .85s; }
.deck .to-back { animation: bill-back .85s; }
@keyframes bill-back {
  0% { z-index: 2; transform: translateY(var(--peek)); animation-timing-function: cubic-bezier(.4, 0, .5, 1); }
  46% { z-index: 2; transform: translate(-44%, calc(var(--peek) * .7)) rotate(-4deg); }
  50% { z-index: 1; transform: translate(-44%, calc(var(--peek) * .7)) rotate(-4deg); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  100% { z-index: 1; transform: scale(.94); }
}
@keyframes bill-front {
  0% { z-index: 1; transform: scale(.94); animation-timing-function: cubic-bezier(.4, 0, .5, 1); }
  46% { z-index: 1; transform: translate(4%, calc(var(--peek) * .4)) scale(.97); }
  50% { z-index: 2; transform: translate(4%, calc(var(--peek) * .4)) scale(.97); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  100% { z-index: 2; transform: translateY(var(--peek)); }
}
/* Tablet: still side by side, set a little smaller so nothing wraps */
@media (min-width: 681px) and (max-width: 980px) {
  .bills { gap: 24px; }
  .bill { padding: 26px 22px 22px; }
  .bill-them { padding-bottom: 32px; }
  .bill h3 { font-size: 16.5px; }
  .bill-kind { font-size: 18px; }
  .bill-meta { gap: 24px; padding: 22px 0 20px; }
  .stamp { top: 78px; right: 18px; padding: 4px 8px 3px; font-size: 11px; }
  .bill-them .bill-cols, .bill-them li { grid-template-columns: minmax(0, 1fr) 86px 66px; column-gap: 10px; }
  .bill li { font-size: 14.5px; }
  .bill em { font-size: 11.5px; }
  .bill i { font-size: 13px; }
  .play .bill-them { --row: 44px; }
}
@media (max-width: 680px) {
  .play .bill-them { --row: 44px; }
  .bill-pick { max-width: none; margin-top: 28px; }
  /* The firefly jar sits in the bottom right corner of a phone screen: keep the page number clear of it */
  .bills .bill-foot { padding-right: 58px; }
}
@media (max-width: 370px) { .bill-pick button { font-size: 13.5px; } }
.fine { margin-top: 26px; font-size: 15px; color: var(--dim); }
.fine-2 { margin-top: 8px; }

/* Startups */
.startup { grid-template-columns: 1.1fr 1fr; }
.startup .cta-row { margin-top: 30px; }
.bill-free { rotate: 1deg; }

/* Steps: one fine line from stop to stop, and under each stop a small piece of the real thing: the sign-up fields,
   the space being set up, the apps coming online. Markup is the finished state; site.js plays it once (.play, then .on and
   .done on each stop, .ok on each row) as the stops come into view. Kept small on purpose: the deploy section has the big scenes. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 0 40px; margin-top: 48px; }
.steps li { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; min-width: 0; }
/* The line: a faint track from this stop to the next, and the gold that runs along it */
.steps li::before, .steps li::after { content: ""; position: absolute; left: 38px; right: -28px; top: 13px; height: 1px; background: var(--line-2); }
.steps li::after { background: linear-gradient(90deg, rgba(255, 201, 95, .55), var(--gold)); transform-origin: left; transition: transform 1s var(--ease); }
.steps li:last-child::before, .steps li:last-child::after { display: none; }
.st-n { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--gold); border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 13.5px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 5px var(--gold-soft); transition: background .5s ease, color .5s ease, border-color .5s ease, box-shadow .6s ease; }
/* The line ends at the last stop, which settles to the same green as "online" once the apps are up */
.steps li:last-child .st-n { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 5px rgba(74, 222, 128, .13); }
.st-copy { margin-top: 22px; padding-right: 12px; }
.st-copy h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.st-copy p { margin-top: 8px; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.st-art { width: 100%; max-width: 320px; margin-top: 24px; font-size: 13px; line-height: 1.3; transition: opacity .6s ease; }
.st-art b { font-weight: 500; }
.st-art i { font-style: normal; }

/* 1: two fields from the sign-up form */
.st-form { display: grid; gap: 14px; align-content: start; }
.st-f { display: grid; gap: 5px; }
.st-f > span:first-child { height: 16px; font-size: 12.5px; font-weight: 500; line-height: 16px; color: var(--dim); }
.st-in { display: flex; align-items: center; height: 34px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 9px; background: #0d0e12; color: var(--text); font-size: 13.5px; white-space: nowrap; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease; }
.st-in i { margin-right: 2px; color: var(--dim); }
.st-user { font-family: var(--mono); font-size: 13px; }
.st-in.typing { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 95, .16); }
.st-in.typing .st-type::after { content: ""; display: inline-block; width: 1.5px; height: 1.15em; margin-left: 2px; vertical-align: -0.2em; background: var(--gold); }

/* 2 and 3: a short list. A tick for each thing we set up; a status for each app */
.st-cap { height: 22px; font-size: 12.5px; font-weight: 500; color: var(--dim); }
.st-row { display: flex; align-items: center; gap: 10px; height: 34px; border-top: 1px solid var(--line); color: var(--text); }
.st-row:last-child { height: 33px; border-bottom: 1px solid var(--line); }
.st-row b { min-width: 0; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .4s ease; }
.st-apps .st-row b { font-family: var(--mono); font-size: 12.5px; }
.st-tick { flex: none; width: 18px; height: 18px; border: 1px solid rgba(74, 222, 128, .34); border-radius: 50%; background: rgba(74, 222, 128, .1); fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: border-color .4s ease, background .4s ease; }
.st-tick path { stroke-dasharray: 11; stroke-dashoffset: 0; transition: stroke-dashoffset .45s var(--ease) .1s; }
.st-state { flex: none; display: grid; font-size: 12px; color: var(--green); }
.st-state i { grid-area: 1 / 1; justify-self: end; white-space: nowrap; transition: opacity .35s ease, transform .45s var(--ease); }
.st-state i:first-child { opacity: 0; color: var(--dim); }
.st-pill i { display: inline-flex; align-items: center; gap: 7px; height: 22px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 999px; }
.st-pill i:last-child { border-color: rgba(74, 222, 128, .3); background: rgba(74, 222, 128, .08); font-weight: 600; }
.st-pill i:last-child::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Playing: every stop starts unlit and waits its turn */
.steps.play li:not(.done)::after { transform: scaleX(0); }
.steps.play li:not(.on) .st-n { border-color: var(--line-2); background: transparent; color: var(--dim); box-shadow: 0 0 0 5px transparent; }
.steps.play li:last-child.on:not(.done) .st-n { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.steps.play li:not(.on) .st-art { opacity: .55; }
.steps.play .st-row:not(.ok) b { color: var(--muted); }
.steps.play .st-row:not(.ok) .st-tick { border-color: var(--line-2); background: transparent; }
.steps.play .st-row:not(.ok) .st-tick path { stroke-dashoffset: 11; transition: none; }
.steps.play .st-row:not(.ok) .st-state i:first-child { opacity: 1; }
.steps.play .st-row:not(.ok) .st-state i:last-child { opacity: 0; transform: translateY(3px); }

/* Tablet: the stops stack, the line runs down the left, and each piece sits beside its words */
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; margin-top: 40px; }
  .steps li { grid-row: auto; grid-template-rows: none; grid-template-columns: 27px minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; align-items: start; padding-bottom: 40px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before, .steps li::after { left: 13px; right: auto; top: 39px; bottom: 12px; width: 1px; height: auto; }
  .steps li::after { background: linear-gradient(180deg, rgba(255, 201, 95, .55), var(--gold)); transform-origin: top; }
  .steps.play li:not(.done)::after { transform: scaleY(0); }
  .st-copy { margin-top: 1px; padding-right: 0; }
  .st-art { margin-top: 4px; max-width: none; }
}
/* Phone: the piece goes under its words, trimmed to the one line that matters so the section stays short */
@media (max-width: 680px) {
  .steps { margin-top: 26px; }
  .steps li { grid-template-columns: 27px minmax(0, 1fr); column-gap: 16px; padding-bottom: 20px; }
  .steps li::before, .steps li::after { top: 37px; bottom: 10px; }
  .st-copy p { margin-top: 4px; }
  .st-art { grid-column: 2; margin-top: 10px; }
  .st-cap, .st-f > span:first-child, .st-f + .st-f, .st-apps .st-row:last-child { display: none; }
  .st-row, .st-row:last-child { height: 27px; }
  .st-row { border-bottom: 0; }
  .st-apps .st-row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .st-setup .st-row:last-child { border-bottom: 1px solid var(--line); }
}

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold); font-size: 18px; line-height: 1; transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold-soft); }
.faq summary:hover { color: var(--gold); }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); }
.faq details a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
/* Answers open smoothly where the browser can animate to a natural height */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: hidden; opacity: 0; transition: height .35s var(--ease), opacity .3s ease, content-visibility .35s allow-discrete; }
    .faq details[open]::details-content { height: auto; opacity: 1; }
  }
}

/* CTA + footer */
.cta { position: relative; overflow: hidden; padding: 120px 0 130px; border-top: 1px solid var(--line); }
.glow-low { position: absolute; inset: auto 0 0; height: 620px; pointer-events: none; background: radial-gradient(48% 78% at 50% 100%, rgba(255, 201, 95, .13), transparent 72%); }
.cta .wrap { position: relative; }
.talk { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.talk-copy { padding-top: 12px; }
.talk-copy .fine a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.talk-form { border: 1px solid var(--line-2); border-radius: 20px; background: #14161b; overflow: hidden; min-height: 868px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.talk-form iframe { display: block; width: 100%; border: 0; }
.talk-form noscript { display: grid; place-items: center; min-height: 868px; }
.foot { border-top: 1px solid var(--line); padding: 32px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14.5px; color: var(--dim); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); }
.foot nav a { transition: color .2s; }
.foot p { margin-left: auto; }


.v-git { display: flex; flex-direction: column; justify-content: center; padding: 8px 14px; }
.v-git p { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.35; }
.v-git p:last-child { border-bottom: 0; }
.v-git b { color: var(--text); font-weight: 500; }
.git-repo .mark { width: 20px; height: 20px; color: var(--text); }
.git-row i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(74, 222, 128, .14); color: var(--green); font-style: normal; font-size: 12px; }
.git-row > span { flex: 1; min-width: 0; }
.git-row small { display: block; font-size: 12px; color: var(--dim); }
.git-row em { font-style: normal; font-size: 12.5px; color: #7cc4ff; white-space: nowrap; }

/* Phones: a thin dark body, a status bar, and the screen. Everything inside scales with --w. */
.phones { display: flex; justify-content: center; align-items: center; padding: 10px 0; }
.phone { --w: 200px; position: relative; flex: none; width: var(--w); margin: 0; padding: calc(var(--w) * .034); border-radius: calc(var(--w) * .176); font-size: calc(var(--w) / 22);
  background: linear-gradient(135deg, #53555f 0%, #1c1d22 20%, #0d0e11 50%, #1c1d22 80%, #43454e 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .7); }
/* Side buttons: the action key and two volume keys on the left, power on the right */
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2f3138; }
.phone::before { left: -2.5px; top: 17%; height: 4.5%; box-shadow: 0 calc(var(--w) * .17) 0 #2f3138, 0 calc(var(--w) * .2) 0 #2f3138, 0 calc(var(--w) * .34) 0 #2f3138, 0 calc(var(--w) * .37) 0 #2f3138; }
.phone::after { right: -2.5px; top: 29%; height: 12%; }
.phone-screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * .142); background: #090b0f; box-shadow: 0 0 0 calc(var(--w) * .022) #000; }
.phone-screen img { width: 100%; }
.statusbar { position: relative; display: flex; align-items: center; justify-content: space-between; height: calc(var(--w) * .125); padding: calc(var(--w) * .022) calc(var(--w) * .07) 0 calc(var(--w) * .095); font-size: .9em; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.statusbar svg { width: calc(var(--w) * .19); height: auto; fill: currentColor; }
.island { position: absolute; left: 50%; top: calc(var(--w) * .03); width: calc(var(--w) * .29); height: calc(var(--w) * .086); transform: translateX(-50%); border-radius: calc(var(--w) * .05); background: #000; }
.island::after { content: ""; position: absolute; right: 12%; top: 50%; width: calc(var(--w) * .028); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 36% 34%, #2a3352 0, #0b0d16 55%, #05060a 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.p-main { --w: 240px; z-index: 2; }
/* The lock screen runs edge to edge: its status bar sits on the wallpaper, and the big clock replaces the small one */
.p-main .statusbar { position: absolute; inset: 0 0 auto; z-index: 3; }
.p-main .statusbar span { visibility: hidden; }
.p-main .phone-screen::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 22%, transparent 38%); }
.p-left { --w: 190px; margin-right: -34px; transform: rotate(-5deg) translateY(10px); }
.p-right { --w: 190px; margin-left: -34px; transform: rotate(5deg) translateY(10px); }
.p-left .phone-screen::after, .p-right .phone-screen::after { content: ""; position: absolute; inset: 0; background: rgba(9, 11, 15, .32); }

.lock { position: relative; aspect-ratio: 390 / 844; display: flex; flex-direction: column; align-items: center; padding: 3.5em .7em 5.9em; text-align: center; color: #fff;
  background: radial-gradient(120% 55% at 50% 0%, rgba(255, 201, 95, .26), transparent 70%), radial-gradient(90% 50% at 85% 100%, rgba(57, 135, 229, .2), transparent 70%), #0a0c11; }
.lock-glyph { width: .95em; height: auto; fill: currentColor; opacity: .9; }
.lock-date { margin-top: .75em; font-size: 1.12em; font-weight: 500; color: rgba(255, 255, 255, .82); }
.lock-time { font-size: 6.3em; line-height: 1; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.pushes { align-self: stretch; display: grid; gap: .5em; margin-top: auto; text-align: left; }
.push { display: flex; align-items: center; gap: .7em; padding: .72em .8em; border-radius: 1.4em; background: rgba(48, 50, 58, .86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 .5em 1.2em -.6em rgba(0, 0, 0, .7); }
.lock-keys { position: absolute; left: 2.4em; right: 2.4em; bottom: 2.3em; display: flex; justify-content: space-between; }
.lock-keys i { display: grid; place-items: center; width: 2.7em; height: 2.7em; border-radius: 50%; background: rgba(60, 62, 72, .7); }
.lock-keys svg { width: 1.3em; height: 1.3em; fill: #fff; }
.home-bar { position: absolute; left: 50%; bottom: .5em; width: 35%; height: .28em; transform: translateX(-50%); border-radius: 1em; background: rgba(255, 255, 255, .92); }
.push img { flex: none; width: 2.5em; height: 2.5em; border-radius: .6em; }
.push div { min-width: 0; flex: 1; }
.push small { display: flex; justify-content: space-between; font-size: .72em; color: rgba(255, 255, 255, .55); }
.push b { display: block; font-size: .86em; font-weight: 600; line-height: 1.25; }
.push span { display: block; font-size: .8em; line-height: 1.3; color: rgba(255, 255, 255, .7); }
/* The lock screen starts quiet. site.js brings each notification in, newest on top, holds, clears and starts over. */
@media (prefers-reduced-motion: no-preference) {
  .js .push { opacity: 0; transform: translateY(-.9em) scale(.86); transform-origin: 50% 0; transition: opacity .28s ease-out, transform .6s cubic-bezier(.2, 1.4, .35, 1); will-change: transform, opacity; }
  .js .push.is-in { opacity: 1; transform: none; }
  .js .clearing .push.is-in { opacity: 0; transform: translateY(.9em) scale(.97); transition: opacity .35s ease-in, transform .45s ease-in; }
  .js .clearing .push:nth-child(2) { transition-delay: .06s; }
  .js .clearing .push:nth-child(3) { transition-delay: .12s; }
}

/* Pricing: how the big clouds meter things */
.know { margin-top: 36px; padding: 0; border: 1px solid var(--gold-line); border-radius: var(--radius); background: radial-gradient(120% 120% at 0% 0%, rgba(255, 201, 95, .10), transparent 60%), var(--surface); }
.know-tag { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 3px 10px; border-radius: 6px; }
.know h3 { margin-top: 14px; font-size: clamp(20px, 2.3vw, 26px); line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.know summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 26px 28px; cursor: pointer; list-style: none; border-radius: var(--radius); }
.know summary::-webkit-details-marker { display: none; }
.know-open { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 15.5px; font-weight: 500; color: var(--gold); }
.know-open::after { content: "+"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold-line); font-size: 16px; line-height: 1; transition: transform .3s var(--ease), background .2s; }
.know[open] .know-open::after { transform: rotate(45deg); background: var(--gold-soft); }
.know.closing .know-open::after { transform: none; background: none; }
.know summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.know-p { padding: 0 28px; color: var(--muted); }
.know .meters { width: auto; margin: 20px 28px 0; }
.know .sources { margin: 14px 28px 26px; }
/* It opens and closes smoothly (site.js eases the height, so it works on iPhones too), and the rows arrive one after another */
.know-body { overflow: hidden; }
.know.opening .meters tbody tr { animation: know-row .55s var(--ease) both; }
.know.opening .meters tbody tr:nth-child(1) { animation-delay: .1s; }
.know.opening .meters tbody tr:nth-child(2) { animation-delay: .15s; }
.know.opening .meters tbody tr:nth-child(3) { animation-delay: .2s; }
.know.opening .meters tbody tr:nth-child(4) { animation-delay: .25s; }
.know.opening .meters tbody tr:nth-child(5) { animation-delay: .3s; }
.know.opening .meters tbody tr:nth-child(6) { animation-delay: .35s; }
.know.opening .meters tbody tr:nth-child(7) { animation-delay: .4s; }
@keyframes know-row { from { opacity: 0; transform: translateY(8px); } }
/* Phone: each meter is a short entry. What is metered and our "Included" share the first line, their price sits underneath */
@media (max-width: 680px) {
  .know .meters thead { display: block; }
  .know .meters tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: baseline; }
  .know .meters thead tr { padding-top: 11px; padding-bottom: 10px; background: rgba(255, 255, 255, .02); }
  .know .meters thead th { width: auto; padding: 0; border: 0; font-size: 11.5px; white-space: nowrap; }
  .know .meters thead th:nth-child(2) { display: none; }
  .know .meters thead th:last-child { width: auto; border: 0; background: none; color: var(--gold); }
  .know .meters tbody tr:first-child { border-top: 1px solid var(--line); }
  .know .meters td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
  .know .meters td:last-child { grid-column: 2; grid-row: 1; margin-top: 0; }
  .know .inc::after { content: none; }
}
.meters { width: 100%; margin-top: 20px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); font-size: 15.5px; }
.meters th, .meters td { padding: 15px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.meters thead th { border-top: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: rgba(255, 255, 255, .02); }
.meters tbody th { width: 27%; font-weight: 600; color: var(--text); }
.meters td { color: var(--muted); }
.meters td b { color: #d6d8de; font-weight: 500; }
.meters code { font-size: .92em; padding: 1px 6px; border-radius: 5px; background: rgba(248, 113, 113, .10); color: #f6b4b4; white-space: nowrap; }
.meters td:last-child, .meters thead th:last-child { width: 150px; background: rgba(255, 201, 95, .05); border-left: 1px solid var(--gold-line); }
.inc { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-weight: 600; white-space: nowrap; }
.inc::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft); font-size: 11px; }
.sources { margin-top: 14px; font-size: 13.5px; }
.sources a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sources a:hover { color: var(--text); }

/* Wide screens get frosted glass behind the nav; phones keep it solid, which scrolls more smoothly */
@media (min-width: 981px) {
  .nav.stuck { background: rgba(11, 12, 15, 0.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
}

/* Buzz marks: two arcs off each top corner of the lock-screen phone, drawn around the corner's own centre. site.js flashes them as a notification lands. */
.buzz { position: absolute; left: calc(var(--w) * -.08); top: calc(var(--w) * -.08); width: calc(var(--w) * .26); height: calc(var(--w) * .26); overflow: visible; pointer-events: none; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(255, 201, 95, .55)); }
/* Foxfire threads behind the three deploy steps (site.js): fine glowing threads from picture to picture.
   They grow in once, then stay; the ones round the step being played ease a little brighter. */
.foxfire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
#deploy > .wrap { position: relative; }
.foxfire path { fill: none; stroke: #78ecbe; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 1; }
.foxfire circle { fill: url(#foxglow); opacity: 0; }
.foxfire.grown path { stroke-dashoffset: 0; }
.foxfire.grown circle { opacity: .8; }
.foxfire g { opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .foxfire.grown path { transition: stroke-dashoffset var(--t) linear var(--d); }
  .foxfire.grown circle { transition: opacity 3s ease var(--d); }
  .foxfire g { transition: opacity 2.6s ease-in-out; }
  #deploy:has(.trio.play) .foxfire g { opacity: .6; }
  #deploy:has(.trio.a1:not(.a4)) .foxfire .fs1,
  #deploy:has(.trio.a2:not(.a4)) .foxfire .fl1,
  #deploy:has(.trio.a3:not(.a6)) .foxfire .fs2,
  #deploy:has(.trio.a5) .foxfire .fl2,
  #deploy:has(.trio.a6) .foxfire .fs3 { opacity: 1; }
}
@media print { .foxfire { display: none; } }
/* Sea sparkle behind the alerts section (site.js): dark at rest, lights where it is disturbed */
.glowsea { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#phone > .wrap { position: relative; }
@media print { .glowsea { display: none; } }
/* Glow-worm ceiling along the top of the hosting section (site.js): steady lights, each over a beaded thread */
.glowworms { position: absolute; inset: 0 0 auto; overflow: hidden; pointer-events: none; }
#hosting > .wrap { position: relative; }
.glowworms i { position: absolute; left: var(--x); top: 0; width: 3px; height: var(--l); margin-left: -1.5px; opacity: .8; }
.glowworms i::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(196, 255, 240, .85) 0 .8px, transparent 1.3px) center top / 3px var(--gap) repeat-y, linear-gradient(rgba(140, 236, 214, .2), rgba(140, 236, 214, .2)) center / 1px 100% no-repeat;
  -webkit-mask-image: linear-gradient(#000, rgba(0, 0, 0, .45) 50%, transparent); mask-image: linear-gradient(#000, rgba(0, 0, 0, .45) 50%, transparent); }
.glowworms i::after { content: ""; position: absolute; left: 50%; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #d4fff4; transform: translate(-50%, -50%) scale(var(--s));
  box-shadow: 0 0 6px 1px rgba(112, 240, 208, .9), 0 0 24px 7px rgba(70, 220, 190, .26); }
@media (prefers-reduced-motion: no-preference) {
  .glowworms i { animation: gw-swell var(--t) ease-in-out var(--d) infinite alternate; }
  @keyframes gw-swell { from { opacity: .4; } to { opacity: 1; } }
}
@media print { .glowworms { display: none; } }
/* Jellyfish behind the security section (site.js): one pale moon jelly in the empty corner above the scene, holding station.
   .jelly is the window it is seen through (it reaches up into the gap above the heading and clips at the page edge). Inside, from
   the outside in: drift (a slow wander), tilt (it leans as it goes), go (the glide after each squeeze), squeeze (the bell narrows),
   then the parts, all drawn on one sheet: threads, mouth arms, bell. Only transform is animated. */
.jelly { --w: 176px; position: absolute; inset: -104px 0 0; overflow: hidden; pointer-events: none; }
#included > .wrap { position: relative; }
.jf-drift { position: absolute; left: min(calc(50% + 478px), calc(100% - var(--w) * 1.05)); top: 58px; width: var(--w); height: calc(var(--w) * 2.2); opacity: .8; }
.jf-tilt, .jf-go, .jf-squeeze, .jelly svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jelly svg { overflow: visible; fill: none; stroke-linecap: round; }
.jf-tilt { transform: rotate(-21deg); transform-origin: 50% 13%; }
.jf-glow { position: absolute; left: -40%; top: -14%; width: 180%; height: 56%; background: radial-gradient(closest-side, rgba(122, 200, 255, .1), rgba(112, 150, 255, .04) 55%, transparent); }
.jf-squeeze { transform-origin: 50% 16%; }
.jf-bell { transform-origin: 50% 2.3%; }
.jf-arms { transform-origin: 50% 16%; }
@media (prefers-reduced-motion: no-preference) {
  /* One squeeze every eleven seconds: in over a second and a half, out over four, then rest. The glide comes a beat behind
     the squeeze and the rest of the time it sinks back; threads and arms are pulled straight a moment later still, then curl again. */
  .jf-drift { animation: jf-drift 140s ease-in-out infinite; }
  .jf-tilt { animation: jf-tilt 37s ease-in-out infinite alternate; }
  .jf-go { animation: jf-go 11s infinite; }
  .jf-squeeze { animation: jf-squeeze 11s ease-in-out infinite; }
  .jf-bell { animation: jf-bell 11s ease-in-out infinite; }
  .jf-thread { animation: jf-trail 11s ease-in-out var(--d) infinite; }
  .jf-arms { --k: 2.5deg; animation: jf-trail 11s ease-in-out -10.4s infinite; }
  .jelly:not(.adrift) * { animation-play-state: paused; }
  @keyframes jf-drift { 0%, 100% { transform: none; } 35% { transform: translate(-24%, -3%); } 70% { transform: translate(-8%, 4%); } }
  @keyframes jf-tilt { from { transform: rotate(-23deg); } to { transform: rotate(-15deg); } }
  @keyframes jf-go { 0%, 100% { transform: none; } 5% { transform: none; animation-timing-function: cubic-bezier(.3, .1, .3, 1); } 34% { transform: translateY(-4%); animation-timing-function: cubic-bezier(.45, 0, .7, 1); } }
  @keyframes jf-squeeze { 0%, 60%, 100% { transform: none; } 14% { transform: scaleX(.87); } 50% { transform: scaleX(1.015); } }
  @keyframes jf-bell { 0%, 60%, 100% { transform: none; } 14% { transform: scaleY(1.06); } 50% { transform: scaleY(.99); } }
  @keyframes jf-trail { 0%, 100% { transform: scaleY(.96) skewX(var(--k)); } 32% { transform: scaleY(1.045) skewX(0deg); } }
}
@media (max-width: 980px) { .jelly { --w: 120px; inset: -72px 0 0; } .jf-drift { top: 28px; opacity: .7; } }
@media (max-width: 640px) { .jelly { --w: 84px; inset: -64px 0 0; } .jf-drift { top: 22px; opacity: .62; } }
@media print { .jelly { display: none; } }
.buzz-r { left: auto; right: calc(var(--w) * -.08); transform: scaleX(-1); }
.buzz path { opacity: 0; transform-origin: 51.2px 51.2px; }

/* Tablet */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .links { position: absolute; left: 0; right: 0; top: 64px; margin: 0; padding: 8px 24px 20px; flex-direction: column; gap: 0; font-size: 17px; color: var(--text);
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .22s ease, transform .22s var(--ease), visibility 0s .22s; }
  .nav.open .links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .links-signin { display: block; color: var(--gold); border-bottom: 0 !important; }
  .signin { display: none; }
  .nav-cta { gap: 10px; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  /* On small screens the chat example comes straight after the heading */
  #ai .split { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  #ai .split-copy { display: contents; }
  #ai .demo { order: 1; margin-top: 32px; }
  #ai .tools { order: 2; margin-top: 40px; }
  #ai .ticks { order: 3; }
  .f-dash, .f-edit { grid-column: span 12; }
  .f-logs, .f-audit, .f-roles { grid-column: span 6; }
  .f-roles { grid-column: span 12; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .stage { width: 100%; }
  .lede { max-width: 640px; }
  .facts { padding-top: 16px; }
  .talk { grid-template-columns: 1fr; gap: 36px; }
  .both { grid-template-columns: 1fr; padding: 22px 24px; }
  .startup { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 680px) {
  .brand { gap: 6px; font-size: 15px; }
  .nav .brand img { width: 86px; height: 24px; }
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .links { padding: 8px 20px 20px; }
  .hero { padding: 28px 0 44px; }
  .flies { height: 560px; }
  .cta-row { margin-top: 30px; }
  .cta-row .btn { flex: 1 1 100%; }
  .works { margin-top: 28px; }
  .works-list span { height: 32px; padding: 0 11px 0 9px; font-size: 13.5px; }
  .chrome { height: 30px; }
  .chrome i { width: 8px; height: 8px; }
  .chrome span { font-size: 11px; }
    .facts { padding-top: 8px; }
  .plans, .bills, .steps { grid-template-columns: 1fr; }
  .fact { padding: 18px 16px 20px; }
  .fact > b { font-size: 16px; }
  .fact > b + span { font-size: 14px; }
  .fg { margin-bottom: 14px; }
  .sec { padding: 72px 0; }
  .sub { font-size: 17px; }
  .chat { font-size: 15px; border-radius: 18px; }
  .chat-top { padding: 13px 14px; }
  .chat-body { height: 350px; padding: 14px; }
  .prompts button { height: 40px; }
  .plan, .vibe, .wide-copy { padding: 24px; }
  .cmp-head { align-items: flex-start; }
  .cmp-head img { width: 44px; height: 44px; }
  .bento { gap: 14px; margin-top: 36px; }
  .bento > * { grid-column: span 12 !important; }
  .feat { padding: 16px 16px 22px; }
  .feat:hover { transform: none; }
  .vig { min-height: 164px; }
  .v-dash { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 8px; min-height: 190px; }
  .tile { padding: 9px 11px; }
  .tile b { margin-top: 6px; font-size: 26px; }
  .tile-wide { grid-column: 1 / -1; }
  .tile-wide b { margin-top: 2px; }
  .spark { height: 40px; left: 44%; width: 56%; }
  .wide { grid-template-columns: 1fr; }
  .tv { margin: 0 24px 24px; }
  .vibe { grid-template-columns: 1fr; }
  .vibe > .textlink { grid-column: 1; grid-row: auto; padding-top: 22px; }
  .bills { gap: 26px; }
  .bill { padding: 24px 20px 20px; rotate: none; }
  .bill-them { padding-bottom: 30px; }
  .bill-us, .bill-free { rotate: none; }
  .bill h3 { font-size: 16.5px; }
  .bill-kind { font-size: 18px; }
  .bill-meta { gap: 22px; padding: 22px 0 20px; }
  .bill-meta dd { font-size: 13.5px; }
  .stamp { top: 76px; right: 16px; padding: 4px 8px 3px; font-size: 11px; }
  .bill-them .bill-cols, .bill-them li { grid-template-columns: 1fr 86px 66px; column-gap: 10px; }
  .bill em { font-size: 11.5px; }
  .both ul { grid-template-columns: 1fr; }
  .composer { margin: 0 10px 10px; }
  /* Phones: swipe through the three screens. The lock screen sits in the middle; the next screen shows at the edge. */
  .phones { --pw: min(68vw, 280px); justify-content: flex-start; gap: 16px; margin: 0 -20px; padding: 16px calc(50vw - var(--pw) / 2) 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .phones::-webkit-scrollbar { display: none; }
  .phone, .p-main, .p-left, .p-right { --w: var(--pw); margin: 0; transform: none; scroll-snap-align: center; }
  .p-main { order: -1; }
  .p-left .phone-screen::after, .p-right .phone-screen::after { display: none; }
  .know { margin-top: 32px; }
  .know summary { padding: 22px 20px; }
  .know-p { padding: 0 20px; }
  .know .meters { margin: 18px 20px 0; }
  .know .sources { margin: 14px 20px 22px; }
  /* The table becomes a list: what is metered, how, and our answer */
  .meters, .meters tbody, .meters tr, .meters th, .meters td { display: block; }
  .meters thead { display: none; }
  .meters tr { padding: 16px 18px; border-top: 1px solid var(--line); }
  .meters tr:first-child { border-top: 0; }
  .meters th, .meters td, .meters tbody th { width: auto; padding: 0; border: 0; }
  .meters td { margin-top: 6px; }
  .meters td:last-child { width: auto; margin-top: 10px; background: none; border: 0; }
  .inc::after { content: " with Biolume"; font-weight: 500; color: var(--muted); white-space: pre; }
  .bill li { font-size: 14.5px; }
  .total { font-size: 15.5px; }
  .faq summary { font-size: 17px; padding: 20px 0; }
  .faq details p { padding-right: 0; }
  .cta { padding: 84px 0 92px; }
  .foot p { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .tool::after { animation: none; }
}

.nb { white-space: nowrap; }

/* Terms and privacy pages */
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 48px); }
.legal .updated { margin-top: 14px; font-size: 15px; color: var(--dim); }
.legal .intro { margin-top: 22px; font-size: 18px; color: var(--muted); }
.legal h2 { margin-top: 44px; font-size: 22px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--muted); }
.legal h2 + p, .legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal b { color: var(--text); font-weight: 600; }
.back { margin-left: auto; font-size: 15px; color: var(--muted); transition: color .2s; }
.back:hover { color: var(--text); }

/* ---------- Phone polish ----------
   Everything below tunes small screens and touch. It sits last so it wins over the blocks above. */

/* Android Chrome inflates text in wide no-wrap blocks (the log lines) unless told not to */
html { text-size-adjust: 100%; }

/* Notched phones held sideways: keep the page clear of the cut-out */
.wrap { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }

/* A finger has no hover, and a hover that sticks after a tap looks like a bug */
/* The mock log lines are paragraphs inside a card, so they were picking up the card's 16px body text and its paragraph gap: lines clipped and the roll drifted */
.v-logs p { margin: 0; font-size: inherit; color: inherit; }

@media (hover: none) {
  .tools li:hover, .works-list span:hover, .feat:hover { transform: none; }
  .btn-ghost:hover span, .textlink:hover span { transform: none; }
  .faq summary:hover { color: inherit; }
}

@media (max-width: 980px) {
  /* The menu never runs past the bottom of the screen, even sideways */
  .links { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .menu-btn { width: 44px; height: 44px; margin-right: -10px; }
  .menu-btn i { left: 11px; right: 11px; }
  .menu-btn i:first-child { top: 17px; }
  .menu-btn i:last-child { top: 25px; }
  .nav.open .menu-btn i:first-child, .nav.open .menu-btn i:last-child { top: 21px; }
  .foot nav { gap: 0 2px; margin: 0 -10px; }
  .foot nav a { padding: 10px; }
}

@media (max-width: 680px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .nav-in { gap: 12px; }
  .btn-sm { height: 40px; }

  /* Hero: type sized to the screen, and the screenshot shown large enough to read, running off the right edge as it does on a desktop */
  h1 { font-size: clamp(32px, 10vw, 40px); line-height: 1.06; }
  h2 { font-size: clamp(27px, 7.8vw, 31px); }
  .lede { margin-top: 20px; line-height: 1.55; }
  .hero-in { gap: 40px; }
  .stage { width: 158%; }
  .chrome span { left: 31.6%; }

  /* Facts: a card with a margin, two even columns */
  .facts-in { width: auto; margin: 0 20px; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 18px 15px 20px; }
  .fact > b { line-height: 1.3; }
  .fact > b + span { margin-top: 5px; }
  .seal-txt small { display: none; }

  .sec { padding: 64px 0; }
  .cta { padding: 72px 0 80px; }

  /* The example prompts sit on one line and swipe sideways */
  .prompts { flex-wrap: nowrap; margin: 14px -20px 0; padding: 2px 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .prompts::-webkit-scrollbar { display: none; }
  .prompts button { flex: none; }

  /* Host diagrams shrink with the card instead of pushing it wider than the screen */
  .plans { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 36px; }
  .both { padding: 20px; }

  /* The small previews are pictures of the product, so their text stays at product size */
  .v-logs { font-size: 12px; }
  .v-audit p, .v-roles p, .v-git p { margin-top: 0; font-size: 14.5px; }
  .v-git p { font-size: 14px; }

  .inc::after { content: "with Biolume"; }
  .sources { line-height: 1.75; }
  .bill-meta dt, .bill-cols { font-size: 11px; letter-spacing: .1em; }

  .faq { margin-top: 28px; }
  .foot { padding-top: 28px; }
  .foot-in { gap: 10px 32px; }
  .legal { padding: 36px 0 72px; }
  .legal h2 { margin-top: 36px; font-size: 20px; }
  .legal .intro { font-size: 17px; }
}

/* The narrowest phones */
@media (max-width: 370px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .links { padding-left: 16px; padding-right: 16px; }
  .nav-in { gap: 8px; }
  .nav-cta { gap: 6px; }
  .brand { gap: 5px; font-size: 13.5px; }
  .nav .brand img { width: 76px; height: 21px; }
  .btn-sm { padding: 0 12px; font-size: 13.5px; }
  .back { font-size: 14px; }
  .facts-in { margin: 0 16px; padding: 0; }
  .fact { padding: 16px 12px 18px; }
  .seal-txt { display: none; }
  .fg-nope s { padding: 4px 7px; font-size: 12.5px; }
  .prompts { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .plan, .vibe, .wide-copy { padding: 20px; }
  .tv { margin: 0 20px 20px; }
  .bill { padding: 22px 16px 18px; }
  .bill-them { padding-bottom: 30px; }
  .bill-them .bill-cols, .bill-them li { grid-template-columns: minmax(0, 1fr) 80px 62px; column-gap: 8px; }
  .bill em { font-size: 11px; }
  .bill-kind { font-size: 16px; letter-spacing: .1em; }
  .stamp { right: 12px; }
  .phones { margin: 0 -16px; }
  .meters tr { padding: 15px 16px; }
}

/* ---------- Deploy in three steps ----------
   Big numerals on a rail, each over a small drawn scene: pick a repository, ask your AI, the app is live.
   site.js plays the three in order (.play, then .a1 to .a6). Without it, or with reduced motion, every step shows finished. */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 52px; }
.trio-step { display: flex; flex-direction: column; min-width: 0; }
.trio-head { display: flex; align-items: center; gap: 18px; }
.trio-n { font-size: 84px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--gold); -webkit-text-stroke: 1.5px var(--gold); font-variant-numeric: lining-nums; transition: color .5s ease, -webkit-text-stroke-color .5s ease; }
.trio-rail { position: relative; flex: 1; height: 2px; margin-right: -22px; border-radius: 2px; background: var(--line-2); }
.trio-rail::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-line), var(--gold)); transform-origin: left; transition: transform .9s var(--ease); }
.trio-rail::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 1px; transform: rotate(45deg); transition: border-color .3s ease .5s; }
.trio-art { position: relative; height: 196px; margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 55%), var(--bg); overflow: hidden; font-size: 13.5px; line-height: 1.4; transition: border-color .4s ease; }
.trio-copy h3 { margin-top: 22px; font-size: 21px; letter-spacing: -0.02em; }
.trio-copy p { margin-top: 8px; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.trio-foot { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: #d6d8de; font-size: 17px; }
.trio-foot span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); text-wrap: pretty; }

/* 1: the repository list */
.t-repo { display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; }
.t-cap { display: flex; align-items: center; gap: 9px; padding: 8px 0 9px; color: var(--dim); font-size: 12.5px; }
.t-cap .mark { width: 17px; height: 17px; color: var(--text); }
.t-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); }
.t-row b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12.5px var(--mono); color: var(--muted); transition: color .3s; }
.t-pick b { color: var(--text); }
.t-btn { position: relative; flex: none; display: grid; }
.t-btn i { grid-area: 1 / 1; justify-self: end; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; font-style: normal; font-size: 12px; line-height: 24px; color: var(--muted); white-space: nowrap; transition: opacity .25s ease, transform .25s var(--ease), border-color .2s, background .2s, color .2s; }
.t-pick .t-btn i:first-child { opacity: 0; }
.t-pick .t-btn i:last-child { border-color: rgba(74, 222, 128, .3); background: rgba(74, 222, 128, .1); color: var(--green); }
.t-pick .t-btn i:last-child::before { content: "✓ "; }

/* 2: the chat */
.t-ask { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 12px; }
.t-talk { display: flex; flex-direction: column; gap: 8px; }
.t-talk .msg { padding: 8px 12px; border-radius: 13px; border-bottom-right-radius: 4px; font-size: 13.5px; transition: opacity .3s ease, transform .35s var(--ease); }
.t-talk .tool { font-size: 12.5px; transition: opacity .3s ease, transform .35s var(--ease), color .2s; }
.t-compose { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 5px 0 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); }
.t-type { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; color: var(--text); }
.t-type:empty::before { content: attr(data-empty); color: var(--dim); }
.t-ask.typing .t-type::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--gold); animation: blink 1s steps(2) infinite; }
.t-ask.typing .send { background: var(--gold); color: var(--ink); }

/* 3: the app in a browser */
.t-live { display: flex; flex-direction: column; }
.t-bar { position: relative; flex: none; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #121317; }
.t-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2c2f37; }
.t-bar span { position: absolute; left: 50%; transform: translateX(-50%); font: 11.5px var(--mono); color: var(--muted); transition: color .4s; }
.t-page { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 13px 14px; }
.t-page i, .t-page b, .t-page u { display: block; border-radius: 4px; background: rgba(255, 255, 255, .09); transition: opacity .4s ease, transform .5s var(--ease); }
.t-nav { display: flex; align-items: center; gap: 8px; }
.t-nav b { width: 46px; height: 9px; margin-right: auto; background: rgba(255, 255, 255, .26); }
.t-nav i { width: 22px; height: 6px; }
.t-hero { display: grid; gap: 7px; }
.t-hero i { height: 11px; width: 72%; background: rgba(255, 255, 255, .22); }
.t-hero i + i { width: 48%; }
.t-hero u { width: 62px; height: 18px; margin-top: 4px; border-radius: 6px; background: var(--gold); }
.t-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; min-height: 0; }
.t-cards i { height: 100%; border-radius: 7px; background: rgba(255, 255, 255, .055); }
.t-wait { position: absolute; left: 0; right: 0; top: 56%; text-align: center; font: 12px var(--mono); color: var(--dim); opacity: 0; transition: opacity .3s; }
.t-badge { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 9px; height: 28px; padding: 0 11px 0 12px; border: 1px solid rgba(74, 222, 128, .3); border-radius: 999px; background: #0f1a14; color: var(--green); font-size: 12.5px; font-weight: 600; transition: opacity .3s ease, transform .4s var(--ease); }

/* Playing: everything starts unlit, and each beat lights the next piece */
.trio.play .trio-n { color: transparent; -webkit-text-stroke-color: var(--gold-line); }
.trio.play.a1 .trio-step:nth-child(1) .trio-n,
.trio.play.a3 .trio-step:nth-child(2) .trio-n,
.trio.play.a6 .trio-step:nth-child(3) .trio-n { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.trio.play .trio-rail::before { transform: scaleX(0); }
.trio.play .trio-rail::after { border-color: #3a3d45; transition-delay: 0s; }
.trio.play.a2 .trio-step:nth-child(1) .trio-rail::before,
.trio.play.a5 .trio-step:nth-child(2) .trio-rail::before { transform: none; }
.trio.play.a2 .trio-step:nth-child(1) .trio-rail::after,
.trio.play.a5 .trio-step:nth-child(2) .trio-rail::after { border-color: var(--gold); transition-delay: .5s; }
.trio.play.a1:not(.a3) .trio-step:nth-child(1) .trio-art,
.trio.play.a3:not(.a6) .trio-step:nth-child(2) .trio-art,
.trio.play.a6 .trio-step:nth-child(3) .trio-art { border-color: var(--gold-line); }

.trio.play .t-pick b { color: var(--muted); }
.trio.play.a1 .t-pick b { color: var(--text); }
.trio.play .t-pick .t-btn i:first-child { opacity: 1; }
.trio.play .t-pick .t-btn i:last-child { opacity: 0; transform: scale(.92); }
.trio.play.a1 .t-pick .t-btn i:first-child { border-color: var(--gold-line); background: var(--gold-soft); color: var(--gold); transform: scale(.95); }
.trio.play.a2 .t-pick .t-btn i:first-child { opacity: 0; }
.trio.play.a2 .t-pick .t-btn i:last-child { opacity: 1; transform: none; }

.trio.play .t-talk .msg, .trio.play .t-talk .tool { opacity: 0; transform: translateY(8px); }
.trio.play.a4 .t-talk > * { opacity: 1; transform: none; }
.trio.play.a4 .t-talk .tool { transition-delay: .35s; }

.trio.play .t-bar span { color: var(--dim); }
.trio.play.a6 .t-bar span { color: var(--muted); }
.trio.play .t-page i, .trio.play .t-page b, .trio.play .t-page u { opacity: 0; transform: translateY(6px); }
.trio.play.a6 .t-page i, .trio.play.a6 .t-page b, .trio.play.a6 .t-page u { opacity: 1; transform: none; }
.trio.play.a6 .t-hero > * { transition-delay: .12s; }
.trio.play.a6 .t-cards i { transition-delay: .24s; }
.trio.play.a6 .t-cards i + i { transition-delay: .31s; }
.trio.play.a6 .t-cards i + i + i { transition-delay: .38s; }
.trio.play .t-wait { opacity: 1; }
.trio.play.a6 .t-wait { opacity: 0; }
.trio.play .t-badge { opacity: 0; transform: scale(.9); }
.trio.play.a6 .t-badge { opacity: 1; transform: none; transition-delay: .5s; }

/* Tablet and phone: the steps stack, the rail runs down the left, and each scene sits beside or under its words */
@media (max-width: 900px) {
  .trio { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 40px; }
  .trio-step { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 20px; align-items: start; padding-bottom: 36px; }
  .trio-step:last-child { padding-bottom: 0; }
  .trio-head { grid-row: 1; grid-column: 1; align-self: stretch; flex-direction: column; gap: 12px; margin-bottom: -24px; }
  .trio-step:last-child .trio-head { margin-bottom: 0; }
  .trio-n { font-size: 68px; }
  .trio-rail { width: 2px; height: auto; margin: 0; }
  .trio-rail::before { background: linear-gradient(180deg, var(--gold-line), var(--gold)); transform-origin: top; }
  .trio-rail::after { right: auto; left: -3px; top: auto; bottom: 0; margin: 0; transform: rotate(135deg); }
  .trio.play .trio-rail::before { transform: scaleY(0); }
  .trio.play.a2 .trio-step:nth-child(1) .trio-rail::before,
  .trio.play.a5 .trio-step:nth-child(2) .trio-rail::before { transform: none; }
  .trio-copy { grid-row: 1; grid-column: 2; padding-top: 10px; }
  .trio-copy h3 { margin-top: 0; }
  .trio-art { grid-row: 1; grid-column: 3; margin-top: 0; }
  .trio-foot { margin-top: 36px; }
}
@media (max-width: 680px) {
  .trio { margin-top: 32px; }
  .trio-step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding-bottom: 32px; }
  .trio-head { grid-row: 1 / span 2; margin-bottom: -22px; }
  .trio-n { font-size: 54px; -webkit-text-stroke-width: 1px; }
  .trio-copy { padding-top: 6px; }
  .trio-copy h3 { font-size: 20px; }
  .trio-art { grid-row: 2; grid-column: 2; height: 186px; margin-top: 18px; }
  .t-repo { padding: 6px 12px; }
  .t-row b { font-size: 11.5px; letter-spacing: -0.01em; }
  .t-btn i { padding: 0 8px; }
  .trio-foot { margin-top: 30px; font-size: 16px; }
}

/* Closing band: one centred call to create an account */
.close { text-align: center; }
.close h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.close .sub { margin-left: auto; margin-right: auto; }
.close .cta-row { justify-content: center; }
.close .fine { margin-top: 22px; }
.close .fine a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
/* The contact page: the enquiry form on a page of its own */
.cta-page { border-top: 0; padding-top: 56px; }
.cta-page h1 { margin-top: 12px; font-size: clamp(32px, 4.4vw, 48px); }
