/* v3 — the 2026-10 redesign.
   Loaded after style.css / site.css / v2.css on every page: it re-points the
   old tokens at the new palette (so every page changes colour together) and
   owns the header, the footer and the home page.

   Type: Space Grotesk for headings and the wordmark, Inter for reading,
   JetBrains Mono for labels and numbers. Colour: ink, with the logo's own
   cyan -> mint as the only accent; ENIG gold for "verified". */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Motion: three durations and two curves, so everything that moves on the
       site moves as if one hand set it. Arrivals ease out (fast, then settle);
       a hover eases both ways. Raw seconds in a transition are a bug now. */
    --t-fast: 160ms;
    --t-base: 260ms;
    --t-slow: 700ms;
    --ease-out: cubic-bezier(.2, .7, .2, 1);
    --ease-std: cubic-bezier(.4, 0, .2, 1);
    --ink-0: #05070a;
    --ink-1: #090c11;
    --ink-2: #0d1118;
    --ink-3: #131923;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --fg: #eef2f6;
    --fg-2: #a9b3c1;
    --fg-3: #6c7787;
    --cyan: #00e5ff;
    --mint: #00ff9d;
    --gold: #e6b34f;
    --brand: linear-gradient(92deg, var(--cyan), var(--mint));
    --st-now: #3ddc97;
    --st-next: #4fc3ff;
    --st-later: #f2b44c;
    --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    --nav-h: 64px;
    --chamfer: 14px;

    /* the old tokens, so every page follows */
    --primary: var(--cyan);
    --primary-dark: #00b8cc;
    --background: var(--ink-0);
    --surface: var(--ink-1);
    --surface-2: var(--ink-2);
    --surface-3: var(--ink-3);
    --border: var(--line);
    --border-light: var(--line-2);
    --text: var(--fg);
    --text-muted: var(--fg-2);
    --text-dim: var(--fg-3);
}

[data-theme="light"] {
    --ink-0: #f6f7f9;
    --ink-1: #ffffff;
    --ink-2: #ffffff;
    --ink-3: #eef1f5;
    --line: rgba(10, 20, 35, .09);
    --line-2: rgba(10, 20, 35, .16);
    --fg: #0b1220;
    --fg-2: #46536a;
    --fg-3: #7a8699;
    --cyan: #0090a8;
    --mint: #00a46a;
    --gold: #b7862a;
    --st-now: #0e9f6e;
    --st-next: #0284c7;
    --st-later: #b7791f;
    --primary: var(--cyan);
    --primary-dark: #007a8f;
}

/* A link with no rule of its own. Without this the browser's #0000EE showed
   wherever a page put a plain <a> in running text — the Terms link and the MCP
   links under the prices, "the AI page" on /features, About's licence line —
   dark blue on both themes. The accent is the one .prose already uses, so a link
   reads the same in a footnote as in the guide. Anything that colours its own
   links (a class) still wins: an element selector is the weakest there is. */
a { color: var(--primary); text-decoration-color: color-mix(in srgb, var(--primary) 45%, transparent);
    text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }

body { background: var(--ink-0); color: var(--fg); }
h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: -.02em; }
::selection { background: rgba(0, 229, 255, .28); }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

.mono { font-family: var(--font-tech); }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Status chips ───────────────────────────────────────────────────── */
.st { display: inline-flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--font-tech);
      letter-spacing: .08em; text-transform: uppercase; color: var(--st-now); white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
              box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.st-next { color: var(--st-next); }
.st-later { color: var(--st-later); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.b3 { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h);
      padding: 0 20px; border-radius: 10px; font: 600 14.5px/1 var(--font-main); text-decoration: none;
      color: #031015; background: var(--brand); border: 0; cursor: pointer; white-space: nowrap;
      transition: transform var(--t-fast) ease, box-shadow var(--t-base) ease, filter var(--t-base) ease; }
.b3:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -8px rgba(0, 229, 255, .55); filter: saturate(1.1); }
.b3 svg { flex: none; }
.b3-lg { --h: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 12px; }
.b3-ghost { color: var(--fg); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2);
            backdrop-filter: blur(8px); }
.b3-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line-2); filter: none; }
[data-theme="light"] .b3 { color: #fff; }
[data-theme="light"] .b3-ghost { color: var(--fg); background: rgba(10, 20, 35, .03); }
.b3-text { color: var(--fg-2); text-decoration: none; font: 500 14px/1 var(--font-main); padding: 10px 8px; }
.b3-text:hover { color: var(--fg); }

/* ── Announcement bar ───────────────────────────────────────────────── */
.annc { position: relative; z-index: 60; background: #071318; border-bottom: 1px solid rgba(0, 229, 255, .16);
        font: 500 13px/1.3 var(--font-main); color: var(--fg-2); text-align: center; padding: 9px 16px; }
.annc a { color: var(--fg); text-decoration: none; }
.annc a b { color: var(--cyan); font-weight: 600; }
.annc a:hover b { text-decoration: underline; }
.annc .mono { color: var(--cyan); font-size: 12px; margin-right: 6px; }
[data-theme="light"] .annc { background: #e9f8fb; }

/* ── Header ─────────────────────────────────────────────────────────── */
header.h3 { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: transparent;
            border-bottom: 1px solid transparent; transition: background var(--t-base), border-color var(--t-base), backdrop-filter var(--t-base); }
header.h3.is-scrolled, header.h3.is-solid { background: color-mix(in srgb, var(--ink-0) 82%, transparent);
            backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
            border-bottom-color: var(--line); }
.h3-in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.h3-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); justify-self: start; }
.h3-logo .wf-mark { width: 30px; height: 22px; }
.h3-word { font: 700 19px/1 var(--font-display); letter-spacing: -.03em; }
.h3-word i { font-style: normal; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* the wordmark: "Wire", an F drawn as copper, "rame" */
.wm { display: inline-flex; align-items: baseline; white-space: nowrap; }
.wm-f { width: .52em; height: .8em; margin: 0 .01em 0 .045em; overflow: visible; }
.wm-rame { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h3-eda { font: 600 10px/1 var(--font-tech); letter-spacing: .18em; color: var(--fg-3); padding: 4px 6px;
          border: 1px solid var(--line-2); border-radius: 5px; margin-left: 2px; }

.h3-nav { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
          background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="light"] .h3-nav { background: rgba(255, 255, 255, .7); }
.h3-item { position: relative; }
.h3-link { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
           font: 500 14px/1 var(--font-main); color: var(--fg-2); text-decoration: none; background: none; border: 0;
           cursor: pointer; white-space: nowrap; }
.h3-link:hover, .h3-item.open > .h3-link, .h3-link[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, .06); }
[data-theme="light"] .h3-link:hover, [data-theme="light"] .h3-item.open > .h3-link { background: rgba(10, 20, 35, .05); }
.h3-link .chev { transition: transform var(--t-base); opacity: .7; }
.h3-item.open > .h3-link .chev { transform: rotate(180deg); }
.h3-link .st { font-size: 9px; }

.h3-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px); min-width: 280px;
           padding: 10px; border-radius: 16px; background: var(--ink-2);
           box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -20px rgba(0, 0, 0, .7);
           backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base); }
.h3-item.open > .h3-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.h3-menu.wide { display: grid; grid-template-columns: repeat(2, minmax(240px, 1fr)); gap: 2px; min-width: 580px; }
.h3-mi { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; align-items: start; padding: 10px; border-radius: 10px;
         text-decoration: none; color: var(--fg); }
.h3-mi:hover { background: rgba(255, 255, 255, .05); }
[data-theme="light"] .h3-mi:hover { background: rgba(10, 20, 35, .04); }
.h3-mi .ic { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
             color: var(--cyan); background: rgba(0, 229, 255, .07); box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .16); }
.h3-mi b { font: 600 14px/1.25 var(--font-main); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.h3-mi small { color: var(--fg-3); font-size: 12.5px; line-height: 1.4; }
.h3-mfoot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px;
            padding: 10px 10px 4px; border-top: 1px solid var(--line); font-size: 13px; }
.h3-mfoot a { color: var(--cyan); text-decoration: none; font-weight: 600; }

.h3-right { justify-self: end; display: flex; align-items: center; gap: 6px; }
.h3-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--fg-2);
           background: none; border: 0; cursor: pointer; }
