/* ─── BOB GATEWAY LANDING — Marketing card energy ──────────────────────── */

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

:root {
  /* Brand */
  --orange:        #EE6B0B;   /* canonical BOB orange (logo circle) */
  --orange-hot:    #F25D00;   /* imagery / glow accent */
  --orange-light:  #FF9500;
  --orange-peach:  #FFC089;

  /* Ink */
  --bg:        #000000;
  --ink-0:     #0C0C0D;
  --ink-1:     #131318;
  --ink-2:     #17181B;
  --ink-3:     #1E1F24;
  --line-1:    #2A2B31;
  --line-2:    #3A3B42;

  /* Text */
  --t-1:       #ffffff;
  --t-2:       rgba(255,255,255,0.62);
  --t-3:       rgba(255,255,255,0.36);
  --t-4:       rgba(255,255,255,0.18);

  /* Other */
  --green:     #46E37A;
  --red:       #FF3B3B;

  /* Intensity — driven by tweaks */
  --glow-alpha:   0.22;
  --vignette-on:  1;

  /* Type */
  --display: 'Funnel Display', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--t-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
}

a { color: inherit; }

/* ─── LAYOUT ──────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.sec-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--orange);
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-lg { font-size: 15px; padding: 15px 26px; border-radius: 14px; }
.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 22px rgba(238,107,11,0.28);
}
.btn-orange:hover {
  background: #ff7a1a;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 10px 28px rgba(238,107,11,0.42);
}
.btn-orange:active { transform: translateY(0); background: #d45f08; }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--t-1);
  border-color: var(--line-1);
}
.btn-ghost:hover { border-color: var(--line-2); background: rgba(255,255,255,0.06); }

/* ─── NAV ─────────────────────────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, border-color 0.25s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
#nav.stuck {
  background: rgba(8,8,10,0.78);
  border-bottom-color: var(--line-1);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--t-1);
}
.nav-logo .logo-mark { height: 28px; width: 28px; display: block; }
.nav-logo > img { height: 26px; width: auto; display: block; }
.nav-logo .logo-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}
.nav-logo .logo-pipe {
  width: 1px;
  height: 18px;
  background: var(--line-2);
}
.nav-logo .logo-strap {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  color: var(--t-2);
  letter-spacing: 0.01em;
}
@media (max-width: 560px) {
  .nav-logo .logo-pipe, .nav-logo .logo-strap { display: none; }
}
.hero-badges-row { flex-wrap: nowrap; overflow-x: auto; }
.hero-badges-row::-webkit-scrollbar { display: none; }

/* ─── HERO ────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--vignette-on);
}
.hero-bg::before {
  /* deep warm floor — orange rising from bottom-center */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(242,93,0,calc(0.36 * var(--glow-alpha) * 4)) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 8% 100%, rgba(255,120,0,calc(0.22 * var(--glow-alpha) * 4)) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 92% 0%, rgba(255,149,0,calc(0.08 * var(--glow-alpha) * 4)) 0%, transparent 55%);
}
.hero-bg::after {
  /* subtle wireframe horizon — flagged off by default */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 220px;
  opacity: 0.0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 22px, rgba(242,93,0,0.18) 22px, rgba(242,93,0,0.18) 23px),
    repeating-linear-gradient(90deg, transparent 0, transparent 60px, rgba(242,93,0,0.16) 60px, rgba(242,93,0,0.16) 61px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}
