/* ============ RESET + BASE ============ */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #fafafb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg: #fafafb;
  --bg-alt: #f3f4f8;
  --ink: #111225;
  --ink-soft: #4a4c68;
  --ink-mute: #8a8ca3;
  --line: #e6e7ef;
  --line-2: #d8dae7;
  --card: #ffffff;
  --yes: #16a34a;
  --yes-soft: #dcfce7;
  --no: #dc2626;
  --no-soft: #fee2e2;
  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-soft: #eef2ff;
  --warn: #d97706;
  --shadow: 0 4px 20px rgba(17,18,37,0.06), 0 1px 2px rgba(17,18,37,0.04);
  --shadow-lg: 0 20px 50px rgba(17,18,37,0.12), 0 4px 8px rgba(17,18,37,0.06);
  --radius: 14px;
  --radius-sm: 8px;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; background: rgba(79,70,229,0.08); color: var(--accent); padding: 1px 6px; border-radius: 4px; font-size: 0.9em; }
strong { color: var(--ink); }
em { font-style: italic; color: var(--ink-soft); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ============ NAV ============ */
.topnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(250,250,251,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700; font-size: 17px;
  display: flex; align-items: center; gap: 10px;
}
.logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; border-radius: 8px;
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700;
}
.navlinks { display: flex; gap: 28px; }
.navlinks a { color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.navlinks a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .navlinks { display: none; } }

/* ============ HERO ============ */
.hero {
  padding: 96px 28px 72px;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(124,58,237,0.12), transparent 60%),
    radial-gradient(800px 400px at 0% 30%, rgba(79,70,229,0.10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px; margin-bottom: 20px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 100px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}
.grad {
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 60%, #ec4899);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: 20px;
  max-width: 720px;
  color: var(--ink-soft);
  margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  border: 1px solid transparent; cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--ink); color: white;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: white; border-color: var(--ink); }
.btn.full { width: 100%; }
.btn.small { padding: 7px 12px; font-size: 13px; }

.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 860px;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.hero-metrics > div { display: flex; flex-direction: column; }
.hero-metrics .k {
  font-family: 'Fraunces', serif; font-size: 34px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-metrics .v { font-size: 13px; color: var(--ink-mute); }
@media (max-width: 700px) { .hero-metrics { grid-template-columns: 1fr; gap: 16px; } }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 20px; color: var(--ink);
}
.body { font-size: 17px; color: var(--ink-soft); max-width: 760px; margin: 0 0 20px; }
.body.small { font-size: 15px; }

/* ============ INTRO CALLOUTS ============ */
.callouts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.callout {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.callout .cicon { font-size: 28px; margin-bottom: 12px; }
.callout h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.callout p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) { .callouts { grid-template-columns: 1fr; } }

/* ============ MATH ============ */
.formula-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: 40px 0;
}
.formula-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.ftitle {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.formula {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px; font-weight: 500;
  padding: 18px 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e0e7ff; border-radius: var(--radius-sm);
  text-align: center;
  letter-spacing: 0.02em;
}
.formula-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .formula-grid { grid-template-columns: 1fr; } }

.intuition {
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 28px 32px; margin-top: 12px;
}
.intuition h3 { margin: 0 0 14px; font-size: 18px; }
.intuition ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.intuition li { margin-bottom: 10px; font-size: 15px; }

/* ============ SIMULATOR ============ */
.sim-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 32px;
}
.sim-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: white;
}
.sim-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #a5b4fc; text-transform: uppercase; margin-bottom: 4px; }
.sim-q { font-size: 20px; font-weight: 600; font-family: 'Fraunces', serif; }
.sim-header .btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: white; }
.sim-header .btn-ghost:hover { background: rgba(255,255,255,0.16); }

.sim-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 1px; background: var(--line);
}
.sim-panel { background: white; padding: 26px; }
.panel-title { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 18px; }
.panel-subtitle { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 10px; }

