:root {
  --bg: #ffffff;
  --ink: #171717;
  --muted: #5f646d;
  --line: rgba(0, 0, 0, 0.08);
  --soft: #f6f7f9;
  --blue: #0072f5;
  --blue-soft: #ebf5ff;
  --green: #0a7f42;
  --amber: #8a5a00;
  --shadow: rgba(0,0,0,.08) 0 0 0 1px, rgba(0,0,0,.04) 0 2px 2px, rgba(0,0,0,.04) 0 18px 34px -18px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "liga" 1;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 28px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: rgba(0,0,0,.08) 0 1px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.03em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  color: white; background: var(--ink);
  font-size: 12px; font-family: 'Geist Mono', monospace;
}
nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 500; }
nav a:hover { color: var(--ink); }
.nav-cta { padding: 10px 14px; border-radius: 999px; color: white; background: var(--ink); font-size: 14px; font-weight: 600; }

.section-shell { max-width: 1180px; margin: 0 auto; padding: 94px 24px; }
.hero { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 16px; font-family: 'Geist Mono', monospace; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.02; letter-spacing: -.06em; margin-bottom: 20px; max-width: 820px; }
.hero-subtitle { max-width: 680px; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.55; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 17px; border-radius: 10px; font-weight: 650; cursor: pointer; border: 0; }
.button.primary { background: var(--ink); color: white; }
.button.secondary { background: white; color: var(--ink); box-shadow: rgba(0,0,0,.12) 0 0 0 1px; }
.button.wide { width: 100%; }
.fineprint { color: #777d87; font-size: 13px; line-height: 1.5; }

.hero-card {
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f7f8fb);
  box-shadow: var(--shadow), rgba(0,0,0,.09) 0 30px 70px -35px;
}
.screen-top { display: flex; gap: 7px; padding: 6px 0 18px; }
.screen-top span { width: 11px; height: 11px; border-radius: 99px; background: #d9dce2; }
.recommendation-mini { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 26px; border-radius: 22px; background: #111; color: white; }
.recommendation-mini h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.06em; line-height: 1; margin-bottom: 14px; }
.recommendation-mini p { color: rgba(255,255,255,.72); line-height: 1.45; margin-bottom: 0; }
.tag { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--blue-soft); color: #0068d6; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.tag.best { background: rgba(255,255,255,.12); color: #9ed0ff; }
.score-ring { width: 98px; height: 98px; flex: 0 0 98px; border-radius: 50%; display: grid; place-items: center; align-content: center; border: 10px solid #2f9bff; background: #07111f; }
.score-ring strong { font-size: 30px; letter-spacing: -.05em; }
.score-ring span { font-size: 12px; color: rgba(255,255,255,.58); }
.mini-table { margin: 14px 0; display: grid; gap: 8px; }
.mini-table div { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: white; box-shadow: rgba(0,0,0,.08) 0 0 0 1px; }
.mini-table span { color: var(--muted); }
.warning-line { padding: 14px 16px; border-radius: 14px; color: #6b3f00; background: #fff7df; font-weight: 600; }

.finder-section { padding: 92px 24px; background: #f6f7f9; }
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -.065em; margin-bottom: 16px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.6; }
.finder-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 24px; align-items: start; }
.quiz-card, .result-card, .steps-grid article, .alerts, .deals-table-wrap { background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.quiz-card { padding: 24px; display: grid; gap: 18px; }
fieldset { margin: 0; padding: 18px; border: 0; border-radius: 16px; background: #fafafa; box-shadow: rgba(0,0,0,.07) 0 0 0 1px; }
legend { padding: 0 0 10px; font-weight: 700; letter-spacing: -.02em; }
label { display: block; padding: 8px 0; color: #363b44; line-height: 1.35; }
input[type="radio"] { accent-color: #171717; margin-right: 9px; }
.result-card { padding: 28px; position: sticky; top: 92px; }
.result-card h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.05; letter-spacing: -.06em; margin-bottom: 14px; }
.result-card > p:not(.tag) { color: var(--muted); line-height: 1.6; }
.result-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.result-metrics div { padding: 14px; border-radius: 14px; background: #f6f7f9; }
.result-metrics span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.result-metrics strong { font-size: 16px; }
.advice-box { padding: 18px; border-radius: 16px; background: #111; color: white; margin-bottom: 18px; }
.advice-box h4 { margin: 0 0 10px; }
.advice-box ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,.74); line-height: 1.55; }
.decision-box { padding: 16px; border-radius: 16px; background: #f6f7f9; margin: 0 0 14px; box-shadow: rgba(0,0,0,.07) 0 0 0 1px; }
.decision-box h4, .small-heading { margin: 0 0 10px; letter-spacing: -.02em; }
.decision-box p { color: #39404a; line-height: 1.5; margin-bottom: 12px; }
.max-pay { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #e2e5ea; }
.max-pay span { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.max-pay strong { text-align: right; }
.result-links, .card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.mini-link { display: inline-flex; align-items: center; min-height: 34px; padding: 8px 10px; border-radius: 999px; background: white; color: var(--ink); box-shadow: rgba(0,0,0,.12) 0 0 0 1px; font-size: 12px; font-weight: 750; }
.outcome-list { display: grid; gap: 8px; margin-bottom: 16px; }
.outcome-card { padding: 11px 12px; border-radius: 12px; background: #fafafa; box-shadow: rgba(0,0,0,.08) 0 0 0 1px; }
.outcome-card span { display: block; color: var(--blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.outcome-card strong { display: block; margin-top: 3px; }
.outcome-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }

.deals-section { padding-top: 88px; }
.compact-heading { max-width: 720px; }
.pick-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.pick-strip article { padding: 18px; border-radius: 18px; background: #111; color: white; box-shadow: var(--shadow); }
.pick-strip strong { display: block; font-size: 20px; letter-spacing: -.04em; margin: 8px 0; }
.pick-strip p { margin: 0; color: rgba(255,255,255,.66); line-height: 1.45; }
.pick-label { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.1); color: #9ed0ff; font-size: 12px; font-weight: 750; }
.deal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.filter-pill { min-height: 36px; padding: 8px 12px; border: 0; border-radius: 999px; background: #f6f7f9; color: #39404a; box-shadow: rgba(0,0,0,.1) 0 0 0 1px; font-weight: 750; cursor: pointer; }
.filter-pill.active { background: var(--ink); color: white; }
.deal-card { padding: 20px; border-radius: 20px; background: white; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.deal-card.featured-deal { box-shadow: rgba(0,114,245,.18) 0 0 0 1px, rgba(0,0,0,.05) 0 18px 38px -22px; }
.deal-topline { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.deal-card h3 { font-size: 24px; line-height: 1.04; letter-spacing: -.055em; margin: 2px 0 0; }
.deal-generation { margin: -6px 0 0; color: var(--muted); font-size: 13px; }
.deal-price { font-size: 28px; font-weight: 800; letter-spacing: -.055em; }
.deal-best { margin: 0; color: #363b44; line-height: 1.45; }
.deal-facts { display: grid; gap: 10px; margin: 0; }
.deal-facts div { padding-top: 10px; border-top: 1px solid #eceef2; }
.deal-facts dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.deal-facts dd { margin: 0; color: #444b55; font-size: 13px; line-height: 1.45; }
.deal-score { color: var(--muted); font-size: 13px; font-weight: 750; }
.card-actions { margin-top: auto; padding-top: 4px; }
.deals-table-wrap { overflow-x: auto; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.deals-table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #eceef2; vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: 'Geist Mono', monospace; }
td { font-size: 14px; line-height: 1.45; }
.verdict { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #eafaf1; color: var(--green); font-weight: 750; font-size: 12px; white-space: nowrap; }
.spec-section { padding-top: 52px; }
.spec-table { min-width: 860px; }

.how-section { padding: 92px 24px; background: #111; color: white; }
.how-section .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.steps-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-grid article { padding: 28px; background: #1b1b1f; color: white; box-shadow: rgba(255,255,255,.1) 0 0 0 1px; }
.steps-grid span { font-family: 'Geist Mono', monospace; color: #9ed0ff; font-weight: 700; }
.steps-grid h3 { font-size: 24px; letter-spacing: -.04em; margin: 16px 0 10px; }
.steps-grid p { color: rgba(255,255,255,.66); line-height: 1.55; margin-bottom: 0; }

.alerts { margin-top: 92px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.alerts h2 { font-size: clamp(34px, 4vw, 50px); letter-spacing: -.06em; line-height: 1; }
.alerts p { color: var(--muted); line-height: 1.6; }
.alert-form { display: grid; gap: 12px; }
.alert-form input, .alert-form select { width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; box-shadow: rgba(0,0,0,.12) 0 0 0 1px; background: white; }
.footer { padding: 34px 24px; color: #777d87; background: #f6f7f9; font-size: 13px; line-height: 1.5; display: flex; justify-content: space-between; gap: 24px; }
.footer p { margin: 0; max-width: 680px; }

@media (max-width: 900px) {
  .site-header { padding: 0 16px; }
  nav { display: none; }
  .hero, .finder-grid, .alerts, .pick-strip { grid-template-columns: 1fr; }
  .deal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 56px; min-height: auto; }
  .result-card { position: static; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer { display: block; }
  .footer p + p { margin-top: 12px; }
}

@media (max-width: 520px) {
  .nav-cta { display: none; }
  .section-shell, .finder-section, .how-section { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 34px; }
  .recommendation-mini { display: block; }
  .score-ring { margin-top: 18px; }
  .result-metrics { grid-template-columns: 1fr; }
  .deal-cards { grid-template-columns: 1fr; }
  th, td { padding: 14px; }
}
