:root {
  color-scheme: light;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --surface-soft: #f2f7f5;
  --ink: #17211f;
  --muted: #5f6f69;
  --line: #dce5df;
  --green: #143d3a;
  --green-soft: #e5f1ec;
  --blue: #255f85;
  --blue-soft: #e7f0f6;
  --amber: #d97706;
  --amber-soft: #fff4dd;
  --red: #a83f32;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
p { line-height: 1.62; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 44px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: #fffaf0;
  font-size: 13px;
}
.nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 720; }
.nav a:hover { color: var(--blue); }
.nav-cta, .button {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.primary, .nav-cta { background: var(--green); color: #fffaf0; box-shadow: 0 10px 22px rgba(20, 61, 58, 0.18); }
.secondary { background: var(--surface); color: var(--green); border-color: var(--line); }
.button:hover, .nav-cta:hover { transform: translateY(-1px); }
.full { width: 100%; }
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(24px, 5vw, 54px) clamp(16px, 5vw, 72px) 38px;
}
.hero h1, .subhero h1 {
  margin: 10px 0 14px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.98;
  max-width: 980px;
}
.hero-lede, .subhero p { max-width: 760px; color: var(--muted); font-size: 18px; }
.eyebrow {
  display: inline-flex;
  color: var(--blue);
  font-size: 12px;
  font-weight: 860;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.proof-row span, .status-pill, .featured-label {
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 780;
}
.workbench {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(37, 95, 133, 0.14);
  overflow: hidden;
}
.workbench-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.workbench-head div { display: grid; gap: 3px; }
.workbench-head span { color: var(--muted); font-size: 13px; }
.scan-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 16px; }
label, fieldset { min-width: 0; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 740; color: #31413d; }
select, input[type="range"] { width: 100%; }
select {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 42px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  gap: 7px;
}
legend { font-size: 12px; color: var(--muted); font-weight: 820; }
fieldset label { display: flex; align-items: center; gap: 7px; font-weight: 650; }
.scan-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--green-soft);
  border-top: 1px solid var(--line);
}
.score-ring {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  border: 10px solid var(--green);
  display: grid;
  place-items: center;
  background: #fff;
}
.score-ring span { font-size: 26px; font-weight: 900; }
.score-ring small { margin-top: -22px; color: var(--muted); }
.route-table { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.route-table div { padding: 14px; border-right: 1px solid var(--line); display: grid; gap: 5px; }
.route-table div:last-child { border-right: 0; }
.route-table span { color: var(--muted); font-size: 12px; font-weight: 780; }
.route-table strong { overflow-wrap: anywhere; }
.section-band { padding: clamp(34px, 6vw, 74px) clamp(16px, 5vw, 72px); border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr); gap: clamp(22px, 5vw, 68px); align-items: start; }
.section-head { max-width: 760px; margin-bottom: 24px; }
.section-head h2, .split h2, .legal h1 { font-size: clamp(28px, 4vw, 48px); margin: 8px 0 10px; line-height: 1.05; }
.evidence-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}
.evidence-panel ul, .price-card ul, .clean-list { padding-left: 20px; line-height: 1.7; color: #31413d; }
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.workflow-grid .section-head { grid-column: 1 / -1; }
.workflow-grid article, .price-card, .intent-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}
.workflow-grid article span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: var(--amber);
  font-weight: 900;
}
.pricing-section { background: #f5f8f5; }
.billing-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: var(--surface);
}
.billing-option {
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 9px 12px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  color: var(--muted);
}
.billing-option.active { background: var(--green); color: #fffaf0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-card { position: relative; display: grid; align-content: start; gap: 10px; }
.price-card.featured { border-color: var(--green); box-shadow: 0 18px 46px rgba(20, 61, 58, 0.12); }
.featured-label { width: fit-content; background: var(--amber-soft); color: #8a4f00; }
.price-line { display: flex; align-items: baseline; gap: 5px; margin: 8px 0; }
.price-value { font-size: 42px; font-weight: 920; }
.price-caption, .fine-print { color: var(--muted); font-size: 13px; }
.intent-grid { background: #fff; }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.intent-link { display: grid; gap: 8px; }
.intent-link span { color: var(--blue); font-size: 12px; font-weight: 860; text-transform: uppercase; }
.intent-link small { color: var(--muted); line-height: 1.5; }
.subhero {
  padding: clamp(40px, 7vw, 86px) clamp(16px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.intent-hero { background: var(--surface-soft); }
.checkout-shell {
  padding: clamp(34px, 6vw, 72px) clamp(16px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 6vw, 74px);
  align-items: start;
}
.checkout-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 14px; margin: 24px 0; }
.checkout-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  position: sticky;
  top: 84px;
}
.checkout-summary strong { font-size: 22px; }
.checkout-summary #checkoutSummaryPrice { font-size: 34px; font-weight: 900; color: var(--green); margin: 14px 0 2px; }
.legal { max-width: 860px; padding: clamp(34px, 6vw, 80px) clamp(16px, 5vw, 72px); }
.legal h2 { margin-top: 28px; }
.success { min-height: 52vh; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(150px, 0.5fr));
  gap: 22px;
  padding: 32px clamp(16px, 5vw, 72px);
  background: var(--green);
  color: #fffaf0;
}
.site-footer p, .site-footer span { color: rgba(255, 250, 240, 0.72); }
.site-footer div { display: grid; align-content: start; gap: 8px; }
.payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(23, 33, 31, 0.32);
  backdrop-filter: blur(6px);
}
.payment-overlay[hidden] { display: none; }
.payment-dialog {
  width: min(420px, calc(100vw - 32px));
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}
.payment-dialog button { margin-top: 12px; }
@media (max-width: 980px) {
  .hero, .split, .checkout-shell { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .pricing-grid, .workflow-grid, .link-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .nav-cta { flex: 1; }
  .hero h1, .subhero h1 { font-size: 38px; }
  .scan-form, .checkout-controls { grid-template-columns: 1fr; }
  .route-table { grid-template-columns: 1fr; }
  .route-table div { border-right: 0; border-bottom: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr; }
}