/* Trovex Funded — Clean Early-2020s Page Styles */

/* ---------- 1. CRISP WHITE HERO + SOLID TERMINAL PREVIEW ---------- */
.hero {
  position: relative;
  color: var(--ink);
  background: #FFFFFF;
}
.hero-spot { display: none; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 64px;
}
.hero-copy h1 { margin-top: 12px; }
.hero-copy .lead { margin-top: 16px; color: var(--ink-soft); }

.hero-2step-strip {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 20px; padding: 9px 14px; border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink-soft);
}
.hero-2step-strip span { display: inline-flex; align-items: center; gap: 5px; }
.hero-2step-strip b { color: var(--ink); font-weight: 600; }
.hero-2step-strip .arr { color: var(--ink-mute); }
.hero-2step-strip .win { color: var(--signal); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 20px; }
.hero-ticks {
  display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none;
  font-size: 13.5px; color: var(--ink-soft);
}
.hero-ticks li::before { content: "✓"; color: var(--emerald); font-weight: 700; margin-right: 6px; }

/* Solid Desktop Terminal Preview (No 3D Tilt / No Floating Badges) */
.hero-vis { position: relative; padding: 0; }
.term-shell {
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: var(--r-lg);
  color: #F8FAFC;
  box-shadow: var(--sh-dk);
  overflow: hidden;
}
.term-top {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--obsidian-line);
  background: #162033;
}
.term-tabs {
  display: inline-flex; gap: 3px; padding: 2px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--obsidian-line);
}
.term-tab {
  font-family: var(--f-sans); font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 4px;
  color: var(--obsidian-mute); transition: background 0.14s, color 0.14s;
}
.term-tab:hover { color: #fff; }
.term-tab.on { background: var(--signal); color: #fff; font-weight: 600; }

.term-head {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end;
  padding: 16px 18px 8px;
}
.term-lbl { font-family: var(--f-sans); font-size: 12px; font-weight: 500; color: var(--obsidian-mute); }
.term-eq-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.term-eq { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.08; color: #fff; }
.term-pct { font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: #34D399; }
.term-delta {
  font-family: var(--f-sans); font-size: 12px; font-weight: 500; color: #93C5FD;
  padding: 4px 10px; border-radius: 9999px;
  background: rgba(59, 130, 246, 0.20);
}
.term-chart-box { padding: 4px 16px 6px; }
.term-chart { width: 100%; height: 204px; display: block; }

.term-meters {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 12px 18px 14px; border-top: 1px solid var(--obsidian-line);
}
.term-m span { display: block; font-family: var(--f-sans); font-size: 11.5px; color: var(--obsidian-mute); }
.term-m b { display: block; font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 13.5px; margin-top: 3px; color: #fff; font-weight: 600; }
.term-bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.10); margin-top: 6px; overflow: hidden; }
.term-bar i { display: block; height: 100%; border-radius: 2px; background: #10B981; transition: width 0.4s var(--ease); }
.term-bar.sig i { background: #3B82F6; }

.term-tape {
  border-top: 1px solid var(--obsidian-line); padding: 10px 18px;
  font-family: var(--f-mono); font-size: 11px; color: var(--obsidian-mute);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #0B1120;
}
.term-tape b { color: #E2E8F0; font-weight: 500; }

@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 38px; padding-bottom: 48px; gap: 32px; }
}
@media (max-width: 640px) {
  .term-head { grid-template-columns: 1fr; }
  .term-delta { justify-self: start; }
  .term-meters { grid-template-columns: 1fr; }
}

/* ---------- 2. METRICS STRIP & MARKET SESSIONS ---------- */
.mkt-strip {
  background: var(--paper); color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px;
}
.mkt-in {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px 18px; padding-top: 10px; padding-bottom: 10px;
}
.mkt-l { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.mkt-s { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mkt-s span {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: var(--r-xs);
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink-mute); font-size: 11px;
}
.mkt-s span i { width: 6px; height: 6px; border-radius: 50%; background: #CBD5E1; display: inline-block; }
.mkt-s span.on { border-color: #A7F3D0; background: #ECFDF5; color: #065F46; font-weight: 600; }
.mkt-s span.on i { background: var(--emerald); }
.mkt-n { color: var(--ink-soft); }
.mkt-n b, .mkt-t b { color: var(--ink); font-weight: 600; }

.facts { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-g {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-top: 26px; padding-bottom: 26px;
}
.facts-g > div { padding-left: 16px; border-left: 2px solid var(--line-strong); }
.facts-g b { display: block; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.15; color: var(--ink); }
.facts-g span { display: block; color: var(--ink-mute); font-size: 13px; margin-top: 3px; }
@media (max-width: 820px) { .facts-g { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 3. 3-STEP PROGRESSION ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step-card {
  display: flex; flex-direction: column; padding: 24px;
  background: var(--paper-bright); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); transition: border-color 0.16s;
}
.step-card:hover { border-color: var(--line-strong); }
.step-card-funded {
  background: var(--obsidian);
  border-color: #1E293B; color: #fff; box-shadow: var(--sh-md);
}
.step-card-funded:hover { border-color: #334155; }
.step-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.step-num { font-family: var(--f-sans); font-size: 12.5px; font-weight: 600; color: var(--signal); }
.step-card-funded .step-num { color: #93C5FD; }
.step-card h3 { font-size: 19px; margin-top: 14px; }
.step-card p { font-size: 14px; color: var(--ink-soft); margin: 8px 0 20px; line-height: 1.6; }
.step-card-funded p { color: #CBD5E1; }
.step-meta {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-mute);
}
.step-meta b { color: var(--ink); font-weight: 600; }
.step-card-funded .step-meta { border-color: var(--obsidian-line); color: var(--obsidian-mute); }
.step-card-funded .step-meta b { color: #34D399; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- 4. CONFIGURATOR + 2x2 EDGE GRID ---------- */
.alloc-head-r { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.alloc-head-r .lead { justify-self: end; text-align: right; }
.alloc-quick-promo {
  display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 7px 12px; border-radius: var(--r-sm);
  background: #FFFFFF; border: 1px solid var(--line-strong);
  font-size: 13px; color: var(--ink-soft);
  transition: border-color 0.14s, background 0.14s;
}
.alloc-quick-promo:hover { border-color: var(--signal); background: #F8FAFC; }
.alloc-quick-promo b { color: var(--signal); font-family: var(--f-mono); }
@media (max-width: 860px) {
  .alloc-head-r { align-items: flex-start; }
  .alloc-head-r .lead { text-align: left; }
}

.edge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.edge-card {
  display: flex; flex-direction: column; padding: 26px;
  background: var(--paper-bright); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); transition: border-color 0.16s;
}
.edge-card:hover { border-color: var(--line-strong); }
.edge-idx { font-family: var(--f-sans); font-size: 12px; font-weight: 600; color: var(--signal); }
.edge-card h3 { font-size: 19px; margin-top: 8px; line-height: 1.25; }
.edge-card p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; line-height: 1.62; }
.edge-link {
  margin-top: auto; padding-top: 16px;
  font-size: 13.5px; font-weight: 600; color: var(--signal);
}
.edge-link:hover { text-decoration: underline; }
.edge-plats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.edge-plats span {
  padding: 5px 11px; border-radius: var(--r-sm);
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--f-sans); font-size: 12.5px; font-weight: 500; color: var(--ink);
}
@media (max-width: 820px) { .edge-grid { grid-template-columns: 1fr; } }

.promo-box { display: flex; gap: 6px; margin-bottom: 16px; }
.promo-box input {
  flex: 1; min-width: 0; padding: 8px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--obsidian-line-hi); background: rgba(255, 255, 255, 0.06);
  color: #fff; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
}
.promo-box input::placeholder { text-transform: none; letter-spacing: 0; color: var(--obsidian-mute); }
.promo-box input:focus { border-color: var(--signal-light); outline: none; }
.promo-applied {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--f-sans); font-size: 12.5px; font-weight: 500; color: #34D399;
}
.alloc-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 4px; }
.alloc-price-old { font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 18px; color: var(--obsidian-mute); text-decoration: line-through; }

.alloc-wrap {
  display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(310px, 0.64fr);
  gap: 20px; align-items: start;
}
.alloc-main {
  padding: 28px; background: var(--paper-bright);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-sm);
}
.alloc-group { margin-bottom: 24px; }
.alloc-group:last-child { margin-bottom: 0; }
.alloc-lbl {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--f-sans); font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 10px;
}
.alloc-lbl b { color: var(--ink-mute); font-weight: 500; font-size: 12.5px; }

.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prog-btn {
  text-align: left; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); transition: border-color 0.14s, background 0.14s;
}
.prog-btn:hover { border-color: var(--line-strong); background: #FFFFFF; }
.prog-btn.on { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }
.prog-btn-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.prog-btn strong { font-size: 16px; font-weight: 700; }
.prog-btn p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
.prog-btn.on p { color: #CBD5E1; }
.prog-btn.on .tag-sig { background: rgba(59, 130, 246, 0.18); border-color: rgba(96, 165, 250, 0.35); color: #93C5FD; }

.size-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.size-btn {
  padding: 11px 6px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 14.5px; font-weight: 600;
  text-align: center; transition: border-color 0.14s, background 0.14s;
}
.size-btn small { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-mute); margin-top: 2px; }
.size-btn:hover { border-color: var(--line-strong); background: #FFFFFF; }
.size-btn.on { background: var(--signal); border-color: var(--signal); color: #fff; }
.size-btn.on small { color: rgba(255, 255, 255, 0.85); }

.spec-matrix {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--paper);
}
.spec-cell { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-cell:nth-child(3n) { border-right: 0; }
.spec-cell:nth-last-child(-n+3) { border-bottom: 0; }
.spec-cell dt { font-family: var(--f-sans); font-size: 12px; color: var(--ink-mute); }
.spec-cell dd { font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 14.5px; font-weight: 600; margin-top: 3px; color: var(--ink); }

.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.addon-card {
  position: relative; display: flex; flex-direction: column; gap: 5px; padding: 13px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  cursor: pointer; transition: border-color 0.14s, background 0.14s;
}
.addon-card:hover { border-color: var(--line-strong); }
.addon-card.on { background: #EFF6FF; border-color: var(--signal); }
.addon-card input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.addon-card:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.addon-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.addon-top b { font-size: 13.5px; }
.addon-top em { font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-style: normal; font-size: 12.5px; color: var(--signal); font-weight: 600; }
.addon-card small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }

.alloc-side {
  position: sticky; top: 84px; padding: 26px 24px; border-radius: var(--r-md);
  background: var(--obsidian);
  border: 1px solid #1E293B; color: #fff;
  box-shadow: var(--sh-md); display: flex; flex-direction: column;
}
.alloc-price-big { font-size: 46px; line-height: 1.05; margin: 10px 0 4px; color: #fff; }
.alloc-sub { font-family: var(--f-sans); font-size: 13px; color: var(--obsidian-mute); }
.alloc-blueprint {
  margin: 18px 0; border-top: 1px solid var(--obsidian-line);
  border-bottom: 1px solid var(--obsidian-line); padding: 12px 0;
}
.alloc-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13.5px; }
.alloc-row span { color: var(--obsidian-mute); }
.alloc-row b { font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.alloc-bullets { list-style: none; display: grid; gap: 7px; font-size: 13.5px; color: #CBD5E1; margin-bottom: 20px; }
.alloc-bullets li::before { content: "✓ "; color: #34D399; font-weight: 700; margin-right: 4px; }
.alloc-fine { font-family: var(--f-sans); font-size: 11.5px; color: var(--obsidian-mute); margin-top: 12px; text-align: center; }

@media (max-width: 1020px) {
  .alloc-wrap { grid-template-columns: 1fr; }
  .alloc-side { position: static; }
  .alloc-main { padding: 20px; }
}
@media (max-width: 680px) {
  .prog-grid, .addon-grid { grid-template-columns: 1fr; }
  .size-strip { grid-template-columns: repeat(3, 1fr); }
  .spec-matrix { grid-template-columns: 1fr 1fr; }
  .spec-cell:nth-child(3n) { border-right: 1px solid var(--line); }
  .spec-cell:nth-child(2n) { border-right: 0; }
  .spec-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .spec-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- 5. 60-SECOND QUANT ARENA + CLASSIC INSTITUTIONAL CERTIFICATE ---------- */
.arena-shell {
  border: 1px solid #1E293B; border-radius: var(--r-md);
  background: #0B1120;
  overflow: hidden; position: relative;
}
.arena-stage-wrap { position: relative; }
.arena-topbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--obsidian-line);
  background: #162033;
}
.arena-seg { display: inline-flex; gap: 3px; flex-wrap: wrap; background: rgba(255, 255, 255, 0.05); padding: 3px; border-radius: var(--r-sm); }
.arena-seg button {
  padding: 5px 11px; border-radius: 4px; font-family: var(--f-sans); font-size: 12px; font-weight: 500;
  color: var(--obsidian-mute); transition: background 0.14s, color 0.14s;
}
.arena-seg button:hover { color: #fff; }
.arena-seg button.on { background: #FFFFFF; color: var(--obsidian); font-weight: 600; }
.arena-seg button:disabled { opacity: 0.42; cursor: not-allowed; }
.arena-seg button.on:disabled { opacity: 0.8; }

.arena-hud {
  display: grid; grid-template-columns: repeat(4, 1fr) 1.55fr; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--obsidian-line);
}
.hud-box {
  background: #111A2E; border: 1px solid var(--obsidian-line);
  border-radius: var(--r-sm); padding: 10px 12px; min-width: 0;
}
.hud-box span { display: block; font-family: var(--f-sans); font-size: 11.5px; color: var(--obsidian-mute); }
.hud-box b { display: block; font-size: 19px; line-height: 1.2; margin-top: 3px; color: #fff; white-space: nowrap; }
.corridor {
  height: 6px; border-radius: 3px; margin-top: 9px; position: relative;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.35) 0 38.46%, rgba(16, 185, 129, 0.30) 38.46% 100%);
}
.corridor-zero { position: absolute; left: 38.46%; top: -3px; bottom: -3px; width: 1px; background: rgba(255, 255, 255, 0.55); }
.corridor-fill { position: absolute; top: 0; bottom: 0; border-radius: 3px; transition: left 0.1s, width 0.1s; }
.corridor-pin {
  position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid #0F172A;
  transform: translate(-50%, -50%); transition: left 0.1s linear; z-index: 2;
}
.corridor-lbl { display: flex; justify-content: space-between; font-family: var(--f-sans); font-size: 10.5px; color: var(--obsidian-mute); margin-top: 5px; }

.arena-body { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 12px; padding: 12px 16px 0; }
.arena-stage {
  position: relative; height: 384px; border-radius: var(--r-sm);
  background: #080E1C; border: 1px solid var(--obsidian-line); overflow: hidden;
}
.arena-stage canvas { width: 100%; height: 100%; display: block; }
.arena-watermark {
  position: absolute; left: 12px; bottom: 9px; pointer-events: none;
  font-family: var(--f-mono); font-size: 10.5px; color: rgba(203, 213, 225, 0.42);
}

.arena-tape {
  display: flex; flex-direction: column; height: 384px;
  background: #111A2E; border: 1px solid var(--obsidian-line);
  border-radius: var(--r-sm); overflow: hidden;
}
.arena-tape-h {
  padding: 10px 12px; border-bottom: 1px solid var(--obsidian-line);
  font-family: var(--f-sans); font-size: 12px; font-weight: 600;
  color: var(--obsidian-mute);
  display: flex; justify-content: space-between;
}
.arena-fills {
  flex: 1; overflow-y: auto; padding: 8px;
  font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 12px; display: flex; flex-direction: column; gap: 6px;
}
.fill-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--obsidian-mute);
}
.fill-row.win { border-left-color: #10B981; }
.fill-row.loss { border-left-color: #EF4444; }
.fill-empty { color: var(--obsidian-mute); font-size: 12px; padding: 12px 6px; line-height: 1.5; }

.arena-controls {
  display: grid; grid-template-columns: 1fr 1fr 0.72fr; gap: 10px; padding: 12px 16px 16px;
}
.act-btn {
  padding: 12px 16px; border-radius: var(--r-sm); font-family: var(--f-sans); font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; display: flex; align-items: center; justify-content: space-between;
  transition: background 0.12s, opacity 0.12s;
}
.act-btn kbd {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; padding: 2px 6px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.20);
}
.act-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.act-buy { background: #059669; color: #FFFFFF; }
.act-buy:not(:disabled):hover { background: #047857; }
.act-buy.on { box-shadow: 0 0 0 2px #FFFFFF; }
.act-sell { background: #DC2626; color: #FFFFFF; }
.act-sell:not(:disabled):hover { background: #B91C1C; }
.act-sell.on { box-shadow: 0 0 0 2px #FFFFFF; }
.act-flat { background: #1E293B; border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.act-flat:not(:disabled):hover { background: #334155; }

.arena-overlay {
  position: absolute; inset: 0; z-index: 15;
  background: rgba(11, 17, 32, 0.92);
  display: grid; place-items: center; padding: 24px; overflow: auto;
}
.ov-card { max-width: 620px; width: 100%; text-align: center; color: #fff; }
.ov-card.ov-pass {
  max-width: 900px; display: grid; grid-template-columns: auto 1fr; gap: 30px;
  align-items: center; text-align: left;
}
.ov-card h3 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 8px; }
.ov-card p { color: #CBD5E1; margin-top: 8px; font-size: 14px; }
.ov-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.ov-m { border: 1px solid var(--obsidian-line); border-radius: var(--r-sm); background: #162033; padding: 11px 10px; }
.ov-m b { display: block; font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 17px; font-weight: 700; color: #fff; }
.ov-m span { display: block; font-family: var(--f-sans); font-size: 11.5px; color: var(--obsidian-mute); margin-top: 2px; }
.ov-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ov-pass .ov-actions { justify-content: flex-start; }
.ov-name-in {
  display: flex; flex-direction: column; gap: 6px; margin-top: 14px;
  font-family: var(--f-sans); font-size: 12.5px; font-weight: 500; color: var(--obsidian-mute);
}
.ov-name-in input {
  max-width: 280px; padding: 9px 12px; border-radius: var(--r-sm);
  background: #162033; border: 1px solid var(--obsidian-line-hi);
  color: #fff; font-family: var(--f-sans); font-size: 14.5px; text-transform: none; letter-spacing: 0;
}
.ov-name-in input:focus { border-color: var(--signal-light); outline: none; }

/* CLASSIC INSTITUTIONAL CERTIFICATE (No Rainbow Hologram / No 3D Tilt) */
.cert {
  position: relative; width: min(412px, 100%); min-height: 258px;
  border-radius: var(--r-md); padding: 24px 26px; color: #fff;
  background: #0F172A;
  border: 1px solid #334155;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.42);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  text-align: left; flex-shrink: 0;
}
.cert::before {
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 4px;
}
.cert > * { position: relative; z-index: 1; }
.cert-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cert-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; letter-spacing: -0.02em; }
.cert-brand .brand-mark { width: 22px; height: 22px; border-radius: 4px; }
.cert-brand .brand-mark svg { width: 13px; height: 13px; }
.cert-k { display: block; font: 600 9.5px var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #94A3B8; }
.cert h4 {
  font: 700 clamp(22px, 2.5vw, 28px)/1.15 var(--f-sans);
  letter-spacing: -0.025em; margin: 5px 0 3px; color: #FFFFFF;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cert-sub { font-size: 12px; color: #CBD5E1; }
.cert-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cert-amt { font-size: 24px; line-height: 1.15; margin-top: 2px; color: #FFFFFF; }
.cert-serial { display: block; font: 500 10px var(--f-mono); color: #94A3B8; letter-spacing: 0.08em; margin-top: 4px; }
.cert-seal {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid rgba(52, 211, 153, 0.55);
  background: rgba(16, 185, 129, 0.08);
  display: grid; place-items: center; text-align: center;
  font: 600 9px/1.25 var(--f-mono); letter-spacing: 0.08em; color: #34D399;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .arena-hud { grid-template-columns: repeat(2, 1fr); }
  .hud-box:last-child { grid-column: 1 / -1; }
  .arena-body { grid-template-columns: 1fr; }
  .arena-stage { height: 310px; }
  .arena-tape { height: 170px; }
  .ov-metrics { grid-template-columns: repeat(2, 1fr); }
  .ov-card.ov-pass { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ov-pass .ov-actions { justify-content: center; }
}
@media (max-width: 580px) { .arena-controls { grid-template-columns: 1fr; } }

/* ---------- 6. SHARED SEGMENTED CONTROLS & RANGES ---------- */
.seg-bar { display: flex; flex-wrap: wrap; gap: 4px; background: var(--paper); padding: 3px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.seg-bar button {
  flex: 1; min-width: 56px; padding: 7px 10px; border-radius: 4px;
  font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 500; color: var(--ink-soft);
  transition: background 0.14s, color 0.14s;
}
.seg-bar button:hover { color: var(--ink); }
.seg-bar button.on { background: var(--signal); color: #fff; font-weight: 600; }

.seg-bar.dk { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.10); }
.seg-bar.dk button { color: var(--obsidian-mute); }
.seg-bar.dk button:hover { color: #fff; }
.seg-bar.dk button.on { background: var(--signal); color: #fff; }

.range-wrap input[type="range"] { width: 100%; accent-color: var(--signal); cursor: pointer; margin-top: 6px; }

/* ---------- 7. FAQ & CTA BAND ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-tools { display: flex; gap: 10px; margin-bottom: 18px; }
.faq-search {
  width: 100%; padding: 11px 14px 11px 40px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;
  font-size: 14.5px;
}
.faq-search:focus { border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px var(--signal-soft); }
.faq-list { display: grid; gap: 8px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-bright);
  transition: border-color 0.14s;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  list-style: none; padding: 16px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-weight: 600; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--f-mono); font-size: 19px; color: var(--ink-mute);
  transition: transform 0.18s var(--ease); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--signal); }
.faq-item p { padding: 0 20px 18px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; max-width: 76ch; }

.cta-band {
  background: var(--obsidian);
  color: #fff; padding: 72px 0;
  border-top: 1px solid var(--obsidian-line);
}
.cta-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 44px; align-items: center; }
.cta-grid h2 { margin-top: 10px; }
.cta-grid .lead { margin-top: 12px; }
.cert-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cert-live-input {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: 13px; font-weight: 500; color: var(--obsidian-mute);
}
.cert-live-input input {
  padding: 7px 11px; border-radius: var(--r-sm); width: 196px;
  border: 1px solid var(--obsidian-line-hi); background: #162033;
  color: #fff; font-family: var(--f-sans); font-size: 13.5px; text-transform: none; letter-spacing: 0;
}
.cert-live-input input:focus { border-color: var(--signal-light); outline: none; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- 8. APPLY & DEPOSIT FLOWS ---------- */
.flow-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr); gap: 24px; align-items: start; }
.flow-card {
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-bright);
  padding: 28px; box-shadow: var(--sh-sm); min-width: 0; max-width: 100%;
}
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
.stepper li {
  list-style: none; display: flex; align-items: center; gap: 8px;
  font-family: var(--f-sans); font-size: 13px; font-weight: 500; color: var(--ink-mute);
  padding-bottom: 10px; border-bottom: 2px solid var(--line);
}
.stepper li i {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; background: var(--paper); border: 1px solid var(--line-strong); font-weight: 600; font-size: 12px; flex-shrink: 0;
}
.stepper li.on { color: var(--ink); font-weight: 600; border-color: var(--signal); }
.stepper li.on i { background: var(--signal); border-color: var(--signal); color: #fff; }
.stepper li.done { border-color: var(--emerald); }
.stepper li.done i { background: var(--emerald); border-color: var(--emerald); color: #fff; }

.pane { display: none; }
.pane.on { display: block; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--f-sans); font-size: 13px; font-weight: 500; color: var(--ink); }
.field input, .field select, .dep-acct-select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; font-size: 14px; transition: border-color 0.14s, box-shadow 0.14s;
}
.dep-acct-select { font-family: var(--f-sans); font-size: 14px; font-weight: 500; }
.field input:focus, .field select:focus, .dep-acct-select:focus {
  border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px var(--signal-soft);
}
.ferr { color: var(--crimson); font-family: var(--f-sans); font-size: 12px; min-height: 16px; }

.rcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rcards label { position: relative; cursor: pointer; }
.rcards input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.rcards span {
  display: block; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font-weight: 600; font-size: 13.5px; transition: border-color 0.14s, background 0.14s;
}
.rcards span small { display: block; font-weight: 400; color: var(--ink-mute); font-size: 12px; margin-top: 2px; }
.rcards input:checked + span { background: #EFF6FF; color: var(--ink); border-color: var(--signal); }
.rcards input:checked + span small { color: var(--signal); }
.rcards input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

.checks { display: grid; gap: 10px; margin-top: 16px; }
.chk {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 13.5px;
}
.chk input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--signal); flex-shrink: 0; }
.chk.bad { border-color: var(--crimson); background: var(--crimson-soft); }

.notice-box {
  margin-top: 16px; padding: 13px 16px; border-radius: var(--r-sm);
  border-left: 3px solid var(--signal); background: #EFF6FF;
  font-size: 13.5px; color: #1E3A8A; line-height: 1.55;
}
.notice-box b { color: #0F172A; }

.review-list { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--paper); margin-top: 16px; }
.review-row {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.review-row:last-child { border-bottom: 0; }
.review-row span { color: var(--ink-mute); }
.review-row b { font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; word-break: break-word; }

.form-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
}
.sum-card {
  border: 1px solid #1E293B; border-radius: var(--r-md);
  background: var(--obsidian);
  color: #fff; padding: 24px; position: sticky; top: 84px; box-shadow: var(--sh-md);
}
.sum-card h3 { font-family: var(--f-sans); font-size: 14px; font-weight: 600; color: #E2E8F0; margin-bottom: 12px; }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--obsidian-line);
}
.sum-total b { font-size: 30px; color: #34D399; }

@media (max-width: 960px) {
  .flow-grid { grid-template-columns: minmax(0, 1fr); }
  .sum-card { position: static; }
  .fgrid, .rcards { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .flow-card { padding: 18px 16px; }
  .form-nav .btn { white-space: normal; text-align: center; }
}

/* ---------- 9. DOCS, RULEBOOK CALCULATOR & EXPECTANCY FIT FINDER ---------- */
.doc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 38px; align-items: start; }
.doc-toc {
  position: sticky; top: 84px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper-bright); padding: 14px;
}
.doc-toc h4 { font-family: var(--f-sans); font-size: 12px; font-weight: 600; color: var(--ink-mute); margin-bottom: 8px; }
.doc-toc a {
  display: block; padding: 7px 10px; border-radius: 4px; font-size: 13.5px; color: var(--ink-soft);
  border-left: 2px solid transparent; transition: color 0.14s, background 0.14s;
}
.doc-toc a:hover, .doc-toc a.on { color: var(--signal); border-left-color: var(--signal); background: #EFF6FF; font-weight: 600; }
.doc-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.doc-section:first-child { padding-top: 0; }
.doc-section:last-child { border-bottom: 0; }
.doc-section h2 { font-size: 25px; margin-bottom: 10px; }
.doc-section p { color: var(--ink-soft); margin-bottom: 10px; max-width: 72ch; }
.doc-section ul { margin: 10px 0 14px 20px; color: var(--ink-soft); display: grid; gap: 6px; }

.tool-box {
  border: 1px solid #1E293B; border-radius: var(--r-md);
  background: var(--obsidian);
  color: #fff; padding: 24px; margin-bottom: 30px;
}
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.tf { display: flex; flex-direction: column; gap: 6px; }
.tf > span { font-family: var(--f-sans); font-size: 12.5px; font-weight: 500; color: #CBD5E1; display: flex; justify-content: space-between; }
.tf > span b { color: #93C5FD; }
.tf > span small { opacity: 0.72; font-weight: 400; }
.tf-in {
  display: flex; align-items: center; border: 1px solid var(--obsidian-line-hi); border-radius: var(--r-sm);
  background: #162033; padding: 0 10px;
}
.tf-in em { font-style: normal; font-family: var(--f-sans); color: var(--obsidian-mute); margin-right: 6px; }
.tf-in input { width: 100%; padding: 9px 0; background: transparent; border: 0; color: #fff; font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 14px; }
.tf-in input:focus { outline: none; }
.tf-in:focus-within { border-color: var(--signal-light); }

.dd-viz { margin: 20px 0 16px; }
.dd-bar {
  position: relative; height: 12px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--obsidian-line);
}
.dd-zone {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px 0 0 6px;
  background: rgba(239, 68, 68, 0.35);
  transition: width 0.22s var(--ease);
}
.dd-bar b {
  position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%;
  transform: translate(-50%, -50%); transition: left 0.22s var(--ease);
}
.dd-bar b[data-m="max"] { background: #EF4444; }
.dd-bar b[data-m="day"] { background: #F59E0B; }
.dd-bar b[data-m="start"] { background: #60A5FA; width: 8px; height: 8px; }
.dd-bar b[data-m="eq"] { background: #10B981; width: 13px; height: 13px; border: 2px solid #0F172A; z-index: 2; }
.dd-bar.breach b[data-m="eq"] { background: #EF4444; }
.dd-lbl {
  display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 9px;
  font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-size: 12px; color: var(--obsidian-mute);
}
.dd-lbl span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.dd-lbl .r::before { background: #EF4444; }
.dd-lbl .a::before { background: #F59E0B; }
.dd-lbl .v::before { background: #60A5FA; }
.dd-lbl .w::before { background: #10B981; }

.dd-res {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--obsidian-line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.dd-res > div {
  padding: 12px; border-radius: var(--r-sm); background: #162033;
  border: 1px solid var(--obsidian-line);
}
.dd-res > div.bind { border-color: rgba(245, 158, 11, 0.45); }
.dd-res > div.hl { background: rgba(16, 185, 129, 0.10); border-color: rgba(16, 185, 129, 0.32); }
.dd-res span { display: block; font-family: var(--f-sans); font-size: 11.5px; color: var(--obsidian-mute); }
.dd-res strong { display: block; font-size: 21px; margin-top: 3px; color: #fff; }

.tool-st {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.55;
  border: 1px solid var(--obsidian-line); background: #162033; color: #CBD5E1;
}
.tool-st.ok { border-color: rgba(16, 185, 129, 0.36); background: rgba(16, 185, 129, 0.10); }
.tool-st.warn { border-color: rgba(245, 158, 11, 0.40); background: rgba(245, 158, 11, 0.10); }
.tool-st.bad { border-color: rgba(239, 68, 68, 0.42); background: rgba(239, 68, 68, 0.12); }
.tool-st b { color: #fff; }

.fit-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.fit-c {
  border-radius: var(--r-sm); padding: 16px; background: #162033;
  border: 1px solid var(--obsidian-line);
}
.fit-c.ok { border-color: rgba(16, 185, 129, 0.36); }
.fit-c.warn { border-color: rgba(245, 158, 11, 0.36); }
.fit-c.bad { border-color: rgba(239, 68, 68, 0.36); }
.fit-t { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.fit-t h4 { font-size: 16px; color: #fff; }
.fit-t span { font-family: var(--f-sans); font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 9999px; }
.fit-c.ok .fit-t span { background: rgba(16, 185, 129, 0.18); color: #6EE7B7; }
.fit-c.warn .fit-t span { background: rgba(245, 158, 11, 0.20); color: #FCD34D; }
.fit-c.bad .fit-t span { background: rgba(239, 68, 68, 0.20); color: #FCA5A5; }
.fit-c dl { display: grid; gap: 6px; }
.fit-c dl > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; border-top: 1px solid var(--obsidian-line); padding-top: 6px; }
.fit-c dt { color: var(--obsidian-mute); }
.fit-c dd { font-family: var(--f-sans); font-variant-numeric: tabular-nums; font-weight: 600; color: #fff; text-align: right; }
.fit-c dd.x { color: #F87171; }
.fit-bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.10); margin-top: 12px; overflow: hidden; }
.fit-bar i { display: block; height: 100%; border-radius: 2px; background: #10B981; transition: width 0.25s; }
.fit-c.warn .fit-bar i { background: #F59E0B; }
.fit-c.bad .fit-bar i { background: #EF4444; }

@media (max-width: 860px) {
  .doc-layout, .tool-grid, .dd-res, .fit-cards { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
}

/* ---------- 10. PAYMENT SECTION (STRIPE UNWIRED + CRYPTO AUTO-QR) ---------- */
.pay-shell {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-bright);
  overflow: hidden;
}
.pay-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.pay-tab {
  text-align: left;
  padding: 13px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 2px solid transparent;
  background: transparent;
  transition: background 0.14s, border-color 0.14s;
}
.pay-tab:last-child { border-right: 0; }
.pay-tab:hover { background: #F1F5F9; }
.pay-tab.on {
  background: #FFFFFF;
  border-bottom-color: var(--signal);
}
.pay-tab-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.pay-tab.on .pay-tab-title { color: var(--signal); }
.pay-tab-sub {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}

.pay-panel { display: none; padding: 20px; }
.pay-panel.on { display: block; }

/* Stripe Card Preview Panel */
.stripe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.stripe-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.stripe-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stripe-card-in {
  position: relative;
  display: flex;
  align-items: center;
}
.stripe-card-in input { padding-right: 84px; font-variant-numeric: tabular-nums; }
.stripe-brand-pill {
  position: absolute;
  right: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 4px;
  pointer-events: none;
}
.pay-note {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.pay-note strong { color: var(--ink); }

/* Crypto Auto-QR Panel */
.crypto-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.crypto-top > div { flex: 1; min-width: 0; }
.crypto-lbl {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.crypto-net-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.crypto-nets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crypto-net-btn {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color 0.14s, background 0.14s, color 0.14s;
}
.crypto-net-btn:hover { border-color: #94A3B8; color: var(--ink); }
.crypto-net-btn.on {
  background: #EFF6FF;
  border-color: var(--signal);
  color: var(--signal);
  font-weight: 600;
}

.crypto-qr-grid {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.crypto-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
}
.crypto-qr-box {
  background: #FFFFFF;
  padding: 6px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  line-height: 0;
}
.crypto-qr-cap {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}

.crypto-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.crypto-amt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
}
.crypto-amt {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.crypto-usd {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.crypto-addr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.crypto-addr-top .crypto-lbl { margin-bottom: 0; }
.crypto-regen-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--signal);
}
.crypto-regen-btn:hover { text-decoration: underline; }
.crypto-addr-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 9px 10px 9px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
}
.crypto-addr-box code {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.4;
}

.crypto-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-mute);
}

@media (max-width: 680px) {
  .pay-tabs { grid-template-columns: 1fr; }
  .pay-panel { padding: 16px 14px; }
  .stripe-fields { grid-template-columns: 1fr; }
  .crypto-qr-grid { grid-template-columns: 1fr; }
  .crypto-qr-card { width: max-content; margin: 0 auto; }
  .pay-tab { border-right: 0; border-bottom: 1px solid var(--line); }
  .pay-tab.on { border-bottom: 2px solid var(--signal); }
}