body[data-bg="grid"] .hero-bg::after { opacity: 0.7; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.hero-text { min-width: 0; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(238,107,11,0.32);
  background: rgba(238,107,11,0.08);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #ffd9b8;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-eyebrow .dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 14px var(--orange-light);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

.hero-h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin-bottom: 24px;
}
.hero-h1 .line { display: block; }
.hero-h1 .o-light { color: var(--orange-light); }
.hero-h1 .o-dark { color: var(--orange); }
.hero-h1 .accent {
  background: linear-gradient(180deg, #ffd28a 0%, #ee6b0b 55%, #a23d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: var(--t-2);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--t-1); font-weight: 500; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.hero-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-2);
  border: 1px solid var(--line-1);
  background: rgba(255,255,255,0.02);
  padding: 6px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-cta-meta {
  font-size: 12px;
  color: var(--t-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

/* ─── HERO VISUAL — new composed hero artwork ─────────────────────────── */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.hero-art {
  width: 118%;
  height: 118%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 32px 70px rgba(242,93,0,0.40))
          drop-shadow(0 0 40px rgba(255,149,0,0.20));
  animation: heroFloat 8s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(-6px); }
  50%      { transform: translateY(6px); }
}

/* ─── LEGACY HERO VARIANTS (no longer rendered, kept for back-compat) ── */
.rings {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  display: block;
  z-index: 1;
}
.rings ellipse {
  fill: none;
  stroke: var(--orange-hot);
  stroke-width: 1;
  transform-origin: 50% 50%;
}

/* default subject — bitcoin coin */
.hero-subject {
  position: relative;
  z-index: 2;
  width: 62%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-subject .coin-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 60px rgba(242,93,0,0.55))
          drop-shadow(0 0 22px rgba(255,149,0,0.35));
  animation: bobFloat 6s ease-in-out infinite;
}
@keyframes bobFloat {
  0%, 100% { transform: translateY(-6px) rotate(-2deg); }
  50%      { transform: translateY(6px) rotate(2deg); }
}

/* lockup variant — BTC × USDT */
.hero-lockup {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
}
body[data-hero="lockup"] .hero-subject { display: none; }
body[data-hero="lockup"] .hero-lockup { display: flex; }
body[data-hero="lockup"] .rings ellipse:nth-child(odd) { stroke-dasharray: 4 6; }

.lockup-token {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  position: relative;
  flex-shrink: 0;
}
.lockup-token.btc {
  background: radial-gradient(circle at 35% 30%, #ffb558 0%, #ee6b0b 60%, #7a3500 100%);
  color: #fff;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.3),
    inset 0 -10px 24px rgba(0,0,0,0.4),
    0 18px 40px rgba(242,93,0,0.45);
}
.lockup-token.usdt {
  background: radial-gradient(circle at 35% 30%, #74efc6 0%, #26a17b 55%, #0f5a44 100%);
  color: #fff;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.3),
    inset 0 -10px 24px rgba(0,0,0,0.4),
    0 18px 40px rgba(38,161,123,0.4);
}
.lockup-x {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.85;
  text-shadow: 0 0 22px rgba(238,107,11,0.6);
}

/* savings variant — big number hero */
.hero-savings {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
body[data-hero="savings"] .hero-subject,
body[data-hero="savings"] .hero-lockup { display: none; }
body[data-hero="savings"] .hero-savings { display: flex; }
.hero-savings .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(120px, 16vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffd28a 0%, #ee6b0b 50%, #7a3500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 30px rgba(238,107,11,0.4));
}
.hero-savings .num small { font-size: 0.5em; }
.hero-savings .caption {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--t-2);
  margin-top: 12px;
}

/* small floating cubes behind subject */
.hero-cube {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.hero-cube img { width: 100%; height: auto; opacity: 0.6; filter: drop-shadow(0 14px 30px rgba(238,107,11,0.35)); }
.hero-cube.c1 { width: 70px; top: 6%; left: 4%; transform: rotate(-12deg); animation: bobFloat 7s ease-in-out infinite; }
.hero-cube.c2 { width: 54px; bottom: 8%; right: 4%; transform: rotate(18deg); animation: bobFloat 9s -2s ease-in-out infinite reverse; }
.hero-cube.c3 { width: 42px; top: 12%; right: 12%; transform: rotate(-22deg); animation: bobFloat 11s -3s ease-in-out infinite; }

/* ─── SECTION BASE — vignette per section ─────────────────────────────── */
.section {
  position: relative;
  padding: 100px 0;
  border-top: 1px solid var(--line-1);
}
.section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--vignette-on);
}
.section-bg::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -1px;
  width: 60%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--orange-hot), transparent);
  opacity: 0.5;
}
.section-bg::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 320px;
  background: radial-gradient(ellipse 70% 100% at 50% -10%, rgba(242,93,0,calc(0.18 * var(--glow-alpha) * 4)), transparent 60%);
}