.h3-icon:hover { color: var(--fg); background: rgba(255, 255, 255, .06); }
.h3-right .b3 { --h: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.h3-burger { display: none; }

/* signed in */
header.h3 .user-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 4px; border-radius: 999px;
           text-decoration: none; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 13.5px/1 var(--font-main); }
header.h3 .user-chip img { width: 30px; height: 30px; border-radius: 50%; }
header.h3 .user-chip.tier-gold .user-name { background: linear-gradient(92deg, #f7d774, #e0a63a, #fff1b8, #e0a63a); background-size: 200% 100%;
           -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
header.h3 .user-chip.tier-silver .user-name { background: linear-gradient(92deg, #cfd6df, #8d99a8, #f4f7fa, #8d99a8); background-size: 200% 100%;
           -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
header.h3 .user-chip .user-tier { color: #e0a63a; }
header.h3 .user-chip.tier-silver .user-tier { color: #a7b2bf; }
@keyframes shine { to { background-position: -200% 0; } }

@media (max-width: 1040px) {
    .h3-in { grid-template-columns: auto 1fr auto; }
    .h3-nav { display: none; }
    .h3-burger { display: grid; }
    .h3-right .b3-text { display: none; }
    /* a backdrop filter makes the header the box a fixed child is placed in */
    header.h3.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink-0); }
    header.h3.menu-open .h3-nav { display: flex; position: fixed; inset: var(--sheet-top, var(--nav-h)) 0 0 0; z-index: 70; flex-direction: column;
            align-items: stretch; gap: 4px; padding: 16px; border-radius: 0; overflow: auto; background: var(--ink-0);
            box-shadow: none; }
    header.h3.menu-open .h3-link { width: 100%; height: 48px; justify-content: space-between; font-size: 16px; }
    header.h3.menu-open .h3-menu { position: static; transform: none; opacity: 1; visibility: visible; display: none;
            min-width: 0; box-shadow: none; background: none; backdrop-filter: none; padding: 0 0 8px 8px; }
    header.h3.menu-open .h3-item.open > .h3-menu { display: grid; grid-template-columns: 1fr; }
    header.h3.menu-open .h3-mobile-only { display: block; }
}
.h3-mobile-only { display: none; }
@media (max-width: 560px) {
    .h3-eda, .h3-theme { display: none; }
    .h3-right { gap: 2px; }
    .h3-right .b3 { --h: 36px; padding: 0 12px; font-size: 13.5px; }
    .annc { font-size: 12px; padding: 8px 12px; }
}
/* over the home page's dark hero, the header is light-on-dark in either theme */
header.h3.on-dark:not(.is-scrolled):not(.menu-open) { --fg: #eef2f6; --fg-2: #a9b3c1; --fg-3: #6c7787;
      --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14); --cyan: #00e5ff; color: #eef2f6; }
header.h3.on-dark:not(.is-scrolled):not(.menu-open) .h3-nav { background: rgba(255, 255, 255, .04); }
header.h3.on-dark:not(.is-scrolled):not(.menu-open) .h3-menu { --ink-2: #0d1118; }
header.h3.on-dark:not(.is-scrolled):not(.menu-open) .h3-link:hover,
header.h3.on-dark:not(.is-scrolled):not(.menu-open) .h3-item.open > .h3-link { background: rgba(255, 255, 255, .07); }

/* ── Hero ───────────────────────────────────────────────────────────── */
/* Words on dark ink first; the board rises from under the buttons and runs
   off the bottom of the screen, faded by a mask rather than painted over. */
.hx { position: relative; isolation: isolate; margin-top: calc(-1 * var(--nav-h)); overflow: hidden;
      padding-top: calc(var(--nav-h) + clamp(48px, 8vh, 96px));
      background: radial-gradient(ellipse 70% 55% at 50% 0%, #0d1520 0%, #06080c 70%), #06080c; }
.hx-glow { position: absolute; z-index: -1; left: 50%; top: 22%; width: 1000px; height: 520px; transform: translateX(-50%);
      background: radial-gradient(closest-side, rgba(0, 229, 255, .10), transparent); pointer-events: none; }
.hx-in { text-align: center; position: relative; z-index: 2; }
/* above the fold: a short rise on load, no scroll trigger (it held the
   headline back until JS ran) */
.hx-in > * { animation: hx-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hx-in > :nth-child(2) { animation-delay: .06s; } .hx-in > :nth-child(3) { animation-delay: .12s; }
.hx-in > :nth-child(4) { animation-delay: .18s; } .hx-in > :nth-child(5) { animation-delay: .24s; }
@keyframes hx-rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .hx-in > * { animation: none; } }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px;
      font: 500 13px/1 var(--font-main); color: #a9b3c1; background: rgba(255, 255, 255, .04);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); text-decoration: none; }
.hx-eyebrow .tag { font: 600 10.5px/1 var(--font-tech); letter-spacing: .1em; color: #031015; background: linear-gradient(92deg, #00e5ff, #00ff9d);
      padding: 5px 8px; border-radius: 999px; }
.hx-eyebrow:hover { color: #eef2f6; }
.hx h1 { margin: 24px auto 0; max-width: 980px; font-weight: 600; font-size: clamp(42px, 7vw, 90px); line-height: .98;
      letter-spacing: -.045em; color: #f4f7fa; text-wrap: balance; }
.hx h1 .grad { background: linear-gradient(92deg, #00e5ff, #00ff9d); -webkit-background-clip: text; background-clip: text; }
.hx-sub { margin: 24px auto 0; max-width: 680px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: #b9c3d0; text-wrap: pretty; }
.hx-cta { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hx-note { margin-top: 16px; font: 500 12.5px/1.5 var(--font-tech); color: #7d8899; letter-spacing: .02em; }
.hx-note b { color: #c5ced9; font-weight: 600; }
.hx .b3-ghost { color: #eef2f6; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.hx-stage { position: relative; z-index: 1; height: clamp(320px, 44vw, 640px); margin-top: clamp(-90px, -5vw, -30px); pointer-events: none;
      -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 72%, transparent 100%),
                          linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
      -webkit-mask-composite: source-in; mask-composite: intersect;
      mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 72%, transparent 100%),
                  linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
.hx-stage img, .hx-stage video { position: absolute; left: 50%; top: -6%; width: min(1500px, 118vw); height: auto; transform: translateX(-50%); }
.hx-stage video { opacity: 0; transition: opacity 1.2s ease; }
.hx-stage video.playing { opacity: 1; }
.hx-credit { position: absolute; right: 24px; bottom: 18px; z-index: 3; max-width: 420px; text-align: right;
      font: 500 11.5px/1.5 var(--font-tech); color: rgba(220, 228, 238, .5); }
.hx-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(220, 228, 238, .3); }
@media (max-width: 760px) {
    .hx-stage { height: 300px; }
    .hx-stage img, .hx-stage video { width: 190vw; top: 0; }
    .hx-credit { position: relative; right: auto; bottom: auto; margin: 0 auto 18px; padding: 0 16px; text-align: center; max-width: none; }
}

/* ── Proof strip ────────────────────────────────────────────────────── */
.proof { border-block: 1px solid var(--line); background: var(--ink-1); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 28px 24px; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; }
/* The counting figure keeps the font's own digits (tabular ones are wider, and the
   chip beside it moved 3-8 px), in a box exactly as wide as the final figure —
   so it ends exactly where the page was drawn, and a wider digit on the way only
   spills into the gap for a moment instead of pushing the chip. */
.proof-n .count { display: inline-block; white-space: nowrap; text-align: left; }
.proof-n { font: 600 34px/1 var(--font-display); letter-spacing: -.03em; color: var(--fg); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.proof-l { margin-top: 10px; font: 600 12px/1.3 var(--font-tech); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.proof-t { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--fg-3); }
@media (max-width: 900px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } .proof-item:nth-child(3) { border-left: 0; }
    .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .proof-grid { grid-template-columns: 1fr; } .proof-item { border-left: 0; border-top: 1px solid var(--line); } .proof-item:first-child { border-top: 0; } }

/* ── Sections ───────────────────────────────────────────────────────── */
.sx { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sx-alt { background: var(--ink-1); border-block: 1px solid var(--line); }
.sx-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sx-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font: 600 12px/1 var(--font-tech); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
           display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.sx-head.center .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.sx h2 { margin: 18px 0 0; font-weight: 600; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.sx-head p { margin: 20px 0 0; font-size: 17.5px; line-height: 1.65; color: var(--fg-2); text-wrap: pretty; }
.sx-head.center p { margin-inline: auto; }

/* chamfered card: a PCB outline, not a rounded box */
.chamf { --c: var(--chamfer); position: relative; isolation: isolate; padding: 1px;
         clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
         background: linear-gradient(160deg, var(--line-2), var(--line) 40%, var(--line)); }
.chamf > .in { height: 100%; background: var(--ink-2);
         clip-path: polygon(calc(var(--c) - .5px) 0, 100% 0, 100% calc(100% - var(--c) + .5px), calc(100% - var(--c) + .5px) 100%, 0 100%, 0 calc(var(--c) - .5px)); }
a.chamf { text-decoration: none; color: inherit; display: block;
          transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
          transition: background var(--t-base), transform var(--t-base) var(--ease-std); }
/* A card leans toward the pointer, a few degrees, and a soft light follows it
   (v3.js sets --rx, --ry, --mx, --my; pointer devices only, never with reduced
   motion). While the pointer moves the transform follows it closely; when it
   leaves, the card settles back on the ordinary hover curve. The light sits
   inside the card's own chamfered clip, so it never spills past the corner. */
a.chamf.tilting { transition: background var(--t-base), transform 90ms linear; }
a.chamf::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
          background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .075), transparent 46%);
          transition: opacity var(--t-base) var(--ease-std); }
[data-theme="light"] a.chamf::after {
          background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 144, 168, .09), transparent 46%); }
a.chamf:hover::after { opacity: 1; }
a.chamf:hover { background: linear-gradient(160deg, rgba(0, 229, 255, .55), rgba(0, 255, 157, .25) 50%, var(--line-2)); --lift: -2px; }

/* ── Process diagram ────────────────────────────────────────────────── */
.proc { position: relative; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.proc-lane { position: relative; padding: 26px 24px; }
.proc-lane.you { background: color-mix(in srgb, var(--ink-1) 100%, transparent); }
.proc-lane.ai { background: linear-gradient(180deg, rgba(0, 229, 255, .055), rgba(0, 255, 157, .03));
                border-top: 1px solid rgba(0, 229, 255, .14); }
.proc-lane-name { position: absolute; left: 24px; font: 600 12px/1 var(--font-tech); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.proc-lane.you .proc-lane-name { top: 22px; }
.proc-lane.ai .proc-lane-name { bottom: 22px; color: var(--cyan); }
.proc-row { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 22px; align-items: center; min-height: 190px; }
.proc-lane.you .proc-row { padding-top: 26px; }
.proc-lane.ai .proc-row { padding-bottom: 26px; }
.pn { position: relative; z-index: 2; border-radius: 16px; padding: 16px 14px 14px; background: var(--ink-2);
      box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -26px rgba(0, 0, 0, .8); text-align: center; }
[data-theme="light"] .pn { box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -26px rgba(10, 20, 35, .35); }
.proc-lane.ai .pn { box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .28), 0 18px 40px -24px rgba(0, 229, 255, .25); }
.pn-n { font: 600 11px/1 var(--font-tech); color: var(--fg-3); letter-spacing: .1em; }
.pn h3 { margin: 6px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.pn-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 6px; margin-top: 14px; }
/* Never narrower than its longest word, so labels cannot print over each
   other ("DatasheetsEnclosure"); a label of several words wraps inside its
   own column ("Place & / route") before an icon is pushed to a second row. */
.pn-items span { display: grid; justify-items: center; align-content: start; gap: 7px; min-width: min-content; flex: 1 1 0; font-size: 11.5px; line-height: 1.2; color: var(--fg-2); }
.pn-items svg { width: 26px; height: 26px; color: var(--cyan); padding: 7px; box-sizing: content-box; border-radius: 10px;
                background: rgba(0, 229, 255, .06); box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .14); }
.proc-lane.you .pn-items svg { color: var(--fg); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
[data-theme="light"] .proc-lane.you .pn-items svg { background: rgba(10, 20, 35, .03); }
.pn .st { margin-top: 12px; }
.pn-text { display: none; }
.proc-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.proc-svg path { fill: none; stroke: var(--fg-3); stroke-width: 1.6; }
.proc-svg path.loop { stroke: var(--cyan); stroke-dasharray: 5 5; animation: dash 1.2s linear infinite; }
.proc-svg path.flow { stroke-width: 1.6; }   /* the gradient is set per diagram by v3.js */
.proc-svg .lbl rect { fill: var(--ink-2); stroke: rgba(0, 229, 255, .35); }
.proc-svg .lbl text { fill: var(--cyan); font: 600 11px var(--font-tech); letter-spacing: .06em; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.proc-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; margin-top: 18px; }
.proc-legend .keys { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.proc-legend p { margin: 0; color: var(--fg-3); font-size: 13.5px; }
.proc-after { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 64px); align-items: start; }
.proc-after h3 { margin: 0; font-size: 26px; font-weight: 600; }
.proc-after p { margin: 14px 0 0; color: var(--fg-2); font-size: 16.5px; line-height: 1.7; }
.proc-after ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.proc-after li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.proc-after li b { color: var(--fg); font-weight: 600; }
.proc-after li svg { color: var(--mint); margin-top: 2px; }

@media (max-width: 980px) {
    .proc { box-shadow: none; overflow: visible; border-radius: 0; }
    .proc-svg { display: none; }
    .proc-lane { padding: 0; background: none !important; border: 0 !important; }
    .proc-lane-name { display: none; }
    .proc-lane, .proc-row { display: contents; }
    .proc-lanes { display: flex; flex-direction: column; gap: 14px; }
    .pn { text-align: left; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 18px; min-width: 0; }
    .pn::before { content: attr(data-lane); grid-column: 2; font: 600 10.5px/1 var(--font-tech); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
    .proc-lane.ai .pn::before { color: var(--cyan); }
    .pn-n { grid-row: span 4; font-size: 20px; color: var(--cyan); }
    .pn h3 { margin: 0; }
    .pn-items { justify-content: flex-start; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
    .pn-items span { flex: none; grid-auto-flow: column; align-items: center; gap: 6px; }
    .pn-items svg { width: 16px; height: 16px; padding: 5px; }
    .pn-text { display: block; margin: 8px 0 0; color: var(--fg-3); font-size: 14px; line-height: 1.55; }
    .pn .st { margin-top: 6px; }
    .proc-after { grid-template-columns: 1fr; }
}

/* ── Agentic: three ideas, each with its screenshot ──────────────────── */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.agent .in { display: flex; flex-direction: column; }
.agent-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); border-bottom: 1px solid var(--line); }
.agent-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; transition: transform var(--t-slow) ease; }
a.agent:hover .agent-img img { transform: scale(1.03); }
.agent-body { padding: 22px 22px 24px; display: grid; gap: 10px; }
.agent-k { font: 600 11px/1 var(--font-tech); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.agent h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.agent p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.6; }
.agent .more { color: var(--cyan); font: 600 13px/1 var(--font-main); margin-top: 6px; }
@media (max-width: 900px) { .agent-grid { grid-template-columns: 1fr; } }

/* ── Product grid ───────────────────────────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod .in { display: grid; grid-template-rows: auto 1fr; }
.prod-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform var(--t-slow) ease; }
a.prod:hover .prod-img img { transform: scale(1.03); }
.prod-img .st { position: absolute; top: 14px; left: 14px; padding: 6px 9px 6px 8px; border-radius: 999px; background: rgba(5, 7, 10, .78);
                backdrop-filter: blur(6px); }
.prod-body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.prod-body h3 { margin: 0; font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.prod-body h3 svg { color: var(--cyan); }
.prod-body p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 1080px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .prod-grid { grid-template-columns: 1fr; } }
/* A card the width of the row (`wide` in site_content.FEATURES). The thirteenth
   tile would otherwise stand alone on the last row of four, and of two: picture
   left, words right, and an ordinary card again on a phone. */
.prod.wide { grid-column: 1 / -1; }
.prod.wide .in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
.prod.wide .prod-img { aspect-ratio: 16 / 9; }
/* Centred, not from the top as the screenshots are: the MCP drawing (art/mcp.svg)
   spans y 145-749 of 900, and a 16:9 frame cut from the top ends at 675 — the
   board was sliced off along the card's lower edge. Centred, the frame shows
   112-788 and the whole drawing with room round it. */
.prod.wide .prod-img img { object-position: center; }
.prod.wide .prod-body { padding: 34px 38px; align-content: center; gap: 12px; }
.prod.wide .prod-body h3 { font-size: 24px; }
.prod.wide .prod-body p { font-size: 16px; max-width: 54ch; }
@media (max-width: 600px) {
    .prod.wide .in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .prod.wide .prod-body { padding: 20px 22px 22px; }
    .prod.wide .prod-body h3 { font-size: 19px; }
    .prod.wide .prod-body p { font-size: 14.5px; }
}

/* ── Formats ────────────────────────────────────────────────────────── */
.fmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden;
            box-shadow: inset 0 0 0 1px var(--line); }
.fmt { background: var(--ink-1); padding: 24px 24px 22px; display: grid; gap: 8px; }
.fmt b { font: 600 20px/1.2 var(--font-display); letter-spacing: -.02em; }
.fmt span { color: var(--fg-3); font-size: 14px; line-height: 1.5; }
@media (max-width: 760px) { .fmt-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fmt-grid { grid-template-columns: 1fr; } }

/* ── Boards gallery ─────────────────────────────────────────────────── */
.boards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.board .in { background: radial-gradient(ellipse at 50% 40%, #121a24, #06080c 75%); }
[data-theme="light"] .board .in { background: radial-gradient(ellipse at 50% 40%, #1a2230, #080b10 75%); }
.board img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.board-cap { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 18px 22px 20px; border-top: 1px solid rgba(255, 255, 255, .06); }
.board-cap b { font: 600 19px/1.2 var(--font-display); color: #eef2f6; }
.board-cap span { display: block; margin-top: 4px; color: #8b97a8; font-size: 13.5px; }
.board-cap small { color: #6c7787; font: 500 11.5px/1.4 var(--font-tech); text-align: right; }
.board-cap small a { color: inherit; }
.photo-slot { display: grid; place-items: center; text-align: center; padding: 40px 28px; min-height: 100%;
              color: var(--fg-3); font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) { .boards { grid-template-columns: 1fr; } }

/* ── Capability table ───────────────────────────────────────────────── */
.cap { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line);
       font-size: 15px; }
.cap th { text-align: left; font: 600 11.5px/1 var(--font-tech); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3);
          padding: 16px 20px; background: var(--ink-1); border-bottom: 1px solid var(--line); }
.cap td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-2); line-height: 1.55; }
.cap tr:last-child td { border-bottom: 0; }
.cap td:first-child { color: var(--fg); font-weight: 600; white-space: nowrap; }
.cap td:first-child a { color: inherit; text-decoration: none; }
.cap td:first-child a:hover { color: var(--cyan); }
.cap td:last-child { white-space: nowrap; }
.cap tbody tr:hover td { background: rgba(255, 255, 255, .02); }
@media (max-width: 720px) {
    .cap thead { display: none; }
    .cap, .cap tbody, .cap tr, .cap td { display: block; width: 100%; }
    .cap tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
    .cap td { padding: 2px 0; border: 0; white-space: normal !important; }
}

/* ── Final CTA ──────────────────────────────────────────────────────── */
.cta3 { position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 10vw, 130px) 24px; border-radius: 28px;
        background: radial-gradient(ellipse 80% 120% at 50% 120%, rgba(0, 229, 255, .22), transparent 60%), var(--ink-1);
        box-shadow: inset 0 0 0 1px var(--line); }
.cta3 h2 { margin: 0 auto; max-width: 800px; font-size: clamp(34px, 5vw, 60px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; }
.cta3 p { margin: 18px auto 0; max-width: 560px; color: var(--fg-2); font-size: 17px; line-height: 1.6; }
.cta3 .hx-cta { margin-top: 30px; }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer.f3 { background: var(--ink-0); border-top: 1px solid var(--line); padding: 64px 0 28px; }
/* One column per link group: five groups in four columns sent Account to a row of its own. */
.f3-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; }
.f3-brand p { margin: 16px 0 0; color: var(--fg-3); font-size: 14px; line-height: 1.65; max-width: 340px; }
.f3 h5 { margin: 0 0 14px; font: 600 11.5px/1 var(--font-tech); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.f3-col a { display: block; color: var(--fg-2); text-decoration: none; font-size: 14px; padding: 5px 0; }
.f3-col a:hover { color: var(--fg); }
.f3-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between;
             gap: 16px; flex-wrap: wrap; color: var(--fg-3); font-size: 12.5px; }
.f3-bottom p { margin: 0; }
@media (max-width: 1100px) { .f3-grid { grid-template-columns: repeat(5, 1fr); } .f3-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .f3-grid { grid-template-columns: 1fr 1fr; } }

/* ── Reveal ─────────────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.rv.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
    .proc-svg path.loop { animation: none; }
}

/* the films section, in the new colours */
.films3 .tour-tabs { justify-content: center; }
.films3 .tour-stage { border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -40px rgba(0, 229, 255, .18); }
.tour-min { font-family: var(--mono, ui-monospace, monospace); font-size: 11px; opacity: .6; margin-left: 2px; }
.film-sound { position: absolute; left: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
              height: 38px; padding: 0 13px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(5,8,12,.55);
              color: #fff; font: 600 12.5px/1 inherit; letter-spacing: .02em; cursor: pointer; backdrop-filter: blur(6px); }
.film-sound:hover { border-color: var(--primary); color: var(--primary); }
.film-sound:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.film-sound .is-on, .is-sound .film-sound .is-off { display: none; }
.is-sound .film-sound .is-on { display: inline; }
@media (max-width: 640px) { .film-sound { padding: 0 10px; } .film-sound span { display: none; } }

/* ── /login ─────────────────────────────────────────────────────────── */
.lx { position: relative; isolation: isolate; min-height: calc(100vh - var(--nav-h)); display: grid; align-items: center;
      padding: clamp(40px, 7vw, 90px) 0; overflow: hidden; }
.lx-media { position: absolute; inset: 0; z-index: -1; opacity: .35; }
.lx-media img { position: absolute; right: -10%; top: 50%; width: 80%; transform: translateY(-50%); filter: saturate(.8); }
.lx-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-0) 30%, transparent 75%),
      linear-gradient(0deg, var(--ink-0), transparent 30%, transparent 70%, var(--ink-0)); }
.lx-in { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lx-copy h1 { margin: 18px 0 0; font-size: clamp(36px, 4.6vw, 58px); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
.lx-copy ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lx-copy li { position: relative; padding-left: 26px; color: var(--fg-2); font-size: 16px; line-height: 1.55; }
.lx-copy li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--brand); }
.lx-card .auth-card { margin: 0; }
@media (max-width: 860px) { .lx-in { grid-template-columns: 1fr; } .lx-copy ul { display: none; } }

.h3-theme .icon-moon { display: none; }
[data-theme="light"] .h3-theme .icon-sun { display: none; }
[data-theme="light"] .h3-theme .icon-moon { display: block; }

/* ── Real boards: one board on screen and on the bench ──────────────── */
.bench { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.bench-card { margin: 0; }
.bench-card .in { position: relative; background: #070a0f; }
.bench-card img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; display: block; }
.bench-card figcaption { padding: 16px 20px 18px; color: #8b97a8; font-size: 13.5px; line-height: 1.55; border-top: 1px solid rgba(255, 255, 255, .06); }
.bench-card figcaption a { color: #00e5ff; }
.bench-tag { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 11px; border-radius: 999px; font-size: 11px;
             letter-spacing: .12em; text-transform: uppercase; color: #cfe9ef; background: rgba(5, 8, 12, .7);
             box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .3); backdrop-filter: blur(6px); }
.bench-tag.on { color: #031015; background: linear-gradient(92deg, #00e5ff, #00ff9d); box-shadow: none; }
.bench-link { display: grid; justify-items: center; gap: 8px; color: var(--cyan); }
.bench-link span { width: 1px; height: 48px; background: linear-gradient(var(--line-2), transparent); }
.bench-link span:last-child { background: linear-gradient(transparent, var(--line-2)); }
.boards.one { grid-template-columns: 1fr; margin-top: 20px; }
.boards.one .board img { aspect-ratio: 21 / 9; }
@media (max-width: 860px) {
    .bench { grid-template-columns: 1fr; }
    .bench-link { transform: rotate(90deg); }
    .bench-link span { height: 24px; }
    .boards.one .board img { aspect-ratio: 16 / 10; }
}

/* ── Next on the bench: one slot per feature in the works ───────────── */
/* What we are building: only what is being built (no placeholder for a planned idea). */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.slot { text-decoration: none; color: inherit; }
.slot .in { display: grid; grid-template-rows: auto 1fr; }
.slot-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); border-bottom: 1px solid var(--line); }
.slot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-img .st { position: absolute; top: 14px; left: 14px; padding: 6px 9px 6px 8px; border-radius: 999px;
                background: rgba(5, 8, 12, .78); backdrop-filter: blur(6px); }
.slot-blank { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--cyan);
              background:
                linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 22px 22px,
                linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 22px 22px,
                radial-gradient(ellipse at 50% 45%, rgba(0, 229, 255, .10), transparent 65%); }
.slot-blank svg { opacity: .85; }
.slot-blank small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.slot-body { padding: 18px 20px 20px; display: grid; gap: 10px; align-content: start; }
.slot-body h3 { margin: 0; font-size: 18px; font-weight: 600; }
.slot-body p { margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.6; }
.slot-body ul { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.slot-body li { position: relative; padding-left: 16px; color: var(--fg-3); font-size: 13px; }
.slot-body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--brand); }
.st-planned { color: var(--fg-3); }
@media (max-width: 900px) { .slots { grid-template-columns: 1fr; } }

/* ── /download ──────────────────────────────────────────────────────── */
.dx { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.dx-glow { position: absolute; z-index: -1; right: -10%; top: -20%; width: 900px; height: 700px;
           background: radial-gradient(closest-side, rgba(0, 229, 255, .10), transparent); pointer-events: none; }
.dx-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.dx-copy h1 { margin: 20px 0 0; font-size: clamp(40px, 5.6vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.dx-sub { margin: 22px 0 0; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.dx-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.dx-note { margin: 16px 0 0; font: 500 12.5px/1.6 var(--font-tech); color: var(--fg-3); overflow-wrap: anywhere; }
.dx-note b { color: var(--fg); font-weight: 600; }
.dx-next { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); max-width: 540px; color: var(--fg-2);
           font-size: 14.5px; line-height: 1.6; }
.dx-next .st { margin-right: 8px; }
.dx-next a { color: var(--cyan); text-decoration: none; white-space: nowrap; }
.dx-next a:hover { text-decoration: underline; }
.dx-board { margin: 0; }
.dx-board .in { background: radial-gradient(ellipse at 50% 42%, #121a24, #06080c 75%); }
.dx-board img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; }
.dx-board figcaption { padding: 14px 20px 16px; border-top: 1px solid rgba(255, 255, 255, .06); color: #8b97a8; font-size: 12.5px; line-height: 1.5; }

.dx-pick { padding-top: 0; padding-bottom: clamp(64px, 8vw, 104px); }
.dl3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dl3 .in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; padding: 26px 26px 24px; height: 100%; box-sizing: border-box; }
.dl3-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dl3-logo { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; color: var(--fg);
            background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); transition: color var(--t-base), box-shadow var(--t-base); }
[data-theme="light"] .dl3-logo { background: rgba(10, 20, 35, .03); }
.dl3-here { display: none; padding: 6px 10px; border-radius: 999px; font: 600 10.5px/1 var(--font-tech); letter-spacing: .1em;
            text-transform: uppercase; color: #031015; background: var(--brand); }
.dl3 h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.dl3 p { margin: 0; color: var(--fg-2); font-size: 14.5px; }
.dl3-file { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 11px 13px; border-radius: 9px;
            background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--fg-2); }
.dl3-file span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl3-file small { flex: none; color: var(--fg-3); font-size: 11.5px; }
.dl3-go { margin-top: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; border-radius: 10px;
          font: 600 14.5px/1 var(--font-main); color: var(--fg); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2);
          transition: background var(--t-base), color var(--t-base), box-shadow var(--t-base); }
[data-theme="light"] .dl3-go { background: rgba(10, 20, 35, .03); }
a.dl3:hover .dl3-logo { color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .4); }
a.dl3:hover .dl3-go, .dl3.is-here .dl3-go { color: #031015; background: var(--brand); box-shadow: none; }
[data-theme="light"] a.dl3:hover .dl3-go, [data-theme="light"] .dl3.is-here .dl3-go { color: #fff; }
.dl3.is-here { background: linear-gradient(160deg, rgba(0, 229, 255, .55), rgba(0, 255, 157, .25) 50%, var(--line-2)); }
.dl3.is-here .dl3-here { display: inline-block; }
.dl3.is-here .dl3-logo { color: var(--cyan); }
.dl3-more { margin: 22px 0 0; text-align: center; color: var(--fg-3); font-size: 14px; }
.dl3-more a { color: var(--fg-2); }
.dl3-more a:hover { color: var(--cyan); }

/* The Claude Desktop extension: a card of its own under the three installers. */
.mcpx { margin-top: 18px; scroll-margin-top: 96px; }
.mcpx .in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; justify-items: start; padding: 32px 32px 30px; box-sizing: border-box; }
.mcpx-head { justify-self: stretch; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 32px; align-items: center; }
.mcpx-copy h2 { margin: 14px 0 10px; font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.mcpx-copy p { margin: 0; color: var(--fg-2); font-size: 16px; line-height: 1.6; max-width: 58ch; }
.mcpx-get { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mcpx-get .b3 { justify-content: center; }
.mcpx-get .dl3-file { margin-top: 0; }
.mcpx-steps { justify-self: stretch; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: mcpx; }
.mcpx-steps li { counter-increment: mcpx; padding: 16px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.mcpx-steps li::before { content: "0" counter(mcpx); display: block; margin-bottom: 10px; color: var(--cyan); font: 600 13px/1 var(--font-tech); letter-spacing: .1em; }
.mcpx-steps h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; font-weight: 600; }
.mcpx-steps p { margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }

.dx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dx-steps .in { padding: 26px 26px 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; height: 100%; box-sizing: border-box; }
.dx-n { color: var(--cyan); font-size: 13px; letter-spacing: .1em; }
.dx-steps h3 { margin: 0; font-size: 21px; font-weight: 600; }
.dx-steps p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.65; }
.dx-steps dl { margin: 2px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; font-size: 14.5px; line-height: 1.55; }
.dx-steps dt { color: var(--fg); font-weight: 600; }
.dx-steps dd { margin: 0; color: var(--fg-2); min-width: 0; }
.dx-steps code { display: block; font: 500 12px/1.5 var(--font-tech); color: var(--fg); padding: 8px 10px; border-radius: 8px;
                 background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); overflow-wrap: anywhere; }
.dx-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); text-decoration: none; font: 600 14px/1 var(--font-main); margin-top: 4px; }
.dx-link:hover { gap: 11px; }

@media (max-width: 960px) {
    .dx-in { grid-template-columns: 1fr; }
    .dx-board { max-width: 560px; }
    .dl3-grid, .dx-steps, .mcpx-head, .mcpx-steps { grid-template-columns: minmax(0, 1fr); }
    .mcpx .in { padding: 24px 20px; }
    .mcpx-copy h2 { font-size: 25px; }
}

/* ── Legal pages ─────────────────────────────────────────────────────── */
/* Long prose nobody wants to read, set so that they can. Measure capped at
   ~68 characters, generous leading, and every heading reachable by anchor so a
   clause can be linked to in an email. */
.legal-hero { padding-bottom: 20px; }
.legal-date { color: var(--fg-3); font-size: 12.5px; letter-spacing: .04em; margin-top: 10px; }
/* style.css's old header rule gives every <nav> flex + space-between, which spread a
   <nav class="crumbs"> (legal, contact, checkout) across the whole width. */
.crumbs { display: block; padding: 0; font: 500 12.5px/1 var(--font-tech); color: var(--fg-3); margin-bottom: 18px; }
.crumbs a { color: var(--fg-2); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }

/* The draft banner. It is loud on purpose: a legal page that looks finished
   and is not is a contract somebody can reasonably believe they accepted. */
.legal-draft { margin: 0 0 36px; padding: 18px 20px; border-radius: 12px;
      background: color-mix(in srgb, var(--st-later) 12%, transparent);
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-later) 45%, transparent); }
.legal-draft b { display: block; color: var(--st-later); font: 600 13px/1.4 var(--font-tech);
      letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.legal-draft p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--fg-2); }

.legal-body { max-width: 68ch; }
.legal-body h2 { margin: 48px 0 14px; font-size: clamp(22px, 2.4vw, 28px); scroll-margin-top: 90px; }
.legal-body h3 { margin: 32px 0 10px; font-size: 18px; scroll-margin-top: 90px; }
.legal-body p, .legal-body li { line-height: 1.75; color: var(--fg-2); }
.legal-body strong, .legal-body b { color: var(--fg); font-weight: 600; }
.legal-body a { color: var(--cyan); }
.legal-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.legal-body th, .legal-body td { padding: 10px 12px; border-bottom: 1px solid var(--line);
      text-align: left; vertical-align: top; }
.legal-body th { color: var(--fg); font: 600 12px/1.4 var(--font-tech); letter-spacing: .06em;
      text-transform: uppercase; }
.legal-body blockquote { margin: 22px 0; padding-left: 18px; border-left: 2px solid var(--cyan);
      color: var(--fg-2); font-style: italic; }

.legal-foot { max-width: 68ch; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-foot p, .legal-foot li { color: var(--fg-2); line-height: 1.7; }
.legal-list { list-style: none; padding: 0; margin: 14px 0 0; }
.legal-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.legal-list a { color: var(--fg); font-weight: 600; text-decoration: none; }
.legal-list a:hover { color: var(--cyan); }

.legal-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.legal-card { text-decoration: none; }
.legal-card .in { padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 10px;
      background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); }
.legal-card h2 { margin: 0; font-size: 19px; color: var(--fg); }
.legal-card p { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.legal-card .mono { font-size: 11.5px; color: var(--fg-3); letter-spacing: .04em; }
.legal-card:hover .in { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cyan) 55%, transparent); }

/* ── Pricing: four tiers, credits, packs, the MCP add-on ─────────────── */
/* Four columns, because there are four tiers. Below 1180px the cheapest two
   pair up rather than all four shrinking into unreadable strips. */
.plan-grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr));
      max-width: 1280px; margin: 0 auto; align-items: stretch; }
@media (max-width: 1180px) { .plan-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; } }
@media (max-width: 680px) { .plan-grid-4 { grid-template-columns: 1fr; max-width: 420px; } }

