/* ReRiskX.com, public site. Tokens mirror the ReRiskX Terminal (terminal.reriskx.com). */
:root {
  --bg-0: #FFFFFF;
  --bg-2: #F6F4F0;
  --bg-3: #EFEBE4;
  --line: #E3DFD6;
  --line-2: #D2CCC0;
  --text: #4A4F58;
  --text-dim: #6E7278;
  --text-low: #8A8D92;
  --ink: #0E1B2B;
  --red: #BF3228;
  --red-hover: #A12A21;
  --red-dim: #F2D6D1;
  --green: #217A4E;
  --green-dim: #D6E8DD;

  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, serif;

  --radius: 4px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- mono label system (from terminal chips / pills) ---------- */
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 20px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  color: var(--text-dim); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  white-space: nowrap;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(33,122,78,.7); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; transform: scale(.85); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 20px; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 140ms, color 140ms, border-color 140ms;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 11.5px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.brand-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; color: var(--text-low); padding-left: 12px; border-left: 1px solid var(--line); }
.nav { display: flex; gap: 2px; }
.nav a {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; padding: 6px 10px; border-radius: var(--radius);
  transition: color 120ms, background 120ms;
}
.nav a:hover { color: var(--red); background: rgba(191,50,40,.06); }
.top-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 8px 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; color: var(--ink); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 560px) {
  .brand-sub, .top-actions .btn-ghost { display: none; }
}

/* ---------- ticker (terminal marquee) ---------- */
.ticker { background: var(--ink); color: #D8DCE2; overflow: hidden; border-bottom: 1px solid #000; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; padding: 9px 22px; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.08); }
.tick b { color: #fff; font-weight: 600; margin: 0 8px; }
.tick .up { color: #5FC08E; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; background: linear-gradient(var(--bg-0), var(--bg-2)); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: end; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
h1 em, h2 em { font-style: normal; color: var(--red); }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--text); max-width: 56ch; margin: 28px 0 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hero-copy { padding-bottom: clamp(56px, 7vw, 96px); }

.frame {
  background: #fff; border: 1px solid var(--line-2); border-radius: 6px 6px 0 0;
  box-shadow: 0 30px 60px -30px rgba(14,27,43,.35), 0 2px 6px rgba(14,27,43,.06);
  overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.frame-bar span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--text-dim); margin-left: 6px; }
.hero-shot { align-self: end; margin-right: calc(-1 * var(--gutter) - 120px); }
.hero-shot .frame { border-bottom: 0; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-shot { margin-right: 0; }
}

/* ---------- KPI band ---------- */
.kpis { border-bottom: 1px solid var(--line); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi { padding: 36px 28px 32px; border-left: 1px solid var(--line); }
.kpi:first-child { border-left: 0; padding-left: 0; }
.kpi-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.kpi-value { font-family: var(--font-serif); font-weight: 600; font-size: clamp(34px, 3.6vw, 48px); color: var(--ink); line-height: 1.1; margin: 10px 0 6px; }
.kpi-delta { font-family: var(--font-mono); font-size: 12.5px; color: var(--green); }
.kpi-delta.neutral { color: var(--text-dim); }
.src { font-family: var(--font-mono); font-size: 12px; color: var(--text-low); padding: 14px 0 18px; border-top: 1px solid var(--line); }
.src a { color: var(--text-dim); }
@media (max-width: 820px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpi { border-top: 1px solid var(--line); }
  .kpi:nth-child(-n+2) { border-top: 0; }
}

/* ---------- sections ---------- */
section.block { padding: var(--section) 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -0.015em; max-width: 18ch; }
.section-head p { margin: 0; color: var(--text); max-width: 52ch; font-size: 17px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

h3 { font-family: var(--font-ui); font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.005em; }

/* gaps grid */
.gaps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.gap { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); }
.gap + .gap { padding-left: 24px; }
.gap:last-child { border-right: 0; }
.gap .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--red); display: block; margin-bottom: 20px; }
.gap p { font-size: 15px; color: var(--text); margin: 12px 0 0; }
@media (max-width: 980px) {
  .gaps { grid-template-columns: 1fr 1fr; }
  .gap:nth-child(2) { border-right: 0; }
  .gap:nth-child(3) { padding-left: 0; }
  .gap:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
}
@media (max-width: 600px) {
  .gaps { grid-template-columns: 1fr; }
  .gap, .gap + .gap { padding-left: 0; border-right: 0; }
  .gap + .gap { border-top: 1px solid var(--line); margin-top: 16px; }
}

/* pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 36px; }
.card .tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; color: var(--text-dim); text-transform: uppercase; }
.card h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 600; margin: 14px 0 14px; }
.card p { margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.checks li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 10px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .card { padding: 28px; } }

/* cell lifecycle */
.lifecycle { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; position: relative; }
.lifecycle::before { content: ""; position: absolute; top: 15px; left: 16px; right: 16px; height: 1px; background: var(--line-2); }
.step { position: relative; padding-right: 16px; }
.step .node { width: 31px; height: 31px; border-radius: 50%; background: #fff; border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink); position: relative; }
.step:nth-child(3) .node { background: var(--red); border-color: var(--red); color: #fff; }
.step h4 { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 18px 0 8px; }
.step p { font-size: 14.5px; margin: 0; color: var(--text); }
@media (max-width: 860px) {
  .lifecycle { grid-template-columns: 1fr; gap: 24px; }
  .lifecycle::before { top: 16px; bottom: 16px; left: 15px; right: auto; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 31px 1fr; column-gap: 18px; }
  .step h4 { margin-top: 6px; }
  .step p { grid-column: 2; }
}

/* terminal tour */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; }
.tour-tab {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .15em;
  padding: 7px 14px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; color: var(--text-dim); cursor: pointer; transition: all 120ms;
}
.tour-tab:hover { color: var(--red); border-color: var(--red-dim); }
.tour-tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }
.tour-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.tour-panel .frame { border-radius: 6px; }
.tour-copy h3 { font-family: var(--font-serif); font-size: 26px; margin-bottom: 12px; }
.tour-copy p { margin: 0 0 18px; font-size: 15.5px; }
.tour-copy .code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--red); }
[hidden] { display: none !important; }
@media (max-width: 980px) { .tour-grid { grid-template-columns: 1fr; gap: 24px; } }

/* audience */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud .card { display: flex; flex-direction: column; }
.aud .card h3 { font-size: 26px; margin: 0 0 8px; }
.aud .card .tag { display: block; margin-bottom: 18px; letter-spacing: 0.06em; }
.aud .card .checks { margin-top: auto; }
.aud .card .lead { margin-bottom: 20px; }
@media (max-width: 980px) { .aud { grid-template-columns: 1fr; } }

