/* Co-ordinate landing page, next version. One site style; the six designs live inside framed figures.
   Layout: one column up to 1180 px on the plain ground, quiet on purpose (Giorgio's pick, 22 Oct: no grid, no crosshairs,
   light frames, one-tone headlines); each section is a heading, one paragraph and one figure in a hairline frame. Colour: cyan is the mark, links and free things; magenta
   means only "spends tokens"; the product's status colours appear only inside figures and their legends.
   Type: Schibsted Grotesk (OFL, self-hosted, one variable file) for headlines and text, JetBrains Mono only for numbers,
   code and figure readouts. One size scale (--t-*), each step one job: 12 counters and rulers, 13 figure labels, 14 small
   print, 15 controls, 16 body, 17 section intros, 19 the two ledes, 24 card and panel headings, then h2 and h1. */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibstedgrotesk-latin-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
/* Arial reshaped to Schibsted's width and line box (measured in Chrome: 4 % wider, ascent .98, descent .26), so the swap does not move the page */
@font-face { font-family: "Schibsted Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 104%; ascent-override: 94%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #08070d; --surface: #0f0d17; --surface-2: #161321;
  --line: rgba(236, 232, 246, .08); --line-2: rgba(236, 232, 246, .16); --line-3: rgba(236, 232, 246, .32);
  --ink: #ece8f6; --grey: #a49dbb; --muted: #918aa9;
  --cyan: #00ffff; --magenta: #ff4dff;
  --busy: #ff9a3c; --idle: #8a7a5a; --needs: #ffe14d; --blocked: #ff4a4a; --warm: #3ddc84; --sill: #00d7c8;
  --sans: "Schibsted Grotesk", "Schibsted Fallback", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --t-micro: 12px; --t-label: 13px; --t-small: 14px; --t-ui: 15px; --t-body: 16px; --t-intro: 17px; --t-lead: 19px; --t-h3: 24px;
  --t-h2: clamp(30px, 4.2vw, 52px); --t-h1: clamp(42px, 6.8vw, 88px); --t-close: clamp(36px, 5.4vw, 68px);
  --w-strong: 600;
  --max: 1180px; --bar-h: 60px; --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* big monitors: the column widens so the page does not sit small in the middle; headlines may grow to 96 px */
@media (min-width: 1680px) { :root { --max: 1320px; --t-h1: clamp(42px, 5.6vw, 96px); --t-h2: clamp(30px, 3.2vw, 56px); --t-close: clamp(36px, 4.2vw, 76px); } }
@media (min-width: 2200px) { :root { --max: 1480px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* without the script every word still reads: the stills stay, and the controls that need the script are not shown */
html:not(.js) .js-only { display: none !important; }
.nojs-only { display: none; }
html:not(.js) .nojs-only { display: block; }
html { scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-body)/1.55 var(--sans); font-optical-sizing: auto; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(0, 255, 255, .28); color: #fff; }
html { scrollbar-color: #2a2538 var(--bg); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
input { caret-color: var(--cyan); }
code { font-family: var(--mono); font-size: .88em; background: rgba(236, 232, 246, .07); padding: .08em .35em; border-radius: 3px; }
.defs { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* the mark */
.mark { width: 36px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.1; stroke-linecap: round; flex: none; }
.hy { display: inline-block; width: .36em; height: .12em; background: var(--cyan); vertical-align: .3em; margin: 0 .05em; }

/* bar */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(8, 7, 13, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-row { display: flex; align-items: center; gap: 24px; height: var(--bar-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 18px/1 var(--sans); min-height: 44px; }
.nav { display: flex; align-items: center; gap: 22px; flex: 1; min-width: 0; }
.nav .motion { margin-left: auto; }
.nav a { color: var(--grey); text-decoration: none; font-size: var(--t-ui); display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--cyan); }
.motion { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font: 400 var(--t-small)/1 var(--sans); color: var(--grey); border-radius: 6px; }
.motion svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.motion[aria-pressed="true"] svg { fill: currentColor; stroke: none; }
.motion:hover { color: var(--ink); }
.motion:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 600 var(--t-ui)/1 var(--sans); text-decoration: none; border: 1px solid var(--ink); cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.cta:hover { background: #fff; }
.cta:active { transform: translateY(1px); }
.cta.ghost { background: transparent; color: var(--ink); border-color: var(--line-3); }
.cta.ghost:hover { border-color: var(--ink); }
.cta-sm { min-height: 44px; font-size: var(--t-small); padding: 0 16px; }
.narrow-only { display: none; }
.text-link { color: var(--grey); text-decoration: none; font-size: var(--t-body); display: inline-flex; align-items: center; min-height: 46px; }
.text-link::after { content: ""; width: 22px; height: 1.5px; margin-left: 10px; background: currentColor; transform: scaleX(.64); transform-origin: left; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--ink); }
.text-link:hover::after { transform: none; }
/* below 1100 px the sections fold into a menu: the same links and Pause motion, in a panel under the bar */
.menu { display: none; }
@media (max-width: 1100px) {
  .bar-row { gap: 6px; } .brand { margin-right: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; background: var(--bg); border-bottom: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
  .nav a { justify-content: flex-start; min-height: 48px; font-size: var(--t-intro); color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--cyan); padding-left: 14px; }
  .nav .motion { margin: 8px 0 0; padding: 0; min-height: 48px; font-size: var(--t-ui); }
  .bar.open .nav { display: flex; }
  .js .menu { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; color: var(--ink); }
  .menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .menu:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
  .bar.open .menu { background: rgba(236, 232, 246, .08); }
  /* without the script the menu cannot open, so the links stay in the bar */
  html:not(.js) .nav { display: flex; position: static; flex-direction: row; padding: 0; background: none; border: 0; box-shadow: none; overflow-x: auto; }
  html:not(.js) .nav a { border: 0; font-size: var(--t-small); white-space: nowrap; }
}
@media (max-width: 600px) {
  .wide-only { display: none; } .narrow-only { display: inline; }
}
/* the narrowest phones: the bar tightens so the brand stays on one line; under 350 px only the mark shows (the link is named) */
@media (max-width: 374px) {
  .bar-row { gap: 4px; } .brand { gap: 8px; font-size: 16px; white-space: nowrap; } .brand .mark { width: 30px; height: 18px; } .cta-sm { padding: 0 12px; }
}
@media (max-width: 349px) { .brand > span { display: none; } }

/* type */
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 700; letter-spacing: -.022em; line-height: 1.04; }
h1 { font-size: var(--t-h1); line-height: 1.02; }
h2 { font-size: var(--t-h2); letter-spacing: -.02em; }
h3 { font-size: var(--t-h3); letter-spacing: -.012em; line-height: 1.2; }
b, strong { font-weight: var(--w-strong); }
.second { display: block; }
p { max-width: 56ch; text-wrap: pretty; }

/* sections */
.sec { padding-block: 128px 0; }
.head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.head p { margin: 0; color: var(--grey); font-size: var(--t-intro); line-height: 1.55; }
.head p b { color: var(--ink); }
@media (max-width: 800px) { .head { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; } .sec { padding-block: 96px 0; } }

/* hero */
.hero { padding-block: 56px 0; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: end; margin-top: 24px; }
.lede { margin: 0; font-size: var(--t-lead); line-height: 1.5; color: var(--grey); max-width: 58ch; }
.hero-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
@media (max-width: 800px) { .hero { padding-block: 40px 0; } .hero-row { grid-template-columns: minmax(0, 1fr); } .lede { font-size: var(--t-intro); } }
/* laptop screens (960 px tall or less): a tighter head and a wider crop that trims sky, so the island and the switcher
   reach the first screen */
@media (min-width: 801px) and (max-height: 960px) {
  .hero { padding-block: 32px 0; } .hero h1 { font-size: min(var(--t-h1), 72px); } .hero-row { margin-top: 16px; } .hero .lede { font-size: var(--t-intro); }
  .hero .city { margin-top: 24px; } .hero .stage-box { aspect-ratio: 2 / 1; } .hero .stage img, .hero .stage video { object-position: 50% 68%; }
}
/* on phones the city comes straight after the headline, so the product is on the first screen */
@media (max-width: 600px) { .hero .wrap { display: flex; flex-direction: column; } .hero .city { order: 1; margin-top: 24px; } .hero .hero-row { order: 2; margin-top: 24px; } .hero .facts { order: 3; } }

/* frames */
.frame { margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.frame-top, .frame-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; flex-wrap: wrap; padding: 10px 16px; font-size: var(--t-small); line-height: 1.4; color: var(--muted); min-height: 44px; }
.frame-top { min-height: 0; padding: 16px 20px 4px; }
.frame-top span:first-child { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 500; }
.frame-cap { margin: 0; padding: 0 20px 18px; min-height: 3.4em; font-size: var(--t-body); color: var(--ink); max-width: none; }
.frame-cap span { color: var(--grey); }
.hint { display: inline-flex; align-items: center; gap: 8px; }
.hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--cyan); }
.hint-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--grey); }
.hint-btn::before { content: ""; width: 9px; height: 9px; border: 1.5px solid var(--cyan); border-right-color: transparent; border-radius: 50%; }
.hint-btn:hover { color: var(--ink); }
.hint-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--line-3); margin-left: 6px; }
.legend i:first-child { margin-left: 0; }
.legend i.m { border-top: 2px dashed var(--magenta); }
.legend i.c { border-top: 2px dotted var(--cyan); }

