:root {
  --navy: #021B44;
  --blue: #0183BE;
  --sky: #4EBDFA;
  --paper: #F2F3F8;
  --gold: #CAA46F;
  --surface: rgba(242, 243, 248, 0.98);
  --surface-strong: #F2F3F8;
  --surface-blue: rgba(78, 189, 250, 0.12);
  --surface-gold: rgba(202, 164, 111, 0.16);
  --text-muted: rgba(2, 27, 68, 0.7);
  --line: rgba(2, 27, 68, 0.16);
  --line-strong: rgba(2, 27, 68, 0.28);
  --shadow-small: 0 0.5rem 1.5rem rgba(2, 27, 68, 0.08);
  --shadow-large: 0 1.5rem 4rem rgba(2, 27, 68, 0.16);
  --radius-small: 0.65rem;
  --radius-medium: 1rem;
  --radius-large: 1.5rem;
  --content-width: 74rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--navy);
  background: var(--paper);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  max-width: 100%;
  color: inherit;
  font: inherit;
}

button,
a,
label,
select {
  -webkit-tap-highlight-color: rgba(78, 189, 250, 0.2);
}

button {
  touch-action: manipulation;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
.brand-lockup strong,
.stepper b,
.button,
.choice-group > legend,
.week-toolbar strong,
.summary-card dd {
  font-family: "Sora", Arial, sans-serif;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  color: var(--paper);
  background: var(--navy);
  border: 2px solid var(--sky);
  border-radius: var(--radius-small);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(calc(-100% - 2rem));
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 2px;
  transform: translateY(0);
}

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

.site-footer :focus-visible {
  outline-color: var(--sky);
}

.app-toolbar :focus-visible {
  outline-color: var(--navy);
}

#booking-main:focus {
  outline: 0;
}

.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--content-width));
  min-height: 3.75rem;
  margin: 0 auto;
  gap: 1rem;
}

.app-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
  gap: 0.6rem;
}

/* The supplied badge is always rendered at its intrinsic aspect ratio. */
.app-brand img {
  flex: 0 0 auto;
  width: 2rem;
  height: auto;
}

.app-brand strong {
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.9rem;
}

.app-exit {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.4rem 0.15rem;
  color: var(--navy);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28rem;
}

.app-exit:hover {
  color: var(--blue);
}

.app-toolbar__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
}

.account-entry {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #075f89;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  text-underline-offset: 0.25rem;
}

.booking-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 84% 12%, rgba(78, 189, 250, 0.3) 0, rgba(78, 189, 250, 0) 25rem),
    linear-gradient(132deg, var(--navy) 0%, var(--navy) 48%, rgba(1, 131, 190, 0.88) 140%);
}

.booking-hero::before,
.booking-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(78, 189, 250, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.booking-hero::before {
  top: -15rem;
  left: -12rem;
  width: 28rem;
  height: 28rem;
}

.booking-hero::after {
  right: -10rem;
  bottom: -16rem;
  width: 34rem;
  height: 34rem;
  box-shadow:
    0 0 0 4rem rgba(78, 189, 250, 0.04),
    0 0 0 8rem rgba(78, 189, 250, 0.025);
}

.booking-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: center;
  width: min(calc(100% - 2rem), var(--content-width));
  min-height: 31rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  gap: clamp(2rem, 6vw, 6rem);
}

.hero-copy {
  min-width: 0;
  max-width: 44rem;
}

