:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5e6b63;
  --line: #d8ded8;
  --surface: #f6f7f3;
  --panel: #ffffff;
  --accent: #117a5b;
  --accent-dark: #075f45;
  --warm: #c94d2c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 243, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(42px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(17, 122, 91, 0.10), transparent 48%),
    linear-gradient(35deg, rgba(201, 77, 44, 0.12), transparent 44%);
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  margin: 0 0 22px;
  max-width: 900px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  margin: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.checkout-button {
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.checkout-button.primary-checkout {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary {
  background: transparent;
}

.proof-panel {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-panel > div {
  background: var(--panel);
  padding: 28px;
}

.metric {
  display: block;
  font-size: 36px;
  font-weight: 900;
}

.label {
  color: var(--muted);
}

.section {
  padding: clamp(42px, 7vw, 82px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.offer-grid,
.checkout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.offer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.offer.featured {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px rgba(17, 122, 91, 0.15);
}

.price {
  font-size: 34px;
  font-weight: 900;
  margin: 18px 0 10px;
}

.offer p,
.offer li {
  color: var(--muted);
  line-height: 1.5;
}

.offer ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fit-list p {
  background: #eef2ea;
  border-left: 4px solid var(--warm);
  margin: 0;
  padding: 14px 16px;
  font-weight: 700;
}

.buy-section {
  background: #ffffff;
}

.checkout-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: #f8faf6;
  color: var(--ink);
  font-size: 16px;
  text-align: left;
}

.checkout-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

.checkout-note {
  color: var(--muted);
  margin-top: 16px;
}

.lead-section {
  background: #f8faf6;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.lead-form .wide {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.lead-form textarea {
  resize: vertical;
}

.lead-form button {
  justify-self: start;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  color: var(--muted);
  margin: 12px 0 0;
  align-self: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.success-panel {
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 6vw, 56px);
}

.success-panel h1 {
  font-size: clamp(38px, 6vw, 70px);
}

.intake-box {
  margin: 24px 0;
  padding: 20px;
  background: #eef2ea;
  border-radius: 8px;
}

@media (max-width: 850px) {
  .hero,
  .split,
  .offer-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .fit-list {
    grid-template-columns: 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