.credit-table { max-width: 720px; margin-inline: auto; }
.credit-table td:last-child { white-space: nowrap; text-align: right; color: var(--cyan); }

.packs { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px;
      margin: 0 auto; }
@media (max-width: 680px) { .packs { grid-template-columns: 1fr; max-width: 380px; } }
.pack .in { padding: 22px; text-align: center; background: var(--ink-1);
      box-shadow: inset 0 0 0 1px var(--line); }
.pack-n { display: block; font: 600 30px/1 var(--font-display); letter-spacing: -.03em; color: var(--fg); }
.pack-sub { display: block; margin-top: 6px; font: 500 12px/1.4 var(--font-tech); color: var(--fg-3);
      letter-spacing: .04em; }
.pack-price { display: block; margin-top: 14px; font: 600 20px/1 var(--font-display); color: var(--cyan); }
.pack-price.big { font-size: 34px; }
.pack-buy { margin-top: 16px; }

.mcp-card .in { padding: 30px; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line); }
.mcp-head { display: flex; align-items: center; justify-content: space-between; gap: 20px;
      padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mcp-card p { color: var(--fg-2); line-height: 1.7; margin: 0 0 14px; }
/* The one sentence on this page that prevents a refund request, so it is not
   a footnote. */
.mcp-note { padding: 14px 16px; border-radius: 10px; font-size: 14.5px;
      background: color-mix(in srgb, var(--st-next) 10%, transparent);
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-next) 40%, transparent); }
.mcp-note b { color: var(--st-next); }

