:root {
  color-scheme: light;
  --canvas: #f4f4f1;
  --surface: #ffffff;
  --surface-soft: #f8f8f6;
  --ink: #202522;
  --muted: #68706b;
  --faint: #929a95;
  --line: #dcded9;
  --line-strong: #c5c9c3;
  --brand: #365f4b;
  --brand-dark: #284838;
  --brand-soft: #edf3ef;
  --success: #267348;
  --error: #b44343;
  --radius: 10px;
  --radius-small: 7px;
  --shadow: 0 18px 45px rgba(32, 37, 34, 0.07);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input { font: inherit; }

button { color: inherit; }

.no-scroll { overflow: hidden; }
.ambient { display: none; }

.site-header,
.page-shell,
.business-proof,
.site-footer {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--brand);
}

.brand-mark svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.brand strong,
.brand small { display: block; }

.brand strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.brand small {
  margin-top: 1px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 500;
}

.online-pill {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.online-pill > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45a36d;
}

.page-shell {
  padding: 68px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(540px, 1.18fr);
  gap: clamp(54px, 7vw, 92px);
  align-items: start;
}

.hero {
  padding-top: 34px;
  position: sticky;
  top: 24px;
}

.eyebrow {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 510px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 4.7vw, 68px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.hero h1 span,
.hero h1 em { display: inline; }

.hero h1 em {
  color: var(--brand);
  font-style: normal;
  font-weight: inherit;
}

.hero-copy {
  max-width: 490px;
  margin: 26px 0 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.trust-row > div {
  min-width: 0;
  padding: 18px 18px 0 0;
}

.trust-row strong,
.trust-row span { display: block; }

.trust-row strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
}

.trust-row span {
  margin-top: 4px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.35;
}

.quote-card {
  min-width: 0;
  min-height: 628px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quote-topbar {
  min-height: 90px;
  padding: 23px 26px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.step-label {
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}

.quote-topbar h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.reset-button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 11px;
  cursor: pointer;
}

.reset-button:hover { color: var(--ink); }

.progress-track {
  height: 3px;
  margin: 0 26px;
  border-radius: 10px;
  background: #eceeeb;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width .25s ease;
}

.step-content {
  flex: 1;
  padding: 26px;
}

.step-intro {
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.choice-list,
.size-grid,
.addon-grid {
  display: grid;
  gap: 10px;
}

.size-grid,
.addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.choice-card {
  position: relative;
  width: 100%;
  min-height: 88px;
  padding: 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 13px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, background .15s ease;
}

.choice-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.choice-card.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.choice-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--brand);
}

.choice-card.is-selected .choice-icon {
  border-color: #b8cbbf;
  background: var(--surface);
}

.choice-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.choice-main { min-width: 0; }

.choice-main strong,
.choice-main small { display: block; }

.choice-main strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.choice-main small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.choice-meta {
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.choice-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
}

.choice-check svg {
  width: 13px;
  fill: none;
  stroke: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.choice-card.is-selected .choice-check {
  border-color: var(--brand);
  background: var(--brand);
}

.choice-card.is-selected .choice-check svg { stroke: #fff; }

.popular-badge {
  position: absolute;
  top: -8px;
  right: 14px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #dce8e0;
  color: var(--brand-dark);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
}

.addon-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.addon-heading button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 11px;
  cursor: pointer;
}

.addon-card {
  min-height: 112px;
  padding: 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.addon-card:hover,
.addon-card.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.addon-plus {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--brand);
  font-weight: 650;
}

.addon-card strong,
.addon-card small { display: block; }

.addon-card strong { color: var(--ink); font-size: 13px; font-weight: 650; }
.addon-card small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.addon-card b { grid-column: 2; color: var(--ink); font-size: 11px; }

.final-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  overflow: hidden;
}

.final-summary > div {
  min-height: 42px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.final-summary > div:last-child { border-bottom: 0; }
.final-summary span { color: var(--muted); }
.final-summary strong { color: var(--ink); }
.final-summary .summary-total { background: var(--surface-soft); }
.final-summary .summary-total strong { color: var(--brand-dark); font-size: 16px; }

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

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}

.lead-form label:nth-child(3),
.lead-form .consent-row,
.form-note { grid-column: 1 / -1; }

.lead-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 41px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.lead-form input:not([type="checkbox"]):focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(54, 95, 75, .1);
}

