/* ============================================================
   GoGoTrading — Dark "Rebate Terminal"
   Theme: deep ink background, electric mint/emerald (cash-back)
   accent, Bybit-gold highlight, geometric sans headlines,
   monospaced numerics. Distinct from every sister site.
   ============================================================ */

:root {
  /* Surfaces — deep ink */
  --bg: #0A0E13;             /* near-black ink */
  --bg-elev: #121A23;        /* raised card */
  --bg-soft: #0E141B;        /* darker section */
  --bg-tint: #172230;        /* subtle tinted panel */

  --border: #233140;
  --border-strong: #2F4254;
  --hairline: #1A2532;

  /* Text */
  --text: #EAF2F8;
  --text-muted: #9DAEBD;
  --text-dim: #5E6E7C;

  /* Mint / emerald — money coming back to you */
  --accent: #18CE8C;
  --accent-hover: #13B87C;
  --accent-soft: #0E2A20;
  --accent-tint: #0C1F19;

  /* Bybit gold — highlight / featured */
  --highlight: #F7A600;
  --highlight-soft: #2A2210;

  /* Info blue */
  --info: #56A8FF;
  --info-soft: #112436;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.55), 0 10px 24px rgba(0,0,0,0.4);
  --glow: 0 0 0 1px rgba(24,206,140,0.25), 0 8px 30px rgba(24,206,140,0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;

  --font-head: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(24,206,140,0.08), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(247,166,0,0.05), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }

/* ----- Layout ----- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.center { text-align: center; }
.muted { color: var(--text-muted); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 19, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #0B7A57);
  display: grid; place-items: center;
  color: #06120D; font-family: var(--font-head); font-weight: 700; font-size: 18px;
  box-shadow: 0 4px 14px rgba(24,206,140,0.35);
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: color .15s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); align-items: center; justify-content: center; color: var(--text);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.95rem; transition: all .15s var(--ease);
  white-space: nowrap; border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0FAE74);
  color: #06120D;
  box-shadow: 0 6px 18px rgba(24,206,140,0.28);
}
.btn-primary:hover { color: #06120D; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(24,206,140,0.4); }
.btn-ghost { background: var(--bg-elev); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-gold {
  background: linear-gradient(135deg, var(--highlight), #D98C00);
  color: #1A1400; box-shadow: 0 6px 18px rgba(247,166,0,0.25);
}
.btn-gold:hover { color: #1A1400; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(247,166,0,0.36); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 64px 0 28px; text-align: center; position: relative; }
.eyebrow, .hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-pill);
  background: var(--accent-tint); color: var(--accent);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 20px; border: 1px solid var(--accent-soft);
}
.hero h1 { max-width: 920px; margin: 0 auto 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .gold { color: var(--highlight); }
.hero-sub { max-width: 660px; margin: 0 auto; font-size: 1.1rem; color: var(--text-muted); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--text-dim); }

/* ============================================================
   Metrics strip
   ============================================================ */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--bg-elev); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.metric { padding: 30px 16px; text-align: center; border-right: 1px solid var(--hairline); }
.metric:last-child { border-right: none; }
.metric-value {
  font-family: var(--font-mono); font-size: 2.1rem; font-weight: 700;
  color: var(--accent); letter-spacing: -0.02em; line-height: 1;
}
.metric-label { margin-top: 10px; font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   Section heading
   ============================================================ */
.section-head { text-align: center; max-width: 740px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
  margin-bottom: 14px; background: none; border: none; padding: 0;
}
.section-head p { font-size: 1.05rem; margin-top: 8px; }

/* ============================================================
   Programs (Mode A / Mode B) — the distinctive block
   ============================================================ */
.programs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.program-card {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.program-card.is-flagship { border-color: var(--accent); box-shadow: var(--glow); }
.program-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
}
.program-tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-tint);
  border: 1px solid var(--accent-soft); padding: 5px 12px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.program-card.is-gold .program-tag { color: var(--highlight); background: var(--highlight-soft); border-color: #4A3A10; }
.program-card h3 { font-size: 1.4rem; margin: 0 0 4px; }
.program-rate { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 700; color: var(--text); line-height: 1.1; margin: 10px 0 4px; }
.program-rate small { font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.program-card .lead { color: var(--text-muted); margin: 6px 0 18px; }
.program-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.program-list li { position: relative; padding-left: 26px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }
.program-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--accent); font-weight: 700; }
.program-card.is-gold .program-list li::before { color: var(--highlight); }
.program-card .btn { width: 100%; }