/* ── Import fidelity ─────────────────────────────────────────────────── */
.fid { max-width: 920px; margin: 28px auto 0; }
.fid-lead { max-width: 70ch; margin: 0 auto 26px; text-align: center; color: var(--fg-2); line-height: 1.7; }
.fid-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: baseline;
      padding: 18px 0; border-top: 1px solid var(--line); }
.fid-row:last-child { border-bottom: 1px solid var(--line); }
.fid-n { font: 600 26px/1 var(--font-display); letter-spacing: -.03em; color: var(--cyan);
      word-break: break-word; }
.fid-n.small { font-size: 15px; line-height: 1.4; color: var(--fg); letter-spacing: 0; }
.fid-what { font-weight: 600; color: var(--fg); display: block; margin-bottom: 4px; }
.fid-note { color: var(--fg-2); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 760px) { .fid-row { grid-template-columns: 1fr; gap: 6px; } }

/* ── Hero film ───────────────────────────────────────────────────────── */
/* The film sits in the hero, under the buttons, where somebody scrolling past
   sees it working before they have decided anything. It used to be four
   screens down behind a tab strip. */
.hx-film-wrap { position: relative; z-index: 2; margin-top: clamp(36px, 5vw, 60px);
      padding-bottom: clamp(40px, 6vw, 80px); }
