:root {
  --paper: #fbf7ef;
  --paper-strong: #fffdf7;
  --ink: #17211d;
  --muted: #60716a;
  --line: rgba(23, 33, 29, 0.14);
  --green: #1d7a56;
  --green-dark: #14543d;
  --blue: #426e83;
  --amber: #b87521;
  --soft-green: #e7f0e7;
  --soft-blue: #e5edf0;
  --shadow: 0 30px 90px rgba(33, 42, 36, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.shell {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 7px;
  color: var(--green);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(410px, 1.1fr);
  align-items: center;
  gap: 52px;
  padding: 60px 0 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.94;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
}

.lead {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 16px;
  font-weight: 900;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background 140ms ease;
}

.button:active {
  transform: scale(0.98);
}

.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.secondary {
  background: rgba(255, 255, 255, 0.55);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
}

.trust-strip span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.48);
}

.calculator-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.panel-top h2 {
  margin-bottom: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 21px;
  line-height: 1.1;
}

.panel-kicker {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pill {
  flex: none;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--soft-green);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 18px 0;
}

.metric {
  min-height: 102px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffaf0;
}

.metric span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.metric strong {
  display: block;
  font-size: clamp(23px, 3vw, 31px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.calculator-form {
  display: grid;
  gap: 17px;
  margin: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.control {
  display: grid;
  gap: 10px;
}

.control span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

output {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.runway-card {
  margin: 0 18px 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft-blue);
}

.runway-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
}

.progress-track {
  height: 13px;
  border-radius: 999px;
  background: rgba(23, 33, 29, 0.14);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 16%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 180ms ease;
}

.runway-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.band {
  border-block: 1px solid var(--line);
  background: #eef3ec;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 68px 0;
}

.section-intro,
.membership-layout > div > p,
.newsletter p {
  color: var(--muted);
  font-size: 18px;
}

.tools-section,
.map-section,
.proof-section,
.newsletter {
  padding: 86px 0;
}

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

.section-heading.narrow {
  max-width: 650px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-card,
.case-card,
.tier-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
}

.tool-card {
  min-height: 240px;
  padding: 22px;
}

.tool-card p,
.case-card p,
.tier-card p {
  color: var(--muted);
}

.card-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--amber);
  font-weight: 950;
  font-size: 13px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline article {
  min-height: 240px;
  padding: 22px;
  background: var(--paper-strong);
}

.timeline article + article {
  border-left: 1px solid var(--line);
}

.timeline span,
.case-label,
.tier-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline p {
  color: var(--muted);
}

.case-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.case-card {
  min-height: 210px;
  padding: 22px;
}

.case-card:first-child {
  grid-row: span 2;
  min-height: 436px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #eff4ed;
}

.case-card:first-child h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.membership-band {
  border-block: 1px solid var(--line);
  background: #17211d;
  color: #fff;
}

.membership-band .eyebrow {
  color: #9ed6bd;
}

.membership-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  padding: 82px 0;
  align-items: start;
}

.membership-layout > div > p,
.membership-band .tier-card p {
  color: rgba(255, 255, 255, 0.72);
}

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

.tier-card {
  min-height: 228px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.tier-card.highlighted {
  background: #fbf7ef;
  color: var(--ink);
}

.tier-card.highlighted p {
  color: var(--muted);
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.62fr);
  gap: 36px;
  align-items: end;
}

.email-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.email-form input,
.email-form button {
  min-height: 48px;
  border-radius: 6px;
}

.email-form input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #fff;
}

.email-form button {
  border: 0;
  padding: 0 15px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.email-form :disabled {
  cursor: not-allowed;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-layout p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .section-grid,
  .membership-layout,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .three,
  .timeline,
  .tier-grid,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .timeline article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .case-card:first-child {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .panel-top,
  .control span,
  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

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