/* the city */
.city { margin-top: 36px; }
.stage-box { position: relative; aspect-ratio: 16 / 9; background: #05040a; }
.stage { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1); }
.stage.is-prev { opacity: 1; transition: none; }
.stage.is-on { opacity: 1; z-index: 1; }
.stage img, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage video { opacity: 0; transition: opacity .6s ease; }
.stage video.is-playing { opacity: 1; }
.switch { display: flex; gap: 2px; flex-wrap: wrap; }
.switch button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font: 500 var(--t-small)/1 var(--sans); color: var(--grey); padding: 0 12px; border-radius: 5px; }
.switch button:hover { color: var(--ink); background: rgba(236, 232, 246, .05); }
.switch button[aria-pressed="true"] { color: var(--bg); background: var(--ink); }
/* while the city cycles, the lit button fills a hairline with the time left on that design */
.switch button { position: relative; }
.city.cycling .switch button[aria-pressed="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1.5px; background: var(--bg); opacity: .45; transform: scaleX(var(--cyc, 0)); transform-origin: left; }
.switch button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
@media (max-width: 600px) { .stage-box { aspect-ratio: 4 / 3; } .switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; } .switch button { padding: 0 8px; font-size: var(--t-label); } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.facts li { padding: 22px 18px 22px 0; font-size: var(--t-small); color: var(--grey); line-height: 1.45; }
.facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: var(--t-body); color: var(--ink); margin-bottom: 2px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li + li { border-left: 0; padding-left: 0; } .facts li { border-top: 1px solid var(--line); } .facts li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); } }