.hx-film { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #06080c;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), 0 60px 140px -50px rgba(0, 229, 255, .35); }
.hx-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain;
      background: #06080c; cursor: pointer; }

/* One big target that says what it is and how long it takes. A bare triangle
   makes people guess at both. */
.hx-film-play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
      display: flex; align-items: center; gap: 14px; padding: 16px 26px 16px 20px; border: 0;
      border-radius: 999px; cursor: pointer; color: #031015; font: 600 15px/1 var(--font-main);
      background: linear-gradient(92deg, #00e5ff, #00ff9d);
      box-shadow: 0 20px 50px -14px rgba(0, 229, 255, .6);
      transition: opacity var(--t-base) ease, transform var(--t-base) ease; }
.hx-film-play:hover { transform: scale(1.04); }
.hx-film:not(.is-paused) .hx-film-play { opacity: 0; pointer-events: none; }
.hx-film-full { opacity: 0; transition: opacity var(--t-base) ease; }
.hx-film:hover .hx-film-full, .hx-film-full:focus-visible { opacity: 1; }
.hx-film-cap { margin: 16px auto 0; max-width: 60ch; text-align: center;
      font: 500 12.5px/1.6 var(--font-tech); color: #7d8899; letter-spacing: .02em; }
@media (max-width: 640px) {
    .hx-film-play { padding: 13px 20px 13px 16px; font-size: 13.5px; gap: 10px; }
    .hx-film-play svg { width: 26px; height: 26px; }
}

/* ── The hero in the light theme ─────────────────────────────────────── */
/* Everything above was written for one theme and hard-codes its ink. Switching
   the site to light left this one section black, which reads as a rendering
   fault rather than as a design. The tokens stay dark-on-purpose only for the
   film frame, which is a screen and looks wrong on white. */
[data-theme="light"] .hx {
    background: radial-gradient(ellipse 70% 55% at 50% 0%, #e8f6fb 0%, var(--ink-0) 70%), var(--ink-0);
}
[data-theme="light"] .hx-glow { background: radial-gradient(closest-side, rgba(0, 144, 168, .14), transparent); }
[data-theme="light"] .hx h1 { color: var(--fg); }
[data-theme="light"] .hx-sub { color: var(--fg-2); }
[data-theme="light"] .hx-note { color: var(--fg-3); }
[data-theme="light"] .hx-note b { color: var(--fg-2); }
[data-theme="light"] .hx-eyebrow { color: var(--fg-2); background: rgba(10, 20, 35, .04);
      box-shadow: inset 0 0 0 1px var(--line-2); }
[data-theme="light"] .hx-eyebrow:hover { color: var(--fg); }
[data-theme="light"] .hx .b3-ghost { color: var(--fg); background: rgba(10, 20, 35, .04);
      box-shadow: inset 0 0 0 1px var(--line-2); }
[data-theme="light"] .hx-film { box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(10, 20, 35, .4); }
[data-theme="light"] .hx-film-cap { color: var(--fg-3); }
[data-theme="light"] .hx-credit { color: var(--fg-3); }
/* The board render carries its own ground -- 1600x900 of baked-in dark navy,
   yuv420p, no alpha to key out. On the dark hero it is invisible; on the light
   one it is a slab, and the note under the buttons was sitting in it.
   Inverting was tried and rejected: `invert(1) hue-rotate(180deg)` does put
   the ground on white and does keep the PCB green, but it turns the silver
   shield can black -- a product that sells "shows its work" cannot lead with a
   render that lies about the hardware. A second, light-ground render is the
   real fix, and needs the 3D viewer, not CSS.
   So the ground stays and the two things that made it read as a fault go: the
   stage starts below the note instead of under it, and the top edge fades in
   over twice the distance, which turns a hard band into a vignette. */
[data-theme="light"] .hx-stage {
    margin-top: 28px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 20%, #000 48%, #000 72%, transparent 100%),
                        linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 20%, #000 48%, #000 72%, transparent 100%),
                linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
/* The header sits on a light hero now, so it must not stay light-on-dark.
   `.on-dark` above does not set colours, it redefines the TOKENS (--fg and
   friends) on the header element — so overriding `color` here would have
   fixed nothing: `.h3-link { color: var(--fg) }` would still resolve to the
   dark theme's white. Put the tokens back and every child follows: the
   wordmark, the chevrons, the status chips, the icon buttons. */
[data-theme="light"] header.h3.on-dark:not(.is-scrolled):not(.menu-open) {
    --fg: #0b1220; --fg-2: #46536a; --fg-3: #7a8699;
    --line: rgba(10, 20, 35, .09); --line-2: rgba(10, 20, 35, .16);
    --cyan: #0090a8; --ink-2: var(--ink-1); color: var(--fg);
}
[data-theme="light"] header.h3.on-dark:not(.is-scrolled):not(.menu-open) .h3-nav { background: rgba(255, 255, 255, .7); }
[data-theme="light"] header.h3.on-dark:not(.is-scrolled):not(.menu-open) .h3-link:hover,
[data-theme="light"] header.h3.on-dark:not(.is-scrolled):not(.menu-open) .h3-item.open > .h3-link { background: rgba(10, 20, 35, .05); }
.fmt-detail { display: block; margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--fg-3); }

/* ── Feature pages: the depth that was missing ───────────────────────── */
.feature-prose { font-size: 16px; line-height: 1.8; color: var(--fg-2); max-width: 68ch; margin: 0 0 18px; }
.feature-prose + .feature-prose { margin-top: -4px; }
/* A spec table is label + sentence. It borrows .cap's look, not its columns:
   .cap keeps its last cell on one line (a status), which made every long value
   here run out of the column, under the side cards and off the page. */
.feature-specs { margin-top: 18px; table-layout: fixed; }
.feature-specs th { width: 30%; color: var(--fg); font-weight: 600; text-align: left;
      vertical-align: top; white-space: normal; }
.feature-specs td, .feature-specs td:last-child { color: var(--fg-2); white-space: normal; overflow-wrap: anywhere; }
.feature-faq { margin-top: 18px; }
/* On a phone .cap stacks each row; the label becomes a small heading over its value. */
@media (max-width: 720px) {
    .feature-specs th { display: block; width: auto; padding: 0 0 6px; background: none; border: 0; }
}
/* Shown in place of a buy button while there is no checkout to send anyone to. */
.plan-soon { display: block; margin-top: 10px; font: 500 11.5px/1.5 var(--font-tech);
      color: var(--fg-3); letter-spacing: .03em; }

/* ── Billing: the facts, the checkout, contact ───────────────────────── */
/* What a buyer agrees to, said once and reused on the pricing page, the
   checkout and /pay. Plain list, legal-page measure. */
.billing-box { max-width: 860px; margin: 40px auto 0; }
.billing-facts { list-style: none; padding: 0; margin: 0; max-width: 68ch; }
.billing-facts li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
      line-height: 1.65; color: var(--fg-2); }
.billing-facts b { color: var(--fg); font-weight: 600; }
.billing-facts a, .checkout a, .contact-table a { color: var(--cyan); }
.checkout-h { font-size: 20px; margin: 44px 0 12px; }
.checkout-price { font-size: 1.6em; color: var(--fg); margin-right: 6px; }
.checkout-pay { padding: 24px; border-radius: 14px; max-width: 68ch;
      box-shadow: inset 0 0 0 1px var(--line); }
.checkout-who { color: var(--fg-2); line-height: 1.7; margin: 0 0 18px; }
.checkout-items { padding-left: 20px; max-width: 68ch; }
.checkout-items li { color: var(--fg-2); line-height: 1.7; padding: 3px 0; }
/* Shown by the page's own script: paid, or Paddle.js blocked. */
.checkout-done, .checkout-missing { display: none; margin: 16px 0 0; line-height: 1.6; }
.paddle-paid .checkout-done { display: block; color: var(--st-now, var(--cyan)); }
.paddle-missing .checkout-missing { display: block; color: var(--st-later); }
.contact-table { width: 100%; max-width: 760px; border-collapse: collapse; }
.contact-table th, .contact-table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line);
      text-align: left; vertical-align: top; line-height: 1.6; font-size: 15px; color: var(--fg-2); }
