/* Astra Gaming design system ("Control room").
   From the approved Claude Design canvas, 2026-10-06
   (https://claude.ai/artifact/7c8Rdh8w3Y7r2Rd3995DAp).

   Neutrals carry the layout. Signal cyan (--coin, kept as the variable name
   every console stylesheet already uses) means action, focus and work in
   progress. Green, amber and red mean outcomes and always come with a word or
   a shape. Products are not colour-coded: every [data-hue] resolves to the
   accent. Night is the default theme; Day is [data-theme="light"] on <html>. */

:root {
  color-scheme: dark;

  /* Ground and surfaces */
  --ground: #070A11;
  --ink: var(--ground);
  --panel: #0D121C;
  --panel-2: #131A27;
  --track: #1B2433;
  --inset: #05070C;
  --field: #070A11;
  --line: #212B3C;
  --line-strong: #33415A;
  --grid-line: #0E141F;

  /* Text */
  --text: #F2F5FA;
  --muted: #C3CBD9;
  --dim: #8E99AD;

  /* The one action colour: signal cyan */
  --coin: #3DD9EB;
  --coin-hi: #8DEBF6;
  --coin-ink: #031418;
  --accent-soft: #0B2A31;
  --accent-line: #1A5562;

  /* State */
  --ok: #5ADB8F;
  --ok-soft: #0F2A1C;
  --ok-line: #1F5A3A;
  --warn: #F2B84B;
  --warn-soft: #2B2110;
  --warn-line: #5E4718;
  --bad: #FF8A8A;
  --bad-soft: #2E1416;
  --bad-line: #6B2A2E;
  --info: var(--coin);

  /* Products are not colour-coded any more; kept so old markup still resolves */
  --ember: var(--coin);
  --azure: var(--coin);
  --mint: var(--coin);
  --violet: var(--coin);
  --sand: var(--coin);
  --hue: var(--coin);

  --shadow: 0 28px 64px rgba(0, 0, 0, 0.5);

  /* Type: Sora for display and numerals, Instrument Sans for reading, JetBrains Mono for data */
  --display: "Sora", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --led: var(--display);

  --step--1: 0.8125rem;
  --step-0: 0.9375rem;
  --step-1: 1.125rem;
  --step-2: 1.25rem;
  --step-3: 1.625rem;
  --step-4: clamp(1.875rem, 1.35rem + 1.7vw, 2.625rem);
  --step-5: clamp(2.5rem, 1.55rem + 3.4vw, 4.125rem);

  --gutter: clamp(16px, 3.4vw, 32px);
  --wrap: 1200px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --ground: #F6F7F9;
  --panel: #FFFFFF;
  --panel-2: #EEF1F5;
  --track: #E3E7EE;
  --inset: #EEF1F5;
  --field: #FFFFFF;
  --line: #DDE2EA;
  --line-strong: #C5CCD8;
  --grid-line: #ECEFF4;
  --text: #0B111C;
  --muted: #3A4456;
  --dim: #5B6577;
  --coin: #08707F;
  --coin-hi: #055562;
  --coin-ink: #FFFFFF;
  --accent-soft: #E1F3F5;
  --accent-line: #9BD3DA;
  --ok: #1E6B3F;
  --ok-soft: #E3F4EA;
  --ok-line: #A9D9BC;
  --warn: #8A5A00;
  --warn-soft: #FBF1DC;
  --warn-line: #E6CC8F;
  --bad: #B4232B;
  --bad-soft: #FCE8E9;
  --bad-line: #F0B5B8;
  --shadow: 0 24px 56px rgba(11, 17, 28, 0.14);
}

[data-hue] { --hue: var(--coin); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--muted);
  font: 400 var(--step-0)/1.6 var(--body);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
a { color: var(--coin); text-decoration-color: color-mix(in srgb, var(--coin) 45%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--coin-hi); text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; color: var(--text); text-wrap: balance; }
h1 { font: 600 var(--step-5)/1.04 var(--display); letter-spacing: -0.035em; }
h2 { font: 600 var(--step-4)/1.14 var(--display); letter-spacing: -0.028em; }
h3 { font: 600 var(--step-2)/1.3 var(--display); letter-spacing: -0.015em; }
h4 { font: 600 1rem/1.4 var(--body); }
p { margin: 0; text-wrap: pretty; }
b, strong { color: var(--text); font-weight: 600; }
code, kbd, pre { font-family: var(--mono); font-size: 0.88em; }
:focus-visible { outline: 2px solid var(--coin); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--coin); color: var(--coin-ink); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.trap { position: absolute; left: -9999px; }