/* the system */
.sys { padding: 24px 20px 20px; display: grid; gap: 14px; }
.sys-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, .9fr) 64px minmax(0, 1.25fr) 64px minmax(0, .8fr); align-items: stretch; }
.node { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--bg); transition: border-color .3s var(--ease), background .3s var(--ease); min-width: 0; }
.node:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.node-k { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: var(--t-label); font-weight: 500; color: var(--muted); }
.node-k .mark { width: 26px; height: 16px; }
.node-l { display: flex; flex-direction: column; gap: 5px; font-size: var(--t-small); color: var(--grey); line-height: 1.3; }
.node-l b { color: var(--ink); }
.node.core { border-color: var(--line-3); background: var(--surface-2); }
.node.core .node-k { color: var(--ink); font-size: var(--t-small); font-weight: 700; }
.node.core .node-l b { display: inline-block; min-width: 5.8em; }
.node.peers { border-style: dashed; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.node.peers .node-l { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.node.peers .node-l span { border: 1px solid var(--line-2); border-radius: 4px; padding: 6px 10px; font-size: var(--t-label); }
.sys .node.on { border-color: var(--cyan); background: #0d1a20; }
.sys .node.on .node-k { color: var(--cyan); }
.wire, .spend { position: relative; display: flex; align-items: center; justify-content: center; }
.wire::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 1.5px solid var(--line-3); transition: border-color .3s; }
.wire span { position: relative; top: -14px; font: 400 var(--t-micro)/1 var(--mono); color: var(--muted); }
.wire b, .spend b { position: absolute; left: 4px; right: 4px; top: 50%; height: 0; overflow: visible; }
.wire b i, .spend b i { position: absolute; left: 0; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--cyan); transform: translateX(calc(var(--p, 0) * var(--len, 56px))); opacity: var(--o, 0); }
.wire.lit::before { border-color: var(--cyan); }
.spend { min-height: 48px; border: 1.5px dashed rgba(255, 77, 255, .5); border-top: 0; border-radius: 0 0 6px 6px; margin: -14px 6% 0 8%; padding: 20px 12px 10px; transition: border-color .3s; }
.spend span { font-size: var(--t-small); color: var(--ink); text-align: center; }
.spend em { font: 500 var(--t-label)/1.4 var(--sans); color: var(--magenta); margin-left: 8px; }
.spend b { top: auto; bottom: -1px; }
html:not(.js) .wire b, html:not(.js) .spend b { display: none; }
.spend b i { background: var(--magenta); transform: translateX(calc((1 - var(--p, 0)) * var(--len, 600px))); }
.spend.lit { border-color: var(--magenta); }
@media (max-width: 860px) {
  .sys-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 48px auto 48px auto 48px auto; }
  .wire::before { left: 50%; right: auto; top: 4px; bottom: 4px; border-top: 0; border-left: 1.5px solid var(--line-3); }
  .wire.lit::before { border-color: var(--cyan); }
  .wire span { position: absolute; top: 50%; left: calc(50% + 14px); transform: translateY(-50%); }
  .wire b { left: 50%; right: auto; top: 4px; bottom: 4px; width: 0; height: auto; }
  .wire b i { left: -4px; top: 0; margin-left: 0; margin-top: -4px; transform: translateY(calc(var(--p, 0) * 40px)); }
  .spend { margin: 0; border: 1.5px dashed rgba(255, 77, 255, .5); border-radius: 6px; }
  .spend em { display: block; margin: 6px 0 0; }
  /* on phones each box lists its items on one wrapping line, so the four boxes take about half the height */
  .sys-row { grid-template-rows: auto 34px auto 34px auto 34px auto; }
  .wire b i { transform: translateY(calc(var(--p, 0) * 26px)); }
  .node { padding: 12px 14px; gap: 6px; }
  .node-l { flex-direction: row; flex-wrap: wrap; gap: 2px 14px; }
  .node.core .node-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; }
  .node.core .node-l b { display: block; min-width: 0; }
}

