/* ============================================================
   Exactus Helios — product site
   Shared stylesheet. Plain CSS, custom properties for theming.
   No preprocessor, no framework. Publishes static from main.
   ============================================================ */

/* Self-hosted display face — Archivo Bold (700), Latin subset, OFL 1.1.
   Used for H1/H2 + wordmark ONLY; body stays on the system stack.
   font-display: swap → system stack paints first, no FOIT/layout block. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand — Cleo's ratified rules (2026-06-23):
     RULE 1: blue (#005B9A) owns ALL interactivity; hover/pressed = #004B80.
             Gold is decoration ONLY — never on anything clickable.
     RULE 2: gold is a thin tie (hairline / text-accent / wordmark), never a
             gold-filled panel/banner/large field.
     Surfaces anchor to the device tokens. */
  --accent: #005b9a;          /* Exactus blue — THE action color (links, buttons, active states) */
  --accent-hover: #004b80;    /* blue hover / pressed */
  --accent-deep: #005b9a;     /* alias retained for existing rules */
  --gold: #d4a843;            /* decoration ONLY: wordmark, heading underline, hairline dividers, small marks */

  --bg: #001e38;              /* page background (device token) */
  --surface-1: #002850;       /* raised cards / panels (device token) */
  --surface-2: #00203f;       /* recessed inset within a card */
  --surface-3: #003a6b;       /* control fill (non-active chips, step bullets) */
  --border: #0c3a60;          /* hairline on navy */
  --border-strong: #1a4e7a;   /* stronger hairline / control outline */

  --text: #ffffff;            /* body text on dark (device token) */
  --text-dim: #9cb3c9;        /* secondary / muted text (≥4.5:1 on #001E38) */
  --text-faint: #7d97ad;      /* faintest captions / timestamps */

  --warn-bg: #2a2410;
  --warn-border: #5a4d1c;
  --warn-text: #e8d48a;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --maxw: 1120px;
  --nav-h: 60px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Archivo", var(--font);   /* display face for H1/H2 + wordmark; falls back to system stack */

  --nav-bg: rgba(0, 16, 30, 0.82);           /* darkened-navy translucent nav — reads as recessed site bg */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Blue focus ring on ALL interactive elements (Cleo Rule 1: blue owns focus). */
