:root {
  --bg: #ffffff;
  --ink: #16171d;
  --muted: #6b7280;
  --border: rgba(228, 228, 234, 0.8);
  --tint: #fafafa;
  --reddit: #ff4500;
  --reddit-strong: #d93a00;
  --emerald: #16a34a;
  --r-card: 20px;
  --r-tile: 14px;
  --r-btn: 12px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 1px 2px rgba(0, 0, 0, 0.05), 0 12px 28px -12px rgba(0, 0, 0, 0.16);
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --hand: "Caveat", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.8rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 0.9rem; cursor: pointer; border: 1px solid transparent;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--reddit-strong); color: #fff;
  box-shadow: 0 8px 30px -8px rgba(255, 69, 0, 0.5);
}
.btn-primary:hover { background: var(--reddit); box-shadow: 0 8px 30px -8px rgba(255, 69, 0, 0.7); }
.btn-ghost { background: #fff; border-color: #e4e4ea; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.btn-ghost:hover { border-color: rgba(22, 23, 29, 0.4); background: #f5f5f6; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f5f5f6; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--reddit); color: #fff;
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 32px; font-size: 0.9rem; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 104px; }
.glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px; border-radius: 50%;
  background: rgba(255, 69, 0, 0.07); filter: blur(120px); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; font-size: 0.75rem; font-weight: 500; color: var(--muted);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
h1 {
  margin-top: 24px; font-size: 3.6rem; line-height: 1.04; letter-spacing: -0.035em; font-weight: 700;
}
.accent { color: var(--reddit-strong); }
.lead { margin-top: 24px; max-width: 540px; font-size: 1.125rem; color: var(--muted); line-height: 1.65; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fineprint { margin-top: 20px; font-size: 0.85rem; color: var(--muted); }
.fineprint strong { color: var(--ink); }

/* Mock post */
.mock-wrap { position: relative; }
.scribble {
  position: absolute; top: -38px; right: 16px;
  font-family: var(--hand); font-size: 1.5rem; color: var(--reddit-strong); transform: rotate(-4deg);
}
.post-card {
  display: flex; gap: 14px; padding: 20px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-float);
}
.votes { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; font-size: 0.85rem; }
.votes svg { width: 20px; height: 20px; }
.votes .up { fill: var(--reddit); }
.votes .down { fill: #c7c7cf; }
.post-meta { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; flex-wrap: wrap; }
.sub-icon {
  width: 20px; height: 20px; border-radius: 50%; background: var(--reddit); color: #fff;
  display: grid; place-items: center; font-size: 0.6rem; font-weight: 800;
}
.post-body h3 { margin-top: 10px; font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.01em; }
.post-body p { margin-top: 8px; font-size: 0.88rem; }
.post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.78rem; color: var(--muted); }
.tag {
  padding: 3px 10px; border-radius: 999px; background: #f4f4f5; font-weight: 600; font-size: 0.72rem; color: var(--ink);
}
.tag-green { background: rgba(22, 163, 74, 0.1); color: var(--emerald); }
.mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px;
}
.mini-stats div {
  padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-tile);
  box-shadow: var(--shadow-card);
}
.mini-stats b { display: block; font-size: 1.05rem; }
.mini-stats span { font-size: 0.75rem; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--reddit-strong); font-weight: 500;
}
h2 { margin-top: 12px; font-size: 2.4rem; line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.section-lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; max-width: 560px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card);
  background: #fff; box-shadow: var(--shadow-card);
}
.step-num { font-family: var(--mono); font-size: 0.8rem; color: var(--reddit-strong); }
.step h3 { margin-top: 16px; font-size: 1.1rem; letter-spacing: -0.01em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.tier {
  position: relative; padding: 24px; border-radius: var(--r-card); background: #fff;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-card);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tier.active { border-color: var(--reddit); box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.1), var(--shadow-float); transform: translateY(-2px); }
.tier-name { font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.tier-price { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.tier-price span { font-size: 2.2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.tier-range { margin-top: 6px; font-family: var(--mono); font-size: 0.78rem; color: var(--ink); }
.badge {
  position: absolute; top: 20px; right: 20px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 69, 0, 0.1); color: var(--reddit-strong); font-size: 0.7rem; font-weight: 700;
}

/* Calculator */
.calc {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; margin-top: 24px;
  border: 1px solid var(--border); border-radius: var(--r-card); background: #fff;
  box-shadow: var(--shadow-float); overflow: hidden; scroll-margin-top: 90px;
}
.calc-left { padding: 32px; }
.calc-right { padding: 32px; background: #fcfcfc; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.calc-label { font-weight: 600; font-size: 1rem; }
.calc-input-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.calc-input-row input {
  width: 110px; height: 52px; text-align: center; font: 700 1.5rem var(--sans); color: var(--ink);
  border: 1px solid #e4e4ea; border-radius: var(--r-btn); outline: none; -moz-appearance: textfield;
}
.calc-input-row input::-webkit-outer-spin-button,
.calc-input-row input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-input-row input:focus { border-color: var(--reddit); box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.15); }
.step-btn {
  width: 52px; height: 52px; border-radius: var(--r-btn); border: 1px solid #e4e4ea; background: #fff;
  font-size: 1.4rem; cursor: pointer; color: var(--ink);
}
.step-btn:hover { background: #f5f5f6; }
input[type="range"] {
  width: 100%; margin-top: 24px; accent-color: var(--reddit);
}
.slider-marks {
  position: relative; height: 16px; margin-top: 4px; font-family: var(--mono); font-size: 0.7rem; color: var(--muted);
}
.slider-marks span { position: absolute; transform: translateX(-50%); }
.slider-marks span:nth-child(1) { left: 1%; }
.slider-marks span:nth-child(2) { left: calc(9 / 59 * 100%); }
.slider-marks span:nth-child(3) { left: calc(29 / 59 * 100%); }
.slider-marks span:nth-child(4) { left: 98%; }
.included { list-style: none; margin-top: 28px; display: grid; gap: 10px; font-size: 0.9rem; }
.included li { display: flex; gap: 10px; align-items: flex-start; }
.included li::before {
  content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(22, 163, 74, 0.12); color: var(--emerald);
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; margin-top: 1px;
}
.calc-tier { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-top: -6px; }
.calc-line { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); }
.calc-line.savings { color: var(--emerald); font-weight: 600; }
.calc-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px; margin-top: 4px; border-top: 1px dashed #e4e4ea;
  font-weight: 700;
}
.calc-total span:last-child { font-size: 2rem; letter-spacing: -0.03em; }
.nudge { min-height: 1.2em; font-size: 0.82rem; color: var(--reddit-strong); font-weight: 600; }
.nudge:empty { display: none; }

/* Who cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.card-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-tile);
  background: rgba(255, 69, 0, 0.08); font-size: 1.3rem;
}
.card h3 { margin-top: 18px; font-size: 1.1rem; }
.card p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-tile);
  padding: 18px 22px; box-shadow: var(--shadow-card);
}
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.2rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 0.93rem; }

/* Final CTA */
.final-cta {
  position: relative; overflow: hidden; text-align: center; padding: 72px 24px;
  border-radius: 28px; background: var(--ink); color: #fff;
}
.final-cta::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 69, 0, 0.45), transparent); pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta h2 { margin-top: 0; }
.final-cta p { margin: 12px 0 28px; color: rgba(255, 255, 255, 0.7); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 0.85rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 24px; }
.footer a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }
  .steps, .cards3, .tiers { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-right { border-left: 0; border-top: 1px solid var(--border); }
  .nav-links { display: none; }
  .section { padding: 72px 0; }
}
.tier { cursor: pointer; }