/* ── Small parts ─────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 0.75rem/1.35 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.eyebrow--mark::before { content: ""; width: 6px; height: 6px; background: var(--coin); flex: none; }
.eyebrow--accent { color: var(--coin); }

/* Product "slot" codes (A1, A2…) belonged to the old rack metaphor. */
.slot { display: none !important; }

/* Status chips. .lamp is the release state of a product, .pill a general state. */
.lamp, .pill, .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: var(--radius-sm);
  font: 400 0.75rem/1rem var(--mono); letter-spacing: 0;
  text-transform: none; white-space: nowrap;
  color: var(--muted); background: var(--panel-2); border: 1px solid var(--line-strong);
}
.lamp::before, .chip[data-dot]::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--dim); box-sizing: border-box;
}
.lamp[data-state="live"], .pill[data-tone="ok"], .chip[data-tone="ok"] { color: var(--ok); background: var(--ok-soft); border-color: var(--ok-line); }
.lamp[data-state="live"]::before { background: var(--ok); border-color: var(--ok); }
.lamp[data-state="early_access"], .pill[data-tone="info"], .chip[data-tone="info"] { color: var(--coin); background: var(--accent-soft); border-color: var(--accent-line); }
.lamp[data-state="early_access"]::before { border-color: var(--coin); background: linear-gradient(90deg, var(--coin) 50%, transparent 50%); }
.pill[data-tone="warn"], .chip[data-tone="warn"] { color: var(--warn); background: var(--warn-soft); border-color: var(--warn-line); }
.pill[data-tone="bad"], .chip[data-tone="bad"] { color: var(--bad); background: var(--bad-soft); border-color: var(--bad-line); }
.chip[data-tone="ok"][data-dot]::before { background: var(--ok); border-color: var(--ok); }
.chip[data-live]::before { animation: ag-pulse 2s ease-in-out infinite; }

/* Big numerals (old ".led" readouts) */
.led {
  font: 600 1.875rem/1.1 var(--display); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.readout { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--panel-2); border: 1px solid var(--line); }
.readout small { font: 400 var(--step--1)/1.3 var(--body); color: var(--dim); text-align: right; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 18px; min-height: 44px;
  font: 600 0.875rem/1.2 var(--body);
  color: var(--coin-ink); background: var(--coin);
  border: 1px solid var(--coin); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .12s cubic-bezier(.2,.8,.2,1), border-color .12s, color .12s;
}
.btn:hover { background: var(--coin-hi); border-color: var(--coin-hi); color: var(--coin-ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { background: transparent; color: var(--dim); border-color: var(--line); cursor: not-allowed; transform: none; }
.btn--ghost, .btn--hue { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover, .btn--hue:hover { background: var(--panel-2); border-color: var(--dim); color: var(--text); }
.btn--danger { background: var(--bad-soft); color: var(--bad); border-color: var(--bad-line); }
.btn--danger:hover { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.btn--sm { padding: 0 12px; min-height: 36px; font-size: var(--step--1); border-radius: 5px; }
.btn--lg { min-height: 48px; padding: 0 22px; font-size: var(--step-0); }
.btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px), (pointer: coarse) { .btn--sm { min-height: 44px; } }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--coin-ink); border-top-color: transparent; animation: spin .7s linear infinite;
}
.btn--ghost.is-busy::after, .btn--hue.is-busy::after, .btn--danger.is-busy::after { border-color: var(--text); border-top-color: transparent; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--coin); display: inline-flex; align-items: center; min-height: 32px; }
.link-arrow::after { content: "\00a0→"; }
.link-arrow:hover { text-decoration: underline; }

