/* Tokens: ground, ink, role hues (who or what a thing is), status hues (verdicts only), one action colour */
:root {
  --ground: #070d1f;
  --ground-2: #0a1228;
  --surface: #0e1630;
  --surface-2: #141e3d;
  --ink: #eef2fb;
  --ink-muted: #9fb0d0;
  --ink-faint: #8a9bbd;

  /* Role hues */
  --orb: #3d8bff;
  --orb-light: #93c5fd;
  --role-a: #f0abfc;
  --role-a-deep: #d946ef;
  --role-b: #67e8f9;
  --role-b-deep: #06b6d4;
  --role-tie: #c4b5fd;
  --role-tie-deep: #8b5cf6;

  /* Status hues: answers only */
  --pay: #4ade80;
  --pay-ink: #052e16;
  --caution: #fbbf24;
  --caution-ink: #2a1a00;
  --nopay: #fb7185;
  --nopay-ink: #3b0a12;

  /* The one action colour: main button and the On switch */
  --action: #2563eb;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Six sizes only */
  --t1: 13px;
  --t2: 15px;
  --t3: 18px;
  --t4: 24px;
  --t5: 40px;
  --t6: 64px;

  --line: rgba(120, 150, 220, 0.28);
}

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

html { overflow-x: clip; }

body {
  font: 400 var(--t2)/1.55 var(--f-body);
  font-feature-settings: "tnum";
  color: var(--ink);
  background: radial-gradient(1200px 760px at 50% 62%, #0b2a6b 0%, #0a1a45 40%, var(--ground) 78%) no-repeat fixed, var(--ground);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orb-light); text-decoration: none; }
a:hover { color: #ffffff; }

:focus-visible { outline: 2px solid var(--role-b); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.hidden { display: none !important; }

/* Top bar */
.top-bar { position: sticky; top: 0; z-index: 20; padding: 14px 0; background: rgba(7, 13, 31, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(120, 150, 220, 0.14); }

.top-bar-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  font: 600 var(--t3)/1 var(--f-display);
  letter-spacing: -0.01em; color: #ffffff;
}
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-text small { font: 500 var(--t1)/1 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

.logo-orb {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #93c5fd, #2563eb 70%);
  box-shadow: 0 0 18px #2f6bff;
}

.top-nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(20, 30, 61, 0.7); border: 1px solid rgba(120, 150, 220, 0.16); }
.top-nav-link { font-size: var(--t2); font-weight: 500; color: #cfdaf3; padding: 9px 20px; border-radius: 999px; }
.top-nav-link:hover { color: #ffffff; background: rgba(120, 150, 220, 0.16); }

.top-cta { font: 600 var(--t2)/1 var(--f-body); color: #ffffff; background: var(--action); padding: 12px 20px; border-radius: 999px; box-shadow: 0 0 24px rgba(61, 139, 255, 0.35); }
.top-cta:hover { background: #1d4fd0; }

/* Layout */
.page-container { max-width: 1240px; margin: 0 auto; padding: 0 40px 40px; }

/* Hero */
.hero-section { text-align: center; padding: 40px 0 20px; }

.headline {
  font: 700 var(--t6)/1.05 var(--f-display);
  letter-spacing: -0.03em;
  max-width: 960px; margin: 0 auto;
}

.hl-burned, .hl-warned {
  background-clip: text; -webkit-background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.hl-burned { background-image: linear-gradient(90deg, #f0abfc, #fb7185); }
.hl-warned { background-image: linear-gradient(90deg, #67e8f9, #3d8bff); }

.hero-sub {
  font-size: var(--t3); line-height: 1.6; color: var(--ink-muted);
  max-width: 660px; margin: 22px auto 0;
}
.hl-tatum { color: var(--role-tie); font-weight: 500; }
.hl-walrus { color: var(--orb-light); font-weight: 500; }

.check-form { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }
.form-row { display: flex; gap: 12px; justify-content: center; align-items: stretch; }

.address-input {
  width: 520px;
  font: 400 var(--t2)/1.4 var(--f-mono);
  padding: 14px 16px; border: 1px solid #2a3c66; border-radius: 10px;
  background: rgba(8, 18, 42, 0.85); color: var(--ink);
  box-shadow: inset 0 0 20px rgba(61, 139, 255, 0.08);
}
.address-input::placeholder { color: var(--ink-faint); }
.address-input:focus { border-color: var(--orb); outline: none; box-shadow: inset 0 0 20px rgba(61, 139, 255, 0.12), 0 0 0 3px rgba(61, 139, 255, 0.28); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; font: 600 var(--t2)/1.2 var(--f-body);
  border-radius: 10px; cursor: pointer; border: 0; color: #ffffff; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary { background: var(--action); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), 0 0 26px rgba(61, 139, 255, 0.55); }
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.3), 0 0 34px rgba(61, 139, 255, 0.75); }

.btn-ghost {
  background: rgba(10, 20, 45, 0.75); border: 1px solid color-mix(in oklab, var(--role-b-deep) 55%, transparent);
  color: var(--role-b); height: 100%;
}
.btn-ghost:hover { background: rgba(6, 182, 212, 0.12); }

.try-example { display: inline-flex; }

.memory-switch-row { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink-muted); font-size: var(--t1); }
.memory-label { font-weight: 500; }
.switch-button-group { display: inline-flex; border: 1px solid #2a3c66; border-radius: 999px; overflow: hidden; }
.switch-btn { background: transparent; border: none; padding: 7px 16px; font: 600 var(--t1)/1.2 var(--f-body); cursor: pointer; color: var(--ink-muted); }
.switch-btn.active { background: var(--action); color: #ffffff; }
.memory-hint { font-size: var(--t1); color: var(--ink-muted); }

.status-message {
  font-size: var(--t1); color: var(--orb-light); padding: 10px 16px;
  background: rgba(8, 18, 42, 0.85); border-radius: 10px; border: 1px solid var(--line);
}

/* Generic card (verdict, error) */
.card {
  background: linear-gradient(160deg, color-mix(in oklab, var(--orb) 10%, var(--surface)) 0%, var(--surface) 55%);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 48px -18px rgba(0, 0, 0, 0.6);
  padding: 30px 34px; margin: 20px auto 0; max-width: 1000px;
}

.sample-banner { margin: 12px auto 0; max-width: 1000px; }
.top-sample-banner-wrap { width: 100%; }
.top-sample-banner-container { padding-top: 0 !important; padding-bottom: 0 !important; }
.sample-badge {
  display: inline-block; padding: 6px 14px; border-radius: 10px; font-size: var(--t1); font-weight: 600;
  color: var(--caution); background: rgba(251, 191, 36, 0.12); border: 1px solid var(--caution);
}

.error-card { border-color: var(--nopay); background: rgba(251, 113, 133, 0.12); color: #ffd0d8; font-weight: 600; }

/* Verdict card: border and glow follow the answer */
.verdict-card:has(.verdict-chip-danger) { border-color: color-mix(in oklab, var(--nopay) 55%, transparent); box-shadow: 0 0 60px -10px rgba(251, 113, 133, 0.35); }
.verdict-card:has(.verdict-chip-caution) { border-color: color-mix(in oklab, var(--caution) 55%, transparent); box-shadow: 0 0 60px -10px rgba(251, 191, 36, 0.28); }
.verdict-card:has(.verdict-chip-pay) { border-color: color-mix(in oklab, var(--pay) 55%, transparent); box-shadow: 0 0 60px -10px rgba(74, 222, 128, 0.28); }

.verdict-header { margin-bottom: 20px; }

.verdict-chip {
  display: inline-block; font: 700 var(--t5)/1.1 var(--f-display); letter-spacing: -0.02em;
  margin-bottom: 8px; background: none; border: 0; padding: 0;
}
.verdict-chip::first-letter, .verdict-chip-sm::first-letter, .col-verdict::first-letter { text-transform: uppercase; }

.verdict-chip-pay { color: var(--pay); }
.verdict-chip-caution { color: var(--caution); }
.verdict-chip-danger { color: var(--nopay); }

/* Small answer chips: solid fill, icon plus word */
.verdict-chip-sm {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font: 600 var(--t1)/1.3 var(--f-body); white-space: nowrap;
}
.verdict-chip-sm.verdict-chip-pay { color: var(--pay-ink); background: var(--pay); }
.verdict-chip-sm.verdict-chip-pay::before { content: "\2713"; }
.verdict-chip-sm.verdict-chip-caution { color: var(--caution-ink); background: var(--caution); }
.verdict-chip-sm.verdict-chip-caution::before { content: "!"; font-weight: 700; }
.verdict-chip-sm.verdict-chip-danger { color: var(--nopay-ink); background: var(--nopay); }
.verdict-chip-sm.verdict-chip-danger::before { content: "\2715"; }

.verdict-reason { font-size: var(--t3); line-height: 1.5; color: #d5e0f7; }

.columns-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.compare-col { padding: 18px; background: rgba(8, 18, 42, 0.6); border: 1px solid #2a3c66; border-radius: 14px; }
.compare-col.outlined { border-color: var(--orb); box-shadow: 0 0 22px rgba(61, 139, 255, 0.25); }
.col-head { font-size: var(--t1); font-weight: 500; color: var(--ink-muted); margin-bottom: 4px; }
.col-verdict { display: inline-block; font: 600 var(--t4)/1.2 var(--f-display); }

.memory-changed-line {
  font-weight: 600; font-size: var(--t2); padding: 12px 16px; border-radius: 10px;
  background: rgba(8, 18, 42, 0.6); border: 1px solid #2a3c66; margin-bottom: 18px;
}

.next-action-box { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 22px; font-size: var(--t2); color: #d5e0f7; }
.next-action-title { font-weight: 600; margin-right: 6px; color: #ffffff; }

.subhead { font: 600 var(--t3)/1.3 var(--f-display); margin-bottom: 10px; color: #ffffff; }

.section-block { margin-bottom: 20px; padding-top: 14px; border-top: 1px solid rgba(120, 150, 220, 0.2); }

.evidence-list, .citation-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.evidence-row, .citation-row { display: flex; align-items: flex-start; gap: 10px; font-size: var(--t2); line-height: 1.45; word-break: break-word; color: #d5e0f7; }

.basis-tag {
  font: 500 var(--t1)/1.3 var(--f-mono); padding: 2px 7px; border-radius: 6px;
  background: rgba(139, 92, 246, 0.16); border: 1px solid rgba(139, 92, 246, 0.45); color: var(--role-tie);
  flex-shrink: 0; margin-top: 2px;
}

.btn-text { background: none; border: none; color: var(--orb-light); font: 600 var(--t2)/1.4 var(--f-body); cursor: pointer; padding: 8px 0; margin-top: 8px; }
.btn-text:hover { color: #ffffff; }

.mono-address, .mono-id {
  font: 400 var(--t1)/1.4 var(--f-mono); color: #dfe9ff;
  background: var(--surface-2); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere;
}

.verdict-footer-meta { padding-top: 14px; border-top: 1px solid rgba(120, 150, 220, 0.2); font-size: var(--t1); color: var(--ink-muted); display: flex; flex-direction: column; gap: 4px; }
.meta-line { line-height: 1.4; }
.amber-line { color: var(--caution); font-weight: 600; }
.notes-list { display: flex; flex-direction: column; gap: 2px; }
.source-tag { display: block; margin-top: 2px; font-size: var(--t1); color: var(--ink-faint); overflow-wrap: anywhere; }

.tatum-panel { margin: 16px 0 0; padding: 14px 16px; border: 1px solid color-mix(in oklab, var(--role-tie-deep) 45%, transparent); border-radius: 12px; background: rgba(139, 92, 246, 0.08); }
.tatum-panel h4 { font: 600 var(--t1)/1.4 var(--f-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--role-tie); margin-bottom: 6px; }
.tatum-panel ul { list-style: none; }
.tatum-panel li { font-size: var(--t2); margin: 5px 0; overflow-wrap: anywhere; color: #d5e0f7; }
.tatum-panel .tatum-note { font-size: var(--t1); color: var(--ink-muted); margin-top: 6px; }

/* Stage: orb in the middle, four role-coloured cards wired to it */
.stage { position: relative; width: 1120px; height: 560px; margin: 46px auto 100px; }
.stage-wires { position: absolute; inset: 0; pointer-events: none; }

.orb {
  position: absolute; left: 410px; top: 130px; width: 300px; height: 300px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(147, 197, 253, 0) 40%, rgba(147, 197, 253, 0.35) 62%, rgba(30, 90, 255, 0.9) 70%, rgba(10, 40, 140, 0.6) 74%, transparent 76%),
    radial-gradient(circle at 40% 35%, #3d8bff 0%, #1e4fd8 45%, #061c6e 72%);
  box-shadow: 0 0 60px 10px rgba(47, 123, 255, 0.55), 0 0 120px 20px rgba(61, 139, 255, 0.35), inset 0 0 60px rgba(147, 197, 253, 0.5);
}
.orb::before, .orb::after {
  content: ""; position: absolute; inset: 18px; border-radius: 50%;
  border: 2px solid rgba(147, 197, 253, 0.55); transform: rotate(-28deg) scaleY(0.45);
  filter: drop-shadow(0 0 6px #93c5fd);
}
.orb::after { inset: 34px; transform: rotate(38deg) scaleY(0.6); border-color: rgba(200, 220, 255, 0.4); }

.orb-label { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-shadow: 0 0 12px #000; }
.orb-label b { font: 600 var(--t4)/1.2 var(--f-display); }
.orb-label small { font-size: var(--t1); color: #dbeafe; margin-top: 6px; font-weight: 500; }

.two-agent-card { position: absolute; inset: 0; pointer-events: none; }
.two-agent-card > * { pointer-events: auto; }

/* Role cards: one hue per part of the story */
.role-a { --R: var(--role-a-deep); --Rl: var(--role-a); }
.role-b { --R: var(--role-b-deep); --Rl: var(--role-b); }
.role-tie { --R: var(--role-tie-deep); --Rl: var(--role-tie); }
.role-warn { --R: var(--orb); --Rl: var(--orb-light); }

.stage-card {
  position: absolute; width: 340px; padding: 20px 22px; border-radius: 18px;
  border: 1px solid color-mix(in oklab, var(--R) 45%, transparent);
  background: linear-gradient(160deg, color-mix(in oklab, var(--R) 12%, var(--surface)) 0%, var(--surface) 55%);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--R) 18%, transparent), 0 18px 48px -18px color-mix(in oklab, var(--R) 55%, transparent);
}

.card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-title { display: flex; align-items: center; gap: 10px; font: 600 var(--t3)/1.2 var(--f-display); letter-spacing: -0.01em; color: var(--ink); }

.icon-tile {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 32px; height: 32px; border-radius: 8px;
  background: color-mix(in oklab, var(--R) 14%, transparent); color: var(--Rl);
}

.stage-card .k { color: var(--ink-muted); font-size: var(--t1); font-weight: 500; margin: 14px 0 5px; }
.card-sub { color: var(--ink-muted); font-size: var(--t1); margin-top: 8px; }

.stage-card .mono-address, .stage-card .mono-id {
  display: inline-block; font: 400 var(--t1)/1.4 var(--f-mono); color: var(--Rl);
  background: var(--surface-2); border: 1px solid color-mix(in oklab, var(--R) 30%, transparent);
  padding: 3px 9px; border-radius: 8px;
}

.pos-a { left: 0; top: 20px; }
.pos-tie { right: 0; top: 320px; }
.pos-b { right: 0; top: 20px; }
.pos-warn { left: 0; top: 320px; }

.step {
  position: absolute; left: -8px; top: -12px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--R); color: var(--ground); font: 700 var(--t1)/1 var(--f-body);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px color-mix(in oklab, var(--R) 70%, transparent);
}

.chip { font: 600 var(--t1)/1.3 var(--f-body); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip-red { background: rgba(251, 113, 133, 0.14); color: var(--nopay); border: 1px solid rgba(251, 113, 133, 0.5); }
.chip-tie { background: transparent; color: var(--role-tie); border: 1px solid color-mix(in oklab, var(--role-tie-deep) 60%, transparent); }

.pill {
  display: inline-block; padding: 4px 11px; border-radius: 999px; font: 500 var(--t1)/1.4 var(--f-body);
  background: color-mix(in oklab, var(--R) 14%, transparent); color: var(--Rl);
}
.pill.mono-id { font: 400 var(--t1)/1.4 var(--f-mono); background: transparent; border: 1px solid color-mix(in oklab, var(--R) 55%, transparent); border-radius: 999px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.stage-banner { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); margin: 0; z-index: 2; }

/* Latest shared warnings */
.warnings-list { list-style: none; margin-top: 8px; }
.warnings-row, .warnings-empty {
  font-size: var(--t1); line-height: 1.4; padding: 8px 0;
  border-top: 1px solid rgba(120, 150, 220, 0.16); color: var(--ink-muted); overflow-wrap: anywhere;
}
.warnings-row:first-child, .warnings-empty:first-child { border-top: 0; }
.warnings-row strong { font-weight: 600; color: var(--role-a); }
.warnings-row .mono-address { padding: 1px 6px; border: 0; background: var(--surface-2); color: var(--orb-light); }

/* Numbers: a new section with its own ground */
.dark-numbers-band { position: relative; margin-top: 40px; }
.dark-numbers-band::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: -90px; left: 50%; width: 100vw; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--ground-2), var(--ground)); border-top: 1px solid rgba(120, 150, 220, 0.18);
}

.numbers-inner { max-width: 1120px; margin: 0 auto; padding-bottom: 20px; }

.numbers-head { text-align: center; padding: 56px 0 30px; }
.numbers-head h2 { font: 600 var(--t5)/1.1 var(--f-display); letter-spacing: -0.02em; }
.numbers-head p { color: var(--ink-muted); margin-top: 10px; font-size: var(--t3); }

.numbers-top-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }

.number-stat-item {
  display: flex; flex-direction: column-reverse; justify-content: flex-end;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in oklab, var(--orb) 10%, var(--surface)) 0%, var(--surface) 60%);
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 22px;
}
.number-stat-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orb); }

.stat-title { font-size: var(--t2); color: var(--ink-muted); margin-top: 8px; line-height: 1.4; }

.stat-value {
  font: 700 var(--t6)/1 var(--f-display); letter-spacing: -0.01em; color: var(--ink);
  text-shadow: 0 0 32px rgba(61, 139, 255, 0.45); white-space: nowrap;
}
.fig-of { font: 500 var(--t4)/1 var(--f-display); letter-spacing: -0.01em; color: var(--ink-muted); text-shadow: none; }

.benchmark-table-wrapper { overflow-x: auto; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }

.benchmark-table { width: 100%; border-collapse: collapse; font-size: var(--t2); text-align: left; }
.benchmark-table th, .benchmark-table td { padding: 14px 18px; border-bottom: 1px solid rgba(120, 150, 220, 0.16); }

.benchmark-table thead th { background: rgba(8, 18, 42, 0.55); color: var(--ink-muted); font-weight: 600; font-size: var(--t1); white-space: nowrap; }
.table-metric-head { min-width: 260px; }

.benchmark-table tbody tr:last-child th, .benchmark-table tbody tr:last-child td { border-bottom: none; }
.benchmark-table tbody th { color: var(--ink); font-weight: 500; }
.benchmark-table td { color: var(--ink-muted); font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }

.benchmark-table td:last-child { background: rgba(61, 139, 255, 0.1); color: var(--ink); font-weight: 700; }
.benchmark-table thead th.best-col { color: var(--ink); border-top: 2px solid var(--orb); background: rgba(61, 139, 255, 0.16); }
.best-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font: 600 var(--t1)/1.4 var(--f-body); color: #ffffff; background: var(--action); }

/* Counters: one thin strip, a different shape from the stat row */
.live-counters-grid { display: flex; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 16px; }
.counter-card { flex: 1; display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 10px; padding: 14px 18px; border-left: 1px solid var(--line); }
.counter-card:first-child { border-left: 0; }
.counter-label { font-size: var(--t1); color: var(--ink-muted); line-height: 1.3; }
.counter-num { font: 500 var(--t4)/1 var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }

.counter-note { font-size: var(--t1); color: var(--ink-faint); max-width: 760px; margin: 0 auto 20px; line-height: 1.55; text-align: center; }

.proof-link-wrap { text-align: center; padding-top: 4px; }
.proof-full-link { color: var(--orb-light); font: 600 var(--t2)/1.4 var(--f-body); }
.proof-full-link::after { content: " \2192"; }
.proof-full-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.page-footer { margin-top: 40px; padding: 36px 0 40px; background: #050a18; border-top: 1px solid rgba(120, 150, 220, 0.16); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand-sm { font-size: var(--t3); }
.footer-line { margin: 0; font-size: var(--t2); color: var(--ink-muted); text-align: center; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { font-size: var(--t2); font-weight: 500; color: #cfdaf3; }
.footer-links a:hover { color: #ffffff; }
.footer-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(120, 150, 220, 0.12); font-size: var(--t1); color: var(--ink-faint); line-height: 1.55; max-width: 760px; }
