/* Cnamio public site (home, docs, legal pages). Identity v2: navy top with a blue glow, light content on white and
   mist bands, one interface blue, pills for everything clickable. Tokens are shared with docs.css and mirror the
   brand kit (tokens.json); every text/ground pair below was contrast-checked in both themes.
   Everything is same-origin: fonts and logos included (CSP: default-src 'none'; font-src 'self'). */
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* `.island` is a piece of the page's own theme inside a navy area (the connect window shown in the top). */
:root, .island {
  --page: #ffffff; --mist: #eef4ff; --surface: #ffffff; --sunken: #f1f4f9;
  --ink: #0b1220; --ink-2: #47546a; --ink-3: #5f6d84; --line: #e2e8f1; --line-2: #cdd6e3; --control-line: #7a879c;
  --accent: #2156f0; --accent-hover: #1a46cc; --accent-ink: #ffffff; --accent-soft: #e3ecff; --accent-strong: #1a46cc;
  --signal: #1f9d5c; --ok: #067647; --ok-soft: #ecfdf3; --warn: #92400e; --warn-soft: #fffaeb; --danger: #b42318; --danger-soft: #fef3f2;
  --shadow-card: 0 1px 2px rgba(11, 18, 32, 0.06), 0 0 0 1px rgba(11, 18, 32, 0.05);
  --shadow-float: 0 24px 60px -20px rgba(5, 11, 24, 0.35), 0 2px 6px rgba(5, 11, 24, 0.08);
  --dot: #cdd6e3;
}
:root {
  /* The top of every page is navy in both themes. */
  --hero: #050b18; --hero-raised: #0b1528; --hero-line: #1c2a44; --hero-ink: #eef3fb; --hero-ink-2: #a9b6cc;
  --hero-accent: #2156f0; --hero-accent-ink: #ffffff; --mark-blue: #2f6bff;
  /* The dot matrix on navy (the resolution field, the security band, the inner page tops). */
  --hero-dot: #2a3d64; --hero-accent-strong: #9cbaff; --hero-signal: #3ddc84;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --top-h: 68px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root, .island {
    --page: #050b18; --mist: #0a1426; --surface: #0d182d; --sunken: #08111f;
    --ink: #eef3fb; --ink-2: #a9b6cc; --ink-3: #8391aa; --line: #1c2a44; --line-2: #2a3b5c; --control-line: #5d6e8c;
    --accent: #5b8cff; --accent-hover: #7ea4ff; --accent-ink: #050b18; --accent-soft: #13244a; --accent-strong: #9cbaff;
    --signal: #3ddc84; --ok: #47cd89; --ok-soft: #0b2a1c; --warn: #fdb022; --warn-soft: #2e2109; --danger: #f97066; --danger-soft: #2d1210;
    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-float: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
    --dot: #1f2f4d;
  }
  /* Navy on navy: bands and the navy panels keep their edge with a hairline. */
  .band { box-shadow: inset 0 0 0 1px var(--line); }
  .closing-body { background: var(--hero-raised); }
  .guard { box-shadow: inset 0 0 0 1px var(--hero-line); }
}
/* On navy the text tokens take their dark-theme values, whatever the theme. */
.top, .hero, .page-head, .closing-body, .navy {
  --ink: var(--hero-ink); --ink-2: var(--hero-ink-2); --ink-3: var(--hero-ink-2); --line: var(--hero-line); --line-2: var(--hero-line);
  --accent: #5b8cff; --accent-strong: #9cbaff; --signal: #3ddc84; color: var(--ink);
}
/* Home: navy areas that hold controls (lookup, contact form) need the rest of the dark set too. */
.navy {
  --surface: var(--hero-raised); --sunken: var(--hero); --mist: var(--hero-raised); --line-2: #2a3b5c; --control-line: #5d6e8c;
  --accent-hover: #7ea4ff; --accent-ink: #050b18; --accent-soft: #13244a;
  --ok: #47cd89; --ok-soft: #0b2a1c; --warn: #fdb022; --warn-soft: #2e2109; --danger: #f97066; --danger-soft: #2d1210;
}
.island { color: var(--ink); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, pre:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.accent { color: var(--accent); }
.frame { position: relative; min-height: 100vh; overflow-x: clip; }
[hidden] { display: none !important; }

/* Navigation: a pill over the navy top. */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; padding-top: 16px; }
.top-inner { min-height: 52px; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 18px; border-radius: var(--r-pill);
  background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-line); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