/* ============================================================
   Rebate calculator
   ============================================================ */
.calc {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.calc-fields { display: flex; flex-direction: column; gap: 22px; }
.calc-field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.calc-field select, .calc-field input[type="number"] {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-mono); font-size: 1rem;
}
.calc-field select:focus, .calc-field input:focus { outline: none; border-color: var(--accent); }
.calc-range { display: flex; align-items: center; gap: 14px; }
.calc-range input[type="range"] { flex: 1; accent-color: var(--accent); }
.calc-range .val { font-family: var(--font-mono); color: var(--accent); font-weight: 700; min-width: 110px; text-align: right; }
.calc-output {
  text-align: center; background: var(--accent-tint);
  border: 1px solid var(--accent-soft); border-radius: var(--radius);
  padding: 30px 24px;
}
.calc-output .calc-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.calc-big { font-family: var(--font-mono); font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1.05; margin: 8px 0; }
.calc-sub { font-size: 0.85rem; color: var(--text-dim); }
.calc-foot { grid-column: 1 / -1; font-size: 0.8rem; color: var(--text-dim); margin: 4px 0 0; text-align: center; }
.calc-badge {
  display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--highlight);
  background: var(--highlight-soft); border: 1px solid #4A3A10; padding: 5px 12px;
  border-radius: var(--radius-pill); margin-bottom: 2px;
}
.calc-mid { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; color: var(--accent); line-height: 1.1; margin: 4px 0; }
.calc-mid small { font-size: 0.9rem; color: var(--text-dim); font-weight: 500; }
.calc-divider { height: 1px; background: var(--border); margin: 20px 0; }
.gold-text { color: var(--highlight); }

/* ============================================================
   Exchange logo strip — "we cover ALL exchanges"
   ============================================================ */
.logos-section { padding: 16px 0 8px; }
.logos-caption { text-align: center; color: var(--text-muted); font-size: 0.98rem; margin: 0 0 20px; }
.logos-caption strong { color: var(--text); }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 7px;
  border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg-elev);
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.logo-chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.logo-chip .card-logo { box-shadow: none; }
.logo-chip-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }

/* ============================================================
   Exchange Cards
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  opacity: 0; transition: opacity .25s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.card-logo {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  color: #06120D; font-family: var(--font-head); font-weight: 700; font-size: 18px;
  flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.card-title-wrap { flex: 1; min-width: 0; }
.card-title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; margin: 0 0 4px; color: var(--text); }
.card-rating { font-size: 0.85rem; color: var(--text-dim); display: flex; align-items: center; gap: 4px; }
.star { color: var(--highlight); }

.bonus-banner {
  background: var(--accent-tint); border: 1px solid var(--accent-soft);
  border-radius: var(--radius); padding: 14px 16px; margin: 8px 0 18px;
}
.bonus-banner-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.bonus-banner-text { font-size: 0.95rem; color: var(--text); font-weight: 500; line-height: 1.4; }

.card-desc { font-size: 0.95rem; color: var(--text-muted); margin: 0 0 18px; flex-grow: 1; }
.card-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px;
  background: var(--bg-soft); border: 1px solid var(--hairline); border-radius: var(--radius); margin-bottom: 20px;
}
.card-stat-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.card-stat-value { margin-top: 4px; font-weight: 600; font-size: 0.95rem; color: var(--text); font-family: var(--font-mono); }
.card-stat-value.accent { color: var(--accent); }
.card .btn { width: 100%; }
.card-badge {
  position: absolute; top: 18px; right: 18px; padding: 5px 12px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--highlight), #D98C00); color: #1A1400;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
}
.kbd {
  font-family: var(--font-mono); background: var(--bg-tint); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 6px; font-size: 0.85rem; color: var(--accent);
}

/* ============================================================
   Comparison Table
   ============================================================ */