.contact-table th { width: 30%; color: var(--fg); font: 600 12.5px/1.6 var(--font-tech);
      letter-spacing: .05em; text-transform: uppercase; }
.contact-table td span { color: var(--fg-3); font-size: 14px; }
.contact-company { color: var(--fg-2); line-height: 1.7; max-width: 68ch; }
.acct-paid { border-color: var(--cyan); color: var(--fg); line-height: 1.6; }
@media (max-width: 640px) {
    .contact-table th { width: auto; display: block; padding-bottom: 0; border: 0; }
    .contact-table td { display: block; padding-top: 6px; }
}

/* ── Account and checkout ──────────────────────────────────────────────────
   The signed-in account and the payment page: plain cards on the same tokens as the
   rest of the site, light and dark. No inline styles of their own (templates/account.html
   and checkout.html run under a script CSP), except the one custom property that sets a bar. */
.ac { max-width: 1080px; margin: 0 auto; padding: 72px 24px 96px; }
.ac-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.ac-avatar { width: 72px; height: 72px; border-radius: 50%; flex: none; background: var(--ink-3);
      box-shadow: 0 0 0 1px var(--line-2), 0 12px 32px -14px rgba(0, 229, 255, .45); }
.ac-who { flex: 1 1 220px; min-width: 0; }
.ac-who h1 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.1; margin: 0; overflow-wrap: anywhere; }
.ac-mail { margin: 6px 0 0; color: var(--fg-2); font: 500 13.5px/1.4 var(--font-tech); overflow-wrap: anywhere; }