/* The lockup never goes under its minimum width (96px). */
.brand img { display: block; height: 30px; width: auto; }
.top-nav { margin: 0 auto; display: flex; align-items: center; gap: 24px; font-size: 14.5px; font-weight: 500; }
.top-nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; padding: 6px 0; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--ink); }
.top-nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--accent); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: var(--r-pill); background: var(--hero-accent); color: var(--hero-accent-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; outline-color: #ffffff; }

/* Buttons: pills. One primary per area; the soft one turns into the dark ghost on navy. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink); font: 600 15px/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, box-shadow .15s, transform .1s; }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn-soft { background: var(--accent-soft); color: var(--accent-strong); }
.btn-soft:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-small { height: 36px; padding: 0 16px; font-size: 14px; }
.top .btn, .hero .btn, .page-head .btn, .closing-body .btn { background: var(--hero-accent); color: var(--hero-accent-ink); }
.top .btn:hover, .hero .btn:hover, .page-head .btn:hover, .closing-body .btn:hover { background: var(--hero-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hero-accent) 32%, transparent); }
.top .btn-soft, .hero .btn-soft, .page-head .btn-soft, .closing-body .btn-soft { background: var(--hero-raised); color: var(--hero-ink); box-shadow: inset 0 0 0 1px var(--hero-line); }
.top .btn-soft:hover, .hero .btn-soft:hover, .page-head .btn-soft:hover, .closing-body .btn-soft:hover { background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-ink-2); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Navy top: the brand glow from the top edge, over a dot matrix laid flat in perspective (a field of servers seen
   from above). Pure CSS: one gradient tile, one transform, painted once; nothing moves. The home page draws its own
   field (the DNS tree) instead of the plane. */
.hero, .page-head, .guard { position: relative; isolation: isolate; background: var(--hero); }
.hero, .page-head { border-bottom: 1px solid var(--hero-line); }
.hero::before, .page-head::before { content: ""; position: absolute; inset: 0 0 auto; height: min(100%, 560px); z-index: -1; pointer-events: none;
  background: radial-gradient(60% 520px at 50% 0, color-mix(in srgb, var(--mark-blue) 42%, transparent), transparent 70%); }
.page-head, .guard { overflow: hidden; }
.page-head::after, .guard::after { content: ""; position: absolute; left: -30%; right: -30%; bottom: -2px; height: 150%; z-index: -2; pointer-events: none;
  background: radial-gradient(circle, var(--hero-dot) 1.1px, transparent 1.7px) 50% 100% / 24px 24px;
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(transparent 8%, #000 70%); mask-image: linear-gradient(transparent 8%, #000 70%); }

/* Home, wide screens: the navigation follows the reader, so "Request access" is always one click away. */
@media (min-width: 961px) {
  .home .top { position: fixed; }
  .home section[id] { scroll-margin-top: 88px; }
}
/* Home top, two columns: the promise, its two actions and the guarantees on the left; the product on the right (the
   live lookup, with the connect window already drawn), the DNS tree it walks behind it. Then one strip of proof. */
.hero { padding: calc(var(--top-h) + 56px) 0 0; overflow: clip; }
.hero-grid { max-width: 1264px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px 64px; align-items: start; }
.hero-copy { position: relative; z-index: 2; padding-top: 8px; min-width: 0; }
.hero-copy .lede { margin: 22px 0 30px; max-width: 29em; }
.hero-more { margin: 18px 0 0; font-size: 15px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; margin: 0 0 24px; padding: 5px 14px 5px 12px; border-radius: var(--r-pill);
  background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-line); font: 500 12.5px/1.3 var(--mono); color: var(--ink-2); }
.pill-dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 22%, transparent); }
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.04em; max-width: 900px; }
.home h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.045em; max-width: 12em; }
h1 .accent { display: block; }
.lede { margin: 24px 0 32px; max-width: 31em; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.hero-note { margin: 20px 0 0; font: 12px/1.5 var(--mono); letter-spacing: .03em; color: var(--ink-2); }
.hero-note a { color: var(--ink); text-underline-offset: 3px; }
.hero-stage { position: relative; min-width: 0; }
.hero-stage > .probe { position: relative; z-index: 2; box-shadow: inset 0 0 0 1px var(--hero-line), 0 40px 80px -40px rgba(0, 0, 0, .8); }
/* The resolution field (decoration, aria-hidden): a still drawing, replaced by the live WebGL one when it runs. Its box
   reaches out to the left of the lookup and fades towards the text, so the tree shows in the gap and never under words. */
.rfield { position: absolute; z-index: 1; pointer-events: none; top: -40px; bottom: -40px; right: 0; left: -66%; opacity: .8;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 44%); mask-image: linear-gradient(90deg, transparent 30%, #000 44%); }
.hero .rfield-labels { visibility: hidden; }
.rfield-poster { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); transition: opacity .6s ease; }
.rfield-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s ease; }
.rfield-gl.is-ready { opacity: 1; }
.rfield.gl-live .rfield-poster { opacity: 0; }
.rfield-labels { position: absolute; inset: 0; }
/* On the still drawing the labels are placed by these rules: the points come from posterLabels() in site-gl.js (frame
   1056 x 620, in %); their box is the drawing's box and their size follows its width. site.js writes the real lookup
   answer into them, so the drawing says what the lookup found. The live tiers place them themselves. */
.rfield:not(.gl-live) .rfield-labels { inset: auto; left: 0; top: 50%; width: 100%; aspect-ratio: 1056 / 620; transform: translateY(-50%); container-type: inline-size; }
.rfield:not(.gl-live) .gl-label { font-size: max(8px, 1.09cqi); transform: translate(0, -50%); }
.rfield:not(.gl-live) .gl-label-node, .rfield:not(.gl-live) .gl-label-target { font-size: max(8.5px, 1.18cqi); }
.rfield:not(.gl-live) [data-gl-label="root"] { left: 10.38%; top: 14.21%; }
.rfield:not(.gl-live) [data-gl-label="tld"] { left: 21.56%; top: 30.44%; }
.rfield:not(.gl-live) [data-gl-label="zone"] { left: 29.35%; top: 49.97%; }
.rfield:not(.gl-live) [data-gl-label="ns0"] { left: 34.86%; top: 54.68%; }
.rfield:not(.gl-live) [data-gl-label="ns1"] { left: 35.11%; top: 59.27%; }
.rfield:not(.gl-live) [data-gl-label="record"] { left: 50.87%; top: 73.08%; transform: translate(-100%, -50%); }
.rfield:not(.gl-live) [data-gl-label="target"] { left: 53.90%; top: 81.63%; transform: translate(-100%, -50%); }
.rfield:not(.gl-live) [data-gl-label="provider"] { left: 26.51%; top: 59.84%; transform: translate(-100%, -50%); }
.rfield:not(.gl-live) [data-gl-label="ns2"], .rfield:not(.gl-live) [data-gl-label="ns3"] { display: none; }
.gl-label { position: absolute; left: 0; top: 0; font: 500 11.5px/1 var(--mono); letter-spacing: .01em; color: var(--ink-2); white-space: nowrap; will-change: transform; }
.gl-label-node, .gl-label-target { color: var(--ink); font-size: 12.5px; }
.gl-label-provider { color: var(--signal); }
.gl-label-record { color: var(--accent-strong); }
.hero-points { list-style: none; margin: 36px 0 0; padding: 22px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); max-width: 31em;
  font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.hero-points li { position: relative; padding-left: 26px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 14px; height: 14px; background: var(--signal); clip-path: polygon(12% 50%, 0 64%, 38% 100%, 100% 22%, 87% 9%, 37% 72%); }
