:root {
  --ink: #171a17;
  --muted: #646b64;
  --paper: #f4f2eb;
  --card: #fffef9;
  --line: #d7d5cc;
  --green: #174f3a;
  --green-2: #d9eadf;
  --acid: #d9ff5b;
  --orange: #e6673e;
  --shadow: 0 24px 70px rgba(28, 34, 28, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, input, textarea { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(244, 242, 235, .9);
  border-bottom: 1px solid rgba(23, 26, 23, .12);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: white; background: var(--green); font-size: 12px; letter-spacing: .05em; }
nav { display: flex; gap: 26px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover { color: var(--ink); }

main > section { max-width: 1180px; margin: 0 auto; padding: 100px 24px; }
.hero { min-height: 720px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.02; letter-spacing: -.045em; }
h1 { max-width: 800px; margin-bottom: 24px; font-size: clamp(50px, 7vw, 88px); }
h2 { max-width: 780px; margin-bottom: 24px; font-size: clamp(36px, 4.5vw, 58px); }
h3 { margin-bottom: 12px; font-size: 22px; }
p { color: var(--muted); }
.lede { max-width: 730px; margin-bottom: 34px; font-size: clamp(19px, 2vw, 24px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.primary { color: white; background: var(--green); box-shadow: 0 12px 28px rgba(23, 79, 58, .22); }
.primary:hover { box-shadow: 0 15px 36px rgba(23, 79, 58, .3); }
.secondary { color: var(--ink); background: var(--card); border-color: var(--line); }
.dark { color: var(--ink); background: var(--acid); }
.fine-print, .checkout-status { margin: 16px 0 0; font-size: 13px; }
.checkout-status { min-height: 21px; color: var(--orange); font-weight: 700; }

.proof-card { padding: 24px; background: var(--green); border-radius: 28px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.proof-card div { display: grid; grid-template-columns: 80px 1fr; align-items: center; padding: 17px 12px; color: white; border-bottom: 1px solid rgba(255,255,255,.15); }
.proof-card div:last-child { border: 0; }
.proof-card strong { color: var(--acid); font-size: 29px; }
.proof-card span { color: rgba(255,255,255,.8); font-size: 14px; }

.problem { border-top: 1px solid var(--line); }
.three-up, .contents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.three-up article, .contents-grid article { padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.three-up span { display: inline-block; margin-bottom: 38px; color: var(--orange); font-family: ui-monospace, monospace; font-size: 13px; }
.three-up p, .contents-grid p { margin-bottom: 0; }

.diagnostic { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; background: var(--green); border-radius: 30px; }
.diagnostic h2, .diagnostic p { color: white; }
.diagnostic .eyebrow { color: var(--acid); }
#diagnostic-form { display: grid; gap: 11px; }
#diagnostic-form label { display: flex; gap: 13px; align-items: flex-start; padding: 16px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; cursor: pointer; }
#diagnostic-form input { width: 19px; height: 19px; accent-color: var(--acid); flex: 0 0 auto; }
.diagnostic-result { grid-column: 2; padding: 22px; color: var(--ink); background: var(--acid); border-radius: 13px; }
.diagnostic-result strong { font-size: 23px; }
.diagnostic-result p { margin-bottom: 0; color: var(--ink); }

.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-heading > p { max-width: 320px; }
.contents-grid article { min-height: 220px; }
.contents-grid article::before { content: ""; display: block; width: 36px; height: 5px; margin-bottom: 50px; border-radius: 4px; background: var(--orange); }

.how { border-top: 1px solid var(--line); }
.how ol { list-style: none; padding: 0; margin: 50px 0 0; border-top: 1px solid var(--line); }
.how li { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.how strong { font-size: 24px; }
.how span { color: var(--muted); font-size: 18px; }

.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 80px; padding-bottom: 80px; background: var(--green-2); border-radius: 30px; }
.honest p, .honest li { color: #405047; }
.honest li { margin-bottom: 10px; }
.lite { display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.lite > div { max-width: 760px; }
.report-offer { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; border-top: 1px solid var(--line); }
.report-offer .lede { font-size: 19px; }
.report-points { display: grid; gap: 12px; }
.report-points div { display: grid; gap: 4px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.report-points strong { color: var(--green); font-size: 18px; }
.report-points span { color: var(--muted); font-size: 14px; }

.faq { border-top: 1px solid var(--line); }
details { max-width: 850px; padding: 22px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 19px; font-weight: 800; }
details p { max-width: 760px; }

.final-cta { margin-bottom: 70px; text-align: center; color: white; background: var(--green); border-radius: 30px; }
.final-cta h2, .final-cta p { margin-left: auto; margin-right: auto; color: white; }
.final-cta .eyebrow { color: var(--acid); }
.final-cta .primary { color: var(--ink); background: var(--acid); box-shadow: none; }
.final-cta .checkout-status { color: var(--acid); }

footer { display: flex; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 30px 24px 50px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }

.single-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--green); }
.message-card { width: min(650px, 100%); padding: 48px; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); }
.message-card.wide { width: min(760px, 100%); }
.message-card .brand { margin-bottom: 60px; }
.message-card h1 { font-size: clamp(38px, 6vw, 58px); }
.message-card h2 { margin-top: 34px; margin-bottom: 10px; font-size: 24px; letter-spacing: -.025em; }
.message-card .button { margin-top: 20px; }
.text-link { display: inline-block; margin-top: 24px; color: var(--green); font-weight: 800; }
.resource-page { min-height: 100vh; background: var(--paper); }
.resource-main { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 92px 0 110px; }
.resource-main h1 { max-width: 900px; font-size: clamp(44px, 7vw, 76px); }
.resource-main h2 { margin-top: 72px; font-size: clamp(30px, 4vw, 44px); }
.resource-main h3 { margin-top: 34px; }
.resource-main p, .resource-main li { max-width: 760px; font-size: 17px; }
.resource-main li { margin-bottom: 10px; color: var(--muted); }
.resource-main code { padding: 2px 6px; border-radius: 5px; background: var(--green-2); font-family: ui-monospace, monospace; font-size: .92em; }
.resource-main pre { overflow-x: auto; padding: 22px; border-radius: 14px; color: white; background: #1d241f; }
.resource-main pre code { padding: 0; color: inherit; background: transparent; }
.resource-nav { display: flex; flex-wrap: wrap; gap: 18px; margin: 32px 0 54px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.resource-nav a { color: var(--green); font-weight: 750; text-decoration: none; }
.resource-note { max-width: 780px; margin: 32px 0; padding: 22px 24px; border-left: 5px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--card); }
.comparison { width: 100%; margin: 28px 0; border-collapse: collapse; background: var(--card); }
.comparison th, .comparison td { padding: 16px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.comparison th { background: var(--green-2); }
.resource-cta { margin-top: 80px; padding: 38px; border-radius: 22px; color: white; background: var(--green); }
.resource-cta h2, .resource-cta p { margin-top: 0; color: white; }
.resource-cta .button { margin: 8px 8px 0 0; }
.resource-cta .checkout-status { color: var(--acid); }
.offer-ladder { padding-top: 86px; padding-bottom: 86px; }
.offer-ladder > h2 { max-width: 780px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.offer-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.offer-grid .featured-offer { border-color: var(--green); box-shadow: var(--shadow); }
.offer-price { margin: 0 0 8px; color: var(--green); font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.offer-grid h3 { margin: 0; font-size: 25px; }
.offer-grid p, .offer-grid li { color: var(--muted); }
.offer-grid ul { flex: 1; padding-left: 20px; }
.offer-grid .button { margin-top: 18px; }
.audit-box { margin: 42px 0; padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.audit-picker { display: grid; gap: 12px; padding: 26px; text-align: center; border: 2px dashed #9ca49d; border-radius: 14px; background: #f9f8f2; }
.audit-picker input { width: 100%; max-width: 520px; margin: 0 auto; padding: 12px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 9px; }
.audit-privacy { font-size: 13px !important; }
.audit-results { margin-top: 30px; }
.audit-score { display: flex; flex-wrap: wrap; gap: 18px; align-items: baseline; padding: 24px; color: white; background: var(--green); border-radius: 14px; }
.audit-score strong { color: var(--acid); font-size: 48px; line-height: 1; }
.audit-score span { color: rgba(255,255,255,.8); }
.audit-findings { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.audit-findings li { max-width: none; margin: 0; padding: 17px 18px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 11px; }
.audit-findings strong { display: block; margin-bottom: 3px; }
.audit-findings .pass strong { color: var(--green); }
.audit-findings .warn strong { color: #9b3f23; }
.audit-limit { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--orange); background: #fff5eb; }
.support-form { display: grid; gap: 18px; margin-top: 30px; }
.support-form label { display: grid; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 800; }
.support-form input, .support-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 9px; outline: none; }
.support-form input:focus, .support-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,79,58,.1); }

@media (max-width: 850px) {
  nav { display: none; }
  main > section { padding: 72px 20px; }
  .hero, .diagnostic, .honest, .report-offer { grid-template-columns: 1fr; gap: 38px; }
  .hero { min-height: auto; }
  .proof-card { transform: none; }
  .diagnostic { margin: 0 12px; }
  .diagnostic-result { grid-column: 1; }
  .three-up, .contents-grid, .offer-grid { grid-template-columns: 1fr; }
  .section-heading, .lite { align-items: flex-start; flex-direction: column; }
  .how li { grid-template-columns: 1fr; gap: 8px; }
  footer { flex-direction: column; gap: 10px; }
  .message-card { padding: 32px 24px; }
}