.ac-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .ac-grid { grid-template-columns: minmax(0, 1fr); } }
.ac-main, .ac-side { display: grid; gap: 20px; min-width: 0; }

.ac-card { background: var(--ink-1); border-radius: 16px; padding: 24px; min-width: 0;
      box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="light"] .ac-card { box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -30px rgba(10, 20, 35, .35); }
.ac-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ac-card h2 { margin: 0; font: 600 12px/1 var(--font-tech); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.ac-sub { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }
.ac-fine { margin: 12px 0 0; color: var(--fg-3); font-size: 12.5px; line-height: 1.55; }
.ac-empty { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }
.ac a:not(.ac-btn), .co-card a:not(.ac-btn) { color: var(--cyan); text-decoration: none; }
.ac a:not(.ac-btn):hover, .co-card a:not(.ac-btn):hover { text-decoration: underline; text-underline-offset: 3px; }
.ac-link { font: 600 12.5px/1 var(--font-tech); letter-spacing: .04em; }

.ac-pill { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
      font: 600 11px/1 var(--font-tech); letter-spacing: .05em; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.ac-pill-ok { color: var(--st-now); background: rgba(61, 220, 151, .1); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, .4); }
.ac-pill-warn { color: var(--st-later); background: rgba(242, 180, 76, .1); box-shadow: inset 0 0 0 1px rgba(242, 180, 76, .4); }

.ac-plan-name { margin: 0 0 6px; font: 600 clamp(28px, 4vw, 38px)/1.05 var(--font-display); letter-spacing: -.03em;
      background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.ac-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 0;
      border-radius: 10px; cursor: pointer; text-decoration: none; font: 600 13.5px/1 var(--font-main, Inter, sans-serif);
      color: var(--fg); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2);
      transition: background var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast); }
