:root {
  --ink: #152033;
  --ink-soft: #3f4858;
  --muted: #686b71;
  --paper: #f8f3eb;
  --paper-deep: #efe6dc;
  --white: #fffdf9;
  --surface: #f2e9df;
  --border: #ded3c6;
  --border-strong: #c8b9aa;
  --accent: #d96358;
  --accent-bright: #f3b7aa;
  --accent-soft: #fbe2da;
  --accent-dark: #a83d37;
  --alpine-blue: #dce9ee;
  --success: #47735d;
  --danger: #a83d37;
  --shadow: 0 30px 90px rgba(55, 40, 31, 0.14), 0 5px 20px rgba(55, 40, 31, 0.07);
  --radius-lg: 25px;
  --radius-md: 15px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(21, 32, 51, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 32, 51, 0.022) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.ambient--one {
  top: -24vw;
  right: -17vw;
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle, rgba(217, 99, 88, 0.16), rgba(217, 99, 88, 0) 68%);
}

.ambient--two {
  bottom: -31vw;
  left: -24vw;
  width: 66vw;
  height: 66vw;
  background: radial-gradient(circle, rgba(128, 174, 193, 0.18), rgba(128, 174, 193, 0) 68%);
}

.page-shell {
  width: min(100% - 48px, 1260px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
}

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

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

.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: 0 9px 22px rgba(21, 32, 51, 0.16);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 7px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.brand-mark::before {
  left: 4px;
  width: 27px;
  height: 22px;
  background: var(--white);
}

.brand-mark::after {
  right: 2px;
  width: 21px;
  height: 16px;
  background: var(--accent-bright);
}

.brand-sun {
  position: absolute;
  top: 6px;
  right: 7px;
  z-index: 2;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: -0.025em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(445px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
  padding: 18px 0 30px;
}

.hero-copy {
  align-self: center;
  max-width: 690px;
  padding-bottom: 10px;
}

.card-kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

h1 span {
  position: relative;
  display: inline;
  z-index: 0;
}

h1 span::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -5px;
  bottom: 4px;
  z-index: -1;
  height: 14px;
  border-radius: 4px 13px 5px 9px;
  background: var(--accent-bright);
  transform: rotate(-0.6deg);
  opacity: 0.76;
}

.hero-subhead {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.32vw, 20px);
  line-height: 1.5;
}

.hero-subhead strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 720;
}