/* ── Availability bar and header ─────────────────────────────────────────── */
.stockbar { background: var(--panel); border-bottom: 1px solid var(--line); font-size: var(--step--1); line-height: 20px; }
.stockbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 10px; }
.stockbar a { font-weight: 500; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 8px 32px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand svg { width: 22px; height: 22px; color: var(--coin); fill: var(--coin); flex: none; }
.brand b { font: 600 1.125rem/1 var(--display); letter-spacing: -0.01em; color: var(--text); text-transform: none; }
.brand b span { color: var(--dim); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-size: 0.875rem; font-weight: 500; color: var(--muted);
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a[aria-current="page"]:not(.btn) { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--coin); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; min-height: 44px; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--radius); padding: 0 14px; font: 600 0.875rem/1 var(--body); cursor: pointer; }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 12px var(--gutter) 18px; background: var(--ground); border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a[aria-current="page"]:not(.btn) { box-shadow: inset 2px 0 0 var(--coin); }
  .nav-actions { margin: 8px 0 0; flex-wrap: wrap; }
  .nav-actions .btn { flex: 1 1 auto; }
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding-block: clamp(56px, 8vw, 88px); border-bottom: 1px solid var(--line); }
.section--panel { background: var(--panel); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(28px, 4vw, 40px); max-width: 780px; }
.section-head .lead { max-width: 640px; }
.shelf { border: 0; border-top: 1px solid var(--line); margin: 0; }
.grid-bg { background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 96px 100%; }