/* pins on the real city */
.pins-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.pins-img { position: relative; border-right: 1px solid var(--line); }
.pins-img img { width: 100%; }
.pin { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(8, 7, 13, .8); border: 1.5px solid var(--ink); color: var(--ink); font: 400 var(--t-label)/27px var(--mono); text-align: center; transition: background .2s, color .2s, transform .35s var(--ease); }
.pin::before { content: ""; position: absolute; inset: -7px; }
.pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--cyan); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease); }
.pin.is-lit { background: var(--cyan); border-color: var(--cyan); color: var(--bg); transform: scale(1.1); }
.pin.is-lit::after { opacity: 1; transform: scale(1); }
.pin:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.key { list-style: none; counter-reset: k; margin: 0; padding: 12px 0; }
.key li { counter-increment: k; position: relative; padding: 14px 20px 14px 58px; color: var(--grey); font-size: var(--t-body); line-height: 1.5; transition: color .25s, background .25s; }
.key li::before { content: counter(k); position: absolute; left: 20px; top: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-3); font: 400 var(--t-micro)/22px var(--mono); text-align: center; color: var(--grey); transition: border-color .25s, color .25s, background .25s; }
.key li b { color: var(--ink); }
.key li.is-lit { color: var(--ink); background: rgba(0, 255, 255, .045); }
.key li.is-lit::before { border-color: var(--cyan); background: var(--cyan); color: var(--bg); }
.states { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.states i { display: inline-block; width: 10px; height: 12px; margin-right: 7px; vertical-align: -1px; background: var(--c); border-radius: 1px; }
.states i.sill { background: #1b1828; box-shadow: inset 0 -3px 0 var(--sill); }
@media (max-width: 860px) { .pins-grid { grid-template-columns: minmax(0, 1fr); } .pins-img { border-right: 0; border-bottom: 1px solid var(--line); } .pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; line-height: 23px; font-size: var(--t-micro); } .pin::before { inset: -9px; } }
.pin-cap { display: none; }
@media (max-width: 860px) { .js .pin-cap { display: block; margin: 0; padding: 12px 16px; min-height: 4.4em; border-bottom: 1px solid var(--line); font-size: var(--t-small); color: var(--grey); background: rgba(0, 255, 255, .045); } .pin-cap b { color: var(--ink); } }
.notes { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 72ch); gap: 0 40px; }
.notes li { padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--grey); font-size: var(--t-body); }
.notes b { color: var(--ink); }
@media (max-width: 760px) { .notes { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* the cache clock */
.cache { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 44px; padding: 32px 28px; align-items: center; }
.chat-card { border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg); padding: 18px; display: grid; gap: 14px; }
.cc-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.cc-name { font-weight: var(--w-strong); font-size: var(--t-intro); }
.cc-proj { font: 400 var(--t-micro)/1 var(--mono); color: var(--muted); }
.cc-state { display: flex; align-items: center; gap: 10px; font-size: var(--t-small); color: var(--grey); flex-wrap: wrap; }
.cc-state b { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.02em; color: var(--ink); min-width: 4.6em; }
.cc-state .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warm); flex: none; }
.cc-light { height: 6px; background: rgba(236, 232, 246, .08); border-radius: 3px; overflow: hidden; }
.cc-light i { display: block; height: 100%; width: 100%; background: var(--warm); transform-origin: left; }
.cc-ctx, .cc-turn { display: flex; justify-content: space-between; gap: 12px; font: 400 var(--t-label)/1.45 var(--mono); color: var(--muted); flex-wrap: wrap; }
.cc-ctx b, .cc-turn b { color: var(--ink); font-weight: 400; }
.cc-turn { border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 600px) { .cc-turn { flex-direction: column; gap: 4px; } .cc-turn b { text-wrap: balance; } }
.cc-turn.cold b { color: var(--blocked); }
.cc-turn.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { background: rgba(255, 74, 74, .22); } 100% { background: transparent; } }
.cache-side { display: grid; gap: 8px; min-width: 0; }
.scrub { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-small); color: var(--grey); }
.scrub-v { font: 400 var(--t-small)/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.cache-side input[type="range"] { width: 100%; accent-color: var(--cyan); margin: 0; height: 44px; cursor: pointer; }
.ruler { display: flex; justify-content: space-between; font: 400 var(--t-micro)/1 var(--mono); color: var(--muted); padding: 0 2px; }
.cache-copy { margin: 18px 0 0; max-width: 60ch; text-wrap: balance; color: var(--grey); font-size: var(--t-body); }
.cache-copy b { color: var(--ink); }
@media (max-width: 800px) { .cache { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 28px; } }

/* the tour */
.tour { margin-top: 28px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); margin-bottom: 24px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; font: 500 var(--t-ui)/1 var(--sans); color: var(--muted); box-shadow: inset 0 -2px 0 transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--cyan); }
.tabs button:hover { color: var(--ink); }
.tabs button:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.panel { display: grid; gap: 22px; }
.js .tour:not(.ready) [role="tabpanel"] ~ [role="tabpanel"] { display: none; }
html:not(.js) .panel + .panel { margin-top: 56px; }
.panel-copy { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px 48px; align-items: baseline; }
.panel-copy p { margin: 0; color: var(--grey); }
.shot img { width: 100%; }
.more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.more li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--grey); font-size: var(--t-body); }
.more b { color: var(--ink); }
@media (max-width: 760px) { .panel-copy, .more { grid-template-columns: minmax(0, 1fr); } }