.hero-action-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-cta,
.submit-button,
.continue-button {
  border: 0;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(21, 32, 51, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 21px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.primary-cta span,
.submit-button span,
.continue-button span {
  transition: transform 160ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible,
.submit-button:hover,
.submit-button:focus-visible,
.continue-button:hover,
.continue-button:focus-visible {
  background: #223149;
  box-shadow: 0 16px 34px rgba(21, 32, 51, 0.24);
  transform: translateY(-1px);
}

.primary-cta:hover span,
.submit-button:hover span,
.continue-button:hover span {
  transform: translateX(3px);
}

.hero-action-row p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 680;
}

.hero-action-row p span {
  margin-right: 5px;
  color: var(--success);
}

.market-proof {
  max-width: 625px;
  margin-top: 27px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  border: 1px solid rgba(168, 61, 55, 0.18);
  border-radius: 18px;
  background: linear-gradient(105deg, rgba(251, 226, 218, 0.62), rgba(220, 233, 238, 0.32));
  box-shadow: 0 10px 30px rgba(55, 40, 31, 0.07);
}

.market-proof-number {
  position: relative;
  z-index: 0;
  margin: 0;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.4vw, 47px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.market-proof-number span {
  color: var(--accent);
}

.market-proof-number::after {
  content: "";
  position: absolute;
  left: 1px;
  right: -4px;
  bottom: -2px;
  z-index: -1;
  height: 11px;
  border-radius: 4px 13px 5px 9px;
  background: var(--accent-bright);
  transform: rotate(-0.5deg);
  opacity: 0.5;
}

.market-proof-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.market-proof-copy strong {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.3;
}

.market-proof-copy > span {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.proof-list {
  max-width: 650px;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.proof-list li {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid rgba(168, 61, 55, 0.12);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 253, 249, 0.92), rgba(248, 243, 235, 0.72));
  box-shadow: 0 6px 18px rgba(55, 40, 31, 0.06);
}

.proof-step {
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--accent-dark);
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.proof-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 5px 12px rgba(168, 61, 55, 0.24);
}

.proof-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.proof-list li > span:last-child {
  min-width: 0;
  display: grid;
  padding-right: 15px;
}

.proof-list strong {
  font-size: 10.5px;
  line-height: 1.25;
}

.proof-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.35;
}

.assessment-wrap {
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.assessment-card {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(200, 185, 170, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.965);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.assessment-card::before {
  content: "";
  position: absolute;
  top: -48px;
  right: -43px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 99, 88, 0.2), rgba(217, 99, 88, 0));
  pointer-events: none;
}

.assessment-header {
  position: relative;
  min-height: 74px;
  padding: 21px 26px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.card-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 680;
}

.time-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(248, 243, 235, 0.76);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.time-chip svg,
.privacy-cue svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.time-chip svg {
  width: 14px;
  height: 14px;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  background: #eee5dc;
}

.progress-value {
  display: block;
  width: 14.285%;
  height: 100%;
  border-radius: 0 99px 99px 0;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

#match-form {
  position: relative;
}

.step-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.quiz-step {
  min-height: 499px;
  padding: 24px 26px 18px;
  animation: step-in 260ms ease both;
}

.quiz-step[hidden],
.state-panel[hidden],
.other-city-panel[hidden] {
  display: none;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-heading {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
}

.step-number {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 10px;
  font-weight: 850;
}

.step-number--complete {
  color: var(--white);
  background: var(--success);
  font-size: 15px;
}

.step-heading h2,
.state-panel h2 {
  margin: -2px 0 0;
  color: var(--ink);
  font-size: clamp(21px, 1.6vw, 25px);
  font-weight: 760;
  letter-spacing: -0.036em;
  line-height: 1.13;
}

.step-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.answer-grid {
  margin-top: 21px;
  display: grid;
  gap: 10px;
}

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

.answer-grid--single {
  grid-template-columns: 1fr;
}

.answer-card {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--ink);
  background: #fffdfa;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.answer-grid--compact .answer-card {
  min-height: 51px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.answer-card--wide {
  grid-column: 1 / -1;
}

.answer-card:hover {
  border-color: #bf9f94;
  background: var(--white);
  box-shadow: 0 5px 16px rgba(65, 44, 34, 0.06);
  transform: translateY(-1px);
}

.answer-card:has(input:focus-visible) {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
}

.answer-card:has(input:checked),
.answer-card.is-selected {
  border-color: var(--accent-dark);
  background: rgba(217, 99, 88, 0.075);
  box-shadow: inset 0 0 0 1px var(--accent-dark);
}

.answer-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.answer-check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1.5px solid #96877b;
  border-radius: 50%;
  background: var(--white);
  transition: background 140ms ease, border-color 140ms ease;
}

.answer-card:has(input:checked) .answer-check,
.answer-card.is-selected .answer-check {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.answer-card:has(input:checked) .answer-check::after,
.answer-card.is-selected .answer-check::after {
  content: "";
  width: 5px;
  height: 8px;
  margin-top: -2px;
  border-right: 1.8px solid var(--white);
  border-bottom: 1.8px solid var(--white);
  transform: rotate(45deg);
}

.answer-card > span:last-child {
  min-width: 0;
  display: grid;
}

.answer-card strong {
  font-size: 11.5px;
  line-height: 1.25;
}

.answer-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
}

.privacy-cue {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.privacy-cue svg {
  width: 15px;
  height: 15px;
  color: var(--success);
}

.other-city-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  background: linear-gradient(115deg, rgba(251, 226, 218, 0.48), rgba(220, 233, 238, 0.34));
}

.field-label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 760;
}

.field-label > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
}