.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.outcome { padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.outcome.yes { background: linear-gradient(180deg, var(--yes-soft), white); border-color: #bbf7d0; }
.outcome.no { background: linear-gradient(180deg, var(--no-soft), white); border-color: #fecaca; }
.olabel {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 100px;
}
.outcome.yes .olabel { background: var(--yes); color: white; }
.outcome.no .olabel { background: var(--no); color: white; }
.oprice {
  font-family: 'Fraunces', serif;
  font-size: 40px; font-weight: 700; line-height: 1.1;
  margin: 8px 0 10px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.obar-wrap {
  height: 6px; background: rgba(0,0,0,0.07); border-radius: 100px; overflow: hidden;
  margin-bottom: 10px;
}
.obar { height: 100%; border-radius: 100px; transition: width .35s ease; }
.yes-bar { background: var(--yes); }
.no-bar { background: var(--no); }
.oshares { font-size: 12px; color: var(--ink-mute); font-family: 'JetBrains Mono', monospace; }

.pricechart-wrap { margin-top: 22px; }
#priceChart { width: 100%; height: 180px; display: block; }

/* TRADE panel */
.seg { display: flex; gap: 0; background: var(--bg-alt); border-radius: 10px; padding: 4px; margin-bottom: 12px; }
.seg-outcome { margin-bottom: 16px; }
.seg-btn {
  flex: 1; padding: 9px 12px; font-size: 14px; font-weight: 600;
  background: transparent; border: 0; cursor: pointer;
  border-radius: 7px; color: var(--ink-soft);
  font-family: inherit; transition: all .15s;
}
.seg-btn.active { background: white; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.outcome-btn[data-outcome="yes"].active { background: var(--yes); color: white; }
.outcome-btn[data-outcome="no"].active { background: var(--no); color: white; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.field.inline { gap: 10px; }
.field input[type="number"] {
  padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 16px;
  background: var(--bg-alt); color: var(--ink);
}
.field input[type="number"]:focus { outline: 2px solid var(--accent); border-color: var(--accent); background: white; }
.field input[type="range"] { accent-color: var(--accent); }

.quote-box {
  background: var(--bg-alt); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 16px;
}
.quote-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 13px; color: var(--ink-soft);
}
.quote-row span:last-child { color: var(--ink); font-weight: 600; }
.quote-row + .quote-row { border-top: 1px solid var(--line); }

.mini-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--ink-mute); text-transform: uppercase; margin: 18px 0 10px; }
.hint { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }

/* BOTTOM panels */
.sim-bottom {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
}
.pnl-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 16px; }
.pnl-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-val { font-size: 18px; font-weight: 600; color: var(--ink); }
.stat-val.pos { color: var(--yes); }
.stat-val.neg { color: var(--no); }

.pnl-bar-wrap { margin-top: 20px; }
.pnl-bar-label { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.pnl-bar-bg { height: 10px; background: var(--bg-alt); border-radius: 100px; overflow: hidden; border: 1px solid var(--line); }
.pnl-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--yes), var(--warn) 70%, var(--no));
  border-radius: 100px; transition: width .3s ease;
}

.log {
  max-height: 280px; overflow-y: auto;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
}
.log-empty { color: var(--ink-mute); font-style: italic; }
.log-entry {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 10px; border-bottom: 1px dashed var(--line);
}
.log-entry:last-child { border-bottom: none; }
.log-entry .lside { color: var(--ink-soft); }
.log-entry .lside.buy-yes { color: var(--yes); font-weight: 600; }
.log-entry .lside.sell-yes { color: var(--yes); font-weight: 600; }
.log-entry .lside.buy-no { color: var(--no); font-weight: 600; }
.log-entry .lside.sell-no { color: var(--no); font-weight: 600; }
.log-entry .lcost { color: var(--ink); font-weight: 600; }

.noise-controls {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
}
.noise-controls button { align-self: flex-start; }
.noise-hint { font-size: 12px; color: var(--ink-mute); }

@media (max-width: 900px) {
  .sim-grid { grid-template-columns: 1fr; }
  .sim-bottom { grid-template-columns: 1fr; }
  .pnl-row { grid-template-columns: repeat(2, 1fr); }
}