/* agents */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 20px 0 20px 40px; border-top: 1px solid var(--line); color: var(--grey); font-size: var(--t-body); }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 22px; width: 22px; height: 22px; border: 1px solid var(--cyan); border-radius: 50%; font: 400 var(--t-micro)/20px var(--mono); text-align: center; color: var(--cyan); }
.steps li b { display: block; color: var(--ink); font-size: var(--t-intro); line-height: 1.35; margin-bottom: 4px; }
.send { padding: 22px 20px; display: grid; gap: 14px; }
.lab { font-size: var(--t-label); font-weight: 500; color: var(--muted); min-width: 5em; }
.send-to, .send-msg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 36px; }
.chipx { font: 400 var(--t-label)/1 var(--mono); color: var(--grey); border: 1px solid var(--line-2); border-radius: 4px; padding: 8px 10px; transition: color .2s, border-color .2s, background .2s; }
.chipx.on { color: var(--ink); border-color: var(--cyan); background: rgba(0, 255, 255, .06); }
.send-msg { border: 1px solid var(--line-2); border-radius: 5px; padding: 10px 12px; background: var(--bg); font-size: var(--t-ui); }
.typed { color: var(--ink); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--cyan); vertical-align: -2px; margin-left: -6px; }
.send-act { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.est { font: 400 var(--t-label)/1.4 var(--mono); color: var(--muted); }
.send-btn { font: 600 var(--t-small)/1 var(--sans); padding: 12px 14px; border-radius: 5px; border: 1.5px solid var(--magenta); color: var(--magenta); cursor: default; transition: background .15s, color .15s, transform .15s; }
.send-btn.ready { background: rgba(255, 77, 255, .1); }
.send-btn.press { background: var(--magenta); color: var(--bg); transform: scale(.97); }
.receipts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 96px; }
.receipts li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: var(--t-small); color: var(--grey); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
.receipts li.on, html:not(.js) .receipts li { opacity: 1; transform: none; }
html:not(.js) .caret { display: none; }
.receipts b { font: 400 var(--t-micro)/1.4 var(--mono); }
.receipts .ok { color: var(--warm); }
.receipts .wait { color: var(--needs); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* pairing */
.pair { padding: 18px 18px 6px; }
.pair-svg { width: 100%; height: auto; display: block; }
.pair-svg.wide { max-width: 880px; margin: 0 auto; }   /* past this the drawing's labels outgrow the page's type */
.pair-svg.tall { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 640px) { .pair-svg.wide { display: none; } .pair-svg.tall { display: block; } }
.pair-svg .laptop path { fill: var(--bg); stroke: var(--line-3); stroke-width: 1.4; stroke-linejoin: round; }
.pair-svg text { font-family: var(--mono); text-anchor: middle; fill: var(--grey); }
.pair-svg .lap-k { font-size: 11px; fill: var(--muted); }
.pair-svg .digits { font-size: 22px; fill: var(--ink); letter-spacing: .06em; }
.pair-svg .lap-s { font-size: 12px; fill: var(--grey); }
.pair-svg .link { stroke: var(--cyan); stroke-width: 1.6; stroke-dasharray: 2 5; fill: none; opacity: .25; transition: opacity .3s; }
.pair-svg .link.on { opacity: 1; }
.pair-svg .link-k { font-size: 11px; fill: var(--muted); }
.pair-svg .link-s { font-size: 12.5px; fill: var(--warm); }
.pair-svg .pulse circle { fill: none; stroke: var(--cyan); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pair-svg .env rect { fill: var(--bg); stroke: var(--cyan); stroke-width: 1.4; }
.pair-svg .env path { fill: none; stroke: var(--cyan); stroke-width: 1.4; }
.pair-svg .env { opacity: 0; }
.pair-svg .perm rect { fill: none; stroke: var(--line-3); }
.pair-svg .perm .mm { stroke: var(--magenta); }
.pair-svg .perm-k { font-size: 11px; fill: var(--muted); opacity: 0; transition: opacity .4s; }
.pair-svg .perm-k.on { opacity: 1; }
.pair-svg .perm text { font-size: 11.5px; fill: var(--ink); }
.pair-svg .perm { opacity: 0; transition: opacity .4s; }
.pair-svg .perm.on, html:not(.js) .pair-svg .perm, html:not(.js) .pair-svg .perm-k { opacity: 1; }
.facts-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts-row li { padding: 16px 18px; font-size: var(--t-small); color: var(--grey); line-height: 1.45; }
.facts-row li + li { border-left: 1px solid var(--line); }
.facts-row b { display: block; color: var(--ink); font-size: var(--t-body); }
@media (max-width: 480px) { .facts-row { grid-template-columns: minmax(0, 1fr); } .facts-row li + li { border-left: 0; border-top: 1px solid var(--line); } }
[data-fig="export"] { margin-top: 20px; }

/* the export */
.export { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; padding: 28px; align-items: center; }
.ex-card { border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg); padding: 16px 18px; }
.ex-h { margin: 0 0 8px; font-size: var(--t-label); font-weight: 500; color: var(--muted); }
.ex-list { list-style: none; margin: 0; padding: 0; }
.ex-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--grey); transition: color .3s; }
.ex-list li b { font: 400 var(--t-micro)/1.5 var(--mono); color: var(--muted); transition: color .3s; }
.ex-list li span { position: relative; }
.ex-list li.go.on { color: var(--ink); }
.ex-list li.go.on b { color: var(--cyan); }
.ex-list li.no span::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; border-top: 1.5px solid var(--muted); transform: scaleX(var(--s, 0)); transform-origin: left; }
.ex-list li.no.on { color: var(--muted); }
.ex-list li.no.on b { color: var(--ink); }
.ex-list li.opt.on { color: var(--ink); }
.ex-list li.opt.on b { color: var(--ink); }
.ex-copy h3 { margin-bottom: 14px; }
.ex-copy p { color: var(--grey); margin: 0 0 12px; }
@media (max-width: 800px) { .export { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; gap: 24px; } }