.field-label input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  outline: 0;
  color: var(--ink);
  background: #fffdfa;
  font-size: 12px;
  font-weight: 560;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.field-label input::placeholder {
  color: #7d7166;
}

.field-label input:focus {
  border-color: var(--accent-dark);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(217, 99, 88, 0.14);
}

.field-label input:user-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(168, 61, 55, 0.08);
}

.step-navigation {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-navigation--forward-only {
  justify-content: flex-end;
}

.back-button,
.restart-button {
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 720;
  transition: color 140ms ease;
}

.back-button {
  padding: 9px 3px;
}

.back-button:hover,
.back-button:focus-visible,
.restart-button:hover,
.restart-button:focus-visible {
  color: var(--ink);
}

.continue-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 760;
}

.city-grid {
  gap: 8px;
}

.city-grid .answer-card {
  min-height: 46px;
}

.city-actions {
  margin-top: 14px;
}

.contact-step {
  padding-top: 21px;
}

.contact-step .step-heading h2 {
  font-size: 22px;
}

.contact-grid {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.contact-grid--wide {
  grid-column: 1 / -1;
}

.contact-step .field-label input {
  height: 42px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.contact-privacy-cue {
  margin-top: 13px;
  align-items: flex-start;
}

.contact-privacy-cue svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.contact-actions {
  margin-top: 11px;
}

.submit-button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 780;
}

.submit-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 9.5px;
  font-weight: 680;
}

.step-error {
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 9.5px;
  font-weight: 680;
}

.noscript-note {
  margin: 16px 24px 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: #78541b;
  background: #fff2d9;
  font-size: 10px;
  line-height: 1.45;
}

.state-panel {
  min-height: 499px;
  padding: 25px 27px 20px;
  animation: step-in 300ms ease both;
}

.state-icon {
  width: 51px;
  height: 51px;
  margin-bottom: 19px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
}

.state-icon--success {
  background: var(--success);
  box-shadow: 0 12px 26px rgba(71, 115, 93, 0.2);
}

.state-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
}

.success-heading-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
}

.success-heading-row .state-icon {
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 14px;
}

.success-heading-row .state-icon svg {
  width: 24px;
  height: 24px;
}

.success-heading-row h2 {
  max-width: 410px;
  margin: 5px 0 0;
  font-size: 23px;
}

.membership-intro {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.service-grid {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.service-grid article {
  min-width: 0;
  padding: 11px 11px 10px;
  display: grid;
  align-content: start;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(248, 243, 235, 0.68);
}

.service-grid article > span {
  color: var(--accent-dark);
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.service-grid article strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1.25;
}

.service-grid article small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.35;
}

.membership-investment {
  margin-top: 11px;
  padding: 10px 12px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(168, 61, 55, 0.18);
  border-radius: 11px;
  background: linear-gradient(105deg, rgba(251, 226, 218, 0.88), rgba(220, 233, 238, 0.48));
}

.membership-investment strong {
  color: var(--ink);
  font-size: 10.5px;
}

.membership-investment span {
  color: var(--ink-soft);
  font-size: 8.5px;
  line-height: 1.35;
}

.next-steps {
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(248, 243, 235, 0.68);
}

.next-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.5;
}

.next-steps span {
  color: var(--ink);
  font-weight: 680;
  word-break: break-word;
}

.demo-notice {
  margin: 10px 0 0;
  padding: 9px 11px;
  border-radius: 9px;
  color: #78541b;
  background: #fff2d9;
  font-size: 9px;
  line-height: 1.4;
}