/* ─── STATS ───────────────────────────────────────────────────────────── */
.stats-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 44px;
}
.stats-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  max-width: 960px;
  font-weight: 600;
  text-wrap: balance;
}
.stats-header h2 .accent { color: var(--orange); }
.stats-header .src-note {
  font-size: 12px;
  color: var(--t-3);
  text-align: right;
  max-width: 200px;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat-card {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink-1) 100%);
  border: 1px solid var(--line-1);
  border-radius: 18px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 110%, rgba(242,93,0,0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.stat-card:hover::before { opacity: 1; }
.stat-card > * { position: relative; z-index: 1; }
.stat-card .stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-3);
  margin-bottom: 14px;
}
.stat-val {
  font-family: var(--display);
  font-size: clamp(42px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-val .unit { font-size: 0.5em; color: var(--orange); font-weight: 600; }
.stat-val.is-orange { color: var(--orange); }
.stat-desc { font-size: 13px; color: var(--t-2); line-height: 1.5; }
.stat-src {
  font-size: 10px;
  color: var(--t-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-1);
}

/* ─── COMPARISON ──────────────────────────────────────────────────────── */
.comp-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 32px;
}
.comp-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  margin-bottom: 8px;
}
.comp-header h2 .accent { color: var(--orange); }
.comp-header p { font-size: 15px; color: var(--t-2); max-width: 560px; }

.comp-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}
.comp-updated {
  font-size: 11px;
  color: var(--t-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--body);
  white-space: nowrap;
}
.comp-updated::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success, #46E37A);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px color-mix(in srgb, var(--success, #46E37A) 60%, transparent);
}
.amount-selector {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-1);
  border-radius: 14px;
  background: var(--ink-1);
}
.amt-btn {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--t-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.amt-btn:hover { color: var(--t-1); }
.amt-btn.active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(238,107,11,0.4);
}

.style-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line-1);
  border-radius: 12px;
  background: var(--ink-1);
}
.style-toggle button {
  background: transparent;
  color: var(--t-3);
  border: none;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.style-toggle button:hover { color: var(--t-1); }
.style-toggle button.active {
  color: var(--t-1);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* ─── COMPARISON: TABLE VARIATION ─────────────────────────────────────── */
.comp-view { display: none; }
.comp-view.active { display: block; }

.comp-table-wrap {
  border: 1px solid var(--line-1);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
}
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table thead th {
  padding: 16px 24px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-3);
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line-1);
}
.comp-table thead th:not(:first-child) { text-align: right; }
.comp-table tbody tr {
  border-bottom: 1px solid var(--line-1);
  transition: background 0.15s;
}
.comp-table tbody tr:last-child { border-bottom: none; }
.comp-table tbody tr.winner {
  background:
    linear-gradient(90deg, rgba(238,107,11,0.12) 0%, rgba(238,107,11,0.04) 100%);
  position: relative;
}
.comp-table tbody tr.winner td:first-child {
  box-shadow: inset 3px 0 0 0 var(--orange);
}
.comp-table tbody tr:not(.winner):hover { background: rgba(255,255,255,0.025); }
.comp-table td { padding: 18px 24px; vertical-align: middle; font-variant-numeric: tabular-nums; }

.proto-cell { display: flex; align-items: center; gap: 14px; }
.proto-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.proto-name { font-size: 15px; font-weight: 500; }
.usdt-cell, .var-cell, .bps-cell { text-align: right; }
.usdt-amount {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}
.usdt-amount .unit { font-size: 13px; font-weight: 400; opacity: 0.55; margin-left: 4px; }
.usdt-amount.best { color: var(--orange); }
.usdt-amount.dim { color: var(--t-2); }
.var-best {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(238,107,11,0.13);
  border: 1px solid rgba(238,107,11,0.32);
  padding: 5px 11px;
  border-radius: 100px;
}
.var-neg {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--t-3);
}
.bps-pill {
  display: inline-block;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-1);
  border-radius: 7px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--t-3);
}