.callout { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--ink); color: #D8DCE2; border-radius: 6px; overflow: hidden; }
.callout > div { padding: 32px; border-left: 1px solid rgba(255,255,255,.1); }
.callout > div:first-child { border-left: 0; }
.callout .big { font-family: var(--font-serif); font-size: 40px; font-weight: 600; color: #fff; line-height: 1.1; display: block; margin-bottom: 8px; }
.callout .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: #F0A59C; text-transform: uppercase; display: block; margin-bottom: 16px; }
.callout p { margin: 0; font-size: 15px; }
.callout a { color: #fff; }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; } .callout > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); } .callout > div:first-child { border-top: 0; } }

/* bermuda */
.bda { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.facts { border-top: 1px solid var(--ink); }
.fact { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.fact .v { font-family: var(--font-serif); font-weight: 600; font-size: 30px; color: var(--ink); line-height: 1.1; }
.fact h3 { font-size: 16.5px; margin-bottom: 4px; }
.fact p { margin: 0; font-size: 15px; }
.quote { font-family: var(--font-serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--ink); margin: 0 0 28px; font-weight: 500; }
@media (max-width: 900px) { .bda { grid-template-columns: 1fr; gap: 40px; } .fact { grid-template-columns: 110px 1fr; } }

/* fees */
.fees { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.fees th, .fees td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fees th { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; background: var(--bg-2); }
.fees td:first-child { font-weight: 600; color: var(--ink); }
.fees td.rate { font-family: var(--font-mono); color: var(--red); font-weight: 600; white-space: nowrap; }
.fees tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
@media (max-width: 640px) {
  .fees thead { display: none; }
  .fees, .fees tbody, .fees tr, .fees td { display: block; width: 100%; }
  .fees tr { padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .fees tr:last-child { border-bottom: 0; }
  .fees td { padding: 2px 0; border: 0; }
  .fees td.rate { white-space: normal; margin: 4px 0; }
}
.fine { font-size: 13.5px; color: var(--text-dim); margin-top: 16px; }

/* roadmap */
.road { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.phase { padding: 24px 20px 0 0; border-right: 1px solid var(--line); }
.phase + .phase { padding-left: 20px; }
.phase:last-child { border-right: 0; }
.phase .when { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; color: var(--text-dim); }
.phase h3 { font-size: 18px; margin: 12px 0 10px; }
.phase p { font-size: 14.5px; margin: 0; }
.phase.launch .when { color: var(--red); font-weight: 600; }
.phase.launch h3 { color: var(--red); }
.phase .status { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; padding: 3px 8px; border-radius: var(--radius); background: var(--bg-3); color: var(--text-dim); }
.phase .status.live { background: var(--green-dim); color: var(--green); }
.phase .status.target { background: var(--red-dim); color: var(--red-hover); }
@media (max-width: 1000px) {
  .road { grid-template-columns: 1fr; }
  .phase, .phase + .phase { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; column-gap: 24px; }
  .phase h3 { margin-top: 0; }
  .phase > *:not(.when) { grid-column: 2; }
  .phase .status { justify-self: start; }
}
@media (max-width: 560px) { .phase, .phase + .phase { grid-template-columns: 1fr; } .phase > *:not(.when) { grid-column: 1; } .phase h3 { margin-top: 8px; } }

/* company */
.company { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.founder { border-top: 1px solid var(--ink); padding-top: 24px; }
.founder .name { font-family: var(--font-serif); font-size: 30px; color: var(--ink); font-weight: 600; margin: 0; }
.founder .role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin: 6px 0 20px; }
.founder p { margin: 0 0 16px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; margin-top: 28px; }
.stat-row div { padding: 20px; border-left: 1px solid var(--line); }
.stat-row div:first-child { border-left: 0; }
.stat-row b { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--ink); line-height: 1.1; }
.stat-row span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--text-dim); text-transform: uppercase; }
@media (max-width: 900px) { .company { grid-template-columns: 1fr; gap: 40px; } }

/* contact */
.contact { background: var(--ink); color: #D8DCE2; padding: var(--section) 0; }
.contact h2 { color: #fff; max-width: 20ch; }
.contact h2 em { color: #F07A6E; }
.contact .eyebrow { color: #F07A6E; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.routes { border-top: 1px solid rgba(255,255,255,.18); }
.route { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; color: #fff; transition: padding 160ms; }
.route:hover { padding-left: 8px; }
.route span:first-child { font-size: 18px; font-weight: 500; }
.route span:last-child { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: #F07A6E; text-transform: uppercase; white-space: nowrap; }
.contact .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.contact .btn-ghost:hover { border-color: #fff; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* footer */
footer { background: #0A1420; color: #9AA3AF; padding: 48px 0 40px; font-size: 13.5px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-top img { height: 24px; width: auto; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.foot-links a { color: #C7CDD5; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.legal { padding-top: 24px; max-width: 110ch; line-height: 1.65; }
.legal p { margin: 0 0 12px; }
.legal a { color: #C7CDD5; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* brand wordmark: lowercase superscript x */
sup.rx { font-size: 0.62em; line-height: 0; position: relative; vertical-align: baseline; top: -0.62em; margin-left: 0.02em; text-transform: none; letter-spacing: 0; }

/* featured: secondary trading */
section.featured { padding: var(--section) 0; background: var(--ink); color: #C9CED6; }
.featured h2 { color: #fff; }
.featured h2 em { color: #F07A6E; }
.featured .eyebrow { color: #F07A6E; }
.featured .section-head p { color: #C9CED6; }
.featured .src { color: #8C95A1; }
.featured .src a { color: #C9CED6; }
.trade-hero { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 40px; }
.th-item { padding: 32px 28px; border-left: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 8px; }
.th-item:first-child { border-left: 0; padding-left: 0; }
.th-lbl, .why-k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #8C95A1; }
.th-big { font-family: var(--font-serif); font-weight: 600; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.th-item.accent .th-big { color: #F07A6E; }
.th-sub { font-size: 15px; color: #C9CED6; max-width: 30ch; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why { background: #172636; border: 1px solid #2A3B4E; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.why-v { font-family: var(--font-serif); font-weight: 600; font-size: 34px; line-height: 1.1; color: #fff; margin-top: 6px; font-variant-numeric: tabular-nums lining-nums; }
.why h3 { color: #fff; font-size: 17px; margin: 4px 0 0; }
.why p { margin: 0; font-size: 15px; color: #B9C0C8; }
.featured .src { margin-top: 28px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .trade-hero { grid-template-columns: 1fr; }
  .th-item, .th-item:first-child { border-left: 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); }
  .th-item:first-child { border-top: 0; }
  .why-grid { grid-template-columns: 1fr; }
}
.featured .src { border-top-color: rgba(255,255,255,.12); }

.exit-head { margin: 56px 0 20px; }
.exit-head h3 { color: #fff; font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; max-width: 30ch; margin: 8px 0 0; }
.trade-hero.exit { margin-bottom: 8px; }

/* v2 additions */
.layers-head, .view-head { margin: 72px 0 24px; max-width: 760px; }
.layers-head h3, .view-head h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; color: var(--ink); margin: 8px 0 0; }
.gaps.three { grid-template-columns: repeat(3, 1fr); }
.gaps.five { grid-template-columns: repeat(5, 1fr); }
.gaps.three .gap:last-child, .gaps.five .gap:last-child { border-right: 0; }
@media (max-width: 1100px) { .gaps.five { grid-template-columns: repeat(3, 1fr); } .gaps.five .gap:nth-child(3) { border-right: 0; } .gaps.five .gap:nth-child(4) { padding-left: 0; } .gaps.five .gap:nth-child(n+4) { border-top: 1px solid var(--line); margin-top: 24px; } }
@media (max-width: 860px) { .gaps.three, .gaps.five { grid-template-columns: 1fr; } .gaps.three .gap, .gaps.five .gap { padding-left: 0; border-right: 0; margin-top: 0; } .gaps.three .gap + .gap, .gaps.five .gap + .gap { border-top: 1px solid var(--line); margin-top: 16px; } }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card.ai { padding: 30px; display: flex; flex-direction: column; }
.card.ai .tag { align-self: flex-start; }
.card.ai h3 { font-size: 21px; margin: 14px 0 10px; color: var(--ink); }
.card.ai p { margin: 0; font-size: 15px; }
.card.ai.gov { background: var(--ink); border-color: var(--ink); color: #C9CED6; }
.card.ai.gov h3 { color: #fff; }
.card.ai.gov .tag { color: #F07A6E; border-color: rgba(240,122,110,.5); background: transparent; }
.card.ai.gov .checks { border-top-color: rgba(255,255,255,.14); margin-top: 6px; }
.card.ai.gov .checks li { border-bottom-color: rgba(255,255,255,.14); font-size: 14.5px; color: #C9CED6; padding-top: 10px; padding-bottom: 10px; }
.card.ai.gov .checks li::before { border-color: #7FD3A6; top: 17px; }
@media (max-width: 980px) { .ai-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ai-grid { grid-template-columns: 1fr; } }
.why-grid.four { grid-template-columns: repeat(4, 1fr); margin-bottom: 8px; }
@media (max-width: 1100px) { .why-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .why-grid, .why-grid.four { grid-template-columns: 1fr; } }
.trade-note { margin: 20px 0 0; max-width: 80ch; font-size: 15px; color: #B9C0C8; }
.featured .exit-head { margin-top: 64px; }
.callout.econ { margin-top: 48px; }
.views { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.views > div { padding: 22px 20px 6px 0; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.views > div + div { padding-left: 20px; }
.views > div:last-child { border-right: 0; }
.views b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.views span { font-size: 14.5px; color: var(--text); }
@media (max-width: 1100px) { .views { grid-template-columns: 1fr 1fr; } .views > div, .views > div + div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .views { grid-template-columns: 1fr; } }
.lifecycle.four { grid-template-columns: repeat(4, 1fr); }
.lifecycle.four .step:nth-child(3) .node { background: #fff; border-color: var(--ink); color: var(--ink); }
.lifecycle.four .step:first-child .node { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 860px) { .lifecycle.four { grid-template-columns: 1fr; } }