.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.tip {
  background: var(--accent-soft); border: 1px solid #c7d2fe;
  border-radius: var(--radius-sm); padding: 16px 18px;
  font-size: 14px; color: var(--ink-soft);
}
.tip strong { color: var(--accent); }
@media (max-width: 900px) { .tips { grid-template-columns: 1fr; } }

/* ============ DEPTH SECTION ============ */
.depth-sim {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 32px; margin: 40px 0 48px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.depth-controls .field { margin-bottom: 24px; }
.depth-stats { display: flex; flex-direction: column; gap: 14px; }
.depth-stats > div { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.depth-stats > div span:last-child { color: var(--ink); font-weight: 600; }
.depth-viz { display: flex; flex-direction: column; gap: 10px; }
#depthChart { width: 100%; height: 260px; }
.depth-legend { font-size: 12px; color: var(--ink-mute); display: flex; align-items: center; gap: 8px; }
.depth-legend .dot { width: 10px; height: 10px; background: var(--accent); border-radius: 100px; display: inline-block; }

.bcompare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.bcol {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow);
}
.bcol h4 { margin: 0 0 12px; font-size: 16px; color: var(--ink); }
.bcol ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 14px; }
.bcol li { margin-bottom: 6px; }

@media (max-width: 900px) {
  .depth-sim { grid-template-columns: 1fr; }
  .bcompare { grid-template-columns: 1fr; }
}