.hero { padding-block: clamp(48px, 8vw, 88px) clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 96px 100%; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; }
.hero-grid > * { min-width: 0; }
.hero-copy { flex: 1 1 480px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-copy h1 { max-width: 12.5em; }
.hero-copy .lead { max-width: 540px; }
.hero-copy h1 em { font-style: normal; color: var(--coin); }
.hero-note { font: 400 0.75rem/1.65 var(--mono); color: var(--dim); max-width: 520px; }

/* Product and inner page hero */
.p-hero { padding-block: clamp(48px, 7vw, 72px) clamp(40px, 6vw, 56px); border-bottom: 1px solid var(--line); }
.p-hero h1 { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.032em; max-width: 16em; }
.p-hero .hero-grid { align-items: flex-start; }

/* ── Build record: the measured provisioning sequence on the home page ──── */
.build { flex: 1 1 440px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.build-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.build-scale { padding: 20px 24px 8px; display: grid; gap: 6px; }
.build-bar { height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.build-bar i { display: block; height: 6px; width: 100%; background: var(--coin); transform-origin: left; animation: build-fill 12s linear both; }
.build-ticks { height: 8px; border-right: 1px solid var(--line-strong); background-image: repeating-linear-gradient(90deg, var(--line-strong) 0, var(--line-strong) 1px, transparent 1px, transparent 8.3333%); }
.build-axis { display: flex; justify-content: space-between; font: 400 0.6875rem/1rem var(--mono); color: var(--dim); }
.build-steps { list-style: none; margin: 0; padding: 4px 24px 0; }
.build-steps li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.build-steps li:last-child { border-bottom: 0; }
.build-steps .n { width: 20px; flex: none; font: 400 0.75rem/1 var(--mono); color: var(--dim); }
.build-steps .t { flex: 1; color: var(--text); line-height: 22px; }
.build-steps .s { display: inline-flex; align-items: center; gap: 6px; flex: none; font: 400 0.75rem/1 var(--mono); color: var(--ok); animation: build-step .35s ease-out both; animation-delay: var(--at, 0s); }
.build-steps .s svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.build-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 18px 24px 22px; border-top: 1px solid var(--line); background: var(--panel-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.build-foot span { color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.build-foot b { font: 600 2.75rem/1 var(--display); letter-spacing: -0.03em; color: var(--coin); font-variant-numeric: tabular-nums; }
.build-head .chip { animation: build-step .35s ease-out both; animation-delay: 12s; }
@keyframes build-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes build-step { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }

/* ── Measured figures ────────────────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1px; background: var(--line); border-inline: 1px solid var(--line); }
.metric { background: var(--ground); padding: 40px 32px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.metric b { font: 600 clamp(2.75rem, 2rem + 2vw, 3.5rem)/1.05 var(--display); letter-spacing: -0.035em; color: var(--text); font-variant-numeric: tabular-nums; }
.metric p { color: var(--muted); }
.metrics-note { padding: 16px 0 20px; font: 400 0.75rem/1.65 var(--mono); color: var(--dim); }

/* ── Product cards ───────────────────────────────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.prod { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.prod-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.prod h3 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.02em; }
.prod > p { font-size: 1rem; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; flex: none; background: var(--coin); }
.prod .ticks { flex: 1; }
.prod-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--dim); }
.prod-price b { font: 600 1.875rem/1.2 var(--display); letter-spacing: -0.02em; color: var(--text); }
.also { font-size: 0.875rem; color: var(--dim); }

/* ── Delivery flow ───────────────────────────────────────────────────────── */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.flow li { counter-increment: flow; background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.flow li::before { content: counter(flow, decimal-leading-zero); font: 400 0.75rem/1 var(--mono); color: var(--coin); }
.flow h3 { font-size: 1.25rem; }
.flow p { font-size: 0.875rem; line-height: 1.6; }
.section--panel .flow li { background: var(--panel); }

/* ── Isolation diagram ───────────────────────────────────────────────────── */
.iso { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.iso-node { flex: 1 1 150px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.iso-node b { font-size: var(--step-0); line-height: 22px; }
.iso-node span { font-size: var(--step--1); line-height: 20px; color: var(--dim); }
.iso-arrow { display: flex; align-items: center; justify-content: center; flex: none; color: var(--dim); }
.iso-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.iso-own { flex: 3 1 420px; border: 1px dashed var(--accent-line); border-radius: var(--radius-lg); padding: 14px; display: flex; flex-direction: column; gap: 12px; background: var(--accent-soft); min-width: 0; }
.iso-own > .eyebrow { color: var(--coin); font-size: 0.6875rem; }
.iso-own .iso-row { display: flex; flex-wrap: wrap; gap: 12px; }
.iso-own .iso-node { flex: 1 1 130px; border-color: var(--accent-line); }
.iso-own .iso-node span { color: var(--muted); }
@media (max-width: 760px) { .iso-arrow { width: 100%; } .iso-arrow svg { transform: rotate(90deg); } }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 48px; padding-top: 8px; }
.facts-row > div { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.facts-row h3 { font: 600 1rem/1.5 var(--body); letter-spacing: 0; }
.facts-row p { font-size: 0.875rem; line-height: 1.6; }

.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px; }
.cta-band .stack { flex: 1 1 480px; min-width: 0; }

/* ── Feature rows and grids ──────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.point { background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.point p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.point .eyebrow { color: var(--coin); }

.product-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(16px, 3vw, 40px); padding-block: 32px; border-top: 1px solid var(--line); align-items: start; }
.product-row:first-of-type { border-top: 0; padding-top: 0; }
.product-row ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.product-row li { padding-left: 16px; position: relative; color: var(--muted); }
.product-row li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; background: var(--coin); }
@media (max-width: 860px) { .product-row { grid-template-columns: minmax(0, 1fr); } }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-strong); min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 400 0.75rem/1 var(--mono); color: var(--coin); }
.steps p { color: var(--muted); font-size: 0.875rem; overflow-wrap: anywhere; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 28px; position: relative; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* ── Panels, tables, pricing ─────────────────────────────────────────────── */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); min-width: 0; }
.panel--flat { background: transparent; }
.panel h3 + p, .panel h4 + p { margin-top: 6px; }

/* position: relative keeps visually hidden labels inside a wide table from widening the page */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: 0.875rem; line-height: 1.45; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
tbody th { font-weight: 500; color: var(--muted); }
tr:last-child > td, tr:last-child > th { border-bottom: 0; }
thead th { font: 500 0.6875rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: var(--panel-2); border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
thead th b { display: block; margin-top: 2px; font: 600 0.875rem/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--text); }
thead th small { display: block; font: 400 0.8125rem/1.3 var(--mono); letter-spacing: 0; text-transform: none; color: var(--muted); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
td code { font-size: 0.8125rem; }
tbody tr:hover > td, tbody tr:hover > th { background: color-mix(in srgb, var(--panel-2) 70%, transparent); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); min-width: 0; }
.plan[data-recommended] { border-color: var(--accent-line); }
.plan .price { display: flex; align-items: baseline; gap: 6px 8px; flex-wrap: wrap; }
.plan .price .led { font-size: 1.875rem; }
.plan .price small { color: var(--dim); font: 400 var(--step--1)/1.2 var(--body); }
.plan p { color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.875rem; color: var(--muted); align-content: start; flex: 1; }
.plan li { padding-left: 16px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--coin); }
.plan .btn { margin-top: auto; }
.plan-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--step--1); line-height: 18px; }
.plan-specs span { display: flex; flex-direction: column; gap: 2px; color: var(--dim); }
.plan-specs b { font: 400 var(--step--1)/18px var(--mono); color: var(--text); }
/* Plan choice inside the configurator: radio cards */
.plans--pick { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.plans--pick .plan { cursor: pointer; gap: 14px; }
.plans--pick .plan input { accent-color: var(--coin); width: 18px; height: 18px; margin: 0; }
.plans--pick .plan:has(input:checked) { border-color: var(--coin); background: var(--accent-soft); }
.plans--pick .plan:has(input:focus-visible) { outline: 2px solid var(--coin); outline-offset: 2px; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { flex-wrap: wrap; }
.plan-name > span:first-child { display: flex; align-items: center; gap: 10px; font: 600 1.1875rem/1.3 var(--display); color: var(--text); }

.addons { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 10px; }
.addon {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start;
  padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md); min-width: 0;
}
.addon h4 { font-size: 0.875rem; line-height: 22px; }
.addon p { grid-column: 1 / -1; color: var(--dim); font-size: var(--step--1); line-height: 1.5; }
.addon .cost { font: 400 var(--step--1)/22px var(--mono); color: var(--text); white-space: nowrap; text-align: right; }
.addon .cost small { display: block; font: 400 0.6875rem/1.3 var(--body); color: var(--dim); }
.addon .cost[data-free] { color: var(--ok); }
.addon[data-planned] { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.addon[data-planned] .cost { color: var(--dim); }
label.addon { cursor: pointer; grid-template-columns: auto 1fr auto; min-height: 44px; }
label.addon p { grid-column: 2 / -1; }
label.addon:has(input:checked) { border-color: var(--coin); background: var(--accent-soft); }
label.addon:has(input:disabled) { cursor: default; }
label.addon:has(input:disabled:not(:checked)) { opacity: .62; }
label.addon:has(input:focus-visible) { outline: 2px solid var(--coin); outline-offset: 2px; }
label.addon input[type="checkbox"], label.addon input[type="radio"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--coin); }
.addon .qty { grid-column: 2 / -1; display: flex; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--muted); }
.addon .qty input { width: 84px; min-height: 36px; padding: 6px 8px; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field > span.label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: var(--step--1); line-height: 1.5; color: var(--dim); }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input[type="search"], input[type="tel"], select, textarea {
  width: 100%; min-width: 0; padding: 10px 12px; min-height: 44px;
  font: 400 0.875rem/1.4 var(--body); color: var(--text);
  background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--radius);
}
input[type="number"], input[type="tel"] { font-family: var(--mono); }
select { cursor: pointer; }
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: var(--dim); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--coin); box-shadow: 0 0 0 3px color-mix(in srgb, var(--coin) 24%, transparent); }
input[aria-invalid="true"] { border-color: var(--bad); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--coin); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input { flex: 1 1 220px; }
.inline-form select { flex: 0 1 190px; }
.affix { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--field); overflow: hidden; }
.affix:focus-within { border-color: var(--coin); box-shadow: 0 0 0 3px color-mix(in srgb, var(--coin) 24%, transparent); }
.affix input { border: 0; border-radius: 0; box-shadow: none !important; flex: 1 1 auto; font-family: var(--mono); background: transparent; }
.affix span { display: flex; align-items: center; padding: 0 12px; background: var(--panel-2); border-left: 1px solid var(--line); color: var(--dim); font: 400 0.75rem/1 var(--mono); white-space: nowrap; }
@media (max-width: 420px) { .affix { flex-wrap: wrap; } .affix span { width: 100%; min-height: 32px; border-left: 0; border-top: 1px solid var(--line); } }