/* ─── COMPARISON: BAR-CHART VARIATION ─────────────────────────────────── */
.comp-bars {
  border: 1px solid var(--line-1);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  padding: 28px 32px;
}
.bar-row {
  display: grid;
  grid-template-columns: 180px 1fr 140px;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-1);
}
.bar-row:last-child { border-bottom: none; }
.bar-name { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.bar-name .proto-icon { width: 28px; height: 28px; font-size: 12px; }
.bar-track {
  position: relative;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-1);
  overflow: hidden;
}
.bar-fill {
  position: absolute;
  inset: 2px 2px 2px 2px;
  width: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(238,107,11,0.18), rgba(238,107,11,0.06));
  border-right: 2px solid var(--orange);
  transition: width 0.7s cubic-bezier(0.2,0.8,0.2,1);
  display: flex;
  align-items: center;
  padding-left: 14px;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--t-2);
}
.bar-row.winner .bar-fill {
  background: linear-gradient(90deg, rgba(238,107,11,0.45), rgba(238,107,11,0.18));
  border-right-color: #fff;
  color: #fff;
  box-shadow: 0 0 20px rgba(238,107,11,0.4);
}
.bar-row.winner .bar-fill::after {
  content: 'BEST';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: #fff;
  color: var(--orange);
  padding: 3px 7px;
  border-radius: 6px;
}
.bar-value {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--t-2);
}
.bar-row.winner .bar-value { color: var(--orange); font-weight: 700; }
.bar-delta {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  color: var(--t-3);
  margin-top: 3px;
}

/* ─── COMPARISON: SAVINGS-FIRST VARIATION ─────────────────────────────── */
.comp-savings {
  border: 1px solid var(--line-1);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  overflow: hidden;
}
.savings-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-bottom: 1px solid var(--line-1);
}
.savings-hero-left {
  padding: 48px;
  position: relative;
  background: radial-gradient(ellipse 80% 90% at 0% 100%, rgba(238,107,11,0.22), transparent 60%);
}
.savings-hero-left .savings-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.savings-hero-left .savings-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffd28a 0%, #ee6b0b 55%, #7a3500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.savings-hero-left .savings-caption {
  font-size: 15px;
  color: var(--t-2);
  max-width: 380px;
  line-height: 1.5;
}
.savings-hero-right {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.savings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-1);
  background: rgba(255,255,255,0.015);
}
.savings-row.bob {
  border-color: rgba(238,107,11,0.45);
  background: rgba(238,107,11,0.06);
  box-shadow: 0 0 0 1px rgba(238,107,11,0.2);
}
.savings-row .proto-cell { gap: 12px; }
.savings-row .proto-icon { width: 28px; height: 28px; font-size: 12px; }
.savings-row .v {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--t-2);
}
.savings-row.bob .v { color: var(--orange); }
.savings-row .v small {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  color: var(--t-3);
  display: block;
  margin-top: 2px;
}
.savings-footer {
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--t-3);
  flex-wrap: wrap;
}
.savings-footer a { color: var(--orange); text-decoration: none; }
.savings-footer a:hover { text-decoration: underline; }

.comp-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}
.comp-disclaimer { font-size: 12px; color: var(--t-3); max-width: 600px; }
.comp-disclaimer a { color: var(--orange); text-decoration: none; }
.comp-disclaimer a:hover { text-decoration: underline; }

/* ─── HOW IT WORKS ────────────────────────────────────────────────────── */
.hiw-header { margin-bottom: 44px; }
.hiw-header h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 600; }
.hiw-header h2 .accent { color: var(--orange); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  position: relative;
}
.steps-grid::before {
  /* connector dotted line */
  content: '';
  position: absolute;
  top: 64px;
  left: 12%;
  right: 12%;
  height: 1px;
  background-image: linear-gradient(90deg, var(--orange) 50%, transparent 50%);
  background-size: 8px 1px;
  opacity: 0.35;
  z-index: 0;
}
.step-card {
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line-1);
  border-radius: 18px;
  padding: 36px 30px 32px;
  position: relative;
  z-index: 1;
}
.step-num-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.step-num {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  background: rgba(238,107,11,0.1);
  border: 1px solid rgba(238,107,11,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 20px rgba(238,107,11,0.2);
}
.step-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-3);
}
.step-title { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.015em; }
.step-body { font-size: 14px; color: var(--t-2); line-height: 1.65; }
.step-body a { color: var(--orange); text-decoration: none; }
.step-body a:hover { text-decoration: underline; }