/* Proof: the first customer in production, then the providers as words (no logos we are not licensed to use). */
.proof { max-width: 1264px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; margin-top: 72px; padding-top: 28px; padding-bottom: 40px;
  background: linear-gradient(var(--line), var(--line)) 32px 0 / calc(100% - 64px) 1px no-repeat; }
.proof p { margin: 0; }
.proof-k { display: block; margin: 0 0 10px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.proof-case { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.proof-case strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 20px; letter-spacing: -0.02em; }
.proof-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-2); }

/* ---- Glass, on three surfaces only: the navigation pill, the live lookup over the field, the connect window over its
   dot grid. Frosted (blur + saturate) with a hairline of light on the inside, a faint top highlight and a fixed grain
   tile, so it reads as a material and not as the stock template. Opacity is set so every text on it keeps 4.5:1 over
   the worst case behind it (white page under the bar; the blue trace under the lookup). Nothing animates behind the
   glass while the page is idle (the field renders only while something moves). Solid where the browser has no
   backdrop-filter or the visitor asks for less transparency. ---- */
.top-inner, .hero-stage > .probe, .stage .cwin { --glass-tint: var(--hero-raised); --glass-alpha: 80%;
  background: url("/site/grain.v1.svg") 0 0 / 160px 160px, linear-gradient(rgba(255, 255, 255, .055), rgba(255, 255, 255, 0) 120px),
    color-mix(in srgb, var(--glass-tint) var(--glass-alpha), transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
/* On the glass bar the soft button is glass too: only its hairline marks it. */
.top .btn-soft { background: rgba(255, 255, 255, .04); }
.top-inner { --glass-alpha: 86%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 32px -18px rgba(0, 0, 0, .6); }
.hero-stage > .probe { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.stage .cwin { --glass-tint: var(--surface); --glass-alpha: 84%; -webkit-backdrop-filter: blur(6px) saturate(140%); backdrop-filter: blur(6px) saturate(140%);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .5); }
@media (prefers-color-scheme: dark) { .stage .cwin { box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .08); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top-inner, .hero-stage > .probe, .stage .cwin { --glass-alpha: 100%; }
}
@media (prefers-reduced-transparency: reduce) {
  .top-inner, .hero-stage > .probe, .stage .cwin { --glass-alpha: 100%; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Live lookup (GET /v1/lookup on this origin). The states are set by site.js on `data-state`; without script it is a
   plain form that says what the lookup would show. */
.probe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: var(--r-xl); background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-line); min-width: 0; }
.probe p { margin: 0; }
.probe-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.probe-live { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.probe-path { text-transform: none; letter-spacing: 0; white-space: nowrap; }
.probe-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.probe-form label { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.field { display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 7px 0 18px; border-radius: var(--r-pill); background: var(--sunken); box-shadow: inset 0 0 0 1px var(--control-line); }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.field[data-state="error"] { box-shadow: inset 0 0 0 2px var(--danger); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: 14px/1 var(--mono); }
.field .btn { flex: none; height: 38px; }
.field .btn:disabled { opacity: .7; cursor: progress; }
.field-help { font-size: 13px; line-height: 1.45; color: var(--ink-2); min-height: 1.45em; }
.field-status[data-tone="error"] { color: var(--danger); font-weight: 500; }
.probe-try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.probe-try span { margin-right: 2px; }
.probe-try button { height: 28px; padding: 0 11px; border: 0; border-radius: var(--r-pill); background: transparent; box-shadow: inset 0 0 0 1px var(--control-line); color: var(--ink); font: 500 12.5px/1 var(--mono); cursor: pointer; }
.probe-try button:hover { background: var(--accent-soft); }
.probe-try button:focus-visible { border-radius: var(--r-pill); }
.probe-steps { list-style: none; margin: 0; padding: 0; display: grid; border-bottom: 1px solid var(--line); }
.probe-steps li { display: grid; grid-template-columns: 18px 128px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.step-mark { position: relative; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--control-line); }
.step-name { font: 500 12px/1.7 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.step-idle { color: var(--ink-2); }
.step-live { display: none; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.step-mono { font: 13px/1.55 var(--mono); }
.step-live strong { font-weight: 600; }
.step-live small { display: block; font: 12px/1.5 var(--mono); color: var(--ink-2); }
/* Before an answer the three rows share the reserved height; with one, each takes what it needs. */
.probe[data-state="done"] .probe-steps { grid-auto-rows: auto; align-content: start; }
.step-line { display: block; }
.step-text { display: block; margin-top: 6px; color: var(--ink-2); }
/* Once the answer is on screen the summary is for screen readers only: sighted readers have it in the steps. */
.field-status[data-tone="done"] { position: absolute; width: 1px; height: 1px; min-height: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.probe-steps li.on .step-idle { display: none; }
.probe-steps li.on .step-live { display: block; }
.probe-steps li.on .step-mark { background: var(--signal); box-shadow: none; }
.probe-steps li.on .step-mark::after { content: ""; position: absolute; inset: 4px; background: var(--hero); clip-path: polygon(12% 50%, 0 64%, 38% 100%, 100% 22%, 87% 9%, 37% 72%); }
.probe-steps li.busy .step-mark { box-shadow: inset 0 0 0 2px var(--accent); }
.probe-result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
/* Before a lookup: an example of the window (tagged "Example"), so the product is on the first screen. */
.probe-empty { display: grid; }
.probe-result .cwin-example { --accent: var(--hero-accent); --accent-ink: var(--hero-accent-ink); }
.probe-next { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* Status badge: a pill with a dot; the word always says the state. */
.state { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 9px; border-radius: var(--r-pill); background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1.5 var(--mono); color: var(--ink); white-space: nowrap; }
.state-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.state-live { background: var(--ok-soft); box-shadow: none; color: var(--ok); }
.state-live .state-dot { background: var(--signal); }
.state-pending { background: var(--warn-soft); box-shadow: none; color: var(--warn); }
.state-pending .state-dot { background: var(--warn); }

/* The connect window, drawn small: what the end user sees. Fields and buttons here are pictures, not controls. */
.cwin { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); text-align: left; min-width: 0; }
.cwin p { margin: 0; }
/* Inside the lookup on the navy top, the drawn window's button is the top's own primary blue, like every button
   around it (one blue per area), whatever the theme. */
.probe-result .cwin { --accent: var(--hero-accent); --accent-ink: var(--hero-accent-ink); }
.cwin .state { justify-self: start; }
.cwin-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cwin-tag { flex: none; padding: 1px 8px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-strong); letter-spacing: .04em; }
.cwin-title { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.cwin-sub { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }
.cwin-sub strong { color: var(--ink); font: 500 13px/1.5 var(--mono); }
.cwin-dns { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); background: var(--sunken); font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.cwin-dns strong { display: block; color: var(--ink); font: 500 13px/1.5 var(--mono); overflow-wrap: anywhere; }
.mark { flex: none; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-weight: 700; }
.rec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 13px/1.5 var(--mono); min-width: 0; }
.rec > span { min-width: 0; padding: 4px 9px; border-radius: var(--r-sm); background: var(--sunken); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); overflow-wrap: anywhere; }
.rec .type { color: var(--accent-strong); font-weight: 500; }
.rec .cwin-copy { margin-left: auto; padding: 3px 11px; border-radius: var(--r-pill); background: var(--accent-soft); box-shadow: none; color: var(--accent-strong); font: 600 12.5px/1.5 var(--font); }
.cwin-label { font-size: 13px; line-height: 1.3; font-weight: 600; }
.cwin-input { height: 40px; display: flex; align-items: center; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--control-line); background: var(--surface); color: var(--ink-3); font: 13px/1 var(--mono); letter-spacing: .08em; white-space: nowrap; overflow: hidden; }
.cwin-note { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.cwin-btn { height: 42px; padding: 0 22px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 600; font-size: 15px; white-space: nowrap; }
.cwin-row { display: flex; gap: 8px; align-items: flex-end; }
.cwin-row > div { flex: 1 1 0; min-width: 0; display: grid; gap: 6px; }
.cwin-row > .cwin-btn { flex: none; height: 40px; }
/* Two fields (an access key and its secret): side by side, with the button on a row of its own. */
.cwin-pair { flex-wrap: wrap; }
.cwin-pair > div { flex-basis: 40%; }
.cwin-pair > .cwin-btn { flex: 1 1 100%; }

/* Code (numbered lines). Tokens: b = names, em = strings, i = keywords and tags, u = comments. */
pre { font: 13.5px/1.7 var(--mono); color: var(--ink); overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
pre code { font: inherit; display: block; }
/* Numbered code (home): one block per line, so the newlines between them must not add blank lines. */
.home pre code { counter-reset: ln; white-space: normal; }
.ln { display: block; counter-increment: ln; white-space: pre; }
.ln::before { content: counter(ln); display: inline-block; width: 2.2ch; margin-right: 18px; text-align: right; color: var(--ink-3); user-select: none; }
pre b { font-weight: 500; color: var(--ink); }
pre em { font-style: normal; color: var(--accent-strong); }
pre i { font-style: normal; font-weight: 500; color: var(--ink-2); }
pre u { text-decoration: none; color: var(--ink-3); }

/* Sections: white page, one mist band, one navy band. Titles sit on the left; each section has its own layout. */
.section { padding: 80px 0; }
.band { background: var(--mist); border-radius: var(--r-xl); margin: 0 16px; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-strong); }
/* A branch of the symbol (down the trunk, then right) in front of each section label. */
.kicker::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: -7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; border-bottom-left-radius: 4px; opacity: .55; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.03em; max-width: 780px; }
.home h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; max-width: 18em; }
.section-lede { margin: 16px 0 0; max-width: 31em; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.section-lede a { color: var(--ink); text-underline-offset: 3px; }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 56px; align-items: end; margin-bottom: 40px; }
.head-row .section-lede, .head-row .section-more { margin: 0; }
.head-row .section-more { justify-self: end; }
.section-more { margin: 24px 0 0; font-size: 16px; }
.cov-tools { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.cov-tools a { color: var(--accent-strong); text-underline-offset: 3px; }
.more { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
/* The arrow is glued to the last word so it never wraps onto a line of its own. */
.more::after { content: "\00a0\2192"; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Providers: the two ways a domain gets connected, as two rows of one table. */
.cov-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.cov { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.cov-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 10px 24px; align-items: start; padding: 28px 0; }
.cov-row > .state { grid-row: span 2; justify-self: start; margin-top: 2px; }
.cov-row > .cov-text, .cov-row > .chips { grid-column: 2; }
.cov-row + .cov-row { border-top: 1px solid var(--line-2); }
.cov p { margin: 0; }
.cov-text { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 12px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12.5px/1.5 var(--mono); color: var(--ink); }
.chips .chip-open { background: transparent; box-shadow: none; border: 1px dashed var(--control-line); padding: 4px 11px; color: var(--ink-2); }

/* How it works: the index stays on the left while the three real things scroll past on the right: what you add,
   what your user sees, what your backend receives. The step in view is marked in the index. */
.how-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.how-aside { align-self: stretch; }
.how-sticky { position: sticky; top: 112px; }
.how-index { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.how-index a { position: relative; display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-2); text-decoration: none;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); transition: color .2s, padding-left .25s cubic-bezier(.23, 1, .32, 1); }
.how-index li:last-child a { border-bottom: 0; }
.how-index a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; margin-top: -1px; background: var(--accent); transition: width .25s cubic-bezier(.23, 1, .32, 1); }
.how-index .how-n { font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.how-index a:hover, .how-index a.is-on { color: var(--ink); }
.how-index a.is-on { padding-left: 22px; }
.how-index a.is-on::before { width: 12px; }
.how-index a.is-on .how-n { color: var(--accent-strong); }
.how .section-more { margin-top: 28px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 72px; }
.flow-step { min-width: 0; display: grid; gap: 20px; align-content: start; scroll-margin-top: 112px; }
.flow-step > * { min-width: 0; }
.flow-head p { margin: 0; }
.flow-n { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
.flow-n span:first-child { color: var(--ink-3); margin-right: 4px; }
.flow-head h3 { margin: 10px 0 8px; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.flow-head h3 + p { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
/* The connect window sits on a dot grid: the same matrix as the top, flat and light. */
.stage { display: grid; place-items: center; padding: 48px 20px; border-radius: var(--r-lg); background: var(--surface) radial-gradient(circle, var(--dot) 1px, transparent 1.5px) 0 0 / 18px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.stage .cwin { width: min(380px, 100%); }
.flow .code { margin-top: 0; background: var(--surface); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
.flow .code-tabs { background: var(--sunken); }

/* Agents: copy and links on the left, what to paste on the right. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.split > * { min-width: 0; }
/* Agents: the copy stays in view while the prompt, the session log and the links go by. */
#agents .split { align-items: start; }
#agents .split > :first-child { position: sticky; top: 112px; }
.links { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.links a { display: grid; gap: 2px; align-content: start; height: 100%; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.links-tag { font: 500 12.5px/1.5 var(--mono); color: var(--accent-strong); }
.links a:hover { color: var(--ink); }
.links a:hover .links-tag { text-decoration: underline; text-underline-offset: 3px; }

/* What the agent does, as a session log: a navy terminal in both themes. */
.term { margin: 16px 0 0; border-radius: var(--r-lg); background: var(--hero); color: var(--hero-ink); box-shadow: inset 0 0 0 1px var(--hero-line); overflow: hidden;
  --ink: var(--hero-ink); --ink-2: var(--hero-ink-2); --ink-3: var(--hero-ink-2); --line: var(--hero-line); --accent-strong: var(--hero-accent-strong); --signal: var(--hero-signal); }
.term-head { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font: 500 12px/1.3 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.term-dots { display: flex; gap: 6px; }
.term-dots i { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); }
.term-log { list-style: none; margin: 0; padding: 16px 18px 18px; display: grid; gap: 7px; font: 13px/1.55 var(--mono); }
.term-log li { display: grid; grid-template-columns: 5ch minmax(0, 1fr); column-gap: 12px; }
.term-log code { font: inherit; color: var(--ink); overflow-wrap: anywhere; }
.term-note { grid-column: 2; color: var(--ink-2); font-family: var(--font); font-size: 14px; line-height: 1.45; }
.term-k { color: var(--accent-strong); }
.term-ok, .term-p { color: var(--signal); }
.term-cmd { margin-bottom: 4px; }
.term-end { margin-top: 4px; color: var(--ink); }
.term-end > span:last-child { font-family: var(--font); font-size: 14px; }

/* Security: one navy band, four principles in a row separated by hairlines, over the dot plane. */
.guard { position: relative; margin: 0 16px; padding: 72px 0; border-radius: var(--r-xl); background: var(--hero); }
.guard-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; counter-reset: guard; }
.guard-list li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 0 24px; border-left: 1px solid var(--line); counter-increment: guard; }
.guard-list li:first-child { padding-left: 0; border-left: 0; }
.guard-list li:last-child { padding-right: 0; }
.guard-list li::before { content: "0" counter(guard); display: block; margin-bottom: 12px; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; color: var(--accent-strong); }
.guard-list h3 { font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.guard-list p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* Questions: native disclosure, no script. Title on the left, answers on the right. */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.faq details + details { border-top: 1px solid var(--line-2); }
.faq summary { position: relative; display: block; list-style: none; cursor: pointer; padding: 20px 64px 20px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; transition: color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; margin-top: -15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); font: 500 18px/1 var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-strong); }
.faq summary:focus-visible { outline-offset: 2px; border-radius: var(--r-sm); }
.faq details p { margin: 0; padding: 0 0 24px; max-width: 66ch; color: var(--ink-2); }

/* Code blocks with tabs: a sunken rail of pill tabs over the code. */
.code { margin-top: 16px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.code-tabs { display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); background: var(--sunken); overflow-x: auto; scrollbar-width: none; }
.code-tabs::-webkit-scrollbar { display: none; }
.code-tabs button { flex: none; height: 32px; border: 0; background: transparent; color: var(--ink-2); font: 600 14px/1 var(--font); padding: 0 14px; border-radius: var(--r-pill); cursor: pointer; }
.code-tabs button:hover { color: var(--ink); }
.code-tabs button:focus-visible { outline-offset: -2px; border-radius: var(--r-pill); }
.code-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); }
.code-pane pre { margin: 0; padding: 22px 24px; }
.agent-grid .code { margin-top: 0; box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
/* Only the tabs scroll sideways on narrow screens; the Copy button stays in view. */
.tablist { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.code-tabs .copy { margin-left: auto; background: var(--accent-soft); color: var(--accent-strong); }
.code-tabs .copy:hover { color: var(--accent-strong); box-shadow: inset 0 0 0 1px var(--line-2); }
.code-tabs .copy.done { background: var(--accent); color: var(--accent-ink); }
.pane-hint { margin: 18px 24px 0; font-size: 14px; color: var(--ink-2); }
.code-pane .pane-hint + pre { padding-top: 10px; }
.code-pane pre .ln { white-space: pre-wrap; padding-left: calc(2.2ch + 18px); text-indent: calc(-2.2ch - 18px); }
/* Long one-line samples (the page snippet, the signature check) scroll sideways instead of wrapping mid-token. */
.flow .code-pane pre .ln { white-space: pre; padding-left: 0; text-indent: 0; }

/* Closing: one navy panel with the same glow. What happens next on the left, the request on the right. */
.closing { padding-top: 0; }
.closing > .wrap { max-width: none; padding: 0 16px; }
.closing-body { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; padding: 64px max(56px, calc((100% - 1056px) / 2));
  border-radius: var(--r-xl); background: var(--hero); box-shadow: inset 0 0 0 1px var(--hero-line); }
.closing-body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 320px at 50% 0, color-mix(in srgb, var(--mark-blue) 50%, transparent), transparent 70%); }
.closing-body h2 { max-width: 11em; }
/* The three next steps are the symbol: a trunk through two text-colour nodes down to the larger blue one (live). */
.next-steps { position: relative; list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: next; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.next-steps::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 16px; width: 2px; border-radius: 2px; background: var(--hero-line); transform-origin: 50% 0; }
.next-steps li { position: relative; padding-left: 44px; counter-increment: next; }
.next-steps li::before { content: counter(next); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--hero-raised); box-shadow: inset 0 0 0 1.5px var(--hero-ink-2); font: 500 12px/1 var(--mono); color: var(--ink); }
.next-steps li:last-child { color: var(--ink); }
.next-steps li:last-child::before { left: -3px; top: -4px; width: 34px; height: 34px; background: var(--mark-blue); box-shadow: 0 0 0 6px color-mix(in srgb, var(--mark-blue) 22%, transparent); color: var(--hero-accent-ink); }

/* Contact form in the closing section. The trap is a field people never see or reach (bots fill it; see /site/lead). */
.lead-form { display: grid; gap: 16px; text-align: left; }
.section-lede + .lead-form { margin-top: 24px; }
.lead-form[hidden], .lead-status[hidden] { display: none; }
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lead-field { display: grid; grid-template-rows: 1fr auto; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.lead-field input, .lead-field select, .lead-field textarea { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--control-line);
  border-radius: var(--r-md); background: var(--surface); color: var(--ink); font: 15px var(--font); color-scheme: dark; }
.lead-field > span { align-self: end; }
/* Everything one types into is a pill (brand); only the multi-line box keeps a card radius. */
.lead-field input, .lead-field select { border-radius: var(--r-pill); padding: 10px 18px; }
.lead-field select { padding-right: 14px; }
.lead-field textarea { resize: vertical; line-height: 1.5; border-radius: var(--r-lg); padding: 12px 18px; }
.lead-field input:focus-visible, .lead-field select:focus-visible, .lead-field textarea:focus-visible, .lead-consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.lead-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.lead-consent a { color: var(--ink); text-underline-offset: 3px; }
.lead-consent input { flex: none; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--accent); }
.lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; margin: 0; overflow: hidden; }
.lead-form .cta { margin-top: 4px; }
.lead-form button.btn { cursor: pointer; }
.lead-form button.btn:disabled { opacity: .6; cursor: progress; }
.lead-status { margin: 0; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); font-size: 15px; color: var(--ink); }
.lead-status + .lead-status, .lead-form + .lead-status { margin-top: 16px; }
.lead-status a { text-underline-offset: 3px; }
.lead-error { border-color: var(--danger); }

/* Footer */
.foot { border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 48px; }
.foot-brand p { margin: 12px 0 0; max-width: 30ch; color: var(--ink-2); }
.foot h2 { margin: 0 0 14px; max-width: none; font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-bar { border-top: 1px solid var(--line); }
.foot-inner { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.langs { margin-left: auto; display: flex; gap: 4px; }
.langs button { height: 30px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: transparent; box-shadow: inset 0 0 0 1px var(--control-line); color: var(--ink-2); font: 500 12px/1 var(--mono); cursor: pointer; }
.langs button:hover { color: var(--ink); background: var(--sunken); }
.langs button[aria-pressed="true"] { background: var(--ink); color: var(--page); box-shadow: none; }

/* ---- Motion. Everything below is decoration: the page is complete without it, and `.motion` is only set by
   site.js when the visitor has not asked for reduced motion. CSS does the easing, on opacity, transform and clip-path
   only (compositor work); each sequence plays once when its block first comes into view (`.in`). The "live" dot beats
   four times and stops; the step being read breathes only while a lookup runs; both pause off screen (`.idle`). The WebGL
   field of the top (site-gl.js) renders on demand and stops when nothing moves. ---- */
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes breathe { 50% { opacity: .35; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes line-in { from { opacity: 0; transform: translateX(-10px); } }
@keyframes arrive { from { opacity: 0; transform: translateX(-36px); } }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes press { 45% { transform: scale(.95); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes node-in { from { opacity: 0; transform: scale(.4); } }
@keyframes lit { from { background-color: transparent; } }
.motion .pill-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--signal); animation: pulse 2.6s ease-out 4; }
.motion .probe-steps li.busy .step-mark { animation: breathe 1s ease-in-out infinite; }
.motion.idle .pill-dot::after, .motion.idle .probe-steps li.busy .step-mark { animation-play-state: paused; }
/* The lookup answers one step at a time; each answer and the window after them ease in once. */
.motion .probe-steps li.on .step-live, .motion .probe-steps li.on .step-mark, .motion .probe-result .cwin { animation: rise .32s cubic-bezier(.2, .7, .2, 1) both; }
/* Scroll reveal, once per block. */
.motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .reveal.in .chips li { animation: rise .35s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--i, 0) * 45ms + 250ms); }
.chips li:nth-child(2) { --i: 1; } .chips li:nth-child(3) { --i: 2; } .chips li:nth-child(4) { --i: 3; } .chips li:nth-child(5) { --i: 4; } .chips li:nth-child(6) { --i: 5; } .chips li:nth-child(7) { --i: 6; } .chips li:nth-child(8) { --i: 7; }

/* How it works, one artifact at a time. 01: the snippet is written line by line. */
.motion .flow-step { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .7s cubic-bezier(.23, 1, .32, 1); }
.motion .flow-step.in { opacity: 1; transform: none; }
.motion .flow-step.in #pane-page .ln, .motion .flow-step.in #pane-event .ln { animation: line-in .42s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--i, 0) * 60ms + 220ms); }
.flow .ln:nth-child(2) { --i: 1; } .flow .ln:nth-child(3) { --i: 2; } .flow .ln:nth-child(4) { --i: 3; } .flow .ln:nth-child(5) { --i: 4; } .flow .ln:nth-child(6) { --i: 5; } .flow .ln:nth-child(7) { --i: 6; } .flow .ln:nth-child(8) { --i: 7; } .flow .ln:nth-child(9) { --i: 8; } .flow .ln:nth-child(10) { --i: 9; } .flow .ln:nth-child(11) { --i: 10; } .flow .ln:nth-child(12) { --i: 11; } .flow .ln:nth-child(13) { --i: 12; } .flow .ln:nth-child(14) { --i: 13; }
/* 02: the record is typed in, then the token, then Connect is pressed and the records are created. */
.motion .flow-b.in .rec-type > span { animation: type-in .3s steps(5, end) both .45s; }
.motion .flow-b.in .rec-type > span:nth-child(2) { animation-duration: .32s; animation-delay: .8s; }
.motion .flow-b.in .rec-type > span:nth-child(3) { animation-duration: .7s; animation-timing-function: steps(19, end); animation-delay: 1.15s; }
.motion .flow-b.in .cwin-input { animation: type-in .9s steps(24, end) both 2s; }
.motion .flow-b.in .cwin-btn { animation: press .32s cubic-bezier(.23, 1, .32, 1) 3.05s both; }
.motion .flow-b.in .cwin-done { animation: rise .45s cubic-bezier(.23, 1, .32, 1) 3.35s both; }
/* 03: the request arrives, its body follows, and the line that says it is live lights up. */
.motion .flow-c.in #pane-event .ln:first-child { animation-name: arrive; animation-duration: .5s; }
#pane-event .ln:nth-child(12) { margin: 0 -24px; padding-left: 24px; padding-right: 24px; background: var(--ok-soft); box-shadow: inset 2px 0 0 var(--signal); }
.motion .flow-c.in #pane-event .ln:nth-child(12) { animation: line-in .42s cubic-bezier(.23, 1, .32, 1) both, lit .6s ease both; animation-delay: calc(11 * 60ms + 220ms), 1.6s; }

/* Agents: the session log is written as the agent would work through it. */
.motion .reveal.in .term-log li { animation: rise .35s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--i, 0) * 420ms + 900ms); }
.motion .reveal.in .term-log .term-cmd { animation: type-in .8s steps(44, end) both .3s; }
.term-log li:nth-child(2) { --i: 1; } .term-log li:nth-child(3) { --i: 2; } .term-log li:nth-child(4) { --i: 3; } .term-log li:nth-child(5) { --i: 4; } .term-log li:nth-child(6) { --i: 5; }

/* Closing: the trunk grows down through the three steps; the last node, the live domain, arrives last. */
.motion .reveal.in .next-steps::before { animation: grow-y 1.1s cubic-bezier(.23, 1, .32, 1) .35s both; }
.motion .reveal.in .next-steps li::before { animation: node-in .4s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--i, 0) * 380ms + 350ms); }
.next-steps li:nth-child(2) { --i: 1; } .next-steps li:nth-child(3) { --i: 2; }

/* Inner pages: the title block settles in once on arrival (CSS only; nothing else moves there). */
@media (prefers-reduced-motion: no-preference) {
  .page-head .wrap > * { animation: rise .5s cubic-bezier(.23, 1, .32, 1) both; }
  .page-head .wrap > :nth-child(2) { animation-delay: 60ms; }
  .page-head .wrap > :nth-child(3) { animation-delay: 120ms; }
  .page-head .wrap > :nth-child(n+4) { animation-delay: 180ms; }
}

@media (prefers-reduced-motion: reduce) {
  .motion .reveal, .motion .flow-step { opacity: 1; transform: none; transition: none; }
  .pill-dot::after { animation: none !important; }
}

@media (max-width: 1040px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .how-grid { gap: 48px; }
}
@media (max-width: 960px) {
  /* The menu becomes a second row inside the bar that scrolls sideways. */
  :root { --top-h: 113px; }
  .top-inner { flex-wrap: wrap; gap: 0 12px; padding: 8px 8px 0 18px; border-radius: var(--r-xl); }
  .top-actions { margin-left: auto; }
  .top-nav { order: 3; flex: 0 0 calc(100% + 26px); margin: 8px -8px 0 -18px; padding: 0 18px; gap: 22px; height: 44px; border-top: 1px solid var(--hero-line); overflow-x: auto; scrollbar-width: none; }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .top-nav a:last-child { padding-right: 28px; }
  .top-nav a[aria-current="page"] { box-shadow: none; color: var(--accent-strong); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .hero { padding: calc(var(--top-h) + 48px) 0 0; }
  .hero-grid, .proof, .cov-grid, .split, .faq-grid, .closing-body, .head-row, .how-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 0; }
  /* One column: promise and actions, then the product, then the guarantees. */
  .hero-copy { display: contents; }
  .hero-copy > * { order: 0; min-width: 0; }
  .hero-copy > .pill, .hero-copy > .hero-more { justify-self: start; }
  .hero-stage { order: 1; margin-top: 40px; }
  .hero-points { order: 2; }
  .proof { margin-top: 56px; gap: 24px; }
  .cov-grid, .split, .faq-grid, .closing-body { gap: 40px; }
  .how-grid { gap: 40px; }
  .head-row .section-more { justify-self: start; }
  /* Narrow screens: the product comes right after the promise; the decorative field stays out of the way. */
  .hero-stage > .probe { width: 100%; max-width: 560px; }
  .rfield { display: none; }
  .hero-points { margin-top: 28px; }
  .how-sticky { position: static; }
  #agents .split > :first-child { position: static; }
  .how-index { display: none; }
  .flow { gap: 56px; }
  .guard-list { grid-template-rows: none; }
  .guard-list li { display: block; }
  .guard-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .guard-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .guard-list li:nth-child(even) { padding-right: 0; }
  .section { padding: 72px 0; }
  .guard { padding: 64px 0; }
  .closing { padding-top: 0; }
  .closing-body { padding: 48px 40px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-nav { gap: 18px; font-size: 14px; }
  .band, .guard { margin: 0; border-radius: 0; }
  /* Phones: the tabs wrap onto a second line beside Copy instead of scrolling under it. */
  .code-tabs:has(.tablist) { align-items: flex-start; }
  .tablist { flex: 1 1 0; flex-wrap: wrap; overflow: visible; }
  .faq summary { padding: 16px 52px 16px 0; font-size: 16px; }
  .faq summary::after { right: 0; }
  .faq details p { padding: 0 0 20px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 40px; padding-bottom: 32px; }
  .foot a { overflow-wrap: anywhere; }
  .hero { padding: calc(var(--top-h) + 36px) 0 0; }
  .proof { background-position: 16px 0; background-size: calc(100% - 32px) 1px; }
  .proof-list { gap: 6px 20px; font-size: 16px; }
  .lede, .section-lede { font-size: 17px; }
  .cta { width: 100%; flex-direction: column; }
  .cta .btn { width: 100%; }
  .code-tabs button { padding: 0 10px; font-size: 13px; }
  .code-pane pre { padding: 18px 16px; font-size: 12.5px; }
  #pane-event .ln:nth-child(12) { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .pane-hint { margin: 16px 16px 0; }
  .agent-grid .code .ln { overflow-wrap: anywhere; }
  .section { padding: 56px 0; }
  .guard { padding: 56px 0; }
  .head-row { margin-bottom: 28px; }
  .closing { padding-top: 0; }
  .closing-body { padding: 40px 16px; border-radius: 0; }
  .closing > .wrap { padding: 0; }
  .lead-grid { grid-template-columns: 1fr; }
  .probe { padding: 16px; border-radius: var(--r-lg); }
  .probe-steps li { grid-template-columns: 18px minmax(0, 1fr); row-gap: 2px; }
  .probe-steps li > .step-idle, .probe-steps li > .step-live { grid-column: 2; }
  .stage { padding: 28px 12px; }
  .cov-row { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
  .cov-row > .state { grid-row: auto; }
  .cov-row > .cov-text, .cov-row > .chips { grid-column: 1; }
  .guard-list { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .guard-list li, .guard-list li:nth-child(even) { padding: 0; border-left: 0; }
  .links { grid-template-columns: minmax(0, 1fr); }
  .term-log { padding: 14px 14px 16px; font-size: 12.5px; }
  .term-log li { grid-template-columns: 4.5ch minmax(0, 1fr); column-gap: 10px; }
}
@media (max-width: 420px) {
  .top-signin { display: none; }
  /* The badge may take two lines here: it becomes a small label instead of a stretched capsule. */
  .pill { font-size: 11.5px; border-radius: var(--r-lg); text-align: left; }
  .home h1 { font-size: 36px; }
  .probe-path { display: none; }
  .field { padding-left: 14px; }
  .field input { font-size: 13px; }
  .field .btn { padding: 0 12px; }
  .rec { font-size: 12px; }
  .cwin { padding: 14px; }
  .cwin-row { flex-wrap: wrap; }
  .cwin-row > div { flex-basis: 40%; }
  .cwin-row > .cwin-btn { flex: 1 1 100%; }
}

/* ---- Inner pages (providers, security, quickstart, agents, docs): a left-aligned title on the same navy top. ---- */
.page-head { padding: calc(var(--top-h) + 64px) 0 64px; }
.eyebrow { margin: 0 0 18px; font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.eyebrow strong { color: var(--accent-strong); font-weight: 500; }
.page-head h1 { font-size: clamp(34px, 3.9vw, 44px); line-height: 1.06; letter-spacing: -0.035em; max-width: 800px; }
.page-head .lede { margin: 20px 0 0; max-width: 32em; }
.page-head .lede a { color: var(--ink); text-underline-offset: 3px; }
.page-head .cta { margin-top: 32px; }
.page-head .hero-note { margin-top: 20px; }
.page-head .updated { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.page-head .updated a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 640px) {
  .page-head { padding: calc(var(--top-h) + 40px) 0 44px; }
  .page-head h1 { font-size: 32px; }
}

/* ---- Self-service sign-up (home) and the pricing page. ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.contact-title { margin: 64px 0 0; font-size: 22px; line-height: 1.3; }
.price-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
.price-card-main { box-shadow: var(--shadow-card), inset 0 0 0 2px var(--accent); }
.price-card h3 { font-size: 18px; }
.price { margin: 4px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price-main { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price-per { font-size: 14px; color: var(--ink-3); }
.price-alt { margin: 0; font-size: 14px; color: var(--ink-2); }
.price-quota { margin: 4px 0 4px; font-weight: 600; }
.price-card .ticks { flex: 1; gap: 8px; }
.price-card .ticks li { font-size: 14.5px; }
.price-card .btn { margin-top: 8px; }
.price-note { margin: 24px 0 0; text-align: center; font-size: 14px; color: var(--ink-3); }
.price-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.price-cols h2 { font-size: 24px; margin-bottom: 20px; }
@media (max-width: 960px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .price-grid, .price-cols { grid-template-columns: minmax(0, 1fr); } .price-cols { gap: 32px; } }
