
:root {
  color-scheme: light;
  --ink: #14191f;
  --muted: #5d6874;
  --line: #d9e0df;
  --paper: #fbfcf7;
  --panel: #ffffff;
  --mint: #2d9c83;
  --mint-dark: #18735f;
  --coral: #d95c45;
  --amber: #e7a72f;
  --blue: #3c6fb6;
  --soft: #edf4ee;
  --shadow: 0 18px 50px rgba(28, 39, 49, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; }
.page-shell { min-height: 100vh; transition: filter 160ms ease; }
body.checkout-active .page-shell { filter: blur(2px); }
.site-header {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 247, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
}
nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--ink); }
.header-cta, .primary, .secondary, .link-button {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 760;
}
.primary, .header-cta, .link-button { background: var(--mint-dark); color: #fff; }
.primary:hover, .header-cta:hover, .link-button:hover { background: #0f5c4c; }
.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.secondary:hover { border-color: var(--ink); }
.block { width: 100%; margin-top: 10px; }
.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 24px;
  padding: 34px 28px 28px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}
.hero-copy { display: grid; gap: 16px; }
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 74px); line-height: 0.95; letter-spacing: 0; margin-bottom: 0; }
h2 { font-size: clamp(26px, 4vw, 42px); line-height: 1.05; letter-spacing: 0; margin-bottom: 10px; }
h3 { font-size: 19px; margin-bottom: 8px; }
.lede { font-size: 18px; color: #34404b; max-width: 780px; margin-bottom: 0; }
.hero-points { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.hero-points span { border-left: 4px solid var(--amber); padding-left: 10px; }
.hero-actions, .modal-actions, .scanner-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.scanner-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 14px;
}
.scanner-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 720; }
select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}
textarea { resize: vertical; min-height: 150px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.toggle-grid label { display: flex; align-items: center; gap: 8px; color: #3c4650; font-weight: 640; }
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.score-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}
.score-grid span { display: block; font-size: 30px; line-height: 1; font-weight: 850; color: var(--mint-dark); }
.score-grid small { color: var(--muted); text-transform: uppercase; font-size: 11px; font-weight: 800; }
.risk-receipt { border-top: 1px solid var(--line); padding-top: 4px; }
.risk-receipt ul, .plan-card ul, .article-main ul, .article-main ol { padding-left: 20px; margin-bottom: 0; }
.risk-receipt li { margin-bottom: 6px; }
.trust-band, .compare-band {
  max-width: 1224px;
  margin: 10px auto 0;
  padding: 0 28px 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trust-band div, .compare-band article, .evidence-grid article, .article-aside, .plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.trust-band strong { display: block; }
.trust-band span, .muted, .annual-note, .volume, .disclaimer { color: var(--muted); }
.split-section {
  max-width: 1224px;
  margin: 0 auto;
  padding: 48px 28px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.step-list { display: grid; gap: 12px; margin-top: 18px; }
.step-list article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.step-list span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--amber);
  display: grid;
  place-items: center;
  font-weight: 850;
}
.step-list h3, .step-list p { grid-column: 2; }
.step-list p { margin-bottom: 0; color: var(--muted); }
.product-visual { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.evidence-section, .pricing-section, .legal, .article-grid {
  max-width: 1224px;
  margin: 0 auto;
  padding: 48px 28px;
}
.section-heading { max-width: 740px; margin-bottom: 22px; }
.section-heading p { color: var(--muted); }
.evidence-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.evidence-grid strong { color: var(--coral); }
.plan-card { display: grid; gap: 12px; align-content: start; position: relative; }
.plan-card.featured { border: 2px solid var(--mint-dark); box-shadow: var(--shadow); }
.plan-card.featured::before {
  content: "Default";
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--amber);
  color: var(--ink);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 820;
}
.price { margin: 0; color: var(--muted); }
.price span { font-size: 44px; color: var(--ink); font-weight: 850; }
.page-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 28px 34px;
}
.page-hero.compact { max-width: 860px; }
.page-hero h1 { margin: 8px 0 12px; }
.page-hero p { color: var(--muted); font-size: 18px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.article-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.article-main h2 { font-size: 24px; margin-top: 22px; }
.article-main h2:first-child { margin-top: 0; }
.article-main li { margin-bottom: 8px; }
.article-aside { position: sticky; top: 92px; }
.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 44px;
}
.legal h2 { font-size: 24px; margin-top: 24px; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px 28px 22px;
  background: #12171c;
  color: #f5f8f2;
}
.footer-grid {
  max-width: 1224px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 1fr 0.75fr;
  gap: 24px;
}
.site-footer h2 { font-size: 16px; margin-bottom: 12px; }
.site-footer a, .site-footer button { display: block; margin: 7px 0; color: #f5f8f2; background: transparent; padding: 0; border: 0; min-height: 0; text-align: left; }
.site-footer .brand { margin-bottom: 12px; }
.site-footer .muted, .fineprint { color: #b9c3bc; }
.fineprint { max-width: 1224px; margin: 28px auto 0; font-size: 13px; }
.checkout-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 25, 31, 0.42);
  backdrop-filter: blur(8px);
  z-index: 80;
}
.checkout-backdrop[hidden] { display: none; }
.checkout-modal {
  max-width: 520px;
  width: min(100%, 520px);
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
@media (max-width: 980px) {
  .site-header { position: static; height: auto; align-items: flex-start; padding: 16px; flex-wrap: wrap; }
  nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero, .split-section, .article-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 24px 16px; }
  .trust-band, .compare-band, .evidence-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-band, .compare-band, .evidence-section, .pricing-section, .legal, .article-grid, .page-hero, .split-section { padding-left: 16px; padding-right: 16px; }
  .article-aside { position: static; }
}
@media (max-width: 620px) {
  h1 { font-size: 38px; }
  .scanner-controls, .toggle-grid, .score-grid { grid-template-columns: 1fr; }
  .hero-actions, .scanner-actions, .modal-actions { align-items: stretch; }
  .hero-actions > *, .scanner-actions > *, .modal-actions > * { width: 100%; }
}