.cex-note {
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--line-1);
  border-radius: 16px;
  padding: 22px 26px;
  font-size: 14px;
  color: var(--t-2);
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.cex-note::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 0% 50%, rgba(238,107,11,0.1), transparent 60%);
  pointer-events: none;
}
.cex-note .icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(238,107,11,0.1);
  border: 1px solid rgba(238,107,11,0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  position: relative;
  z-index: 1;
}
.cex-note > div { position: relative; z-index: 1; }
.cex-note strong { color: var(--t-1); font-weight: 600; }
.cex-note a { color: var(--orange); text-decoration: none; font-weight: 500; }
.cex-note a:hover { text-decoration: underline; }

/* ─── FAQ ─────────────────────────────────────────────────────────────── */
.faq-header { margin-bottom: 36px; }
.faq-header h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 600; }
.faq-header h2 .accent { color: var(--orange); }

.faq-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
}
.faq-side {
  font-size: 14px;
  color: var(--t-2);
  line-height: 1.6;
}
.faq-side .help-card {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--line-1);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
}
.faq-side .help-card h4 {
  font-family: var(--display);
  font-size: 17px;
  margin-bottom: 8px;
}
.faq-side .help-card a {
  color: var(--orange);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}
.faq-side .help-card a:hover { text-decoration: underline; }

.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border: 1px solid var(--line-1);
  border-radius: 14px;
  background: var(--ink-1);
  overflow: hidden;
  transition: border-color 0.18s, background 0.18s;
}
.faq-item[data-open="true"] {
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border-color: rgba(238,107,11,0.32);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: none;
  color: var(--t-1);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--orange); }
.faq-item[data-open="true"] .faq-q { color: var(--orange); }
.faq-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: 1px solid var(--line-1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-2);
  transition: transform 0.22s, background 0.15s, border-color 0.15s, color 0.15s;
}
.faq-item[data-open="true"] .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: rotate(45deg);
}
.faq-icon svg { width: 12px; height: 12px; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-body {
  padding: 0 22px 22px 22px;
  font-size: 14px;
  color: var(--t-2);
  line-height: 1.7;
}
.faq-a-body a { color: var(--orange); text-decoration: none; }
.faq-a-body a:hover { text-decoration: underline; }

/* ─── BOTTOM CTA ──────────────────────────────────────────────────────── */
#bottom-cta {
  position: relative;
  padding: 120px 0 100px;
  border-top: 1px solid var(--line-1);
  overflow: hidden;
  text-align: center;
}
#bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 110%, rgba(242,93,0,calc(0.36 * var(--glow-alpha) * 4)) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 50% -10%, rgba(238,107,11,calc(0.1 * var(--glow-alpha) * 4)), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.cta-rings svg { width: min(900px, 90%); height: auto; opacity: 0.6; }
#bottom-cta h2 {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  line-height: 1;
}
#bottom-cta h2 .accent {
  background: linear-gradient(180deg, #ffd28a 0%, #ee6b0b 55%, #a23d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#bottom-cta p { font-size: 17px; color: var(--t-2); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ─── FOOTER ──────────────────────────────────────────────────────────── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--line-1);
  background: #050506;
  position: relative;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-logo { display: flex; align-items: center; text-decoration: none; }
.footer-logo img { height: 24px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--t-3); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--t-1); }
.footer-copy { font-size: 12px; color: var(--t-3); }

/* ─── TWEAKS PANEL ─────────────────────────────────────────────────────── */
#tweaks {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  background: rgba(17,18,21,0.92);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 0;
  z-index: 1000;
  font-family: var(--body);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