.hero-copy h1 {
  color: var(--paper);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 39rem;
  margin-bottom: 1.65rem;
  color: rgba(242, 243, 248, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}

.eyebrow {
  margin-bottom: 0.58rem;
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-hero .eyebrow {
  color: var(--sky);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 0.8rem 1.2rem;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  color: rgba(242, 243, 248, 0.94);
  font-weight: 700;
  gap: 0.48rem;
}

.trust-list span {
  display: grid;
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  color: var(--navy);
  background: var(--sky);
  border-radius: 50%;
  font-size: 0.75rem;
}

.availability-preview {
  min-width: 0;
  padding: 1.35rem;
  color: var(--navy);
  background: rgba(242, 243, 248, 0.98);
  border: 1px solid rgba(242, 243, 248, 0.58);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
}

.availability-preview__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  gap: 0 0.6rem;
}

.availability-preview__top strong {
  min-width: 0;
  font-family: "Sora", Arial, sans-serif;
  overflow-wrap: anywhere;
}

.availability-preview__top > span:last-child {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.status-dot {
  grid-row: span 2;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 0.28rem rgba(78, 189, 250, 0.22);
}

.mini-days {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1.15rem 0 1rem;
  gap: 0.5rem;
}

.mini-days > span {
  display: grid;
  min-width: 0;
  min-height: 8.2rem;
  align-content: start;
  justify-items: center;
  padding: 0.75rem 0.45rem;
  background: rgba(2, 27, 68, 0.035);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  text-align: center;
  gap: 0.45rem;
}

.mini-days .is-featured {
  background: var(--surface-blue);
  border-color: var(--sky);
}

.mini-days small {
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 800;
}

.mini-days b {
  font-family: "Sora", Arial, sans-serif;
}

.mini-days i {
  display: block;
  width: 100%;
  height: 0.55rem;
  background: rgba(78, 189, 250, 0.26);
  border-radius: 1rem;
}

.mini-days i:nth-of-type(2) {
  width: 70%;
}

.availability-preview > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.noscript-notice {
  width: min(calc(100% - 2rem), var(--content-width));
  padding: 1rem 1.15rem;
  margin: 1rem auto 0;
  color: var(--navy);
  background: var(--surface-gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-small);
  font-weight: 700;
}

.booking-section {
  padding: 0.9rem 1rem clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(180deg, rgba(78, 189, 250, 0.05), rgba(78, 189, 250, 0) 18rem),
    var(--paper);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  align-items: start;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.booking-card,
.summary-card,
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-small);
}

.booking-card {
  min-width: 0;
  overflow: hidden;
}

.stepper {
  position: relative;
  padding: 1.55rem clamp(1rem, 4vw, 3rem) 1.2rem;
  background: rgba(2, 27, 68, 0.025);
  border-bottom: 1px solid var(--line);
}

.stepper ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.stepper li {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  justify-items: center;
  color: rgba(2, 27, 68, 0.5);
  text-align: center;
  gap: 0.45rem;
}

.stepper li span {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  color: rgba(2, 27, 68, 0.62);
  background: var(--paper);
  border: 2px solid rgba(2, 27, 68, 0.22);
  border-radius: 50%;
  font-weight: 800;
}

.stepper li b {
  max-width: 100%;
  font-size: 0.73rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.stepper li.is-current,
.stepper li.is-complete {
  color: var(--navy);
}

.stepper li.is-current span {
  color: var(--paper);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 0.3rem rgba(78, 189, 250, 0.2);
}

.stepper li.is-complete span {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.stepper__track {
  position: absolute;
  z-index: 1;
  top: 2.61rem;
  right: calc(12.5% + clamp(1rem, 4vw, 3rem));
  left: calc(12.5% + clamp(1rem, 4vw, 3rem));
  height: 2px;
  overflow: hidden;
  background: rgba(2, 27, 68, 0.16);
}

.stepper__track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
  transition: width 220ms ease;
}

.booking-step,
.confirmation {
  padding: clamp(1.35rem, 5vw, 3rem);
}

.booking-step {
  animation: step-enter 240ms ease both;
}

@keyframes step-enter {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-heading {
  max-width: 44rem;
  margin-bottom: clamp(1.45rem, 3vw, 2.1rem);
}

.step-heading > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.choice-group {
  min-width: 0;
  padding: 0;
  margin: 0 0 2rem;
  border: 0;
}

.choice-group > legend {
  padding: 0;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.85rem;
  gap: 0.8rem;
}

.service-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 8.35rem;
  padding: 1rem;
  background: rgba(242, 243, 248, 0.55);
  border: 2px solid var(--line);
  border-radius: var(--radius-medium);
  cursor: pointer;
  gap: 0 0.85rem;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.service-option:hover {
  background: rgba(78, 189, 250, 0.08);
  border-color: rgba(1, 131, 190, 0.58);
  transform: translateY(-1px);
}

.service-option:has(input:checked) {
  background: var(--surface-blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(78, 189, 250, 0.14);
}

.service-option:has(input:focus-visible),
.addon-option:has(input:focus-visible),
.check-field:has(input:focus-visible) {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.service-option input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: var(--navy);
}

.service-option__copy {
  min-width: 0;
}

.service-option__copy strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.service-option__copy span {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.service-option__copy small {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--navy);
  font-weight: 800;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  margin-top: 0.85rem;
  gap: 0.7rem;
}

.addon-option {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: flex-start;
  min-width: 0;
  min-height: 4rem;
  padding: 0.75rem 0.85rem;
  background: rgba(242, 243, 248, 0.58);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  cursor: pointer;
  gap: 0.7rem;
  transition: border-color 150ms ease, background 150ms ease;
}

.addon-option:hover,
.addon-option:has(input:checked) {
  background: var(--surface-blue);
  border-color: var(--blue);
}

.addon-option input,
.check-field input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--blue);
}

.addon-option__copy {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
  grid-column: 2;
}

.addon-option__copy strong {
  color: var(--navy);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.addon-option__copy small {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.addon-option__meta {
  grid-column: 3;
  align-self: start;
  margin-top: 0;
  margin: 0;
  padding: 0.28rem 0.48rem;
  color: var(--blue);
  background: rgba(78, 189, 250, 0.12);
  border: 1px solid rgba(1, 131, 190, 0.3);
  border-radius: 99rem;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 100%;
  z-index: 1;
}

.addon-option__meta:empty {
  display: none;
}

.field-grid {
  display: grid;
  min-width: 0;
  gap: 1rem;
}

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

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

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

.field {
  display: grid;
  min-width: 0;
  margin-bottom: 1rem;
  gap: 0.42rem;
}

.field > span,
.field > label {
  color: var(--navy);
  font-weight: 700;
}

.field b,
.consent-field b {
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 3.2rem;
  padding: 0.72rem 0.85rem;
  color: var(--navy);
  background: rgba(242, 243, 248, 0.58);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  outline: 0;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(1, 131, 190, 0.7);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--paper);
  border-color: var(--blue);
  box-shadow: 0 0 0 0.22rem rgba(78, 189, 250, 0.22);
}

.field input[readonly] {
  color: #31445f;
  background: #edf1f5;
  cursor: not-allowed;
}

.account-prefill-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  color: var(--navy);
  background: #eef8ff;
  border: 1px solid rgba(1, 131, 190, 0.35);
  border-radius: var(--radius-small);
  gap: 0.25rem 0.4rem;
}

.account-prefill-note span,
.account-prefill-note a { font-size: 0.86rem; }
.account-prefill-note a { color: #075f89; font-weight: 800; }

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid,
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--navy);
  box-shadow: 0 0 0 0.2rem rgba(202, 164, 111, 0.24);
}

.field small,
.field-help {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.field-error {
  margin: 0.5rem 0 0;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.field-error::before {
  content: "Please note: ";
  color: var(--navy);
}

.check-field {
  display: flex;
  min-width: 0;
  min-height: 3.7rem;
  align-items: flex-start;
  padding: 0.85rem;
  margin-bottom: 1rem;
  background: rgba(242, 243, 248, 0.58);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  cursor: pointer;
  gap: 0.75rem;
  transition: border-color 150ms ease, background 150ms ease;
}

.check-field:hover,
.check-field:has(input:checked) {
  background: var(--surface-blue);
  border-color: rgba(1, 131, 190, 0.6);
}

.check-field input {
  margin-top: 0.18rem;
}

.check-field span {
  display: grid;
  min-width: 0;
  color: var(--navy);
}

.check-field strong,
.check-field small {
  overflow-wrap: anywhere;
}

.check-field small {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.consent-field {
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  color: var(--navy);
  background: var(--sky);
  border: 2px solid var(--sky);
  border-radius: 0.72rem;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  gap: 0.6rem;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.icon-button:focus-visible,
.time-button:focus-visible,
.date-button:focus-visible,
.text-button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.button-secondary {
  color: var(--navy);
  background: rgba(242, 243, 248, 0.5);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  color: var(--navy);
  background: var(--surface-blue);
  border-color: var(--blue);
}

.button-submit {
  min-width: 13.5rem;
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.button-submit:hover {
  color: var(--navy);
  background: var(--sky);
  border-color: var(--sky);
}

.button-submit[aria-busy="true"] {
  position: relative;
  padding-right: 3.25rem;
}

.button-submit[aria-busy="true"]::after {
  position: absolute;
  top: 50%;
  right: 1.15rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: currentColor;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
  animation: booking-spin 0.8s linear infinite;
}

@keyframes booking-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.button:disabled,
.icon-button:disabled,
.time-button:disabled {
  color: rgba(2, 27, 68, 0.46);
  background: rgba(2, 27, 68, 0.06);
  border-color: rgba(2, 27, 68, 0.12);
  cursor: not-allowed;
  transform: none;
}

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  gap: 1rem;
}

.text-button {
  min-height: 2.75rem;
  padding: 0.35rem 0.5rem;
  color: var(--navy);
  background: rgba(242, 243, 248, 0);
  border: 0;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
  cursor: pointer;
}

.text-button:hover {
  color: var(--navy);
}

.error-summary {
  padding: 1rem 1.15rem;
  margin: 1.25rem clamp(1rem, 5vw, 3rem) 0;
  color: var(--navy);
  background: var(--surface-gold);
  border: 1px solid rgba(202, 164, 111, 0.55);
  border-left: 0.4rem solid var(--gold);
  border-radius: var(--radius-small);
}

.error-summary:focus-visible {
  outline-color: var(--navy);
}

.error-summary ul {
  padding-left: 1.2rem;
  margin: 0.35rem 0 0;
}

.error-summary a {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 0.2rem;
}

.submit-status {
  padding: 0.9rem 1rem;
  margin-top: 1rem;
  color: var(--navy);
  background: var(--surface-gold);
  border: 1px solid rgba(202, 164, 111, 0.72);
  border-left: 0.35rem solid var(--gold);
  border-radius: var(--radius-small);
  font-weight: 700;
}

.duration-banner {
  display: flex;
  min-height: 3.7rem;
  align-items: center;
  padding: 0.85rem 1rem;
  margin-bottom: 1.2rem;
  color: var(--navy);
  background: var(--surface-blue);
  border: 1px solid rgba(78, 189, 250, 0.48);
  border-radius: 0.8rem;
  gap: 0.75rem;
}

.duration-banner::before {
  content: "";
  flex: 0 0 auto;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 0.25rem rgba(78, 189, 250, 0.24);
}

.promo-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 0.8rem 0.9rem;
  margin: 0.75rem 0 0.9rem;
  background: linear-gradient(135deg, rgba(78, 189, 250, 0.13), rgba(202, 164, 111, 0.12));
  border: 1px solid rgba(1, 131, 190, 0.34);
  border-radius: var(--radius-small);
  gap: 0.55rem 1rem;
}

.promo-code h3,
.promo-code p { margin: 0; }
.promo-code h3 { color: var(--navy); font-size: 1rem; }
.promo-code > div:first-child > p:last-child { color: var(--text-muted); font-size: 0.82rem; }

.promo-code__controls {
  display: flex;
  align-items: end;
  gap: 0.55rem;
}

.promo-code__controls .field {
  width: 10rem;
  margin: 0;
}

.promo-code__controls .field > span { font-size: 0.78rem; }
.promo-code__controls input { min-height: 2.75rem; text-transform: uppercase; }
.promo-code__controls .button { min-height: 2.75rem; padding: 0.65rem 0.85rem; white-space: nowrap; }

.promo-code__status {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.promo-code__status:empty { display: none; }
.promo-code__status.is-success { color: #075f89; }
.promo-code__status.is-error { color: #8a3141; }
.frequency-choice:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }

.availability-status {
  padding: 0.72rem 0.9rem;
  margin: -0.55rem 0 1rem;
  color: var(--text-muted);
  background: rgba(242, 243, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  font-size: 0.86rem;
  line-height: 1.45;
}

.availability-status.is-loading {
  color: var(--navy);
  background: rgba(78, 189, 250, 0.1);
  border-color: rgba(1, 131, 190, 0.35);
}

.availability-status.is-ready {
  color: var(--navy);
  background: var(--surface-blue);
  border-color: rgba(1, 131, 190, 0.48);
}

.availability-status.is-error {
  color: var(--navy);
  background: var(--surface-gold);
  border-color: rgba(202, 164, 111, 0.72);
}

.week-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.85rem;
  background: rgba(2, 27, 68, 0.035);
  border: 1px solid var(--line);
  border-radius: 0.9rem 0.9rem 0 0;
  text-align: center;
  gap: 0.75rem;
}

.week-toolbar > div {
  display: grid;
  min-width: 0;
}

.week-toolbar span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.week-toolbar strong {
  font-size: 0.91rem;
  overflow-wrap: anywhere;
}

.icon-button {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.icon-button:hover:not(:disabled) {
  background: var(--surface-blue);
  border-color: var(--blue);
}

.week-nav-button {
  width: auto;
  min-width: 4.6rem;
  padding: 0 0.65rem;
  font-size: 0.76rem;
}

.date-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 0.85rem;
  background: rgba(242, 243, 248, 0.46);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 0.9rem 0.9rem;
  gap: 0.4rem;
}

.date-button {
  display: grid;
  min-width: 0;
  min-height: 5.5rem;
  align-content: center;
  justify-items: center;
  padding: 0.55rem 0.2rem;
  color: var(--navy);
  background: rgba(242, 243, 248, 0.7);
  border: 1px solid rgba(2, 27, 68, 0.08);
  border-radius: var(--radius-small);
  cursor: pointer;
  gap: 0.08rem;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .date-button:hover:not(:disabled):not([aria-pressed="true"]) {
    background: var(--surface-blue);
    border-color: var(--sky);
    transform: translateY(-1px);
  }
}

.date-button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.date-button[aria-pressed="true"]:hover,
.date-button[aria-pressed="true"]:focus-visible {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.date-button:disabled {
  color: rgba(2, 27, 68, 0.4);
  background: rgba(2, 27, 68, 0.04);
  border-color: rgba(2, 27, 68, 0.06);
  cursor: not-allowed;
}

.date-button small {
  max-width: 100%;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.date-button strong {
  font-family: "Sora", Arial, sans-serif;
  font-size: 1.14rem;
}

.date-button > span {
  min-height: 1rem;
  max-width: 100%;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.date-button[aria-pressed="true"] > span,
.date-button[aria-pressed="true"] small {
  color: rgba(242, 243, 248, 0.9);
}

.time-picker {
  padding: 1.2rem;
  margin-top: 1rem;
  background: rgba(2, 27, 68, 0.025);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.time-picker__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
}

.time-picker__heading > div {
  min-width: 0;
}

.time-picker__heading p,
.time-picker__heading h3 {
  margin-bottom: 0;
}

.time-picker__heading > span {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.time-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.time-button {
  min-width: 0;
  min-height: 3.2rem;
  padding: 0.65rem;
  color: var(--navy);
  background: rgba(242, 243, 248, 0.75);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  font-weight: 800;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .time-button:hover:not(:disabled):not([aria-pressed="true"]) {
    background: var(--surface-blue);
    border-color: var(--blue);
  }
}

.time-button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 0 0 0.2rem rgba(78, 189, 250, 0.22);
}

.time-button[aria-pressed="true"]:hover,
.time-button[aria-pressed="true"]:focus-visible {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.empty-times {
  grid-column: 1 / -1;
  padding: 1rem;
  margin: 0;
  color: var(--text-muted);
  background: rgba(242, 243, 248, 0.58);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-small);
  text-align: center;
}

.availability-note {
  display: flex;
  align-items: flex-start;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  gap: 0.58rem;
}

.availability-note span {
  display: grid;
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  font-family: serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.review-card {
  padding: 1.15rem;
  margin: 1.5rem 0 1rem;
  background: rgba(2, 27, 68, 0.035);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.review-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
}

.review-card__heading > div {
  min-width: 0;
}

.review-card__heading p,
.review-card__heading h3 {
  margin-bottom: 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.review-grid div {
  min-width: 0;
}

.review-grid span {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-grid strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.booking-summary {
  position: sticky;
  top: 1rem;
  display: grid;
  min-width: 0;
  gap: 1rem;
}

.summary-card,
.privacy-card {
  padding: 1.3rem;
}

.summary-card h2 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.summary-card dl {
  margin: 1.2rem 0;
}

.summary-card dl div {
  min-width: 0;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.summary-card dt {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summary-card dd {
  margin: 0.2rem 0 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.summary-assurance {
  display: flex;
  align-items: flex-start;
  padding: 0.85rem;
  color: var(--navy);
  background: var(--surface-blue);
  border: 1px solid rgba(78, 189, 250, 0.32);
  border-radius: 0.75rem;
  gap: 0.65rem;
}

.summary-assurance > span {
  display: grid;
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.75rem;
}

.summary-assurance p,
.privacy-card p {
  margin: 0;
  font-size: 0.86rem;
}

.privacy-card {
  color: var(--navy);
  background: var(--surface-gold);
  border-color: rgba(202, 164, 111, 0.48);
}

.privacy-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.86rem;
}

.confirmation {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.confirmation-mark {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1.25rem;
  place-items: center;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 0.55rem rgba(78, 189, 250, 0.2);
  font-family: "Sora", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.confirmation-lead {
  max-width: 39rem;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.confirmation-card {
  padding: 1.2rem;
  margin-top: 1rem;
  background: rgba(2, 27, 68, 0.035);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  text-align: left;
}

.confirmation-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  gap: 1rem;
}

.confirmation-card dl > div {
  min-width: 0;
}

.confirmation-card dt {
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.confirmation-card dd {
  margin: 0.2rem 0 0;
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.confirmation-note {
  padding-top: 1rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.confirmation-account-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin-top: 1rem;
  text-align: left;
  background: #eef8ff;
  border: 1px solid rgba(1, 131, 190, 0.35);
  border-radius: 0.9rem;
  gap: 1rem;
}

.confirmation-account-cta h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.confirmation-account-cta p:last-child { margin: 0; color: var(--text-muted); font-size: 0.86rem; }
.confirmation-account-cta .button { flex: 0 0 auto; }

.confirmation-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.75rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem max(1rem, calc((100% - var(--content-width)) / 2));
  color: rgba(242, 243, 248, 0.8);
  background: var(--navy);
  border-top: 1px solid rgba(78, 189, 250, 0.25);
  gap: 2rem;
}

.site-footer strong {
  color: var(--paper);
  font-family: "Sora", Arial, sans-serif;
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: rgba(242, 243, 248, 0.68);
}

.site-footer a {
  flex: 0 0 auto;
  color: var(--paper);
  font-weight: 800;
  text-underline-offset: 0.25rem;
}

.site-footer a:hover {
  color: var(--sky);
}

@media (max-width: 68rem) {
  .booking-hero__inner {
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: 2rem;
  }

  .booking-layout {
    grid-template-columns: minmax(0, 1fr) 17.5rem;
  }

  .date-list {
    gap: 0.22rem;
  }

  .date-button {
    min-height: 5.1rem;
  }
}

@media (max-width: 56rem) {
  .booking-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 3.4rem 0;
  }

  .availability-preview {
    display: none;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
    grid-row: auto;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .summary-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }

  .privacy-card {
    align-self: stretch;
  }
}

@media (max-width: 44rem) {
  .app-toolbar {
    min-height: 3.4rem;
  }

  .app-brand img {
    width: 1.8rem;
  }

  .app-brand strong {
    font-size: 0.82rem;
  }

  .app-exit {
    font-size: 0.82rem;
  }

  .booking-hero__inner {
    padding: 2.8rem 0;
  }

  .trust-list {
    display: grid;
  }

  .booking-section {
    padding: 0.65rem 0.5rem 3.5rem;
  }

  .booking-summary {
    grid-template-columns: 1fr;
  }

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

  .stepper {
    padding: 1.15rem 0.7rem 0.9rem;
  }

  .stepper li span {
    width: 1.95rem;
    height: 1.95rem;
  }

  .stepper li b {
    font-size: 0.65rem;
  }

  .stepper__track {
    top: 2.12rem;
    right: 14%;
    left: 14%;
  }

  .booking-step,
  .confirmation {
    padding: 1.5rem 1.1rem;
  }

  .addon-grid,
  .field-grid.two,
  .field-grid.two-one,
  .field-grid.three,
  .review-grid,
  .confirmation-card dl {
    grid-template-columns: 1fr;
  }

  .service-option {
    min-height: 0;
  }

  .date-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 24rem) {
  .app-toolbar {
    gap: 0.5rem;
  }

  .app-toolbar__actions {
    gap: 0.5rem;
  }

  .app-brand strong {
    display: none;
  }

  .account-entry,
  .app-exit {
    font-size: 0.76rem;
  }
}

@media (max-width: 31rem) {
  h1 {
    font-size: clamp(2rem, 11vw, 2.55rem);
  }

  h2 {
    font-size: 1.55rem;
  }

  .site-header__inner {
    align-items: flex-start;
    padding: 0.7rem 0;
    gap: 0.65rem;
  }

  .brand-lockup {
    gap: 0.6rem;
  }

  .brand-lockup img {
    width: 2.85rem;
  }

  .brand-lockup small {
    letter-spacing: 0.04em;
  }

  .header-link {
    min-height: 2.25rem;
    padding-top: 0.25rem;
    font-size: 0.75rem;
    text-align: right;
  }

  .booking-section {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .booking-card,
  .summary-card,
  .privacy-card {
    border-radius: 1rem;
  }

  .stepper {
    padding-right: 0.35rem;
    padding-left: 0.35rem;
  }

  .stepper li {
    gap: 0.35rem;
  }

  .stepper li b {
    font-size: 0.58rem;
    letter-spacing: -0.02em;
  }

  .booking-step,
  .confirmation {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .service-option {
    grid-template-columns: 1.2rem minmax(0, 1fr);
    padding: 0.85rem;
    gap: 0 0.7rem;
  }

  .addon-option {
    grid-template-columns: 1.25rem minmax(0, 1fr);
    grid-template-areas:
      "check copy"
      "check meta";
    gap: 0.45rem 0.7rem;
  }

  .addon-option input {
    grid-area: check;
  }

  .addon-option__copy {
    grid-area: copy;
  }

  .addon-option__meta {
    grid-area: meta;
    justify-self: end;
    margin-right: 0.15rem;
  }

  .week-toolbar {
    padding: 0.65rem;
    gap: 0.45rem;
  }

  .icon-button {
    width: 2.65rem;
    height: 2.65rem;
  }

  .date-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.65rem;
  }

  .time-picker {
    padding: 0.85rem;
  }

  .time-picker__heading {
    display: grid;
    gap: 0.25rem;
  }

  .time-picker__heading > span {
    justify-self: start;
  }

  .step-actions,
  .confirmation-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .confirmation-account-cta { align-items: stretch; flex-direction: column; }
  .confirmation-account-cta .button { width: 100%; }

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

  .step-actions > span:empty {
    display: none;
  }

  .summary-card dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .booking-step {
    animation: none;
  }
}

/* One-question survey experience */
.booking-hero--survey .booking-hero__inner {
  min-height: 28rem;
}

.survey-hero-card {
  display: grid;
  padding: 1.4rem;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid rgba(242, 243, 248, 0.72);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
  transform: rotate(1deg);
  gap: 0.7rem;
}

.survey-hero-card > span,
.survey-hero-card > small {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.survey-hero-card > strong {
  margin-bottom: 0.35rem;
  font-family: "Sora", Arial, sans-serif;
  font-size: 1.2rem;
}

.survey-hero-card > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 3.75rem;
  padding: 0.8rem;
  background: rgba(78, 189, 250, 0.08);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  gap: 0.65rem;
}

.survey-hero-card > div:first-of-type {
  background: var(--surface-blue);
  border-color: var(--blue);
}

.survey-hero-card i {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.survey-hero-card__check {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.75rem;
  font-style: normal;
}

.survey-card {
  min-height: 42rem;
}

.survey-progress {
  padding: 1.2rem clamp(1.1rem, 4vw, 3rem);
  background: rgba(242, 243, 248, 0.72);
  border-bottom: 1px solid var(--line);
}

.survey-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  gap: 1rem;
}

.survey-progress span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.survey-progress strong {
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.86rem;
}

.survey-progress__track {
  height: 0.42rem;
  overflow: hidden;
  background: rgba(2, 27, 68, 0.12);
  border-radius: 99rem;
}

.survey-progress__track span {
  display: block;
  width: 14.2857%;
  height: 100%;
  background: var(--sky);
  border-radius: inherit;
  transition: width 220ms ease;
}

.survey-progress__save {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  gap: 0.75rem;
}

.survey-progress__save span {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.survey-progress__save .text-button {
  flex: 0 0 auto;
  min-height: 2rem;
  font-size: 0.76rem;
}

.app-start-over {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.app-start-over:hover {
  color: var(--navy);
  background: rgba(78, 189, 250, 0.1);
}

.app-start-over:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.progress-notice {
  margin: 1rem clamp(1rem, 4vw, 3rem) 0;
  padding: 0.9rem 1rem;
  color: var(--navy);
  background: var(--surface-blue);
  border: 1px solid rgba(1, 131, 190, 0.34);
  border-radius: var(--radius-medium);
}

.progress-notice strong,
.progress-notice span,
.progress-notice p {
  display: block;
}

.progress-notice span,
.progress-notice p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

.progress-notice--expired {
  background: #fff8e8;
  border-color: #d99b22;
}

.progress-notice .text-button {
  min-height: 2.75rem;
  margin-top: 0.45rem;
}

.start-over-dialog {
  width: min(32rem, calc(100% - 2rem));
  padding: 0;
  color: var(--text);
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-medium);
  box-shadow: 0 1.5rem 4rem rgba(2, 27, 68, 0.28);
}

.start-over-dialog::backdrop {
  background: rgba(2, 27, 68, 0.62);
}

.start-over-dialog__content {
  padding: clamp(1.25rem, 5vw, 2rem);
}

.start-over-dialog__content h2 {
  margin: 0;
  color: var(--navy);
}

.start-over-dialog__content p {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
}

.start-over-dialog__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.4rem;
  gap: 0.75rem;
}

.survey-question {
  min-height: 34rem;
  padding: clamp(1.4rem, 5vw, 3rem);
}

.service-inquiry {
  min-height: 34rem;
  padding: clamp(1.4rem, 5vw, 3rem);
}

.survey-question[hidden] {
  display: none;
}

.survey-question__heading {
  max-width: 43rem;
  margin-bottom: 2rem;
}

.survey-question__heading h2:focus-visible,
.time-picker h3:focus-visible {
  outline-color: var(--blue);
  border-radius: 0.25rem;
}

.survey-question__heading > p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.stage-subsection {
  padding-top: 1.6rem;
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
}

/*
 * Each booking stage may contain a few short, sequential decisions. JavaScript
 * promotes exactly one substage with `.is-active`; keeping the inactive panels
 * out of layout prevents a long-form experience at every viewport size.
 */
[data-substage]:not(.is-active),
[data-substage][hidden] {
  display: none !important;
}

[data-substage].is-active {
  min-width: 0;
}

.booking-substage.stage-subsection {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

[data-calendar-step][hidden],
[data-calendar-step]:not(.is-active) {
  display: none !important;
}

.calendar-selection-summary {
  margin: -0.3rem 0 1rem;
  color: var(--text-muted);
  font-weight: 700;
}

.booking-help-disclosure {
  padding: 0.8rem 0.9rem;
  background: rgba(78, 189, 250, 0.06);
  border: 1px solid rgba(1, 131, 190, 0.18);
  border-radius: var(--radius-small);
}

.booking-help-disclosure > summary,
.availability-recovery > summary {
  color: var(--navy);
  cursor: pointer;
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
}

.booking-help-disclosure > summary span {
  margin-left: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.booking-help-disclosure[open] > summary,
.availability-recovery[open] > summary {
  margin-bottom: 0.8rem;
}

.booking-help-disclosure p:last-child {
  margin-bottom: 0;
}

[data-substage-indicator] {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.survey-question__heading--compact {
  margin-bottom: 1.15rem;
}

.survey-question__heading--compact h3 {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.survey-question__heading--compact > p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.availability-recovery {
  display: grid;
  padding: 1rem;
  margin-top: 1.15rem;
  background: rgba(78, 189, 250, 0.08);
  border: 1px solid rgba(1, 131, 190, 0.24);
  border-radius: var(--radius-small);
  gap: 0.65rem;
}

.availability-recovery > strong,
.availability-recovery > summary {
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  cursor: pointer;
  font-weight: 800;
}

.availability-recovery > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.availability-recovery a {
  color: var(--blue);
  font-weight: 800;
}

.request-status-tracker {
  display: grid;
  padding: 0;
  margin: 1.35rem 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.request-status-tracker li {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  gap: 0.45rem;
  text-align: center;
}

.request-status-tracker li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 0.42rem;
  left: calc(50% + 0.45rem);
  width: calc(100% - 0.9rem);
  height: 2px;
  content: "";
  background: var(--line);
}

.request-status-tracker li > span {
  position: relative;
  z-index: 1;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--paper);
  border: 2px solid rgba(2, 27, 68, 0.3);
  border-radius: 50%;
}

.request-status-tracker .is-current {
  color: var(--navy);
}

.request-status-tracker .is-current > span {
  background: var(--sky);
  border-color: var(--blue);
  box-shadow: 0 0 0 0.25rem rgba(78, 189, 250, 0.18);
}

.care-club {
  padding: 1.1rem;
  margin: 1.25rem 0 0;
  background: rgba(78, 189, 250, 0.08);
  border: 1px solid rgba(1, 131, 190, 0.28);
  border-radius: var(--radius-medium);
}

.care-club[hidden] {
  display: none;
}

.care-club__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}

.care-club__heading::-webkit-details-marker {
  display: none;
}

.care-club__heading .eyebrow {
  margin-bottom: 0.25rem;
}

.care-club__heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.care-club__heading > span {
  flex: 0 0 auto;
  padding: 0.35rem 0.55rem;
  color: var(--blue);
  background: var(--paper);
  border: 1px solid rgba(1, 131, 190, 0.32);
  border-radius: 99rem;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.care-club__tiers {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
}

.care-club__tier {
  display: grid;
  min-width: 0;
  min-height: 7.2rem;
  align-content: start;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-top: 3px solid rgba(2, 27, 68, 0.28);
  border-radius: var(--radius-small);
  gap: 0.35rem;
  text-align: center;
}

.care-club__tier--neighbor {
  border-top-color: var(--sky);
}

.care-club__tier--rhythm {
  border-top-color: var(--blue);
}

.care-club__tier--seasonal {
  border-top-color: #4f8b5b;
}

.care-club__tier--longtime {
  border-top-color: var(--gold);
}

.care-club__badge {
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.care-club__tier--longtime .care-club__badge {
  color: #76520f;
}

.care-club__tier strong {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.care-club__tier small {
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.care-club__note {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.survey-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  gap: 0.8rem;
}

.survey-actions--end {
  justify-content: flex-end;
}

.survey-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.survey-choice,
.payment-choice {
  position: relative;
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  padding: 1rem;
  background: rgba(242, 243, 248, 0.52);
  border: 2px solid var(--line);
  border-radius: var(--radius-medium);
  cursor: pointer;
  gap: 0.85rem;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.survey-choice:hover,
.payment-choice:hover {
  background: var(--surface-blue);
  border-color: rgba(1, 131, 190, 0.58);
  transform: translateY(-1px);
}

.survey-choice input,
.payment-choice input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--navy);
}

.survey-choice:has(input:checked),
.payment-choice:has(input:checked) {
  background: var(--surface-blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(78, 189, 250, 0.16);
}

.survey-choice:has(input:focus-visible),
.payment-choice:has(input:focus-visible) {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.survey-choice input:focus-visible,
.payment-choice input:focus-visible {
  outline: 0;
}

.survey-choice > span,
.payment-choice > span:last-child {
  display: grid;
  min-width: 0;
}

.survey-choice strong,
.payment-choice strong {
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.93rem;
}

.survey-choice small,
.payment-choice small {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.frequency-choice {
  align-items: flex-start;
}

.frequency-choice > input {
  margin-top: 0.22rem;
}

.frequency-choice__copy {
  gap: 0.15rem;
}

.frequency-choice__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.frequency-discount {
  flex: 0 0 auto;
  padding: 0.28rem 0.5rem;
  color: var(--blue);
  background: rgba(78, 189, 250, 0.12);
  border: 1px solid rgba(1, 131, 190, 0.4);
  border-radius: 99rem;
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.frequency-discount--best {
  color: #76520f;
  background: rgba(202, 164, 111, 0.18);
  border-color: rgba(202, 164, 111, 0.72);
}

.frequency-discount--flexible {
  color: var(--text-muted);
  background: var(--paper);
  border-color: rgba(2, 27, 68, 0.24);
}

.frequency-choice__reward {
  display: none;
  padding-top: 0.7rem;
  margin-top: 0.65rem;
  border-top: 1px solid rgba(1, 131, 190, 0.24);
  gap: 0.12rem;
}

.frequency-choice:has(input:checked) .frequency-choice__reward {
  display: grid;
}

.frequency-choice__reward > span {
  color: var(--blue);
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.addon-grid--survey {
  margin-top: 0;
}

.service-area-status,
.address-lookup__status,
.address-resolved {
  padding: 0.9rem 1rem;
  color: var(--text-muted);
  background: rgba(242, 243, 248, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  font-size: 0.9rem;
}

.service-area-status {
  margin-top: 0.25rem;
}

.service-area-status.is-success,
.address-resolved {
  color: var(--navy);
  background: var(--surface-blue);
  border-color: rgba(1, 131, 190, 0.48);
}

.service-area-status.is-error {
  color: var(--navy);
  background: var(--surface-gold);
  border-color: rgba(202, 164, 111, 0.72);
}

.service-area-status.is-checking {
  color: var(--navy);
  background: rgba(78, 189, 250, 0.1);
  border-color: rgba(1, 131, 190, 0.35);
}

.service-area-status__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.65rem;
  gap: 0.5rem 1rem;
}

.service-area-status__actions .text-button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .button-submit[aria-busy="true"]::after {
    animation: none;
  }
}

.effort-group {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.effort-group legend,
.payment-review legend {
  padding: 0;
  margin-bottom: 0.8rem;
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-weight: 700;
}

.payment-review legend span {
  color: var(--text-muted);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.account-reward-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin-top: 1rem;
  border: 1px solid rgba(202, 164, 111, 0.62);
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.96), rgba(238, 248, 255, 0.96));
  gap: 1rem;
}

.account-reward-prompt h3 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 1rem;
}

.account-reward-prompt .eyebrow { color: #075f89; }

.account-reward-prompt p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.account-reward-prompt .button {
  flex: 0 0 auto;
}

.account-session-recovery {
  display: grid;
  padding: 1rem;
  margin-top: 1rem;
  color: var(--navy);
  background: #fff5e8;
  border: 2px solid #a65d10;
  border-radius: var(--radius-small);
  gap: 0.8rem;
}

.account-session-recovery p { margin: 0.3rem 0 0; }
.account-session-recovery__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.account-session-recovery__actions .button { min-height: 44px; }

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

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
  gap: 0.85rem;
}

.metric-grid[hidden] {
  display: none;
}

.metric-box {
  display: grid;
  padding: 1rem;
  background: rgba(242, 243, 248, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  gap: 0.55rem;
}

.metric-box > span {
  color: var(--navy);
  font-weight: 800;
}

.metric-box input {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.65rem 0.75rem;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 0.65rem;
  font-family: "Sora", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.square-foot-estimate {
  padding: 1.1rem;
  background: var(--surface-blue);
  border: 1px solid rgba(1, 131, 190, 0.4);
  border-radius: var(--radius-medium);
}

.square-foot-estimate > div:first-child {
  display: grid;
  padding-bottom: 0.8rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(1, 131, 190, 0.22);
}

.square-foot-estimate > div:first-child span {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.square-foot-estimate > div:first-child strong {
  color: var(--navy);
  font-family: "Sora", Arial, sans-serif;
  font-size: 1.1rem;
}

.square-foot-estimate .field {
  margin-bottom: 0.45rem;
}

.estimate-formula,
.direct-size-hint {
  margin: 0.4rem 0 0.65rem;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.direct-size-hint {
  padding: 0.9rem;
  background: var(--surface-gold);
  border: 1px solid rgba(202, 164, 111, 0.5);
  border-radius: 0.75rem;
}

.direct-size-hint[hidden] {
  display: none;
}

.time-list--survey {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem;
  background: rgba(242, 243, 248, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
}

.visit-time-panel {
  padding: 1.1rem;
  margin-top: 1rem;
  background: rgba(2, 27, 68, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
}

.visit-time-panel h3 {
  margin-bottom: 0.8rem;
}

.address-lookup {
  position: relative;
}

.address-lookup .field {
  margin-bottom: 0.4rem;
}

.address-lookup__status:empty {
  display: none;
}

.address-suggestions {
  display: grid;
  padding: 0.45rem;
  margin: 0.45rem 0 1rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  gap: 0.2rem;
}

.address-suggestions li {
  min-height: 3rem;
  padding: 0.75rem 0.8rem;
  color: var(--navy);
  border-radius: var(--radius-small);
  cursor: pointer;
  overflow-wrap: anywhere;
}

.address-suggestions li:hover,
.address-suggestions li.is-active,
.address-suggestions li[aria-selected="true"] {
  background: var(--surface-blue);
  box-shadow: inset 0 0 0 1px rgba(1, 131, 190, 0.5);
}

.address-resolved {
  display: grid;
  margin-bottom: 1rem;
  gap: 0.15rem;
}

.address-resolved strong {
  font-family: "Sora", Arial, sans-serif;
  font-size: 0.92rem;
}

.address-resolved span {
  overflow-wrap: anywhere;
}

.address-manual-toggle {
  margin-bottom: 1rem;
}

.address-manual-fields {
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(242, 243, 248, 0.46);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
}

.payment-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.payment-choice {
  align-items: flex-start;
  flex-direction: column;
}

.payment-choice > input {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
}

.review-card--survey {
  margin-top: 0;
}

.review-grid div {
  position: relative;
  min-height: 2.75rem;
  padding-right: 4.2rem;
}

.review-grid button {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.6rem;
  color: var(--blue);
  background: transparent;
  border: 0;
  border-radius: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.review-grid button:hover,
.review-grid button:focus-visible {
  color: var(--navy);
  background: var(--surface-blue);
}

.payment-review {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.survey-summary {
  top: 1rem;
}

@media (max-width: 52rem) {
  .survey-hero-card {
    display: none;
  }

  .booking-layout--survey .survey-summary {
    display: none;
  }

  .booking-layout--survey {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  html {
    min-height: 100%;
    scroll-padding: 1rem 0;
  }

  body {
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
  }

  #booking-main {
    display: grid;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .app-toolbar {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: calc(3.5rem + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
    background: var(--surface-strong);
    border-bottom: 1px solid var(--line);
  }

  .booking-section {
    display: grid;
    min-height: 0;
    padding: 0;
    background: var(--paper);
    overflow: hidden;
  }

  .booking-layout--survey {
    width: 100%;
    height: 100%;
    min-height: 100%;
    gap: 0;
    overflow: hidden;
  }

  .survey-card {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    background: var(--surface-strong);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  #bookingForm {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .survey-progress {
    position: relative;
    z-index: 1;
    padding: 0.8rem 1rem;
    background: var(--surface-strong);
  }

  .survey-progress__save {
    display: none;
  }

  .survey-question {
    height: 100%;
    min-height: 0;
    padding: 1rem max(1rem, env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    overflow: hidden;
  }

  .service-inquiry {
    flex: 1 1 auto;
    min-height: 0;
    padding: 1rem max(1rem, env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    overflow: hidden;
  }

  .survey-question:not([hidden]),
  .service-inquiry:not([hidden]) {
    display: flex;
    flex-direction: column;
  }

  [data-substage].is-active {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    align-content: start;
    overflow: hidden;
  }

  [data-calendar-step].is-active {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .booking-substage__content {
    flex: 1 1 auto;
    min-height: 0;
    padding-right: 0.15rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  [data-substage].is-active > :first-child {
    margin-top: 0;
  }

  .survey-question__heading {
    margin-bottom: 1rem;
  }

  [data-substage-indicator] {
    margin-bottom: -0.2rem;
  }

  [data-question="service"] .survey-question__heading {
    flex: 0 0 auto;
    margin-bottom: 0.7rem;
  }

  [data-question="service"] .survey-question__heading > p:last-child {
    font-size: 0.94rem;
  }

  [data-question="service"] .choice-group {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
    padding-right: 0.15rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.55rem;
    gap: 0.55rem;
  }

  .service-option {
    min-height: 5.35rem;
    padding: 0.75rem 0.65rem;
    gap: 0 0.5rem;
  }

  .service-option input {
    width: 1.05rem;
    height: 1.05rem;
  }

  .service-option__copy strong {
    margin-bottom: 0.2rem;
    font-size: 0.86rem;
  }

  .service-option__copy span {
    display: none;
  }

  .service-option__copy small {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  #serviceHelp {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
  }

  .stage-subsection {
    padding-top: 0;
    margin-top: 0.8rem;
  }

  .availability-recovery > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .request-status-tracker li {
    font-size: 0.7rem;
  }

  .care-club {
    padding: 0.9rem;
  }

  .care-club__heading {
    display: grid;
  }

  .care-club__heading > span {
    width: fit-content;
  }

  .care-club__tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .care-club__tier {
    min-height: 7.6rem;
    padding: 0.7rem 0.4rem;
  }

  .frequency-choice__heading {
    align-items: center;
  }

  .payment-choice-grid {
    grid-template-columns: 1fr;
  }

  [data-substage="property-type"] .survey-choice-grid,
  [data-substage="plan-frequency"] .survey-choice-grid,
  .metric-grid,
  .time-list--survey,
  .addon-grid--survey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-substage="property-condition"] .survey-choice-grid {
    grid-template-columns: 1fr;
  }

  .survey-choice,
  .payment-choice {
    min-height: 4.25rem;
  }

  [data-substage="property-type"] .survey-choice small,
  [data-substage="property-condition"] .survey-choice small,
  [data-substage="plan-frequency"] .frequency-choice__copy > small,
  [data-substage="plan-frequency"] .frequency-choice__reward,
  .addon-grid--survey .addon-option__copy small {
    display: none;
  }

  [data-substage="plan-frequency"] .frequency-choice {
    padding: 0.75rem;
    gap: 0.55rem;
  }

  [data-substage="plan-frequency"] .frequency-choice__copy {
    width: 100%;
  }

  [data-substage="plan-frequency"] .frequency-choice__heading {
    display: grid;
    justify-content: start;
    gap: 0.35rem;
  }

  [data-substage="plan-frequency"] .frequency-discount {
    max-width: 100%;
    padding: 0.22rem 0.4rem;
    font-size: 0.62rem;
    white-space: normal;
  }

  .addon-grid--survey {
    gap: 0.55rem;
  }

  .addon-grid--survey .addon-option {
    grid-template-columns: 1.05rem minmax(0, 1fr);
    min-height: 4.2rem;
    padding: 0.65rem;
    gap: 0.5rem;
  }

  .addon-grid--survey .addon-option__meta {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.2rem;
  }

  [data-substage="property-size"] .metric-box small,
  [data-substage="property-size"] #squareFeetHelp,
  [data-substage="property-size"] .estimate-formula,
  [data-substage="property-size"] #recalculateSquareFeet {
    display: none;
  }

  [data-substage="property-size"] .square-foot-estimate {
    padding: 0.8rem;
  }

  [data-substage="property-size"] .square-foot-estimate .field {
    margin-bottom: 0;
  }

  [data-substage="visit-calendar"] > .survey-question__heading {
    flex: 0 0 auto;
    margin-bottom: 0.7rem;
  }

  [data-calendar-step="date"] .date-list {
    display: grid;
    grid-template-columns: none;
    grid-auto-columns: minmax(4.35rem, 1fr);
    grid-auto-flow: column;
    padding: 0.65rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
  }

  [data-calendar-step="date"] .date-button {
    scroll-snap-align: start;
  }

  [data-substage="review-summary"] .review-card {
    max-height: none;
  }

  [data-substage="review-summary"] .booking-substage__content {
    display: flex;
    flex-direction: column;
  }

  .survey-actions {
    position: static;
    flex: 0 0 auto;
    align-items: stretch;
    flex-direction: row;
    width: 100%;
    padding: 0.75rem 0 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .survey-actions--single .button {
    flex: 0 1 calc(50% - 0.4rem);
  }

  .survey-actions .button {
    flex: 1 1 0;
    width: auto;
    min-height: 3rem;
  }

  .survey-actions--end .button {
    flex-basis: 100%;
  }

  /* The booking shell owns the phone viewport; marketing content lives off-flow. */
  .site-footer {
    display: none;
  }

  .account-reward-prompt {
    align-items: stretch;
    flex-direction: column;
  }

  .account-reward-prompt .button {
    width: 100%;
  }

  .account-session-recovery__actions { align-items: stretch; flex-direction: column; }
  .account-session-recovery__actions .button { width: 100%; }
}

/* Short phone landscapes need the same single-column shell even above 40rem. */
@media (max-height: 32rem) and (orientation: landscape) {
  body {
    height: 100svh;
    height: 100dvh;
    overflow: hidden;
  }

  #booking-main {
    display: grid;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .app-toolbar {
    width: 100%;
    min-height: calc(3.25rem + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
    background: var(--surface-strong);
    border-bottom: 1px solid var(--line);
  }

  .booking-section {
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .booking-layout--survey {
    width: 100%;
    height: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
  }

  .survey-card {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  #bookingForm {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .survey-progress {
    padding: 0.65rem max(1rem, env(safe-area-inset-right)) 0.65rem max(1rem, env(safe-area-inset-left));
  }

  .survey-progress__save,
  .booking-layout--survey .survey-summary,
  .site-footer {
    display: none;
  }

  .survey-question,
  .service-inquiry {
    height: 100%;
    min-height: 0;
    padding: 0.8rem max(1rem, env(safe-area-inset-right)) calc(0.8rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    overflow: hidden;
  }

  .survey-question:not([hidden]),
  .service-inquiry:not([hidden]) {
    display: flex;
    flex-direction: column;
  }

  [data-substage].is-active,
  [data-calendar-step].is-active {
    display: flex;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
  }

  .booking-substage__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  [data-question="service"] .survey-question__heading {
    flex: 0 0 auto;
    margin-bottom: 0.5rem;
  }

  [data-question="service"] .choice-group {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  [data-question="service"] .survey-question__heading > p:last-child,
  [data-question="service"] .service-option__copy span,
  [data-question="service"] .service-option__copy small,
  [data-question="service"] #serviceHelp {
    display: none;
  }

  [data-question="service"] .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.35rem;
    gap: 0.55rem;
  }

  [data-question="service"] .service-option {
    min-height: 4.1rem;
    padding: 0.6rem;
  }

  .survey-actions {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    padding-top: 0.75rem;
    margin: 0;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

}

@media (max-width: 32rem) {
  .start-over-dialog__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .start-over-dialog__actions .button {
    width: 100%;
    min-height: 3rem;
  }
}

@media (max-width: 28rem) {
  .promo-code {
    grid-template-columns: 1fr;
    padding: 0.65rem 0.7rem;
    margin-block: 0.55rem 0.7rem;
  }

  .promo-code > div:first-child > p:last-child { display: none; }
  .promo-code__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .promo-code__controls .field { width: auto; }
  .promo-code__status { grid-column: 1; }

  .care-club__tiers {
    grid-template-columns: 1fr;
  }

  .care-club__tier {
    grid-template-columns: minmax(6.5rem, 0.8fr) 1.2fr;
    min-height: 0;
    align-items: center;
    text-align: left;
  }

  .care-club__badge {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 24rem) {
  .app-toolbar,
  .app-toolbar__actions {
    gap: 0.3rem;
  }

  .app-start-over {
    padding-inline: 0.45rem;
  }

  [data-question="service"] .survey-question__heading > p:last-child,
  .service-option__copy small {
    display: none;
  }

  .service-option {
    min-height: 4.6rem;
    padding: 0.6rem;
  }

  #serviceHelp {
    margin-top: 0.35rem;
  }
}