.consent-row {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
}

.consent-row input { accent-color: var(--brand); }
.form-note { margin: 0; color: var(--faint); font-size: 10px; }

.quote-footer {
  min-height: 82px;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.live-total > span,
.live-total > strong { display: block; }
.live-total > span { color: var(--faint); font-size: 9px; font-weight: 650; letter-spacing: .04em; }
.live-total > strong { margin-top: 4px; color: var(--ink); font-size: 20px; font-weight: 650; }
.footer-actions { display: flex; gap: 9px; }

.primary-button,
.secondary-button {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.primary-button {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
}

.primary-button:hover:not(:disabled) {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.primary-button:disabled {
  border-color: #d5d8d3;
  background: #e4e6e2;
  color: #9ba09c;
  cursor: not-allowed;
}

.primary-button svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.secondary-button:hover { background: var(--surface-soft); }
.is-hidden { display: none !important; }

.business-proof {
  padding: 82px 0 92px;
  border-top: 1px solid var(--line);
}

.proof-heading {
  max-width: 620px;
  margin-bottom: 36px;
}

.proof-heading > span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 650;
}

.proof-heading h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.proof-grid article {
  min-height: 180px;
  padding: 24px 28px 24px 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.proof-grid article + article { padding-left: 28px; }
.proof-grid article:last-child { border-right: 0; }
.proof-grid article > span { color: var(--brand); font-size: 10px; font-weight: 700; }
.proof-grid h3 { margin: 45px 0 9px; color: var(--ink); font-size: 17px; font-weight: 650; }
.proof-grid p { max-width: 300px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.site-footer {
  min-height: 74px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 10px;
}

.site-footer strong { color: var(--ink); font-weight: 650; }

.success-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(23, 28, 25, .52);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.success-overlay.is-open { opacity: 1; pointer-events: auto; }

.success-card {
  width: min(430px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(18, 24, 20, .2);
  text-align: center;
}

.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f4ed;
  color: var(--success);
}

.success-icon svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.success-card h2 { margin: 9px 0; color: var(--ink); font-size: 25px; font-weight: 650; }
.success-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.success-price { margin: 20px 0; color: var(--brand-dark); font-size: 32px; font-weight: 650; }
.full-width { width: 100%; }
.text-button { margin-top: 14px; border: 0; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }

@media (max-width: 980px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    max-width: 700px;
    padding-top: 0;
    position: static;
  }

  .hero h1 { max-width: 650px; }
  .quote-card { min-height: 610px; }
}

@media (max-width: 680px) {
  .site-header,
  .page-shell,
  .business-proof,
  .site-footer { width: min(100% - 30px, 1160px); }

  .site-header { min-height: 70px; }
  .brand-mark { width: 35px; height: 35px; }
  .online-pill { min-height: 31px; padding: 0 10px; font-size: 9px; }
  .page-shell { padding: 48px 0 66px; gap: 38px; }
  .hero h1 { font-size: 43px; }
  .hero-copy { margin-top: 21px; font-size: 15px; }

  .trust-row { grid-template-columns: 1fr; }
  .trust-row > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .trust-row > div:last-child { border-bottom: 0; }

  .quote-card { min-height: 590px; border-radius: 8px; box-shadow: none; }
  .quote-topbar { min-height: 84px; padding: 20px 18px 16px; }
  .quote-topbar h2 { font-size: 22px; }
  .progress-track { margin-inline: 18px; }
  .step-content { padding: 22px 18px; }

  .choice-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 14px;
  }

  .choice-main small { white-space: normal; }
  .choice-meta { grid-column: 2; }
  .choice-check { grid-row: 1 / span 2; grid-column: 3; }
  .popular-badge { right: 10px; }

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

  .lead-form label:nth-child(3),
  .lead-form .consent-row,
  .form-note { grid-column: auto; }

  .quote-footer {
    padding: 14px 18px;
    align-items: stretch;
    flex-direction: column;
  }

  .footer-actions,
  .primary-button,
  .secondary-button { width: 100%; }

  .business-proof { padding: 66px 0 72px; }
  .proof-heading h2 { font-size: 31px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid article,
  .proof-grid article + article { min-height: 145px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid article:last-child { border-bottom: 0; }
  .proof-grid h3 { margin-top: 30px; }

  .site-footer {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