/* Inline notices */
.note { padding: 12px 14px; border-radius: var(--radius); font-size: var(--step--1); line-height: 1.5; border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--muted); }
.note[data-tone="ok"] { border-color: var(--ok-line); color: var(--ok); background: var(--ok-soft); }
.note[data-tone="bad"] { border-color: var(--bad-line); color: var(--bad); background: var(--bad-soft); }
.note[data-tone="warn"] { border-color: var(--warn-line); color: var(--warn); background: var(--warn-soft); }
.note[data-tone="info"] { border-color: var(--line-strong); color: var(--muted); background: var(--panel-2); }
.note b, .note strong { color: inherit; }
.note code { color: var(--text); background: color-mix(in srgb, var(--ground) 60%, transparent); padding: 1px 5px; border-radius: 3px; }
.segmented { display: inline-flex; flex-wrap: nowrap; padding: 4px; gap: 4px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius-md); }
.segmented button { min-height: 40px; padding: 0 16px; white-space: nowrap; background: none; border: 0; border-radius: 5px; color: var(--muted); font: 600 0.875rem/1 var(--body); cursor: pointer; }
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed="true"] { background: var(--coin); color: var(--coin-ink); }

/* ── Configurator and order summary ──────────────────────────────────────── */
.cfg-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.cfg-head > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.cfg-head .segmented { flex: none; }
@media (max-width: 420px) { .segmented { flex-wrap: wrap; } .segmented button { flex: 1 1 auto; white-space: normal; } }
.cfg-head h2, .cfg-step h2 { font-size: 1.625rem; line-height: 1.25; letter-spacing: -0.02em; }
.cfg-step { display: flex; flex-direction: column; gap: 8px; }
.cfg-group { display: flex; flex-direction: column; gap: 12px; }
.cfg-group > h3 { font: 600 var(--step-0)/1.4 var(--body); letter-spacing: 0; }
.configurator { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.configurator > :first-child { flex: 999 1 560px; min-width: 0; }
.configurator > .summary, .configurator > aside { flex: 1 1 340px; min-width: 0; }
.summary { display: flex; flex-direction: column; gap: 14px; }
.summary dl { margin: 0; display: grid; gap: 8px; font-size: 0.875rem; }
.summary dl > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; color: var(--muted); }
.summary dt { min-width: 0; }
.summary dd { margin: 0; font-family: var(--mono); font-size: var(--step--1); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.summary dd.free { color: var(--ok); }
.summary .total { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-strong); align-items: baseline !important; }
.summary .total dt { font-weight: 600; color: var(--text); }
.summary .total dd { font: 600 1.875rem/1.2 var(--display); letter-spacing: -0.02em; }
.order { padding: 0; gap: 0; border-color: var(--line-strong); }
.order > * { padding-inline: 22px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.order-head h3 { font-size: 1.125rem; }
.order-lines { padding-block: 8px; }
.order-lines > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-lines dt .dim { display: block; font-size: 0.75rem; }
.order-totals { padding-block: 6px 18px; }
.order-step { display: flex; flex-direction: column; gap: 12px; padding-block: 18px 22px; border-top: 1px solid var(--line); }
.fine { font-size: var(--step--1); line-height: 1.5; color: var(--dim); }

/* ── Provisioning sequence (console, admin) ──────────────────────────────── */
.seq { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); min-width: 0; }
.seq[data-state="running"] { border-color: var(--accent-line); }
.seq[data-state="failed"] { border-color: var(--bad-line); }
.seq-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.seq-title { font: 600 1rem/1.4 var(--display); color: var(--text); }
.seq-meta { font: 400 0.75rem/1.3 var(--mono); color: var(--muted); }
.seq-bar { margin: 16px 20px 4px; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.seq-bar i { display: block; height: 6px; background-color: var(--coin); transition: width .4s cubic-bezier(.2,.8,.2,1); }
.seq[data-state="running"] .seq-bar i { background-image: repeating-linear-gradient(45deg, transparent 0 7px, color-mix(in srgb, var(--coin-ink) 35%, transparent) 7px 14px); background-size: 28px 6px; animation: seq-sweep .8s linear infinite; }
.seq[data-state="failed"] .seq-bar i { background-color: var(--bad); }
.seq-steps { list-style: none; margin: 0; padding: 8px 20px 12px; }
.seq-step { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.seq-step:last-child { border-bottom: 0; }
.seq-mark { position: relative; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px dashed var(--line-strong); }
.seq-step[data-state="done"] .seq-mark { border: 1px solid var(--ok-line); background: var(--ok-soft); }
.seq-step[data-state="done"] .seq-mark::after { content: ""; position: absolute; left: 7px; top: 6px; width: 8px; height: 4px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.seq-step[data-state="running"] { margin-inline: -12px; padding-inline: 12px; border-radius: var(--radius-md); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.seq-step[data-state="running"] .seq-mark { border: 2px solid var(--accent-line); border-top-color: var(--coin); animation: spin .9s linear infinite; }
.seq-step[data-state="failed"] .seq-mark { border: 1px solid var(--bad-line); background: var(--bad-soft); }
.seq-step[data-state="failed"] .seq-mark::before, .seq-step[data-state="failed"] .seq-mark::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 2px; background: var(--bad); transform: rotate(45deg); }
.seq-step[data-state="failed"] .seq-mark::after { transform: rotate(-45deg); }
.seq-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.seq-label { font-size: var(--step-0); line-height: 22px; color: var(--text); }
.seq-step[data-state="waiting"] .seq-label { color: var(--muted); }
.seq-step[data-state="running"] .seq-label { font-weight: 600; }
.seq-note { font-size: var(--step--1); line-height: 18px; color: var(--dim); }
.seq-step[data-state="running"] .seq-note { color: var(--muted); }
.seq-state { flex: none; display: flex; flex-direction: column; align-items: flex-end; font: 400 0.75rem/18px var(--mono); color: var(--dim); }
.seq-state small { font-size: 0.75rem; color: var(--dim); }
.seq-step[data-state="done"] .seq-state { color: var(--ok); }
.seq-step[data-state="running"] .seq-state { color: var(--coin); }
.seq-step[data-state="running"] .seq-state small { color: var(--muted); }
.seq-step[data-state="failed"] .seq-state { color: var(--bad); }
@keyframes seq-sweep { from { background-position: 0 0; } to { background-position: 28px 0; } }

/* ── Mock "specimens" on product pages ───────────────────────────────────── */
.specimen { flex: 1 1 420px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.specimen-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 400 0.75rem/1 var(--mono); color: var(--dim); }
.specimen-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.specimen-body { padding: 18px; display: grid; gap: 12px; }
.specimen pre { margin: 0; padding: 14px; background: var(--inset); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; color: var(--muted); line-height: 1.6; font-size: 0.75rem; }
.specimen pre b { color: var(--coin); font-weight: 500; }
.thread { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ground); font-size: 0.875rem; }
.thread .av { width: 28px; height: 28px; border-radius: 50%; background: var(--track); }
.thread small { color: var(--dim); display: block; font-size: 0.75rem; }
.thread .n { font: 400 0.75rem/1 var(--mono); color: var(--dim); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-foot { padding-block: 56px 40px; font-size: 0.875rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px 48px; }
.foot-grid h4 { font: 500 0.6875rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.foot-grid a:not(.brand) { display: flex; align-items: center; min-height: 32px; color: var(--muted); text-decoration: none; }
.foot-grid a:not(.brand):hover { color: var(--text); }
.foot-grid p { font-size: var(--step--1); line-height: 1.55; color: var(--dim); }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; justify-content: space-between; font-size: var(--step--1); color: var(--dim); }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--muted); font: 500 var(--step--1)/1 var(--body); cursor: pointer; }
.theme-toggle:hover { color: var(--text); border-color: var(--dim); }
@media (max-width: 640px), (pointer: coarse) { .theme-toggle { min-height: 44px; } }

/* ── Dialog ──────────────────────────────────────────────────────────────── */
.dialog { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: color-mix(in srgb, #000 70%, transparent); backdrop-filter: blur(4px); overflow-y: auto; }
.dialog-box { width: 100%; max-width: 440px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 28px 24px 24px; display: grid; gap: 18px; position: relative; box-shadow: var(--shadow); }
.dialog-box h3 { font-size: 1.25rem; }
.dialog-box--wide { max-width: 720px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; background: none; border: 0; color: var(--dim); font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: var(--radius); }
.dialog-close:hover { color: var(--text); background: var(--panel-2); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs button, .tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font: 500 0.875rem/1 var(--body); cursor: pointer; text-decoration: none; white-space: nowrap; }
.tabs button[aria-selected="true"], .tabs a[aria-current="page"] { color: var(--text); font-weight: 600; border-bottom-color: var(--coin); }
.tabs button:hover, .tabs a:hover { color: var(--text); }

/* ── Console ─────────────────────────────────────────────────────────────── */
.console { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 32px 80px; }
.console pre, .console code { overflow-wrap: anywhere; }
.console-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; }
.console-head h1 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.02em; }
.console h2 { font-size: 1.375rem; line-height: 1.3; letter-spacing: -0.02em; }
/* Console with a side rail: the tab list becomes the rail on wide screens */
.console-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; margin-top: 20px; }
.console-layout > * { min-width: 0; }
@media (min-width: 900px) {
  .console-layout { grid-template-columns: 232px minmax(0, 1fr); align-items: start; }
  .console-layout > .rail { grid-column: 1; grid-row: 1 / span 20; }
  .console-layout > :not(.rail) { grid-column: 2; }
  .rail.tabs { flex-direction: column; flex-wrap: nowrap; gap: 2px; border-bottom: 0; padding-right: 16px; border-right: 1px solid var(--line); min-height: 100%; }
  .rail.tabs a, .rail.tabs button { margin: 0; border: 0; border-radius: var(--radius); padding: 0 12px; }
  .rail.tabs a[aria-current="page"], .rail.tabs button[aria-selected="true"] { background: var(--panel-2); box-shadow: inset 2px 0 0 var(--coin); }
}
.console-layout > section { margin-top: 0 !important; }
@media (max-width: 899px) { .console-layout > section { margin-top: 24px !important; } }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tile { padding: 16px 18px; background: var(--panel); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile b { font: 600 1.5rem/1.2 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tile > span { font: 500 0.6875rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); order: -1; }
.tile > small { font-size: 0.75rem; color: var(--dim); }
.cards { display: grid; gap: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.card-head h3 { font-size: 1.125rem; overflow-wrap: anywhere; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--step--1); color: var(--muted); }
.card-meta a { font-family: var(--mono); font-size: 0.8125rem; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; font-size: 0.875rem; margin: 0; }
.kv dt { color: var(--dim); }
.kv dd { margin: 0; overflow-wrap: anywhere; color: var(--text); }
.empty { padding: 32px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--muted); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.empty h2, .empty h3 { color: var(--text); }
.alerts { display: grid; gap: 8px; }
.alert { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--panel-2); font-size: 0.875rem; }
.alert[data-level="critical"] { border-color: var(--bad-line); background: var(--bad-soft); }
.alert[data-level="warning"] { border-color: var(--warn-line); background: var(--warn-soft); }
.alert b { font: 500 0.75rem/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.alert[data-level="critical"] b { color: var(--bad); }
.alert[data-level="warning"] b { color: var(--warn); }
.alert[data-level="info"] b { color: var(--coin); }
.meter { display: grid; gap: 6px; }
.meter-bar { height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.meter-bar i { display: block; height: 100%; background: var(--coin); border-radius: 3px; min-width: 2px; }
.meter-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--step--1); color: var(--muted); }
.log { margin: 0; padding: 12px 14px; background: var(--inset); border: 1px solid var(--line); border-radius: var(--radius-md); font: 400 0.75rem/1.65 var(--mono); color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow-y: auto; }
.copybox { display: flex; gap: 8px; align-items: stretch; min-width: 0; max-width: 100%; }
.copybox code { flex: 1; min-width: 0; display: flex; align-items: center; padding: 10px 12px; background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow-x: auto; white-space: nowrap; font-size: 0.8125rem; color: var(--text); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; max-width: min(92vw, 520px); padding: 12px 16px; border-radius: var(--radius-md); background: var(--panel-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 0.875rem; color: var(--text); }
.toast[data-tone="bad"] { border-color: var(--bad-line); color: var(--bad); }
.toast[data-tone="ok"] { border-color: var(--ok-line); }

/* ── Prose (legal pages) ─────────────────────────────────────────────────── */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 16px; color: var(--muted); line-height: 1.7; }
.prose h2 { font-size: var(--step-3); line-height: 1.25; margin-top: 24px; }
.prose h3 { font: 600 var(--step-1)/1.4 var(--body); margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose li::marker { color: var(--dim); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ag-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-head, .stockbar, .site-foot, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
#consoleNotice { margin-top: 0 !important; margin-bottom: 20px; }