.ac-btn:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .5); }
[data-theme="light"] .ac-btn { background: rgba(10, 20, 35, .04); }
[data-theme="light"] .ac-btn:hover { background: rgba(10, 20, 35, .07); box-shadow: inset 0 0 0 1px rgba(0, 144, 168, .55); }
.ac-btn-primary, .ac-btn-primary:hover { background: var(--brand); color: #04110d; box-shadow: none; }
.ac-btn-primary:hover { filter: brightness(1.07); }
[data-theme="light"] .ac-btn-primary, [data-theme="light"] .ac-btn-primary:hover { background: var(--brand); color: #fff; }
.ac-btn-danger { color: #ff8585; background: rgba(255, 90, 90, .07); box-shadow: inset 0 0 0 1px rgba(255, 90, 90, .38); }
.ac-btn-danger:hover { background: rgba(255, 90, 90, .14); box-shadow: inset 0 0 0 1px rgba(255, 90, 90, .65); }
[data-theme="light"] .ac-btn-danger { color: #b3202a; background: rgba(210, 40, 50, .06); }
.ac-btn-sm { padding: 7px 12px; font-size: 12.5px; border-radius: 8px; }
.ac-btn[disabled] { opacity: .55; cursor: default; }
.ac [hidden], .co [hidden] { display: none !important; }   /* a class's `display` must not undo `hidden` */
.ac :focus-visible, .co :focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 8px; }

.ac-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 4px 0 0;
      font: 600 clamp(36px, 5vw, 48px)/1 var(--font-display); letter-spacing: -.035em; }
.ac-big small { font: 500 12.5px/1 var(--font-tech); letter-spacing: .05em; color: var(--fg-3); }
.ac-meter { height: 8px; margin: 18px 0 16px; border-radius: 99px; overflow: hidden; background: var(--ink-3);
      box-shadow: inset 0 0 0 1px var(--line); }
.ac-meter > span { display: block; height: 100%; width: calc(var(--pct, 0) * 1%); border-radius: inherit; background: var(--brand); }
.ac-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.ac-stats > div { padding: 14px 16px; border-radius: 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="light"] .ac-stats > div { background: var(--ink-3); }
.ac-stats dt, .ac-kv dt { font: 600 11px/1 var(--font-tech); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.ac-stats dd { margin: 8px 0 0; font: 600 22px/1.1 var(--font-display); letter-spacing: -.02em; }
.ac-stats dd span { font: 500 12.5px/1 var(--font-main, Inter, sans-serif); color: var(--fg-3); letter-spacing: 0; }
.ac-stats dd.ac-fine { margin-top: 6px; font: 500 12px/1.3 var(--font-main, Inter, sans-serif); letter-spacing: 0; color: var(--fg-3); }

.ac-list { list-style: none; margin: 0; padding: 0; }
.ac-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.ac-row:first-child { border-top: 0; padding-top: 4px; }
.ac-row-ico { flex: none; color: var(--fg-3); }
.ac-row-main { flex: 1 1 auto; min-width: 0; display: grid; gap: 4px; }
.ac-row-main b { font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.ac-row-main span { color: var(--fg-3); font-size: 12.5px; }

.ac-kv { margin: 0; display: grid; gap: 14px; }
.ac-kv dd { margin: 6px 0 0; font-size: 14.5px; color: var(--fg); }
.ac-danger { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.ac-danger p { margin: 0 0 14px; color: var(--fg-2); font-size: 13.5px; line-height: 1.6; }
.ac-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ac-confirm p { flex: 1 1 100%; margin: 0; color: var(--fg); font-weight: 600; }
.ac-confirm[hidden] { display: none; }

.ac-details summary { list-style: none; margin-top: 14px; width: fit-content; }
.ac-details summary::-webkit-details-marker { display: none; }
.ac-avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin-top: 14px; }
.ac-av { display: grid; place-items: center; padding: 6px; border-radius: 12px; cursor: pointer; background: transparent;
      border: 1.5px solid transparent; transition: border-color var(--t-fast), background-color var(--t-fast); }
.ac-av img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.ac-av:hover { background: var(--ink-3); border-color: var(--line-2); }
.ac-av.on { border-color: var(--cyan); background: rgba(0, 229, 255, .1); }

.ac-switch { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; position: relative; }
.ac-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ac-track { flex: none; width: 40px; height: 24px; margin-top: 2px; border-radius: 99px; position: relative;
      background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: background var(--t-fast), box-shadow var(--t-fast); }
.ac-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
      background: var(--fg-3); transition: transform var(--t-fast), background var(--t-fast); }
.ac-switch input:checked + .ac-track { background: rgba(0, 229, 255, .2); box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .55); }
.ac-switch input:checked + .ac-track::after { transform: translateX(16px); background: var(--cyan); }
.ac-switch input:focus-visible + .ac-track { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ac-switch-text { display: grid; gap: 6px; font-size: 14.5px; }
.ac-switch-text small { color: var(--fg-3); font-size: 12.5px; line-height: 1.55; }

.ac-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 20px; border-radius: 12px;
      color: var(--fg-2); font-size: 14px; line-height: 1.55; box-shadow: inset 0 0 0 1px var(--line-2); }
.ac-note b { display: block; color: var(--fg); margin-bottom: 2px; }
.ac-note svg { flex: none; margin-top: 2px; }
.ac-note-ok { background: rgba(61, 220, 151, .08); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, .38); }
.ac-note-ok svg { color: var(--st-now); }
.ac-note-warn { background: rgba(242, 180, 76, .08); box-shadow: inset 0 0 0 1px rgba(242, 180, 76, .4); }
.ac-note-warn svg { color: var(--st-later); }

.ac-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 50; max-width: min(92vw, 420px);
      margin: 0; padding: 12px 18px; border-radius: 12px; font-size: 14px; color: var(--fg); background: var(--ink-3);
      box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(0, 0, 0, .6); }
.ac-toast.bad { color: #ff9a9a; box-shadow: inset 0 0 0 1px rgba(255, 90, 90, .5), 0 18px 40px -16px rgba(0, 0, 0, .6); }
.ac-toast[hidden] { display: none; }

/* Checkout: what you are buying on the left, what you pay and why it is safe on the right. */
.co { max-width: 1080px; margin: 0 auto; padding: 72px 24px 96px; }
.co .crumbs { margin-bottom: 18px; }
.co-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .co-grid { grid-template-columns: minmax(0, 1fr); } }
.co-main h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.05; margin: 8px 0 0; }
.co-main .checkout-h { margin-top: 36px; }
.co-card { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; padding: 24px; border-radius: 16px;
      background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line-2); }
[data-theme="light"] .co-card { box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -30px rgba(10, 20, 35, .4); }
@media (max-width: 900px) { .co-card { position: static; } }
.co-price { margin: 0; font: 600 40px/1 var(--font-display); letter-spacing: -.03em; }
.co-price small { font: 500 14px/1 var(--font-main, Inter, sans-serif); color: var(--fg-3); letter-spacing: 0; margin-left: 8px; }
.co-who { margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.co-pay { width: 100%; padding: 14px 18px; font-size: 14.5px; }
/* The two messages the payment script reveals; `.ac-note` below must not show them on its own. */
.co .checkout-done, .co .checkout-missing { display: none; margin: 0; }
.paddle-paid .co .checkout-done { display: flex; }
.paddle-missing .co .checkout-missing { display: block; }
.co-trust { list-style: none; margin: 0; padding: 16px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line);
      color: var(--fg-3); font-size: 12.5px; line-height: 1.5; }
.co-trust li { display: flex; gap: 10px; }
.co-trust svg { flex: none; margin-top: 1px; color: var(--st-now); }


/* ── Moving between pages ───────────────────────────────────────────────
   Same-origin navigations cross-fade instead of cutting, and a feature card's
   picture travels into the page it opens (landing.html names the card image
   `f-<slug>`, feature.html names the page's own shot the same). The header is
   named so it holds still while the rest changes. Browsers without
   cross-document view transitions simply navigate, as before. */
@view-transition { navigation: auto; }
#h3 { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--t-base); }
::view-transition-group(*) { animation-duration: 420ms; animation-timing-function: var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    a.chamf, a.chamf.tilting { transform: none; }
    a.chamf::after { display: none; }
}