.restart-button {
  margin-top: 14px;
  padding: 7px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .page-shell {
    width: min(100% - 36px, 1020px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
    gap: 38px;
  }

  h1 {
    font-size: clamp(42px, 5.1vw, 59px);
  }

  .hero-action-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .proof-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 920px) {
  body {
    background-size: 34px 34px;
  }

  .page-shell {
    width: min(100% - 30px, 710px);
  }

  .site-header {
    min-height: 68px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 31px;
    padding: 40px 0 46px;
  }

  .hero-copy {
    max-width: 680px;
    padding: 0;
  }

  h1 {
    max-width: 670px;
    font-size: clamp(43px, 8.8vw, 63px);
  }

  .hero-subhead {
    max-width: 640px;
  }

  .proof-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .assessment-wrap {
    max-width: 620px;
    justify-self: center;
  }
}

@media (max-width: 590px) {
  .page-shell {
    width: min(100% - 22px, 520px);
  }

  .site-header {
    min-height: 63px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    gap: 17px;
    padding-top: 27px;
  }

  h1 {
    font-size: clamp(37px, 10.2vw, 45px);
    line-height: 1.01;
  }

  h1 span::after {
    bottom: 2px;
    height: 10px;
  }

  .hero-subhead {
    margin-top: 17px;
    font-size: 15.5px;
    line-height: 1.43;
  }

  .hero-action-row {
    margin-top: 21px;
  }

  .primary-cta {
    width: 100%;
  }

  .market-proof {
    margin-top: 21px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 15px;
  }

  .proof-list {
    display: none;
  }

  .assessment-card {
    min-height: 620px;
    border-radius: 20px;
  }

  .assessment-header {
    min-height: 69px;
    padding: 19px 18px 13px;
  }

  .card-kicker {
    font-size: 8px;
  }

  .time-chip {
    padding: 0 8px;
  }

  .quiz-step,
  .state-panel {
    min-height: 483px;
    padding: 21px 18px 16px;
  }

  .step-heading {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .step-number {
    width: 32px;
    height: 32px;
  }

  .step-heading h2 {
    font-size: 20px;
  }

  .answer-grid {
    margin-top: 17px;
    gap: 8px;
  }

  .answer-card {
    min-height: 65px;
    padding: 10px 11px;
  }

  .answer-grid--compact .answer-card,
  .city-grid .answer-card {
    min-height: 46px;
  }

  .answer-card strong {
    font-size: 10.5px;
  }

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

  .success-heading-row h2 {
    font-size: 21px;
  }

  .service-grid article {
    padding: 10px;
  }

  .field-label input {
    height: 44px;
  }

  .step-navigation {
    margin-top: 17px;
  }

}

@media (max-width: 410px) {
  .hero {
    padding-top: 21px;
  }

  .answer-grid--two:not(.city-grid),
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid--wide {
    grid-column: auto;
  }

  .success-heading-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
  }

  .success-heading-row .state-icon {
    width: 42px;
    height: 42px;
  }

  .success-heading-row h2 {
    font-size: 19px;
  }

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

  .service-grid article {
    min-height: auto;
  }

  .contact-step .field-label input {
    height: 40px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .submit-button {
    width: 100%;
  }
}

@media (max-height: 830px) and (min-width: 921px) {
  .site-header {
    min-height: 64px;
  }

  .hero {
    min-height: calc(100svh - 64px);
    padding: 8px 0 20px;
  }

  h1 {
    font-size: clamp(42px, 4.15vw, 60px);
  }

  .hero-subhead {
    margin-top: 17px;
    font-size: 16.5px;
  }

  .hero-action-row,
  .market-proof,
  .proof-list {
    margin-top: 17px;
  }

  .assessment-card {
    min-height: 588px;
  }

  .quiz-step,
  .state-panel {
    min-height: 447px;
  }

  .quiz-step {
    padding-top: 18px;
    padding-bottom: 12px;
  }

  .answer-grid {
    margin-top: 16px;
    gap: 8px;
  }

  .answer-card {
    min-height: 62px;
  }

  .answer-grid--compact .answer-card,
  .city-grid .answer-card {
    min-height: 43px;
  }

  .success-state {
    padding-top: 17px;
    padding-bottom: 15px;
  }

  .success-heading-row h2 {
    font-size: 20px;
  }

  .membership-intro,
  .service-grid {
    margin-top: 11px;
  }

  .service-grid article {
    padding: 8px 9px;
  }

  .contact-step .contact-grid {
    margin-top: 13px;
  }

  .contact-privacy-cue {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
           