
:root {
  color-scheme: light;
  --bg: #f6f8f5;
  --ink: #19212b;
  --muted: #5b6673;
  --line: #d7ded9;
  --surface: #ffffff;
  --surface-2: #eef5f1;
  --green: #13715f;
  --green-dark: #0d4f47;
  --amber: #c98217;
  --blue: #2f5f8f;
  --shadow: 0 18px 48px rgba(22, 31, 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;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a { color: var(--green-dark); }
button, input, select { font: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(246, 248, 245, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
}
.nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nav-link, .header-pricing {
  color: #334044;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-link.active, .nav-link:hover, .header-pricing { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
}
.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}
h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
p { margin: 0 0 14px; }
.lead { color: #38464d; font-size: clamp(17px, 2vw, 21px); max-width: 720px; }
.hero-actions, .tool-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 18px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
}
.button.primary { background: var(--green); color: #fff; border-color: var(--green); }
.button.secondary { background: #fff; }
.hero-facts {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.hero-facts div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}
dt { font-weight: 900; color: var(--green-dark); }
dd { margin: 0; color: var(--muted); }
.tool-panel, .receipt, .evidence-card, .page-tile, .price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.tool-panel {
  padding: 18px;
  box-shadow: var(--shadow);
}
.tool-head, .receipt-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.score-pill {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) 0 86%, #e4e8e5 86% 100%);
  color: var(--ink);
  font-weight: 900;
  box-shadow: inset 0 0 0 8px #fff;
}
.visual-asset {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 168px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #25323b;
  border-radius: 8px;
  background: #111b20;
  color: #ecf4f1;
}
.vector-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  min-height: 132px;
  padding: 10px;
  border-radius: 8px;
  background: #18252c;
}
.vector-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #d99b36, #13715f);
}
.flow-lines {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: center;
}
.flow-lines b {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}
.flow-lines i {
  height: 12px;
  width: 2px;
  background: #d99b36;
  margin-left: 18px;
}
.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.control-grid .wide { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-weight: 850; color: #334044; }
label span { font-size: 13px; }
input, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
}
.result-grid {
  display: grid;
  grid-template-columns: .74fr .74fr 1.2fr;
  gap: 10px;
  margin-top: 14px;
}
.result-block { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.label, .capability-id { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.result-block strong { display: block; margin: 7px 0; font-size: 20px; }
.result-block p { margin-bottom: 0; color: var(--muted); line-height: 1.45; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: #26343a; }
.band { padding: clamp(42px, 6vw, 82px) clamp(18px, 5vw, 72px); }
.section-head { max-width: 860px; 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(--green); border-radius: inherit; }
.evidence-band { background: #edf1ed; }
.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(--green-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(--green); box-shadow: inset 0 0 0 1px var(--green); }
.pricing-band { background: #172026; color: #f7fbf9; }
.pricing-band .section-head p, .pricing-band .fine-print { color: #c8d4d1; }
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: #243038;
  border: 1px solid #41515a;
  border-radius: 8px;
}
.billing-toggle button {
  border: 0;
  border-radius: 8px;
  min-width: 96px;
  padding: 10px 14px;
  color: #d9e4e1;
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.billing-toggle button.active { background: #fff; color: var(--ink); }
.pricing-head { display: flex; justify-content: space-between; gap: 24px; max-width: none; align-items: end; }
.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); }
.fine-print { font-size: 14px; }
.prose { max-width: 900px; 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);
}
.checkout-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.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: 720px; 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-backdrop[hidden] { display: none; }
.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: 1080px) {
  .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)); }
  .pricing-head { align-items: start; flex-direction: column; }
}
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .nav { width: 100%; justify-content: flex-start; }
  .header-pricing { display: none; }
  .hero { padding-top: 18px; gap: 16px; }
  h1 { font-size: 34px; line-height: 1.04; margin-bottom: 12px; }
  .lead { font-size: 16px; line-height: 1.42; }
  .hero-actions, .tool-actions { margin: 14px 0 12px; }
  .hero-facts { display: none; }
  .tool-head h2 { font-size: 24px; }
  .score-pill { width: 54px; height: 54px; }
  .visual-asset { grid-template-columns: 1fr; min-height: auto; }
  .control-grid, .result-grid, .evidence-grid, .pricing-grid, .page-grid, .checkout-summary { grid-template-columns: 1fr; }
  .hero-facts div { grid-template-columns: 1fr; gap: 4px; }
  .button { width: 100%; }
  .billing-toggle { width: 100%; }
  .billing-toggle button { flex: 1; min-width: 0; }
  .site-footer { flex-direction: column; }
  .site-footer div:last-child { justify-content: flex-start; }
}