/* tiers */
.tier { white-space: nowrap; font-style: normal; font-size: var(--t-micro); font-weight: 500; color: var(--ink); border: 1px solid var(--line-3); border-radius: 4px; padding: 3px 7px; }
.tier-inline { color: var(--ink); }
.tiers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.tier-card { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.tier-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.price { font: 700 40px/1 var(--sans); letter-spacing: -.022em; }
.price.small { font: 500 var(--t-small)/1.4 var(--sans); letter-spacing: 0; color: var(--grey); border: 1px solid var(--line-3); border-radius: 4px; padding: 4px 8px; }
.tier-card dl { margin: 0; display: grid; }
.tier-card dl div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.tier-card dt { font-size: var(--t-label); font-weight: 500; color: var(--muted); }
.tier-card dd { margin: 0; font-size: var(--t-body); line-height: 1.5; color: var(--grey); }
.tier-card .cta { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .tier-card { padding: 22px 18px; } .tier-card dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary .tier { margin-left: 8px; vertical-align: 2px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 8px 0; font-size: var(--t-intro); font-weight: var(--w-strong); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--cyan); }
.faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.faq details p { margin: 0 0 20px; color: var(--grey); font-size: var(--t-body); }
@media (max-width: 800px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* get it: the closing screen over the city at night */
.get { position: relative; margin-top: 128px; padding-block: 120px 96px; overflow: hidden; border-top: 1px solid var(--line-2); }
.get-bg { position: absolute; inset: 0; }
.get-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: .7; }
.get-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(8, 7, 13, .9) 45%, rgba(8, 7, 13, .55) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.get-in { position: relative; }
.get h2 { font-size: var(--t-close); }
.get-lede { margin: 18px 0 0; font-size: var(--t-lead); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.waitlist { margin-top: 36px; max-width: 620px; display: grid; gap: 10px; }
.waitlist > label { font-size: var(--t-small); font-weight: 500; color: var(--grey); }
.wl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wl-row input { flex: 1 1 260px; min-height: 50px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-3); background: rgba(15, 13, 23, .9); color: var(--ink); font: 400 var(--t-body) var(--sans); }
.wl-row input::placeholder { color: var(--muted); }
.wl-row input:focus-visible { outline-offset: 1px; }
.wl-row .cta { min-height: 50px; }
.wl-row input[aria-invalid="true"] { border-color: var(--blocked); }
.wl-error { margin: 0; font-size: var(--t-small); font-weight: 500; color: var(--blocked); }
.wl-closed { margin: 0; display: flex; align-items: baseline; gap: 9px; font-size: var(--t-small); color: var(--grey); }
.wl-closed::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--cyan); transform: translateY(-1px); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--t-ui); color: var(--grey); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--cyan); }
.wl-note { margin: 0; font-size: var(--t-small); color: var(--grey); }
.wl-status { margin: 0; font-size: var(--t-small); color: var(--ink); min-height: 1.4em; }
.install { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); max-width: 900px; }
.install li { padding: 18px 20px 0 0; display: flex; gap: 12px; color: var(--grey); font-size: var(--t-ui); }
.install li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.install .lab { flex: none; min-width: 0; color: var(--cyan); font: 400 var(--t-label)/1.6 var(--mono); }
@media (max-width: 760px) { .get-bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 7, 13, .86) 45%, rgba(8, 7, 13, .74) 100%); } .wl-row .cta { flex: 1 1 100%; } .get { padding-block: 88px 72px; margin-top: 96px; } .install { grid-template-columns: minmax(0, 1fr); } .install li + li { padding-left: 0; border-left: 0; } }

/* footer */
.foot { border-top: 1px solid var(--line-2); padding-block: 48px 36px; overflow: hidden; }
.foot-cols { display: flex; justify-content: space-between; align-items: center; gap: 12px 40px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-links a { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--grey); text-decoration: none; font-size: var(--t-ui); }
.foot-links a:hover { color: var(--ink); }
.foot-note { margin: 0; color: var(--muted); font-size: var(--t-small); max-width: 52ch; }
.foot .wrap { container-type: inline-size; }
.word { margin-top: 72px; display: flex; align-items: center; gap: .14em; font: 700 min(160px, calc((100vw - 48px) / 7.9))/1 var(--sans); letter-spacing: -.035em; white-space: nowrap; color: var(--ink); }
.word .mark { width: 1.3em; height: .8em; stroke-width: 2.1; }
/* the wordmark fills its column at every width (container units where the browser has them) */
@supports (width: 1cqi) { .word { font-size: calc(100cqi / 7.02); } }
.foot-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; font-size: var(--t-small); color: var(--muted); }

/* reduced motion: figures show their still frame; nothing slides */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
