/* Ostra website. Tokens follow brand/brand.css (dark) and the doc tokens (light), mapped role for role as DESIGN.md says. */

@font-face {
  font-family: 'Inter';
  src: url('fonts/InterVariable.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-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #0C0E11;
  --surface: #13161B;
  --surface-2: #1A1E24;
  --line: #242930;
  --line-2: #313741;
  --text: #E9EDF1;
  --text-2: #B3BBC5;
  --muted: #828C97;
  --idle: #4A525D;
  --signal: #3BD9F2;
  --signal-text: #3BD9F2;
  --signal-ink: #062A31;
  --signal-dim: rgba(59, 217, 242, .14);
  --live: #3FCF8E;
  --warn: #F2B544;
  --down: #F2555A;
  --live-text: #3FCF8E;
  --warn-text: #F2B544;
  --down-text: #FF8A8E;
  --warn-dim: rgba(242, 181, 68, .10);
  --code-bg: #3BD9F2;
  --code-ink: #062A31;
  --sector: rgba(233, 237, 241, .28);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--signal);
  --lift: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px -18px rgba(0, 0, 0, .8);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: 16px;
  --rail-h: 0px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F3F5F7;
    --surface: #FFFFFF;
    --surface-2: #EEF1F4;
    --line: #DDE1E5;
    --line-2: #C9CFD6;
    --text: #0F1216;
    --text-2: #39414B;
    --muted: #5D6670;
    --idle: #A7AFB8;
    --signal: #0A8EA6;
    --signal-text: #08758A;
    --signal-dim: rgba(10, 142, 166, .12);
    --live: #1FA86A;
    --warn: #D9941A;
    --down: #D9363C;
    --live-text: #12764A;
    --warn-text: #8A5A06;
    --down-text: #B4232A;
    --warn-dim: rgba(217, 148, 26, .10);
    --code-bg: rgba(10, 142, 166, .14);
    --code-ink: #065E6E;
    --sector: rgba(12, 14, 17, .28);
    --lift: 0 1px 2px rgba(15, 18, 22, .05), 0 12px 32px -20px rgba(15, 18, 22, .25);
    color-scheme: light;
  }
}

