
:root {
  --bg: #f5f7f2;
  --ink: #101417;
  --muted: #64706a;
  --panel: #ffffff;
  --line: #d9e1d8;
  --dark: #111827;
  --green: #21b47a;
  --blue: #276ef1;
  --amber: #f2b84b;
  --red: #e85f55;
  --violet: #7c5cff;
  --shadow: 0 24px 70px rgba(16, 20, 23, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
body.checkout-open { overflow: hidden; }
body.checkout-open main, body.checkout-open .site-header, body.checkout-open .site-footer { filter: blur(3px); }
a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 242, .94);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 900; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
}
.site-header nav { display: flex; gap: 2px; align-items: center; }
.site-header nav a {
  border-radius: 8px;
  padding: 9px 11px;
  color: #47544e;
  font-size: 14px;
}
.site-header nav a:hover { background: #e9eee8; color: var(--ink); }
.header-cta, .primary-action, .secondary-action, .ghost-action, .site-footer button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 17px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 900;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.header-cta, .primary-action { background: var(--dark); color: #fff; box-shadow: 0 14px 30px rgba(17, 24, 39, .16); }
.header-cta:hover, .primary-action:hover { transform: translateY(-1px); background: #0b1220; }
.secondary-action { background: var(--panel); color: var(--ink); border-color: var(--line); }
.secondary-action:hover { transform: translateY(-1px); border-color: #9dad9f; }
.ghost-action { background: transparent; border-color: var(--line); color: #33413a; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1280px;
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 74px) clamp(16px, 4vw, 56px);
}
.pill, .eyebrow {
  color: #17694d;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #bad7c9;
  border-radius: 8px;
  background: #eaf5ef;
  letter-spacing: 0;
  text-transform: none;
}
.pill span { width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 18px 0 20px;
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: .98;
  letter-spacing: 0;
}
.hero-lede {
  max-width: 680px;
  color: #495852;
  font-size: 19px;
  line-height: 1.62;
}
.hero-actions, .page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}
.trust-row span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
  padding: 12px;
  color: #53615a;
  font-size: 13px;
}
.scanner-console {
  overflow: hidden;
  border: 1px solid #c8d2c7;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: #111827;
  color: #fff;
  padding: 13px 15px;
}
.console-top span { width: 10px; height: 10px; border-radius: 50%; }
.console-top span:nth-child(1) { background: var(--red); }
.console-top span:nth-child(2) { background: var(--amber); }
.console-top span:nth-child(3) { background: var(--green); }
.console-top strong { margin-left: auto; font-size: 13px; }
.audit-form { padding: 22px; }
.audit-form label { display: block; color: #22302a; font-weight: 850; }
.audit-form textarea {
  display: block;
  width: 100%;
  min-height: 142px;
  margin-top: 10px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbf7;
  color: var(--ink);
  outline: none;
  padding: 14px;
  line-height: 1.55;
}
.audit-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39, 110, 241, .12); }
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.signal-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: #fff;
  font-size: 14px;
}
.signal-grid input { accent-color: var(--green); }
.console-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.audit-output {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  background: #f0f4ef;
  padding: 20px 22px 22px;
}
.score-ring {
  display: grid;
  place-items: center;
  text-align: center;
  aspect-ratio: 1;
  border-radius: 8px;
  background: conic-gradient(var(--red) 0 36%, var(--amber) 36% 64%, var(--green) 64% 100%);
  color: #fff;
}
.score-ring strong { display: block; font-size: 46px; line-height: 1; }
.score-ring span { max-width: 110px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.finding-stack { display: grid; gap: 10px; }
.finding-stack article, .receipt-panel, .feature-card, .plan-card, .article-card, .sticky-note, .checkout-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.finding-stack article { padding: 14px; }
.finding-stack b {
  display: inline-flex;
  border-radius: 999px;
  background: #ffe3df;
  color: #9d231b;
  padding: 5px 9px;
  font-size: 12px;
  margin-bottom: 9px;
}
.finding-stack span { display: block; font-weight: 900; }
.finding-stack p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.section {
  border-top: 1px solid var(--line);
  padding: clamp(58px, 7vw, 96px) clamp(16px, 4vw, 56px);
}
.section > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-heading { max-width: 760px; margin: 0 auto 38px 0; }
.section-heading.centered { margin-left: auto; text-align: center; }
.section-heading h2, .split-band h2 {
  font-size: clamp(31px, 4.8vw, 56px);
  line-height: 1.03;
  margin-bottom: 16px;
}
.section-heading p, .split-band p { color: var(--muted); line-height: 1.7; }
.feature-grid, .plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card, .plan-card, .article-card, .sticky-note { padding: 22px; }
.feature-card span {
  display: block;
  width: 58px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--amber), var(--red));
  margin-bottom: 18px;
}
.feature-card p, .plan-card p, .article-card p, .sticky-note p { color: var(--muted); line-height: 1.65; }
.split-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr);
  gap: 30px;
  align-items: center;
  max-width: none;
  background: #111827;
  color: #fff;
}
.split-band > * { max-width: 590px; }
.split-band p { color: #c8d2c7; }
.receipt-panel { background: #0b1220; border-color: rgba(255,255,255,.16); padding: 20px; }
.receipt-row {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 14px 0;
}
.receipt-row:last-child { border-bottom: 0; }
.receipt-row span { color: #a9b7c7; font-size: 12px; text-transform: uppercase; font-weight: 900; }
.receipt-row strong { color: #fff; line-height: 1.4; }
.visual-section { background: #fff; }
.product-visual {
  display: block;
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.pricing-band {
  border-top: 1px solid var(--line);
  background: #eef4ed;
  padding: clamp(58px, 7vw, 96px) clamp(16px, 4vw, 56px);
}
.pricing-band > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.pricing-page { padding-top: 24px; padding-bottom: clamp(42px, 6vw, 72px); }
.pricing-page .section-heading { margin-bottom: 16px; }
.pricing-page .section-heading h2 { font-size: clamp(30px, 3.7vw, 44px); }
.pricing-page .section-heading p { line-height: 1.45; }
.pricing-page .savings-note { margin: 10px 0 16px; }
.pricing-page .plan-card { padding: 18px; }
.pricing-page .price { margin-top: 14px; }
.pricing-page .price strong { font-size: 38px; }
.pricing-page .plan-card ul { margin-top: 14px; }
.billing-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: fit-content;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}
.billing-toggle button {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #405047;
  cursor: pointer;
  padding: 10px 16px;
  font-weight: 900;
}
.billing-toggle button.active { background: var(--dark); color: #fff; }
.savings-note { text-align: center; color: #17694d; font-weight: 850; margin: 16px 0 32px; }
.plan-card { position: relative; display: flex; min-height: 100%; flex-direction: column; }
.plan-card.featured { border-color: #93bfd7; box-shadow: var(--shadow); }
.plan-card.selected { outline: 2px solid rgba(33, 180, 122, .5); }
.plan-badge {
  position: absolute;
  top: -13px;
  left: 20px;
  border-radius: 7px;
  background: var(--amber);
  color: #211804;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 950;
}
.plan-head { display: flex; justify-content: space-between; gap: 16px; }
.plan-head input { width: 20px; height: 20px; accent-color: var(--green); }
.price { display: flex; align-items: flex-end; gap: 8px; margin: 20px 0 6px; }
.price strong { font-size: 45px; line-height: 1; }
.price span, .price-note { color: var(--muted); font-size: 13px; }
.plan-card .primary-action, .plan-card .secondary-action { width: 100%; margin-top: 14px; }
.plan-card ul, .article-card ul, .article-card ol {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.plan-card li, .article-card li { color: #4e5d56; line-height: 1.55; }
.plan-card li::before, .article-card ul li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  margin-right: 9px;
}
.page-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) clamp(16px, 4vw, 56px);
}
.page-hero.centered { text-align: center; }
.page-hero.compact-page { padding-bottom: 24px; }
.page-hero.compact-page h1 { font-size: clamp(36px, 4.4vw, 56px); }
.page-hero.compact-page p { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(40px, 5.8vw, 70px); }
.page-hero p { color: var(--muted); line-height: 1.7; font-size: 18px; }
.crumb { display: inline-block; margin-bottom: 20px; color: var(--blue); font-weight: 850; }
.content-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) clamp(60px, 7vw, 94px);
}
.sticky-note { position: sticky; top: 92px; }
.sticky-note .primary-action { width: 100%; margin-top: 14px; }
.article-stack { display: grid; gap: 16px; }
.article-card h2 { font-size: 27px; }
.article-card.related div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.article-card.related a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf7;
  padding: 13px;
  color: #1c4b7e;
  font-weight: 800;
}
.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px) 82px;
}
.legal section {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.legal h2 { font-size: 22px; }
.legal p { color: var(--muted); line-height: 1.75; }
.checkout-panel {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 24px;
}
.checkout-panel span { display: block; color: #17694d; font-weight: 900; }
.checkout-panel strong { display: block; margin: 8px 0; font-size: 36px; }
.checkout-panel .primary-action { width: 100%; margin-top: 14px; }
.success-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.success-page article {
  max-width: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 30px;
  text-align: center;
}
.success-page div {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 950;
}
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(17, 24, 39, .55);
  padding: 18px;
}
.checkout-backdrop[hidden] { display: none; }
.checkout-modal {
  position: relative;
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 34px 110px rgba(0,0,0,.22);
}
.checkout-modal h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.checkout-modal p { color: var(--muted); line-height: 1.65; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  width: 34px;
  height: 34px;
  font-weight: 900;
}
.checkout-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf7;
  padding: 16px;
  margin: 18px 0;
}
.checkout-summary span, .checkout-summary small { display: block; color: var(--muted); }
.checkout-summary strong { display: block; margin: 5px 0; font-size: 24px; }
.checkout-status { min-height: 22px; margin: 12px 0 0; }
.payment-reopen, .secondary-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 850; }
.site-footer {
  border-top: 1px solid var(--line);
  background: #111827;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr .9fr .7fr;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px clamp(16px, 4vw, 56px);
}
.site-footer .brand-mark { background: #fff; color: #111827; }
.site-footer p, .site-footer a { color: #c9d3df; line-height: 1.65; }
.site-footer a { display: block; margin-top: 9px; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer button {
  margin-top: 12px;
  background: #fff;
  color: #111827;
  border: 0;
}
.fineprint {
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 0;
  padding: 18px clamp(16px, 4vw, 56px);
  text-align: center;
  font-size: 13px;
}
@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero, .split-band, .content-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .feature-grid, .plan-grid, .footer-grid { grid-template-columns: 1fr; }
  .sticky-note { position: static; }
}
@media (max-width: 640px) {
  .site-header { padding: 12px 14px; }
  .site-header .header-cta { display: none; }
  h1 { font-size: clamp(32px, 9.4vw, 40px); line-height: 1.02; margin-bottom: 14px; }
  .hero { gap: 18px; padding-top: 20px; }
  .hero-lede { font-size: 16px; line-height: 1.5; }
  .scanner-console { min-width: 0; }
  .audit-form { padding: 16px; }
  .audit-form textarea { min-height: 108px; }
  .audit-output { padding: 16px; }
  .signal-grid, .trust-row, .audit-output, .article-card.related div { grid-template-columns: 1fr; }
  .trust-row { display: none; }
  .console-actions, .hero-actions, .page-actions { flex-direction: column; align-items: stretch; }
  .primary-action, .secondary-action, .ghost-action { width: 100%; }
  .billing-toggle { width: 100%; }
  .price strong { font-size: 40px; }
}