.table-wrap {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.table-controls { display: flex; gap: 12px; padding: 22px 26px; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; align-items: center; }
.table-controls .label { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }
.sort-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.sort-btn {
  padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border);
  background: var(--bg-soft); color: var(--text-muted); font-size: 0.85rem; font-weight: 500; transition: all .15s var(--ease);
}
.sort-btn:hover { color: var(--accent); border-color: var(--accent); }
.sort-btn.active { background: var(--accent); border-color: var(--accent); color: #06120D; }

.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table thead th {
  background: var(--bg-soft); text-align: left; padding: 16px 22px;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 700; border-bottom: 1px solid var(--hairline); white-space: nowrap;
}
.cmp-table tbody tr { border-bottom: 1px solid var(--hairline); transition: background .15s var(--ease); }
.cmp-table tbody tr:hover { background: var(--bg-tint); }
.cmp-table tbody tr:last-child { border-bottom: none; }
.cmp-table td { padding: 18px 22px; vertical-align: middle; font-size: 0.95rem; }
.exch-cell { display: flex; align-items: center; gap: 14px; }
.exch-cell .card-logo { width: 38px; height: 38px; border-radius: 10px; font-size: 14px; }
.exch-name { font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; color: var(--text); }
.exch-name a { color: inherit; }
.exch-name a:hover { color: var(--accent); }
.fee-num { font-variant-numeric: tabular-nums; font-family: var(--font-mono); color: var(--text); }
.fee-zero { color: var(--accent); font-weight: 600; }
.bonus-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--accent-tint); color: var(--accent); font-weight: 600; font-size: 0.85rem;
  border: 1px solid var(--accent-soft); white-space: nowrap;
}
.cta-cell { text-align: right; }

/* ============================================================
   Values / why
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.value-item { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; text-align: left; }
.value-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent); margin-bottom: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 22px; border: 1px solid var(--accent-soft);
}
.value-item h3 { font-size: 1.15rem; margin: 0 0 8px; }
.value-item p { margin: 0; font-size: 0.95rem; }

/* ============================================================
   Steps (how it works)
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; position: relative;
}
.step-num {
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; color: #06120D;
  background: var(--accent); width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin: 0 0 8px; }
.step p { margin: 0; font-size: 0.95rem; }

/* ============================================================
   Editorial long-form
   ============================================================ */
.prose { max-width: 740px; margin: 0 auto; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { font-family: var(--font-head); font-size: 1.3rem; margin: 1.5em 0 0.4em; }
.prose p, .prose ul, .prose ol { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 0.4em; color: var(--text-muted); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.callout {
  background: var(--highlight-soft); border: 1px solid #4A3A10; border-left: 3px solid var(--highlight);
  border-radius: var(--radius); padding: 18px 20px; margin: 24px 0;
}
.callout strong { color: var(--highlight); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--accent); font-weight: 400; transition: transform .2s var(--ease); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 26px 22px; color: var(--text-muted); font-size: 0.98rem; line-height: 1.7; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-tint), var(--highlight-soft));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 56px 40px; text-align: center;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Exchange detail page
   ============================================================ */
.detail-hero { padding: 64px 0 32px; }
.breadcrumb { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.detail-main h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.detail-meta { display: flex; gap: 22px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.92rem; margin: 16px 0 28px; }
.detail-meta strong { color: var(--text); font-weight: 600; }
.detail-main h2 { font-size: 1.5rem; margin-top: 1.4em; }
.summary-card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; position: sticky; top: 96px; box-shadow: var(--shadow-md);
}
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 0.95rem; }
.summary-row:last-of-type { border-bottom: none; }
.summary-row span:first-child { color: var(--text-muted); }
.summary-row span:last-child { font-weight: 600; color: var(--text); font-family: var(--font-mono); }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 36px 0; }
.proscons h3 { font-family: var(--font-head); font-size: 1.15rem; margin: 0 0 12px; }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { padding: 8px 0 8px 28px; position: relative; color: var(--text-muted); font-size: 0.98rem; line-height: 1.55; }
.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cons li::before { content: "−"; position: absolute; left: 0; color: var(--highlight); font-weight: 700; font-size: 1.1em; }
.feature-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 28px; }
.feature-tag { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--bg-tint); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border); padding: 56px 0 36px; margin-top: 80px;
  background: var(--bg-soft); color: var(--text-muted); font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 36px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); font-weight: 700; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }
.disclaimer { border-top: 1px solid var(--border); padding-top: 28px; font-size: 0.82rem; color: var(--text-dim); line-height: 1.7; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--border); padding: 12px 0;
  }
  .nav-links.open li { padding: 14px 28px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric { border-bottom: 1px solid var(--hairline); }
  .metric:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .metric:nth-child(even) { border-right: none; }
  .programs-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .proscons { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .cmp-table thead th.hide-sm, .cmp-table tbody td.hide-sm { display: none; }
}

@media (max-width: 640px) {
  .table-wrap { display: none; }
  .section { padding: 56px 0; }
  h1 { font-size: 2.1rem; }
}
