:root {
  --ink: #202124;
  --muted: #5f6670;
  --soft: #77808c;
  --line: #e1e7ee;
  --paper: #ffffff;
  --band: #f6f8fa;
  --accent: #1d3f63;
  --accent-soft: #edf3f8;
  --accent-line: #c8d7e5;
  --dark: #202124;
  --radius: 8px;
  --shadow: 0 18px 55px rgba(31, 29, 27, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

.narrow {
  max-width: 980px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1120px, calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  font-family: Newsreader, Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-subtitle,
.eyebrow {
  color: var(--soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-muted {
  background: var(--band);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.hero {
  padding-top: clamp(72px, 10vw, 132px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: center;
}

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

h1,
h2,
h3 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 24px;
  font-size: 5rem;
  line-height: 1.02;
}

h2 {
  max-width: 17ch;
  margin-bottom: clamp(32px, 5vw, 52px);
  font-size: 3rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.15;
}

.hero-text {
  max-width: 52ch;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  padding: 0 24px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  background: #173754;
  box-shadow: 0 12px 30px rgba(29, 63, 99, 0.18);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.button-secondary {
  border-color: var(--accent-line);
  background: #fff;
  color: var(--accent);
}

.button-secondary:hover {
  background: var(--accent-soft);
}

.button-full {
  width: 100%;
}

.text-link {
  border-bottom: 1px solid var(--accent-line);
  color: var(--accent);
  font-weight: 700;
  padding-bottom: 2px;
  text-decoration: none;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--muted);
  padding: clamp(24px, 4vw, 36px);
}

.card-kicker {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.setup-price {
  color: var(--accent);
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(52px, 6vw, 70px);
  font-weight: 600;
  line-height: 1;
}

.divider {
  height: 1px;
  margin: 28px 0;
  background: var(--line);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 42px);
}

.step {
  border-top: 2px solid var(--accent);
  padding-top: 22px;
}

.step span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step p,
.group-head p,
.section-copy,
.form-note,
.center-note,
.tiny-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
  margin-top: clamp(34px, 5vw, 52px);
}

.compare-card {
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(22px, 4vw, 30px);
}

.compare-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.compare-card p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

.warning-card {
  border-color: #ded3bf;
  background: #fffaf0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.section-copy {
  max-width: 54ch;
  font-size: 16px;
}

.fit-grid {
  display: grid;
  gap: 14px;
}

.fit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px;
}

.fit-card strong {
  color: var(--accent);
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.fit-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

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

.chooser-group {
  margin-bottom: clamp(34px, 5vw, 48px);
}

.group-head {
  margin-bottom: 16px;
}

.group-head h3 {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.group-head p {
  max-width: 78ch;
  margin-bottom: 0;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

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

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

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

.choice {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 16px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.choice:hover,
.choice.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--accent);
}

.product-choice {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100px;
  text-align: left;
}

.product-choice strong {
  font-family: Newsreader, Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

.product-choice span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.estimate-panel {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-top: 36px;
  padding: clamp(24px, 4vw, 40px);
}

.estimate-number {
  color: var(--accent);
  font-family: Newsreader, Georgia, serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
}

.estimate-number span:last-child {
  color: #58708b;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-left: 10px;
}

.estimate-details {
  min-width: 260px;
  margin: 0;
}

.estimate-details div,
.line-item,
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.estimate-details div {
  border-bottom: 1px solid var(--accent-line);
  padding: 9px 0;
}

.estimate-details div:last-child {
  border-bottom: 0;
}

.estimate-details dt {
  color: #58708b;
}

.estimate-details dd {
  margin: 0;
  font-weight: 800;
}

.section-cta {
  margin-top: 30px;
}

.form-shell,
.checkout-shell {
  max-width: 860px;
}

.intake-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.intake-form label {
  color: #403c36;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

.intake-form .full {
  grid-column: 1 / -1;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  border: 1px solid #dcd6cc;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  padding: 13px 14px;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 63, 99, 0.12);
}

.intake-form button {
  justify-self: start;
  margin-top: 10px;
}

.form-note {
  align-self: center;
  margin: 8px 0 0;
}

.hidden-field {
  display: none;
}

.checkout-shell {
  max-width: 700px;
}

.checkout-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.line-item,
.total-row {
  align-items: baseline;
  border-bottom: 1px solid #f0ece5;
  padding: 20px clamp(22px, 4vw, 34px);
}

.line-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.line-item span {
  color: var(--soft);
  font-size: 13px;
}

.anchor-item strong:last-child {
  color: var(--soft);
  text-decoration: line-through;
}

.credit-item strong:last-child {
  color: #1b7f4c;
}

.total-row {
  border-bottom: 0;
  padding-top: 24px;
}

.total-row span {
  font-size: 18px;
  font-weight: 800;
}

.total-row strong {
  color: var(--accent);
  font-family: Newsreader, Georgia, serif;
  font-size: 34px;
}

.checkout-actions {
  display: grid;
  gap: 12px;
  background: var(--band);
  border-top: 1px solid var(--line);
  padding: clamp(22px, 4vw, 30px);
}

.secure-note,
.center-note {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.secure-note {
  margin: 6px 0 0;
}

.center-note {
  margin: 18px auto 0;
  max-width: 48ch;
}

.intro-note {
  margin: -22px auto 28px;
}

.fine-print,
.footer {
  background: var(--dark);
  color: #cbc5bb;
}

.fine-print {
  padding: clamp(44px, 6vw, 72px) 0;
}

.fine-print p:last-child {
  max-width: 78ch;
  color: #cbc5bb;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0;
}

.footer {
  border-top: 1px solid #34302b;
  padding: 34px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.footer .brand-mark {
  color: #f3f0ea;
  font-size: 21px;
}

.footer span:last-child {
  color: #80786f;
  font-size: 12px;
}

@media (max-width: 840px) {
  .nav-link {
    display: none;
  }

  .hero-grid,
  .split-section,
  .steps-grid,
  .compare-grid,
  .faq-grid,
  .product-grid,
  .lead-grid,
  .budget-grid,
  .intake-form {
    grid-template-columns: 1fr;
  }

  .price-card {
    max-width: 520px;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .hero-text {
    font-size: 18px;
  }

  .setup-price,
  .estimate-number {
    font-size: 56px;
  }

  .estimate-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .estimate-details {
    width: 100%;
    min-width: 0;
  }

  .intake-form button,
  .form-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .shell,
  .nav-shell {
    width: min(100% - 28px, 1120px);
  }

  .brand-subtitle {
    display: none;
  }

  .button-small {
    padding: 0 12px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .setup-price,
  .estimate-number {
    font-size: 48px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    display: flex;
  }

  .estimate-number span:last-child {
    display: block;
    margin: 8px 0 0;
  }

  .line-item,
  .total-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
