:root {
  color-scheme: light;
  --ink: #1d2527;
  --muted: #5e6a6d;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d9ddd8;
  --teal: #097b78;
  --teal-dark: #045e5b;
  --amber: #f1a33c;
  --red: #c44d42;
  --blue: #305a8c;
  --shadow: 0 18px 55px rgba(23, 38, 42, .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);
  letter-spacing: 0;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(251, 250, 246, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; }
.nav { display: flex; align-items: center; gap: 4px; overflow-x: auto; max-width: 760px; }
.nav-link, .header-pricing {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 9px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link.active, .nav-link:hover, .header-pricing:hover { color: var(--ink); background: #eef1eb; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 72px) 34px;
  min-height: calc(100vh - 68px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9, 123, 120, .08) 1px, transparent 1px),
    linear-gradient(rgba(48, 90, 140, .07) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 74px); line-height: .96; margin-bottom: 20px; max-width: 820px; }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; margin-bottom: 14px; }
h3 { font-size: 22px; line-height: 1.15; margin-bottom: 10px; }
.lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.48; color: #334044; max-width: 760px; }
.hero-actions, .tool-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.button {
  border: 0;
  border-radius: 8px;
  min-height: 46px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--teal); color: #fff; box-shadow: 0 14px 28px rgba(9, 123, 120, .22); }
.button.primary:hover { background: var(--teal-dark); }
.button.secondary { background: #ffffff; color: var(--ink); border: 1px solid var(--line); }
.fine-print { color: var(--muted); font-size: 13px; line-height: 1.5; }
.tool-panel {
  background: rgba(255, 255, 255, .94);
  border: 1px solid #cfd8d4;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}
.tool-head, .receipt-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.score-pill {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(var(--teal) 0 82%, #e4e8e5 82% 100%);
  font-weight: 900;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.control-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
label span { display: block; color: var(--muted); font-size: 13px; font-weight: 800; margin-bottom: 6px; }
select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}
textarea { resize: vertical; line-height: 1.45; min-height: 128px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result-block, .receipt, .evidence-card, .price-card, .page-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.result-block { padding: 14px; }
.label, .capability-id { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.result-block strong { display: block; margin: 7px 0; font-size: 18px; }
.result-block p { margin-bottom: 0; color: var(--muted); line-height: 1.45; }
.band { padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 72px); }
.section-head { max-width: 780px; margin-bottom: 26px; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.55; }
.split-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .55fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}
.steps { padding-left: 22px; line-height: 1.8; color: #334044; }
.receipt {
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--amber);
}
.receipt ul, .price-card ul { padding-left: 20px; line-height: 1.75; color: #364446; }
.meter { height: 12px; border-radius: 999px; background: #e4e8e5; overflow: hidden; margin: 18px 0; }
.meter span { display: block; height: 100%; background: var(--teal); border-radius: inherit; }
.evidence-band { background: #eff3ef; }
.evidence-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.evidence-card { padding: 18px; min-height: 260px; }
.evidence-card p { color: #39484b; line-height: 1.48; }
.page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.page-tile { display: block; padding: 18px; text-decoration: none; min-height: 190px; }
.page-tile span { color: var(--teal-dark); font-size: 12px; text-transform: uppercase; font-weight: 900; letter-spacing: .06em; }
.page-tile strong { display: block; margin: 10px 0; font-size: 19px; line-height: 1.18; }
.page-tile p { color: var(--muted); line-height: 1.45; }
.page-tile.current { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.pricing-band { background: #17262a; color: #f7fbf9; }
.pricing-band .section-head p, .pricing-band .fine-print { color: #c8d4d1; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { padding: 22px; color: var(--ink); position: relative; }
.price-card.featured { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber), 0 18px 46px rgba(0, 0, 0, .18); }
.featured-label { position: absolute; top: 14px; right: 14px; background: var(--amber); color: #1f1a12; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 900; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.price span { font-size: 44px; font-weight: 900; }
.price small { color: var(--muted); }
.prose { max-width: 860px; line-height: 1.72; font-size: 18px; }
.checkout-page {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, .45fr);
  gap: 32px;
  align-items: center;
  padding: clamp(42px, 8vw, 110px) clamp(18px, 5vw, 72px);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #10191c;
  color: #e7eeee;
}
.site-footer p { max-width: 680px; color: #bcc9c6; margin-bottom: 0; }
.site-footer div:last-child { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: flex-end; }
.site-footer a { color: #fff; }
.payment-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 25, 28, .42);
  backdrop-filter: blur(9px);
}
.payment-dialog {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .28);
}
@media (max-width: 1040px) {
  .hero, .split-band, .checkout-page { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .evidence-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .nav { width: 100%; }
  .header-pricing { display: none; }
  .hero { padding-top: 26px; }
  h1 { font-size: 42px; line-height: 1; }
  .tool-panel { padding: 16px; }
  .control-grid, .result-grid, .evidence-grid, .pricing-grid, .page-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .site-footer { flex-direction: column; }
  .site-footer div:last-child { justify-content: flex-start; }
}