@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (max-width: 1099px) { :root { --rail-h: 45px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--line-2) var(--bg);
  scroll-padding-top: calc(var(--rail-h) + 20px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: var(--signal-dim); color: var(--text); }
input, textarea, select { caret-color: var(--signal); }
a { color: var(--signal-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) { a:hover { text-decoration-thickness: 2px; } }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
h1, h2, h3 { font-variation-settings: 'opsz' 32; text-wrap: balance; }
p { text-wrap: pretty; }
.lines, .rates, .keep, .ports, .scope, .api-table, .demo-facts { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.n { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--muted); font-weight: 500; }
.sig { color: var(--signal-text); }
p a .n, dd a .n, li a .n, p .n, dd .n, td .n, .prevnext .n { color: inherit; font-size: .93em; }
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 7px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Draft strip and pending values (removed before publishing) ---------- */
.draft {
  border-top: 3px solid var(--warn);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
}
.draft .wrap { padding-top: 9px; padding-bottom: 9px; }
.draft strong { color: var(--warn-text); font-weight: 600; }
.pending {
  text-decoration: underline dashed var(--warn);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-skip-ink: none;
  overflow-wrap: anywhere;
}
.pending::after {
  content: 'Pending ' attr(data-pending);
  display: inline-block;
  margin-left: 5px;
  padding: 1px 4px;
  border: 1px solid var(--warn);
  border-radius: 4px;
  font: 600 10.5px/1.3 var(--sans);
  letter-spacing: .01em;
  color: var(--warn-text);
  vertical-align: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.pending-block {
  border: 1px dashed var(--warn);
  border-radius: 8px;
  background: var(--warn-dim);
  padding: 12px 14px;
  color: var(--text-2);
  font-size: 15px;
}
.pending-block.zone { background: transparent; border-color: color-mix(in srgb, var(--warn) 70%, transparent); border-radius: 10px; padding: 12px 14px 6px; margin: 0 0 16px; color: inherit; font-size: inherit; }
.pending-block.zone::before { content: 'Pending ' attr(data-pending) ': ' attr(data-say); margin-bottom: 10px; }
.pending-block.zone > *:last-child { margin-bottom: 8px; }
@media (min-width: 720px) { .pending-block.zone { padding: 14px 18px 8px; } }
.pending-block::before {
  content: 'Pending ' attr(data-pending);
  display: block;
  font: 600 11px/1.3 var(--sans);
  letter-spacing: .01em;
  color: var(--warn-text);
  margin-bottom: 4px;
}

/* ---------- Header ---------- */
.bar { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--bg); padding-top: env(safe-area-inset-top); }
.bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding-top: 12px; padding-bottom: 12px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 21px; letter-spacing: -0.045em; line-height: 1;
  font-variation-settings: 'opsz' 32;
  color: var(--text); text-decoration: none;
  padding: 6px 2px;
}
.wordmark svg { width: 1.2em; height: 1.2em; flex: none; }
.sector { stroke: var(--sector); }
.lit { stroke: #3BD9F2; } /* the lit sector is never recoloured (BRAND.md), light scheme included */
.hub { fill: currentColor; }
/* On a phone the nav takes its own rows and wraps, so every page, Pricing and
   Policies included, is in sight without a sideways scroll (design audit row 14). */
.nav { order: 3; flex: 1 0 100%; margin: 0 -10px; padding: 0; }
.nav ol { display: flex; flex-wrap: wrap; gap: 0 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 10px; border-radius: 6px;
  color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.nav a .n { color: var(--muted); font-size: 12px; font-weight: 400; transition: color 160ms var(--ease); }
@media (hover: hover) { .nav a:hover { color: var(--text); } .nav a:hover .n { color: var(--text-2); } }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); font-weight: 500; }
.nav a[aria-current="page"] .n { color: var(--text-2); }
/* The one nav item that is a live tool rather than a page: the check page's
   lit stop, small, beside its name. It opens check.ostranetwork.com. */
.nav a.nav-check { align-items: center; gap: 7px; color: var(--text-2); }
.nav a.nav-check::before {
  content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 3px var(--signal-dim);
}
@media (hover: hover) { .nav a.nav-check:hover { color: var(--text); } }
.bar .btn { margin-left: auto; }
@media (min-width: 980px) {
  .bar .wrap { flex-wrap: nowrap; min-height: 68px; }
  .nav { order: 0; flex: 0 1 auto; margin: 0 0 0 auto; padding: 0; }
  .nav ol { flex-wrap: nowrap; }
  .bar .btn { margin-left: 8px; }
  .menu { display: none; }
}
/* Under 980px the header is one row (wordmark, Create an account, Menu) and the
   same links open below it from a disclosure, which needs no script. */
@media (max-width: 979px) {
  .bar .wrap { flex-wrap: nowrap; gap: 8px; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
  .bar .nav { display: none; }
  .menu > summary { list-style: none; }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu-btn { gap: 8px; }
  .menu-btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .menu-btn svg path { transform-origin: 8px 8px; transition: transform 200ms var(--ease); }
  .menu[open] > .menu-btn { background: var(--surface-2); border-color: var(--muted); }
  .menu[open] > .menu-btn .m1 { transform: translateY(2.5px) rotate(45deg); }
  .menu[open] > .menu-btn .m2 { transform: translateY(-2.5px) rotate(-45deg); }
  .menu-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line-2); box-shadow: var(--lift);
    padding: 10px max(var(--gutter), env(safe-area-inset-right)) 18px max(var(--gutter), env(safe-area-inset-left));
  }
  .menu-nav ol { list-style: none; margin: 0; padding: 0; max-width: 560px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
  .menu-nav a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 6px; color: var(--text-2); text-decoration: none; font-size: 15px; }
  .menu-nav a[aria-current] { color: var(--text); background: var(--surface-2); font-weight: 500; }
  .menu-nav li:has(.nav-check) { grid-column: 1 / -1; }
  .menu-nav a.nav-check::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--signal-dim); }
  @media (hover: hover) { .menu-nav a:hover { color: var(--text); background: var(--surface-2); } }
}
@media (max-width: 359px) {
  .bar .btn { padding-left: 11px; padding-right: 11px; }
  .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

[data-edge="start"] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); }
[data-edge="end"] { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 44px), transparent); }
[data-edge="middle"] { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 9px 16px; border-radius: 7px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  font: 500 14.5px/1.2 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease), opacity 160ms var(--ease);
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.btn.primary { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
@media (hover: hover) {
  .btn:hover { background: var(--surface-2); border-color: var(--muted); text-decoration: none; }
  .btn.primary:hover { background: var(--text-2); border-color: var(--text-2); }
}
.btn:active { transform: scale(0.97); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .45; transform: none; }
.bar .btn { min-height: 36px; padding: 8px 14px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero { display: grid; gap: 40px; padding: 48px 0 64px; }
.hero h1 {
  margin: 0 0 22px;
  font-weight: 600;
  font-size: clamp(40px, 3.6vw + 22px, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.lede { margin: 0 0 28px; max-width: 33em; font-size: clamp(17px, 0.4vw + 15.5px, 19px); line-height: 1.55; color: var(--text-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.ctas .btn { min-height: 44px; padding: 11px 18px; }
@media (min-width: 1000px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding: 72px 0 88px; }
}

/* ---------- The order sheet (the one lifted panel on the home page) ---------- */
.sheet { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--lift); overflow: hidden; }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sheet-head svg { width: 30px; height: 30px; flex: none; color: var(--text); }
.sheet-head h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.sheet-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.sheet-state { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--live-text); white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }
.lines { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.lines th, .lines td { padding: 10px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.lines thead th { border-top: 0; padding-top: 12px; padding-bottom: 10px; font-weight: 500; }
.lines thead th.id { font-family: var(--mono); font-size: 13.5px; letter-spacing: -0.01em; color: var(--text); }
.lines thead th:first-child { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.lines tbody th { width: 38%; font-weight: 400; font-size: 13px; color: var(--muted); padding-right: 8px; }
.lines td { color: var(--text); }
.lines td + td, .lines th.id + th.id { padding-left: 10px; }
.lines td.v { font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.lines tr.exit td.v { font-weight: 500; }
/* The one lit value: the exit network of the example line the rest of the page follows,
   whose column carries a 2px trace at its head: the line the whole site follows. */
.lines tr.exit td.lit { color: var(--signal-text); }
.lines thead th.followed { box-shadow: inset 0 2px 0 var(--signal); }
.lines .also { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.sheet-head .sheet-tag { margin-left: auto; align-self: flex-start; }
/* Three equal value columns, so no example line's facts wrap tighter than another's. */
.lines.three { table-layout: fixed; }
.lines.three thead th:first-child { width: 30%; }
.lines.three td:not(:last-child), .lines.three th.id:not(:last-child) { padding-right: 8px; }
/* Three lines side by side squeeze below 480px, so each row stacks its label over the three values. */
@media (max-width: 480px) {
  .lines.three tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
  .lines.three thead tr { border-top: 0; padding-top: 12px; }
  .lines.three th, .lines.three td, .lines.three td + td, .lines.three th.id + th.id,
  .lines.three td:not(:last-child), .lines.three th.id:not(:last-child) { display: block; width: auto; padding: 0; border: 0; }
  .lines.three tbody th { grid-column: 1 / -1; width: auto; }
  .lines.three thead th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lines.three td[colspan] { grid-column: 1 / -1; }
}
.sheet-foot { border-top: 1px solid var(--line); padding: 16px 18px 18px; background: var(--surface); }
.sheet-foot p { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 420px) {
  .lines th, .lines td { padding-left: 14px; padding-right: 14px; }
  .lines tbody th { width: 34%; }
  .sheet-head, .sheet-foot { padding-left: 14px; padding-right: 14px; }
}

/* ---------- Stage track: the five stages of a line order ---------- */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.track::before {
  content: ''; position: absolute; top: 6px; left: 6px; width: 80%; height: 1.5px; background: var(--line-2);
}
.track li { position: relative; min-width: 0; }
.track a, .track span.here {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding-right: 6px; color: var(--muted); text-decoration: none; font-size: 12.5px; line-height: 1.3;
  border-radius: 6px;
}
.track .stop { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.track .label { display: block; }
.track .label .n { display: block; color: var(--muted); font-size: 11.5px; font-weight: 400; margin-bottom: 1px; }
@media (hover: hover) {
  .track a:hover { color: var(--text); }
  .track a:hover .stop { border-color: var(--text); }
}
.track [aria-current="step"] { color: var(--text); font-weight: 500; }
.track [aria-current="step"] .stop { background: var(--text); border-color: var(--text); }
.track [aria-current="step"] .n { color: var(--text-2); }
.page-open .track .stop { background: var(--bg); }
/* The one authored motion: on the home sheet, the order's track draws from 01 to 05
   and each stop lights as the line passes it, once, on arrival. Everything is
   visible without it; reduced motion leaves the track as it is. */
@media (prefers-reduced-motion: no-preference) {
  .sheet .track::before { transform-origin: left center; animation: track-draw 840ms linear 350ms both; }
  .sheet .track .stop { animation: stop-pass 620ms var(--ease) both; }
  /* Each stop peaks (40% of 620ms) as the line reaches it: 350, 560, 770, 980, 1190ms. */
  .sheet .track li:nth-child(1) .stop { animation-delay: 102ms; }
  .sheet .track li:nth-child(2) .stop { animation-delay: 312ms; }
  .sheet .track li:nth-child(3) .stop { animation-delay: 522ms; }
  .sheet .track li:nth-child(4) .stop { animation-delay: 732ms; }
  .sheet .track li:nth-child(5) .stop { animation-delay: 942ms; }
}
@keyframes track-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stop-pass {
  0% { border-color: var(--line-2); background: var(--surface); box-shadow: 0 0 0 0 var(--signal-dim); }
  40% { border-color: var(--signal); background: var(--signal); box-shadow: 0 0 0 4px var(--signal-dim); }
  100% { border-color: var(--line-2); background: var(--surface); box-shadow: 0 0 0 0 transparent; }
}
.page-open .track [aria-current="step"] .stop { background: var(--text); }

/* ---------- Page body with the stop rail ---------- */
.with-rail { position: relative; }
.rail { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0 calc(-1 * var(--gutter)); }
.rail ol {
  list-style: none; margin: 0; padding: 0 var(--gutter);
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.rail ol::-webkit-scrollbar { display: none; }
.rail li { scroll-snap-align: start; flex: none; }
.rail a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px;
  color: var(--muted); text-decoration: none; font-size: 13.5px; white-space: nowrap;
  transition: color 160ms var(--ease);
}
.rail .stop { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); flex: none; transition: background-color 240ms var(--ease), border-color 240ms var(--ease); }
.rail a[aria-current="true"] { color: var(--text); }
.rail a[aria-current="true"] .stop { background: var(--text); border-color: var(--text); }
@media (hover: hover) { .rail a:hover { color: var(--text); } }
.rail-title { display: none; }

@media (min-width: 1100px) {
  .with-rail { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 56px; align-items: start; }
  .rail { top: 28px; margin: 0; border: 0; background: none; padding-top: 6px; }
  .rail-title { display: block; margin: 0 0 10px 22px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
  .rail ol { display: block; overflow: visible; padding: 0; position: relative; }
  .rail ol::before { content: ''; position: absolute; left: 4px; top: 16px; bottom: 16px; width: 1.5px; background: var(--line-2); }
  .rail li { position: relative; }
  .rail a { display: flex; align-items: flex-start; min-height: 34px; padding: 4px 0; gap: 13px; white-space: normal; line-height: 1.35; }
  .rail .stop { position: relative; z-index: 1; margin-top: 5px; }
}

/* ---------- Home sections ---------- */
.flow { min-width: 0; }
.sec { padding: 64px 0 0; scroll-margin-top: calc(var(--rail-h) + 12px); }
.sec:first-child { padding-top: 40px; }
/* Each section starts on a hairline across the column, so a page reads as one ruled sheet. */
.flow > .sec + .sec { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.sec > h2, .request-intro h2 {
  margin: 0 0 12px; font-size: clamp(28px, 1.8vw + 20px, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em;
}
.sec h2 .n, .stages h3 .n { font-size: .78em; color: var(--muted); font-weight: 500; margin-right: 10px; letter-spacing: -0.02em; }
.sub { margin: 0 0 32px; max-width: 40em; color: var(--text-2); font-size: 17px; line-height: 1.55; }
@media (min-width: 1100px) { .sec { padding-top: 96px; } .sec:first-child { padding-top: 56px; } .flow > .sec + .sec { margin-top: 56px; padding-top: 52px; } }

/* Path strips: how traffic leaves and how texts arrive (DESIGN.md path strip) */
.paths { display: grid; gap: 16px; margin: 0 0 16px; }
@media (min-width: 860px) { .paths { grid-template-columns: 1fr 1fr; gap: 20px; } }
.path-card { margin: 0; padding: 20px 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; }
.path-card h3 { margin: 0 0 18px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.path { list-style: none; margin: 0; padding: 0; flex: 1; }
.path li { position: relative; display: grid; grid-template-columns: 13px minmax(0, 1fr); gap: 1px 14px; padding: 0 0 18px; }
.path li:not(:last-child)::before { content: ''; position: absolute; left: 5.75px; top: 16px; bottom: 2px; width: 1.5px; background: var(--line-2); }
.pstop { grid-row: 1 / span 2; width: 13px; height: 13px; margin-top: 2px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); position: relative; z-index: 1; }
.path .is-line .pstop { background: var(--text); border-color: var(--text); box-shadow: 0 0 0 4px var(--surface-2); }
.pname { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.pval { font-size: 14.5px; color: var(--text); line-height: 1.5; overflow-wrap: anywhere; }
.pval .mono { font-size: 13.5px; }
.path-card figcaption { margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.sms { display: block; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface-2); font-size: 14px; color: var(--text-2); }
.sms-meta { display: block; margin-bottom: 3px; font-size: 12px; color: var(--muted); }
.code { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--code-ink); background: var(--code-bg); padding: 1px 6px; border-radius: 4px; }

/* Fact list: ruled rows, label beside value */
.factlist { margin: 0; padding: 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.factlist > div { display: grid; gap: 2px 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.factlist > div:first-child { border-top: 0; }
.factlist dt { font-size: 13px; color: var(--muted); line-height: 1.5; padding-top: 1px; }
.factlist dd { margin: 0; font-size: 15px; color: var(--text); line-height: 1.55; }
.factlist dd .mono { font-size: 14px; }
@media (min-width: 720px) { .factlist > div { grid-template-columns: 200px minmax(0, 1fr); } }

/* Page references: quieter than a primary link, so the one signal stays on the line */
a.ref { color: var(--text-2); text-decoration-color: var(--line-2); }
@media (hover: hover) { a.ref:hover { color: var(--signal-text); text-decoration-color: currentColor; } }

/* The three bases */
.bases { list-style: none; margin: 0 0 40px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.bases li { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; padding: 18px 20px; }
.bases li + li { border-top: 1px solid var(--line); }
.bases .b {
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--text);
}
.bases h3 { margin: 4px 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.bases p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }

.split { display: grid; gap: 36px; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.split h3 { margin: 0 0 4px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.uses, .never { list-style: none; margin: 0; padding: 0; }
.uses li, .never li { padding: 16px 0; border-top: 1px solid var(--line); }
.uses li:last-child, .never li:last-child { border-bottom: 1px solid var(--line); }
.uses strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.uses span { color: var(--text-2); font-size: 15px; }
.never li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--text-2); line-height: 1.5; padding: 12px 0; }
.never svg { width: 14px; height: 14px; margin-top: 4px; color: var(--muted); }
.more { margin: 16px 0 0; font-size: 15px; }

/* Stages of the order, large */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.stages li:not(:last-child)::before { content: ''; position: absolute; left: 7px; top: 12px; bottom: -6px; width: 1.5px; background: var(--line-2); }
.stages li { position: relative; display: grid; grid-template-columns: 16px 1fr; align-content: start; gap: 0 18px; padding: 0 0 28px; }
.stages .stop { width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); position: relative; z-index: 1; }
.stages h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }

.stages p { margin: 0 0 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.stages p .mono { font-size: 13.5px; }
.stages a.go { font-size: 14.5px; }
@media (min-width: 900px) {
  .stages { grid-template-columns: repeat(5, 1fr); gap: 0 22px; }
  .stages li:not(:last-child)::before { content: none; }
  .stages::before { content: ''; position: absolute; left: 8px; right: calc((100% - 88px) / 5 - 8px); top: 11px; height: 1.5px; background: var(--line-2); }
  .stages li { grid-template-columns: 1fr; gap: 16px 0; padding: 0; }
  .stages .stop { margin-top: 3px; }
}
.price-row {
  margin: 36px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px;
  display: grid; gap: 4px 24px; font-size: 15px; color: var(--text-2);
}
.price-row b { color: var(--text); font-weight: 600; }
@media (min-width: 720px) { .price-row { grid-template-columns: 180px 1fr; } }

/* Records ledger */
.ledger { margin: 0; border-top: 1px solid var(--line); }
.ledger > div { display: grid; gap: 4px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.ledger dd { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.ledger dd .mono { font-size: 14px; }
@media (min-width: 720px) { .ledger > div { grid-template-columns: 200px 1fr; padding: 18px 0; } }

/* ---------- Sign up (stage 01), then the talk-to-us form ---------- */
.request { display: grid; gap: 28px; }
@media (min-width: 960px) { .request { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; } }
.request-intro p { margin: 0 0 16px; color: var(--text-2); font-size: 16px; }
.request-intro .ctas { margin: 4px 0 26px; }
.open-now { margin: 0 0 18px; }
.check .t { display: block; margin: 0 0 2px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; color: var(--text); }
.form-title { margin: 0 0 8px; font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.025em; }
.form-lede { margin: 0; max-width: 36em; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.form .owner-note { margin: 16px 0 20px; }
@media (min-width: 960px) { .request-intro { position: sticky; top: 28px; } }
.owner-note {
  margin: 20px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text); font-size: 14.5px; line-height: 1.55;
}
.form { border-top: 1px solid var(--line); padding-top: 22px; }
@media (min-width: 960px) { .form { border-top: 0; border-left: 1px solid var(--line); padding: 4px 0 0 40px; } }
.field { display: grid; gap: 6px; margin: 0 0 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, legend { font-size: 14px; font-weight: 500; color: var(--text); }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 7px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text);
  font: 400 16px/1.4 var(--sans);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-dim); border-radius: 7px; }
fieldset { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; }
.choice { display: grid; gap: 8px; }
.choice label {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  font-weight: 400; font-size: 14.5px; line-height: 1.45; color: var(--text-2); cursor: pointer;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease);
}
.choice label b { color: var(--text); font-weight: 600; display: block; margin-bottom: 1px; }
.choice input {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 1px 0 0; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer;
  transition: border-color 160ms var(--ease);
}
.choice input::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--text); transform: scale(0); transition: transform 160ms var(--ease); }
.choice input:checked { border-color: var(--text); }
.choice input:checked::before { transform: scale(1); }
.choice input:focus-visible { box-shadow: none; }
.choice label:has(input:checked) { border-color: var(--text-2); background: var(--surface-2); color: var(--text); }
.choice label:has(input:focus-visible) { box-shadow: var(--ring); }
@media (hover: hover) { .choice label:hover { border-color: var(--line-2); } }

.checks { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 0 12px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.check .dot { width: 9px; height: 9px; margin-top: 6px; background: var(--idle); transition: background-color 240ms var(--ease); }
.check[data-status="ok"] .dot { background: var(--live); }
.check[data-status="review"] .dot { background: var(--warn); }
.check[data-status="no"] .dot { background: var(--down); }
.check h3, .check h4 { margin: 0 0 2px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.check p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.check .status { margin-top: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--muted); white-space: nowrap; }
.check[data-status="ok"] .status { color: var(--live-text); }
.check[data-status="review"] .status { color: var(--warn-text); }
.check[data-status="no"] .status { color: var(--down-text); }
.check.settle > div, .check.settle .status { animation: settle 360ms var(--ease); }
@keyframes settle { from { opacity: .55; filter: blur(3px); transform: translateY(3px); } to { opacity: 1; filter: none; transform: none; } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.form-actions .btn { min-height: 44px; }
.form-actions p { margin: 0; font-size: 13.5px; color: var(--muted); flex: 1 1 220px; }
.to-line { margin: 0 0 18px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.form-error { margin: 0 0 14px; color: var(--down-text); font-size: 14px; font-weight: 500; }

/* ---------- Policy pages ---------- */
.page-open { padding: 44px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.page-open h1 {
  margin: 0 0 14px; font-size: clamp(34px, 2.6vw + 22px, 52px); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em;
}
.page-open h1 .n { font-size: .78em; color: var(--muted); font-weight: 500; margin-right: 14px; letter-spacing: -0.03em; }
.purpose { margin: 0 0 14px; max-width: 38em; color: var(--text-2); font-size: clamp(17px, 0.3vw + 16px, 19px); line-height: 1.55; }
.meta { margin: 0 0 30px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.page-open .track { max-width: 620px; }
@media (min-width: 1100px) { .page-open { padding: 64px 0 36px; } }

.doc { min-width: 0; padding: 36px 0 0; max-width: 70ch; }
@media (min-width: 1100px) { .doc { padding-top: 44px; } }
.short {
  margin: 0 0 48px; padding: 4px 20px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--lift);
}
.short h2 { margin: 18px 0 8px; font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -0.015em; }
.short dl { margin: 0; }
.short dl > div { display: grid; gap: 2px 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.short dl > div:first-child { border-top: 0; }
.short dt { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.short dd { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
@media (min-width: 720px) { .short { padding: 4px 26px 8px; } .short dl > div { grid-template-columns: 170px 1fr; } }

.clause { padding: 0 0 8px; scroll-margin-top: calc(var(--rail-h) + 16px); }
.clause + .clause { margin-top: 14px; padding-top: 34px; border-top: 1px solid var(--line); }
.clause h2 { margin: 0 0 14px; font-size: clamp(21px, 0.6vw + 18px, 24px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.clause h2 .n { margin-right: 10px; font-size: .78em; color: var(--muted); }
.clause h3 { margin: 28px 0 8px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.clause p, .clause li { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.clause p { margin: 0 0 14px; }
.clause ul, .clause ol { margin: 0 0 16px; padding-left: 22px; }
.clause li { margin: 0 0 8px; padding-left: 2px; }
.clause li::marker { color: var(--muted); }
.clause strong { color: var(--text); font-weight: 600; }
.clause .mono { font-size: 14.5px; color: var(--text); }
.rule-list { list-style: none; padding: 0 !important; }
.rule-list li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 12px 0; margin: 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list .k { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

.table-wrap { margin: 4px 0 18px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.keep { width: 100%; border-collapse: collapse; font-size: 15px; }
.keep th, .keep td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); line-height: 1.5; }
.keep thead th { border-top: 0; font-size: 13px; font-weight: 500; color: var(--muted); background: var(--surface-2); }
.keep tbody th { font-weight: 600; color: var(--text); }
.keep td { color: var(--text-2); }
.keep td.t { color: var(--text); white-space: nowrap; }
@media (max-width: 640px) {
  .keep thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .keep tr { display: block; padding: 12px 16px; border-top: 1px solid var(--line); }
  .keep tbody tr:first-child { border-top: 0; }
  .keep th, .keep td { display: block; padding: 0; border: 0; }
  .keep td { margin-top: 4px; }
  .keep td::before { content: attr(data-k) ': '; color: var(--muted); }
  .keep td.t { white-space: normal; }
}

.prevnext { display: grid; gap: 12px; margin: 48px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.prevnext a {
  display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--text);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.prevnext a small { font-size: 12.5px; color: var(--muted); }
.prevnext a b { font-weight: 600; font-size: 16px; }
.prevnext a.next { text-align: right; }
@media (hover: hover) { .prevnext a:hover { border-color: var(--line-2); background: var(--surface); } }
@media (min-width: 640px) { .prevnext { grid-template-columns: 1fr 1fr; } .prevnext a.next:only-child { grid-column: 2; } }

/* ---------- Footer ---------- */
.foot { margin-top: 112px; border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 0; color: var(--muted); font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 40px; }
.foot-brand { grid-column: 1 / -1; }
.foot-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 18px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.foot-base::before { content: ''; position: absolute; top: 0; height: 1px; background: var(--line); left: max(var(--gutter), env(safe-area-inset-left)); right: max(var(--gutter), env(safe-area-inset-right)); }
.foot-base a { display: inline; padding: 0; }
.foot-in > div:not(.foot-brand) { grid-column: 1 / -1; }
.foot .wordmark { padding: 0; font-size: 20px; color: var(--text); }
.foot a.pending { text-decoration: underline dashed var(--warn); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.foot-brand p { margin: 14px 0 0; max-width: 24em; line-height: 1.55; color: var(--text-2); }
.foot h2 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: 0; }
.foot ol, .foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot a { color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: baseline; padding: 4px 0; overflow-wrap: anywhere; }
.foot a .n { color: var(--muted); font-size: 12px; }
@media (hover: hover) { .foot a:hover { color: var(--text); text-decoration: underline; } }
.foot .legal { margin: 0; font-size: 13px; line-height: 1.55; }


/* ---------- Product pages (how it works, lines, apps, API, pricing, contact) ---------- */
.nav a[aria-current="true"] { color: var(--text); background: var(--surface-2); font-weight: 500; }
.sec.first { padding-top: 32px; }
@media (min-width: 1100px) { .sec.first { padding-top: 40px; } }
.status-line { margin: 18px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 44em; }
.page-open + .with-rail .flow > .sec:first-child { padding-top: 40px; }

/* A product page opens with its proof beside its claim, like the home page's order sheet. */
.product-open { display: grid; gap: 32px; padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.product-open h1 { margin: 0 0 16px; font-size: clamp(34px, 3vw + 20px, 56px); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; }
@media (min-width: 1000px) { .product-open { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 64px 0 56px; } }

/* The line page, drawn with sample data */
.demo { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--lift); overflow: hidden; min-width: 0; }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.demo-id { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.demo-state { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--live-text); }
.demo-chips { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.chip.mono { font-family: var(--mono); font-weight: 400; color: var(--text); }
.chip .b { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 9.5px; font-weight: 600; color: var(--text); }
.demo-body { display: grid; grid-template-columns: minmax(0, 1fr); }
.demo-verdict { padding: 18px; display: grid; gap: 8px; min-width: 0; }
.demo-say { margin: 0; font-size: clamp(22px, 1.4vw + 16px, 28px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; font-variation-settings: 'opsz' 32; }
.demo-say .net { color: var(--signal-text); }
.demo-why { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.demo-exits { margin: 6px 0 0; border-top: 1px solid var(--line); }
.demo-exits > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.demo-exits > div:last-child { border-bottom: 0; padding-bottom: 0; }
.demo-exits dt { font-size: 12px; color: var(--muted); }
.demo-exits dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; min-width: 0; }
.demo-exits .addr { font-size: clamp(16px, 1vw + 12px, 20px); font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.demo-exits .asn { font-size: 12px; color: var(--muted); }
.demo-exits .asn .mono { font-size: 12px; }
/* The verdict's right column as the app draws it: how a line is checked (design audit row 4: no tape the app does not show). */
.demo-side { padding: 16px 18px 18px; border-top: 1px solid var(--line); min-width: 0; display: grid; gap: 10px; }
.demo-side-h { margin: 0; font-size: 12.5px; color: var(--muted); }
.demo-facts { margin: 0; border-top: 1px solid var(--line); }
.demo-facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.demo-facts dt { color: var(--muted); font-size: 12.5px; }
.demo-facts dd { margin: 0; color: var(--text); }
.demo-rule { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.55; max-width: 52ch; }
.demo figcaption { padding: 12px 18px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.5; background: var(--surface); }

/* Reading a line ID */
.decode { margin: 0; display: grid; gap: 24px; }
.decode-id { display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; font-family: var(--mono); }
.decode-id .seg { display: grid; gap: 6px; padding-top: 0; min-width: 0; }
.decode-id .v { font-size: clamp(40px, 5vw + 18px, 72px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; padding-bottom: 10px; border-bottom: 1.5px solid var(--line-2); }
.decode-id .seg-slot .v { color: var(--signal-text); }
.decode-id .dash { font-size: clamp(40px, 5vw + 18px, 72px); line-height: 1; color: var(--muted); }
.decode-id .k { font: 600 13px/1.3 var(--sans); color: var(--text); }
.decode-id .m { font: 400 13px/1.4 var(--sans); color: var(--muted); max-width: 9em; }
.decode-id .m .nw { white-space: nowrap; }
@media (max-width: 560px) { .decode-id { flex-wrap: nowrap; gap: 4px; } .decode-id .v, .decode-id .dash { font-size: 34px; } .decode-id .m { font-size: 12px; max-width: 7em; } }
.ports { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 14.5px; }
.ports caption { caption-side: top; text-align: left; font-size: 13px; color: var(--muted); padding: 0 0 8px; }
.ports th, .ports td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); line-height: 1.5; }
.ports thead th { border-top: 0; font-size: 12.5px; font-weight: 500; color: var(--muted); background: var(--surface-2); }
.ports tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
.ports td { color: var(--text-2); }
.ports td.mono { font-size: 16px; color: var(--muted); white-space: nowrap; }
.ports td.mono b { font-weight: 400; }
.ports td.mono b.slot { color: var(--signal-text); font-weight: 500; }
@media (max-width: 640px) {
  .ports thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ports tr { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .ports tbody tr:first-child { border-top: 0; }
  .ports th, .ports td { display: block; padding: 0; border: 0; }
  .ports td:last-child { grid-column: 1 / -1; }
}
.paths.one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.checks.big .check { padding: 16px 0; }
.checks.big .check h3 { font-size: 16px; }
.checks.big .check p { font-size: 15px; }

/* Apps: what each one puts on the line */
.scope-wrap { margin: 0; }
.sec.first + .with-rail, .scope-wrap + .more + .with-rail { margin-top: 8px; }
.sec.first .more { margin-bottom: 0; }
.scope { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.scope th, .scope td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--line); line-height: 1.45; }
.scope thead th { border-top: 0; font-size: 12.5px; font-weight: 500; color: var(--muted); background: var(--surface-2); }
.scope tbody th { font-weight: 600; color: var(--text); }
.scope tbody th a { color: var(--text); text-decoration-color: var(--line-2); }
.scope td { color: var(--text-2); }
.scope tr.quiet { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }
.scope .sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.reach { display: inline-flex; gap: 2px; margin: 0 8px 0 0; vertical-align: -1px; }
.reach i { width: 8px; height: 12px; border-radius: 1.5px; box-shadow: inset 0 0 0 1px var(--line-2); }
.reach i.on { background: var(--text-2); box-shadow: none; }
@media (max-width: 760px) {
  .scope thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .scope tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .scope tbody tr:first-child { border-top: 0; }
  .scope th, .scope td { display: block; padding: 0; border: 0; }
  .scope tbody th, .scope td:nth-of-type(1) { grid-column: 1 / -1; }
  .scope td::before { content: attr(data-k); display: block; font-size: 11.5px; color: var(--muted); }
}

/* API: the exchange, the snippets, the tables */
.exchange { margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--lift); overflow: hidden; min-width: 0; }
.exchange pre { margin: 0; padding: 0 18px 16px; font: 400 13px/1.65 var(--mono); color: var(--text); overflow-x: auto; white-space: pre; }
.exchange pre b { font-weight: 500; color: var(--text); background: var(--surface-2); padding: 0 5px; border-radius: 4px; margin-right: 2px; }
.ex-label { margin: 0; padding: 14px 18px 8px; font-size: 12.5px; color: var(--muted); }
.ex-res { border-top: 1px solid var(--line); background: var(--bg); }
.ex-res .ex-label { color: var(--text-2); }
.exchange figcaption { padding: 12px 18px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.snips { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.snip { border-top: 1px solid var(--line); }
.snip:first-child { border-top: 0; }
.snip h3 { margin: 0; padding: 12px 16px 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.snip pre { margin: 0; padding: 10px 16px 16px; font: 400 13px/1.65 var(--mono); color: var(--text); overflow-x: auto; white-space: pre; }
.snips[data-ready] .snip { border-top: 0; }
.snips[data-ready] .snip h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.snip-tabs { display: flex; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid var(--line); background: var(--surface-2); overflow-x: auto; scrollbar-width: none; }
.snip-tabs button { appearance: none; border: 0; background: transparent; color: var(--muted); font: 500 13.5px/1 var(--sans); padding: 10px 12px 11px; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; transition: color 160ms var(--ease); }
.snip-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
@media (hover: hover) { .snip-tabs button:hover { color: var(--text); } }
.snip-copy { display: flex; justify-content: flex-end; padding: 0 12px 12px; }
.btn-copy { min-height: 32px; padding: 5px 10px; font-size: 12.5px; }
.api-table th.mono { font-family: var(--mono); font-weight: 400; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 640px) { .api-table th.mono { white-space: normal; overflow-wrap: anywhere; } .api-table td::before { content: none; } }
.events-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.events-list li { display: grid; gap: 2px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.events-list .mono { color: var(--text); font-size: 14px; }
@media (min-width: 720px) { .events-list li { grid-template-columns: 220px 1fr; } }
.never-box { margin: 24px 0 0; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 10px; }
.never-box h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.never-box p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* Pricing: the rate card */
.rate-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--lift); overflow: hidden; }
.rate-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.rate-head h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.rate-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.rate-stamp { margin-left: auto; padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: var(--text-2); font-size: 12px; font-weight: 500; }
.rates { width: 100%; border-collapse: collapse; font-size: 15px; }
.rates th, .rates td { text-align: left; vertical-align: top; padding: 14px 20px; border-top: 1px solid var(--line); line-height: 1.5; }
.rates thead th { border-top: 0; font-size: 12.5px; font-weight: 500; color: var(--muted); background: var(--surface-2); }
.rates tbody th { font-weight: 600; color: var(--text); width: 26%; }
.rates .unit { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.rates td { color: var(--text-2); }
.rates td.price { width: 24%; white-space: nowrap; color: var(--text); font-weight: 500; }
.rates td.price .unit { white-space: normal; }
.rates tr.main-row { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.rates tr.main-row th { font-size: 17px; }
.rates tr.main-row td.price { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.rates tr.main-row td.price .unit { margin-top: 6px; letter-spacing: 0; line-height: 1.45; }
@media (min-width: 681px) { .rates td.price, .rates thead th:last-child { text-align: right; } .rates td.price .unit { margin-left: auto; max-width: 18em; } }
.rate-foot { padding: 14px 20px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 680px) {
  .rates thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rates tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .rates tbody tr:first-child { border-top: 0; }
  .rates th, .rates td { display: block; padding: 0; border: 0; width: auto !important; }
  .rates td.price { grid-column: 2; grid-row: 1; text-align: right; }
  .rates td[data-k="Includes"] { grid-column: 1 / -1; }
  .rates tr.main-row { grid-template-columns: minmax(0, 1fr); }
  .rates tr.main-row td.price { grid-column: 1; grid-row: auto; order: 1; text-align: left; }
  .rates tr.main-row td[data-k="Includes"] { order: 2; }
}

/* Contact: three doors */
.doors { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.door { display: grid; gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.door-head h2 { margin: 0 0 4px; font-size: clamp(22px, 1vw + 18px, 28px); font-weight: 600; letter-spacing: -0.03em; }
.door-head p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.door-to { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.door-to .mono { font-size: 15px; }
.door-sub { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.door-facts { margin: 0; }
.door-facts > div { display: grid; gap: 2px 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.door-facts dt { color: var(--muted); font-size: 13px; }
.door-facts dd { margin: 0; color: var(--text-2); line-height: 1.55; }
.door-more { font-size: 14px; justify-self: start; }
@media (min-width: 900px) {
  .door { grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
  .door-head { grid-row: 1 / span 3; }
  .door-facts > div { grid-template-columns: 110px minmax(0, 1fr); }
}

/* Home: what you get */
.get-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.get-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; transition: background-color 160ms var(--ease); }
.get-name { font-weight: 600; font-size: 16.5px; letter-spacing: -0.015em; }
.get-say { grid-column: 1; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.get-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 13.5px; color: var(--text-2); transition: color 160ms var(--ease); }
@media (hover: hover) { .get-list a:hover .get-go { color: var(--signal-text); } }
.get-go::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-1px) rotate(45deg); transition: transform 160ms var(--ease); }
@media (hover: hover) { .get-list a:hover .get-go::after { transform: translate(3px, -1px) rotate(45deg); } }
@media (min-width: 860px) { .get-list a { grid-template-columns: 220px minmax(0, 1fr) auto; } .get-say { grid-column: 2; } .get-go { grid-column: 3; grid-row: 1; } }

@media (min-width: 820px) { .foot-in { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; } .foot-brand, .foot-in > div:not(.foot-brand) { grid-column: auto; } }

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