#tweaks.open { display: block; }
.tw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-1);
}
.tw-header h4 {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.tw-close {
  background: none;
  border: none;
  color: var(--t-2);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  width: 20px;
  height: 20px;
}
.tw-close:hover { color: var(--t-1); }
.tw-body { padding: 14px 16px 18px; max-height: 60vh; overflow-y: auto; }
.tw-group { margin-bottom: 16px; }
.tw-group:last-child { margin-bottom: 0; }
.tw-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-3);
  margin-bottom: 8px;
}
.tw-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line-1);
  border-radius: 10px;
  background: var(--ink-0);
}
.tw-opt {
  background: transparent;
  border: none;
  color: var(--t-2);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  padding: 7px 4px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.tw-opt:hover { color: var(--t-1); }
.tw-opt.active {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .stats-header, .comp-header { grid-template-columns: 1fr; align-items: start; }
  .stats-header .src-note { text-align: left; }
  .savings-hero { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .bar-row { grid-template-columns: 130px 1fr 90px; gap: 12px; }
}
@media (max-width: 640px) {
  #hero { padding: 60px 0 70px; }
  .section { padding: 70px 0; }
  .comp-table-wrap { overflow-x: auto; }
  .comp-table thead th, .comp-table td { padding: 14px 14px; }
  .comp-table thead th:nth-child(4), .comp-table td.bps-cell { display: none; }
  .comp-bars { padding: 18px; }
  .bar-row { grid-template-columns: 90px 1fr; }
  .bar-value { display: none; }
  .savings-hero-left, .savings-hero-right { padding: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .comp-controls { flex-direction: column; align-items: stretch; }
  .style-toggle { width: 100%; justify-content: stretch; }
  .style-toggle button { flex: 1; }

  /* Nav: shrink CTA so it doesn't crowd the logo */
  #nav { padding: 12px 0; }
  .nav-inner { gap: 12px; }
  #nav .btn-orange { padding: 10px 14px; font-size: 13px; }

  /* Hero CTAs: primary full-width, secondary stays centered text link */
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .hero-ctas .btn-orange { width: 100%; justify-content: center; }
  .hero-ctas .btn-ghost {
    align-self: center;
    background: transparent;
    border-color: transparent;
    padding: 8px 0;
    color: var(--t-2);
  }

  /* Hero badges: allow wrap on mobile (was forced horizontal scroll) */
  .hero-badges-row { flex-wrap: wrap; overflow-x: visible; }

  /* Stats: 2 columns is still cramped on tiny phones — drop to 1 */
  .stats-grid { grid-template-columns: 1fr; }
  .stats-header { gap: 20px; }

  /* CEX-note: stack icon above text on mobile */
  .cex-note { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px; }

  /* Comparison amount selector: tighter padding so 5 buttons fit */
  .amount-selector { width: 100%; justify-content: stretch; flex-wrap: wrap; }
  .amt-btn { flex: 1 0 auto; padding: 8px 10px; }

  /* Comparison footer: stack + full-width primary */
  .comp-footer { flex-direction: column; align-items: stretch; }
  .comp-footer .btn-orange,
  .comp-footer .btn-ghost { width: 100%; justify-content: center; }

  /* Bar row: tighter gap for very narrow screens */
  .bar-row { gap: 10px; padding: 12px 0; }
  .bar-name { font-size: 13px; }

  /* Bottom CTA: full-width button (capped), tighter padding */
  #bottom-cta { padding: 80px 0 80px; }
  #bottom-cta .btn-orange {
    display: flex;
    width: 100%;
    max-width: 340px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  #bottom-cta h2 { font-size: clamp(36px, 9vw, 56px); }

  /* How-it-works CTA button full-width (sits between sections) */
  #how-it-works > .container > .btn-orange {
    display: flex;
    width: 100%;
    max-width: 340px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Step cards: tighter padding */
  .step-card { padding: 28px 22px 26px; }
  .step-num { width: 44px; height: 44px; font-size: 22px; }

  /* FAQ: tighter so questions don't feel cramped */
  .faq-q { padding: 16px 18px; font-size: 14px; gap: 12px; }
  .faq-a-body { padding: 0 18px 18px 18px; font-size: 13.5px; }
}

@media (max-width: 380px) {
  /* Very narrow phones — shrink hero headline so "native BTC ↔ Stablecoin" fits */
  .hero-h1 { font-size: 34px; }
  #bottom-cta h2 { font-size: 32px; }
  #nav .btn-orange { padding: 9px 12px; font-size: 12px; }
  .nav-logo > img { height: 22px; }
}