/* ============ MULTI-OUTCOME ============ */
.multi-shell { margin: 32px 0; }
.multi-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 28px;
}
.multi-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.multi-outcomes { display: flex; flex-direction: column; gap: 14px; }
.multi-row {
  display: grid; grid-template-columns: 180px 1fr auto auto; gap: 16px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-alt); border: 1px solid var(--line);
}
.multi-name { font-weight: 600; color: var(--ink); }
.multi-name .sub { display: block; font-size: 11px; font-weight: 500; color: var(--ink-mute); font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.multi-bar-wrap { height: 22px; background: white; border-radius: 100px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.multi-bar { height: 100%; border-radius: 100px; transition: width .4s ease; }
.multi-bar.c0 { background: #4f46e5; }
.multi-bar.c1 { background: #0ea5e9; }
.multi-bar.c2 { background: #f59e0b; }
.multi-bar.c3 { background: #ef4444; }
.multi-pct { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 15px; min-width: 60px; text-align: right; color: var(--ink); }
.multi-buy { padding: 7px 14px; font-size: 13px; font-weight: 600; border: 1px solid var(--line-2); background: white; border-radius: 8px; cursor: pointer; font-family: inherit; transition: all .15s; }
.multi-buy:hover { background: var(--ink); color: white; border-color: var(--ink); }

@media (max-width: 760px) {
  .multi-row { grid-template-columns: 1fr auto; gap: 10px; }
  .multi-bar-wrap { grid-column: 1/-1; order: 3; }
}

/* ============ ECONOMICS / KL ============ */
.big-formula {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #e0e7ff;
  border-radius: var(--radius);
  padding: 36px 28px;
  margin: 32px 0;
  box-shadow: var(--shadow);
}
.bf-main {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: white;
  text-align: center;
}
.bf-sub {
  font-size: 13px; color: #a5b4fc;
  font-family: 'Inter', sans-serif;
}

.kl-widget {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 24px; margin: 40px 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.kl-controls { display: flex; flex-direction: column; gap: 20px; }
.kl-slider { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.kl-slider label { font-weight: 500; }
.kl-slider input[type="range"] { accent-color: var(--accent); width: 100%; }
.kl-bar-wrap { height: 10px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.kl-bar { height: 100%; border-radius: 100px; transition: width .25s ease; }
.kl-bar.init { background: linear-gradient(90deg, #94a3b8, #64748b); }
.kl-bar.true { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.kl-results {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px;
  align-content: start;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.kl-stat { display: flex; flex-direction: column; gap: 6px; }
.kl-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-mute); font-weight: 600; }
.kl-val { font-size: 22px; font-weight: 700; color: var(--ink); }
.kl-val.neg { color: var(--no); }
.kl-progress { grid-column: 1 / -1; margin-top: 4px; }
.kl-progress-lbl { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }

@media (max-width: 800px) {
  .kl-widget { grid-template-columns: 1fr; }
  .kl-results { grid-template-columns: 1fr 1fr; }
}

.examples-table {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow); margin: 32px 0 40px;
}
.examples-table table { width: 100%; border-collapse: collapse; }
.examples-table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
  color: var(--ink-mute); text-transform: uppercase;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.examples-table td {
  padding: 12px 12px; font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.examples-table tbody tr:last-child td { border-bottom: none; }
.examples-table td:first-child, .examples-table td:last-child { color: var(--ink); font-weight: 600; }
.examples-table tr.max-row td { background: rgba(79,70,229,0.05); }
.examples-table tr.max-row td:last-child { color: var(--accent); }

.subhead {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px; letter-spacing: -0.01em;
  margin: 56px 0 14px; color: var(--ink);
}

/* ============ CPMM ============ */
.cpmm-shell { margin-top: 32px; }
.cpmm-grid { grid-template-columns: 1fr 1fr; }
.cpmm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cpmm-tile {
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: var(--radius-sm);
}
.cpmm-tile.wide { grid-column: 1 / -1; }
.cpmm-label { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-bottom: 4px; }
.cpmm-val { font-size: 22px; font-weight: 700; color: var(--ink); }

.cpmm-lp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.cpmm-stat { display: flex; flex-direction: column; gap: 4px; }
.cpmm-stat .stat-val { font-size: 22px; font-weight: 700; }
.cpmm-stat .stat-val.neg { color: var(--no); }
.cpmm-stat .stat-val.pos { color: var(--yes); }

.lp-bar-wrap { margin: 12px 0 18px; }
.cpmm-explain {
  background: var(--accent-soft); border: 1px solid #c7d2fe;
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.cpmm-explain p { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

.cpmm-actions { border-top: 1px solid var(--line); }
.cpmm-btns {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.cpmm-btns .btn { font-size: 13px; padding: 10px 8px; }
@media (max-width: 900px) {
  .cpmm-grid { grid-template-columns: 1fr; }
  .cpmm-btns { grid-template-columns: repeat(3, 1fr); }
  .cpmm-lp { grid-template-columns: 1fr; }
}

.compare-table {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow); margin: 24px 0 40px;
  overflow-x: auto;
}
.compare-table table { width: 100%; border-collapse: collapse; }
.compare-table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
  color: var(--ink-mute); text-transform: uppercase;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.compare-table td {
  padding: 14px 14px; font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--ink); font-weight: 600; width: 28%; }

/* ============ DOWNSIDES ============ */
.down-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 36px;
}
.down-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  position: relative;
}
.dnum {
  font-family: 'Fraunces', serif; font-size: 38px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-2);
  line-height: 1; margin-bottom: 10px;
}
.down-card h3 { margin: 0 0 10px; font-size: 17px; color: var(--ink); }
.down-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.verdict {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #e0e7ff; padding: 40px 44px; border-radius: var(--radius);
  margin-top: 8px;
}
.verdict h3 { margin: 0 0 14px; font-size: 22px; font-family: 'Fraunces', serif; color: white; }
.verdict p { margin: 0; font-size: 16px; line-height: 1.7; color: #c7d2fe; }

@media (max-width: 900px) { .down-grid { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.foot { background: var(--ink); color: #a5b4fc; padding: 44px 0 32px; margin-top: 60px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.fbrand { color: white; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.fmeta { font-size: 13px; color: #8a8ca3; margin-top: 6px; }
.flinks { display: flex; gap: 24px; font-size: 13px; flex-wrap: wrap; }
.flinks a { color: #a5b4fc; }
.flinks a:hover { color: white; }