a:focus-visible, button:focus-visible, .btn:focus-visible,
.wt-pick:focus-visible, .wt-take-me:focus-visible, .ref-jump:focus-visible,
.nav-toggle:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* height:auto lets the browser recompute height when max-width:100% constrains
   the rendered width below the intrinsic width/height attributes — without it,
   the explicit height attribute is held and the image stretches vertically. */
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: #fff; }
h1, h2 { font-family: var(--font-display); }   /* display face on the two largest headings only */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { color: var(--text-dim); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Top navigation ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.site-nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand b { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em; transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { color: #fff; background: var(--surface-2); text-decoration: none; }
.nav-links a.active { color: #fff; background: var(--surface-3); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--text); padding: 8px; font-size: 22px; line-height: 1;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--surface-1); border-bottom: 1px solid var(--border);
    padding: 8px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
}

/* ---------- Sections / layout ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
/* Alternating rhythm band — recessed-inset surface behind cards (Cleo §4b).
   Quiet one-step step off --bg; breaks the flat navy on long pages. */
section.band { background: var(--surface-2); }
.section-tag {
  color: var(--text-dim); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px;
  padding-bottom: 10px; position: relative;
}
/* Gold hairline tie under the section eyebrow — decoration only (Cleo Rule 2). */
.section-tag::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 32px; height: 3px; background: var(--gold); border-radius: 2px;
}
.lead { font-size: 1.15rem; color: var(--text-dim); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.divider { height: 1px; background: var(--border); border: 0; }

/* ---------- Spacing / layout utilities (promoted from one-off inline styles) ---------- */
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.mb-36 { margin-bottom: 36px; }
.pt-0  { padding-top: 0; }
.subhead { margin: 36px 0 14px; }            /* in-section h3 above a table */
.fineprint { font-size: 0.82rem; color: var(--text-faint); max-width: 80ch; }
.cert-detail { font-size: 0.82rem; color: var(--text-faint); line-height: 1.5; }
/* CE mark figure sitting as a card-height grid cell beside the cert cards */
.cert-mark-fig { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cert-img { max-height: 120px; width: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.08s, background 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  background:
    /* accent glow node behind the device render (right column, mid-height) — R2 §1 */
    radial-gradient(540px 540px at 80% 52%, rgba(0, 91, 154, 0.28), transparent 60%),
    radial-gradient(900px 480px at 75% -10%, rgba(0, 91, 154, 0.30), transparent 60%),
    radial-gradient(700px 400px at 8% 6%, rgba(0, 91, 154, 0.14), transparent 55%);
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 28px; }
/* Sub-page hero (no device render, shorter): used by specs/support/using/guide.
   No glow node — overrides the device-node layer back to the original two-radial glow. */
.hero.hero-sub {
  padding-bottom: 48px;
  background:
    radial-gradient(900px 480px at 75% -10%, rgba(0, 91, 154, 0.30), transparent 60%),
    radial-gradient(700px 400px at 8% 6%, rgba(0, 91, 154, 0.14), transparent 55%);
}
.eyebrow {
  display: inline-block; padding: 5px 12px; border: 1px solid var(--border-strong);
  border-radius: 999px; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 22px;
}

/* ---------- Hero two-column split (Cleo §1 + R2) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);   /* R2: wider right track for the render */
  gap: 48px; align-items: center;
}
.hero-copy { min-width: 0; }
.hero-visual { justify-self: end; min-width: 0; }

/* Real product render — knocked-out transparent PNG floating on navy (R2 §1).
   No card behind it; the hero glow node lifts it. drop-shadow follows the alpha
   silhouette (device-shaped, not a box) and is CSS so the PNG stays shadow-free. */
.hero-device {
  width: 100%; max-width: 460px; height: auto;
  margin-right: -24px;                  /* slight bleed toward the viewport margin */
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}

@media (max-width: 820px) {
  .hero-split { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { justify-self: center; width: 100%; }
  .hero-device {
    max-width: 360px; margin: 36px auto 0;   /* below .btn-row, centered, no bleed */
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5));   /* softer at small size */
  }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; }
.card .kicker {
  color: var(--gold); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px;
}

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.spec-table caption { text-align: left; color: var(--text-faint); font-size: 0.85rem; padding-bottom: 10px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { color: var(--text-dim); font-weight: 600; width: 38%; }
.spec-table td { color: #fff; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.table-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.table-card .spec-table th, .table-card .spec-table td { padding-left: 24px; padding-right: 24px; }

/* ---------- TBD / verify pill ---------- */
.tbd {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--warn-text); background: var(--warn-bg);
  border: 1px solid var(--warn-border); border-radius: 999px;
  padding: 2px 9px; margin-left: 6px; vertical-align: middle;
}
.note {
  background: var(--warn-bg); border: 1px solid var(--warn-border);
  border-radius: var(--radius-sm); padding: 14px 18px; margin: 18px 0;
  color: var(--warn-text); font-size: 0.95rem;
}
.note strong { color: #fff; }
.callout {
  background: var(--surface-1); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: var(--radius-sm);
  padding: 14px 18px; margin: 18px 0; font-size: 0.95rem; color: var(--text-dim);
}
.callout strong { color: #fff; }

/* ---------- Inline code / hashes ---------- */
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em; color: var(--text);
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 5px; word-break: break-all;
}

/* ---------- Figures ---------- */
figure {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px; margin: 0;
}
figure img { border-radius: var(--radius-sm); margin: 0 auto; }
figure figcaption { color: var(--text-faint); font-size: 0.85rem; text-align: center; margin-top: 12px; }

/* ---------- Steps (numbered how-to lists) ---------- */
ol.steps { list-style: none; counter-reset: s; display: grid; gap: 14px; }
ol.steps li {
  counter-increment: s; position: relative; padding-left: 46px;
  color: var(--text-dim);
}
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-3); color: #fff; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
}
ul.ticks { list-style: none; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 26px; color: var(--text-dim); }
ul.ticks li::before { content: "›"; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  color: var(--text-faint); font-size: 0.85rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: #fff; }
.site-footer .foot-brand b { color: var(--gold); }
.site-footer .foot-meta { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.site-footer .foot-meta .foot-copy { color: var(--text-faint); }
@media (max-width: 560px) { .site-footer .foot-meta { text-align: left; } }

/* ============================================================
   Screen Guide — sim + walkthrough split layout
   ============================================================ */
.guide-stage { display: grid; grid-template-columns: 520px 1fr; gap: 32px; align-items: start; }
@media (max-width: 1000px) { .guide-stage { grid-template-columns: 1fr; } }

/* Sim phone frame (preserved from the original sim page) */
#phone-frame {
  position: relative; background: #1a1a1a; border: 2px solid #2a2a2a;
  border-radius: 36px; padding: 18px 14px;
  box-shadow: 0 0 0 1px #111, 0 30px 80px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
  --frame-w: 508px; --frame-h: 836px; width: var(--frame-w); height: var(--frame-h);
  transform-origin: top center; margin: 0 auto;
}
#phone-frame::before { content: ""; display: block; width: 80px; height: 6px; background: #2a2a2a; border-radius: 3px; margin: 0 auto 12px; }
#canvas { display: block; width: 480px; height: 800px; border-radius: 4px; background: #000; touch-action: none; }
#loading-overlay {
  position: absolute; inset: 0; border-radius: 36px; background: rgba(10,10,10,.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; z-index: 100; transition: opacity .4s ease;
}
#loading-overlay.hidden { opacity: 0; pointer-events: none; }
.spinner { width: 40px; height: 40px; border: 3px solid #333; border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#loading-overlay p { font-size: 12px; color: #666; letter-spacing: .1em; }

.sim-col { position: sticky; top: calc(var(--nav-h) + 24px); }

/* Build switcher: Released vs Preview. One segmented control. Blue owns the
   active state per the brand rule; gold stays out. Each segment is a two-line
   label: main word on top, version/status muted below. Segments carry an
   explicit fill (never transparent) so no browser default paints a white box;
   the active segment shows a CSS-only live dot before its main label. */
.sim-switch {
  display: flex; gap: 4px; justify-content: center; width: fit-content;
  margin: 0 auto 16px; padding: 4px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px;
}
.sim-switch button {
  appearance: none; -webkit-appearance: none;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--surface-3); color: var(--text-dim);
  border: 1px solid transparent; border-radius: 999px;
  padding: 8px 20px; min-height: 44px;
  cursor: pointer; font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.sim-switch-main { font-size: 14px; font-weight: 600; line-height: 1.2; }
.sim-switch-sub {
  font-size: 11px; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.02em; color: var(--text-faint);
}
.sim-switch button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.sim-switch button.active .sim-switch-sub { color: rgba(255, 255, 255, 0.85); }
.sim-switch button.active .sim-switch-main::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: #3ad17a; box-shadow: 0 0 8px #3ad17a;
  margin-right: 7px; vertical-align: middle;
}
.sim-switch button:hover:not(.active) { background: var(--border-strong); color: #fff; }

/* Preview invitation band. Calm low-emphasis blue (brand action color), not a
   warning. It is an invitation to try what's coming, shown only on Preview. */
.preview-banner {
  background: rgba(0, 91, 154, 0.12);
  border: 1px solid rgba(0, 91, 154, 0.45);
  border-left: 3px solid var(--accent);
  color: var(--text); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-bottom: 24px;
}
.preview-banner[hidden] { display: none; }
.preview-banner-head { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.preview-banner-body { font-size: 14px; color: var(--text); margin-bottom: 10px; }
.preview-banner-tag  { font-size: 12px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; }
.preview-banner-fine { display: block; font-size: 11px; font-weight: 400; color: var(--text-faint); margin-top: 2px; }
.preview-banner-foot { font-size: 11px; color: var(--text-faint); margin: 0; }

/* scale the phone frame down on shorter/narrower viewports.
   NOTE: `scale` is a transform — it shrinks the frame visually but leaves its
   508px layout box, which would force horizontal page scroll at narrow widths.
   The .sim-col wrapper below reserves the *scaled* footprint and clips the
   transform's bleed so the page never scrolls sideways on mobile. */
@media (max-width: 1100px) and (min-width: 1001px) { #phone-frame { scale: 0.92; } }
@media (max-width: 1000px) {
  #phone-frame { scale: min(1, calc((100vw - 48px) / 508)); transform-origin: top left; }
  .sim-col {
    position: static;
    /* reserve the scaled width; clip the (now top-left-anchored) overflow */
    width: min(508px, calc(100vw - 48px));
    height: calc(836px * min(1, (100vw - 48px) / 508));
    overflow: hidden; margin: 0 auto;
  }
}

/* Walkthrough panel */
.wt-panel { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; }
.wt-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.wt-pick {
  border: 1px solid var(--border-strong); background: var(--surface-2);
  color: var(--text-dim); border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.wt-pick:hover { color: #fff; border-color: var(--accent); }
.wt-pick.active { background: var(--accent-deep); color: #fff; border-color: var(--accent-deep); }

.wt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.wt-head h3 { color: #fff; }
.wt-progress { font-size: 13px; color: var(--text-faint); white-space: nowrap; }
.wt-bar { height: 4px; background: var(--surface-3); border-radius: 999px; overflow: hidden; margin: 14px 0 22px; }
.wt-bar > span { display: block; height: 100%; background: var(--accent); width: 0; transition: width 0.3s ease; }

.wt-step-action { font-size: 1.15rem; color: #fff; font-weight: 600; margin-bottom: 12px; }
.wt-step-observe {
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 3px solid #2fb866; border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 0.95rem; color: var(--text-dim);
}
.wt-step-observe b { color: #fff; }
.wt-device-only {
  margin-top: 14px; font-size: 0.85rem; color: var(--warn-text);
  background: var(--warn-bg); border: 1px solid var(--warn-border);
  border-radius: var(--radius-sm); padding: 10px 14px;
}
.wt-device-only b { color: #fff; }

.wt-controls { display: flex; gap: 10px; margin-top: 24px; align-items: center; }
.wt-controls .spacer { flex: 1; }
.wt-take-me {
  background: transparent; border: 1px dashed var(--accent);
  color: var(--accent); border-radius: var(--radius-sm); padding: 10px 16px;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.wt-take-me:hover { background: rgba(0,91,154,0.18); border-color: var(--accent-hover); color: #fff; }
.wt-take-me[disabled] { opacity: 0.4; cursor: default; }
.wt-done { margin-top: 22px; padding: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-dim); display: none; }
.wt-done.show { display: block; }

/* Per-screen reference cards */
.ref-group { margin-bottom: 14px; }
.ref-group > summary {
  cursor: pointer; list-style: none; padding: 16px 20px;
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--radius-md); font-weight: 600; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
}
.ref-group > summary::-webkit-details-marker { display: none; }
.ref-group > summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.ref-group[open] > summary::after { content: "–"; }
.ref-group[open] > summary { border-radius: var(--radius-md) var(--radius-md) 0 0; border-bottom: 0; }
.ref-body { border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); padding: 4px 20px 8px; }
.ref-card { padding: 18px 0; border-bottom: 1px solid var(--border); }
.ref-card:last-child { border-bottom: 0; }
.ref-card h4 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.ref-card .purpose { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 12px; }
.ref-card .sub { color: var(--gold); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin: 12px 0 6px; }
.ref-card ul { list-style: none; display: grid; gap: 6px; }
.ref-card ul li { position: relative; padding-left: 18px; color: var(--text-dim); font-size: 0.92rem; }
.ref-card ul li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.ref-card .ref-jump {
  margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent);
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 6px 12px; cursor: pointer;
}
.ref-card .ref-jump:hover { border-color: var(--accent); }
