/* Keepwell Pool Care — presale site
   Mobile-first. Breakpoints: 700px (two-column forms), 900px (desktop nav), 1100px (hero two-column).
   Also styles privacy.html and terms.html (shared header, footer, legal classes). */

:root {
  --ink: #0a2a33;
  --deep: #062f3a;
  --deeper: #041f27;
  --teal: #0b4f63;
  --teal-2: #0f6474;
  --sand: #e9cfa0;
  --sand-hi: #f4e2bf;
  --paper: #f4f1ea;
  --white: #ffffff;
  --muted: #33494e;
  --mist: #d5e3e6;
  --mist-2: #b9d0d4;
  --rule: #0a2a33;
  --rule-soft: #c9d6d8;
  --error: #8a1f1f;

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 68px;
  --radius: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--deep);
}

[hidden] {
  display: none !important;
}

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

.on-dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--sand);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--deep);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono {
  font-family: var(--font-mono);
}

/* ---------- Type helpers ---------- */

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.on-dark .eyebrow {
  color: var(--sand);
}

.band-sand .eyebrow {
  color: var(--deep);
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--deep);
}

.on-dark .display {
  color: var(--white);
}

.display-xl {
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.9;
}

.lead {
  max-width: 50ch;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
}

.ph {
  display: inline-block;
  padding: 0 6px;
  background: var(--sand);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 0.85em;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
}

.btn-ink,
.btn-primary {
  background: var(--deep);
  color: var(--paper);
}

.btn-ink:hover,
.btn-primary:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-sand {
  background: var(--sand);
  color: var(--deep);
}

.btn-sand:hover {
  background: var(--sand-hi);
  color: var(--deep);
}

.btn-outline,
.btn-secondary {
  background: transparent;
  color: var(--deep);
  box-shadow: inset 0 0 0 1.5px var(--deep);
}

.btn-outline:hover,
.btn-secondary:hover {
  background: var(--deep);
  color: var(--paper);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1.5px solid var(--rule);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-slot {
  display: flex;
}

.logo-wordmark {
  width: auto;
  height: 42px;
  max-width: 52vw;
}

.nav,
.btn.header-cta {
  display: none;
}

.nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-phone {
  font-family: var(--font-mono);
  font-weight: 500 !important;
}

.menu-toggle {
  appearance: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--rule);
  border-radius: 3px;
  cursor: pointer;
}

.menu-toggle span:not(.visually-hidden) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.mobile-nav.is-open {
  position: fixed;
  inset: calc(var(--header-h) + 1.5px) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 8px var(--pad) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--white);
}

.mobile-nav a {
  display: block;
  padding: 18px 0;
  border-bottom: 1.5px solid var(--rule-soft);
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav .btn {
  margin-top: 20px;
  padding: 0 22px;
  border-bottom: 0;
  font-size: 17px;
  color: var(--paper);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--white);
}

.hero-waves {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% + 480px);
  max-width: none;
  height: 60%;
  color: var(--teal-2);
  opacity: 0.5;
  pointer-events: none;
  animation: kw-drift 26s linear infinite;
}

@keyframes kw-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-240px);
  }
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  padding-top: clamp(36px, 6vw, 84px);
  padding-bottom: clamp(44px, 6vw, 88px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.h1-kicker {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}

.h1-line {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.h1-day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: min(16.5vw, 128px);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
}

.day-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.day-picker-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--mist-2);
}

.day-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  max-width: 560px;
}

.day-btn {
  appearance: none;
  min-height: 48px;
  padding: 0 4px;
  background: transparent;
  border: 1.5px solid rgba(233, 207, 160, 0.45);
  border-radius: 3px;
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.day-btn:hover {
  border-color: var(--sand);
  background: rgba(233, 207, 160, 0.12);
}

.day-btn[aria-pressed="true"] {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--deep);
}

.lede {
  max-width: 54ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--mist);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-actions .btn {
  width: 100%;
}

.cta-helper {
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mist-2);
}

/* Calendar */

.cal-card {
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  padding: 22px;
  background: var(--teal);
  border: 1.5px solid rgba(233, 207, 160, 0.35);
  border-radius: var(--radius);
}

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.cal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
}

.cal-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}

.cal-dow,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.cal-dow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  color: var(--mist-2);
}

.cal-grid span {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--mist);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cal-grid span.is-on {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--deep);
  box-shadow: 0 0 0 3px rgba(233, 207, 160, 0.22);
}

.cal-note {
  font-size: 14px;
  line-height: 1.45;
  color: var(--mist);
}

/* Tile band (pool waterline) */

.tile-band {
  height: 40px;
  background: repeating-linear-gradient(
    90deg,
    #1b8391 0 42px,
    #062f3a 42px 44px,
    #0f6474 44px 86px,
    #062f3a 86px 88px,
    #2b9aa6 88px 130px,
    #062f3a 130px 132px,
    #14707e 132px 174px,
    #062f3a 174px 176px,
    #0b4f63 176px 218px,
    #062f3a 218px 220px
  );
  border-bottom: 6px solid var(--sand);
}

.tile-band-top {
  border-bottom: 0;
  border-top: 6px solid var(--sand);
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-y);
}

.band-sand {
  background: var(--sand);
  color: var(--deep);
  border-block: 1.5px solid var(--rule);
}

.band-teal {
  background: var(--teal);
  color: var(--white);
}

.band-deep {
  background: var(--deep);
  color: var(--white);
}

.split {
  display: grid;
  gap: 48px;
}

.split-main,
.split-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.split-main > .eyebrow,
.split-side > .eyebrow {
  margin-bottom: -10px;
}

/* How it works */

.steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 0 32px;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0 24px;
  border-top: 1.5px solid var(--rule);
}

.step-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.steps h3 {
  font-size: 22px;
  font-weight: 700;
}

.steps p:not(.step-tag) {
  color: var(--muted);
}

/* Sample report */

.report {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  width: 100%;
  justify-self: center;
}

.report-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--sand);
  transform: rotate(-1.5deg);
}

.report-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.report-top img {
  width: 36px;
  height: 36px;
}

.report-badge {
  padding: 4px 8px;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.report-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--deep);
}

.report-photo {
  position: relative;
  height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #2b9aa6, #0f6474);
  border-radius: 2px;
}

.report-photo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.report-photo span {
  position: relative;
  padding: 3px 8px;
  background: rgba(4, 31, 39, 0.75);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 2px;
}

.report-rows {
  font-family: var(--font-mono);
  font-size: 14px;
}

.report-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--rule-soft);
}

.report-rows div:last-child {
  border-bottom: 1px solid var(--rule-soft);
}

.report figcaption {
  font-size: 15px;
  color: var(--muted);
}

/* Pricing */

.price-poster {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(112px, 22vw, 256px);
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.price-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
}

.price-period {
  font-size: 24px;
  font-weight: 700;
}

.price-regular {
  font-size: 16px;
  font-weight: 500;
}

.spots {
  display: grid;
  grid-template-columns: repeat(5, 24px); /* 5 x 5 on phones */
  gap: 5px;
}

@media (min-width: 480px) {
  .spots {
    grid-template-columns: repeat(13, 24px); /* 13 + 12 */
  }
}

.spots span {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--deep);
  border-radius: 2px;
}

.spots-note {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.price-copy {
  max-width: 48ch;
  font-size: 17px;
}

.ruled-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rl;
  font-size: 17px;
  line-height: 1.4;
}

.ruled-list li {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-top: 1.5px solid var(--rule);
  font-weight: 500;
  counter-increment: rl;
}

.ruled-list li:last-child {
  border-bottom: 1.5px solid var(--rule);
}

.ruled-list li::before {
  content: counter(rl, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
}

.ruled-list.plain li::before {
  content: none;
}

.ruled-list.plain li {
  font-weight: 400;
}

.band-sand .ruled-list a {
  color: var(--deep);
}

.fine-print {
  font-size: 14px;
  line-height: 1.55;
}

/* Area check */

.quote-panel {
  display: grid;
  gap: 18px;
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(20px, 3vw, 32px);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
}

.quote-panel-head h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--deep);
}

.quote-panel-head p {
  margin-top: 6px;
  color: var(--muted);
}

.area-form {
  display: grid;
  gap: 12px;
  align-items: end;
}

.area-form .field {
  margin: 0;
}

.area-result {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 16px;
}

.area-result.is-in {
  background: #dcefe9;
  color: #0c3f33;
}

.area-result.is-edge {
  background: var(--sand-hi);
  color: var(--deep);
}

.area-result.is-out {
  background: #f6e1dc;
  color: #5a1d12;
}

.area-result a {
  color: inherit;
}

.quote-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  background: var(--white);
  border: 1.5px solid var(--rule-soft);
  border-radius: var(--radius);
}

.quote-summary h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
}

.quote-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 10px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 15px;
}

.quote-row span:first-child {
  font-weight: 600;
}

.quote-note {
  margin: 10px 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.quote-summary .btn {
  align-self: flex-start;
}

/* Promise + repair menu */

.menu-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: clamp(20px, 3vw, 40px);
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
}

.menu-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 18px;
  text-align: center;
  border-bottom: 4px double var(--rule);
}

.menu-head .eyebrow {
  margin: 0;
}

.menu-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--deep);
}

.menu-head p:last-child {
  font-size: 15px;
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.repair-table {
  width: 100%;
  min-width: 340px;
  border-collapse: collapse;
  font-size: 15px;
}

.repair-table thead th {
  padding: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

.repair-table thead th:first-child {
  text-align: left;
}

.repair-table tbody th,
.repair-table tbody td {
  padding: 11px 0;
  border-top: 1px dotted #5b7176;
  vertical-align: top;
}

.repair-table tbody tr:last-child th,
.repair-table tbody tr:last-child td {
  border-bottom: 1px dotted #5b7176;
}

.repair-table tbody th {
  font-weight: 500;
  text-align: left;
  padding-right: 12px;
}

.repair-table tbody td {
  padding-left: 12px;
  font-family: var(--font-mono);
  text-align: right;
  white-space: nowrap;
}

.repair-table td[colspan] {
  font-family: var(--font-body);
  white-space: normal;
}

.menu-note {
  font-size: 14px;
  color: var(--muted);
}

/* Who we are */

.zip-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--mist);
  margin-bottom: -12px;
}

.zip-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 19px;
}

.zip-chips li {
  padding: 8px 12px;
  background: var(--sand);
  color: var(--deep);
  border-radius: 2px;
}

.zip-chips li.is-edge {
  background: transparent;
  color: var(--sand);
  box-shadow: inset 0 0 0 1.5px var(--sand);
}

.zip-towns {
  font-size: 16px;
  color: var(--mist);
}

.truck {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.truck img {
  width: 100%;
  aspect-ratio: 1280 / 670;
  object-fit: cover;
  border: 1.5px solid var(--deep);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--deep);
  background: var(--teal-2);
}

.truck figcaption {
  padding-top: 6px;
  font-size: 13px;
  color: var(--mist);
}

/* FAQ */

.faq-head {
  min-width: 0;
}

.faq-list {
  min-width: 0;
  border-bottom: 1.5px solid var(--rule);
}

.faq-item {
  border-top: 1.5px solid var(--rule);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  min-height: 48px;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--teal);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-body {
  max-width: 62ch;
  padding: 0 0 22px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Signup ---------- */

.signup-copy .display {
  color: var(--white);
}

.signup-sub {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--sand);
}

.signup-intro {
  max-width: 46ch;
  font-size: 18px;
  color: var(--mist);
}

.on-dark-list li {
  border-color: rgba(233, 207, 160, 0.4) !important;
  color: var(--mist);
  font-size: 16px;
}

.contact-line {
  font-family: var(--font-mono);
  font-size: 15px;
}

.on-dark a {
  color: var(--sand);
}

.on-dark a:hover {
  color: var(--white);
}

.on-dark .btn-sand,
.on-dark .btn-sand:hover {
  color: var(--deep);
}

.signup-form-wrap {
  min-width: 0;
}

.form-card,
.thanks-card {
  padding: clamp(20px, 3vw, 36px);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
}

.thanks-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.thanks-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--deep);
}

.thanks-card .eyebrow {
  color: var(--teal);
  margin: 0;
}

.form-card a,
.thanks-card a {
  color: var(--teal);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-progress {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.form-progress .is-active {
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.field-grid {
  display: grid;
  gap: 0 16px;
}

.field {
  margin-bottom: 16px;
}

.field label,
.extras-label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--white);
  border: 1.5px solid #7e979c;
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px; /* 16px stops iOS zooming on focus */
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a2a33' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--teal-2);
  outline-offset: 1px;
  border-color: var(--deep);
}

.field-error {
  display: none;
  margin-top: 6px;
  color: var(--error);
  font-size: 14px;
  font-weight: 600;
}

.field.has-error .field-error {
  display: block;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
}

.form-error {
  margin-top: 12px;
}

.form-help,
.legal-agree {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.legal-agree {
  margin-top: 6px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.extra-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
}

.review-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.review-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 15px;
}

.review-list .muted {
  color: var(--muted);
  text-align: right;
}

.pay-placeholder {
  margin: 16px 0;
  padding: 16px;
  background: var(--sand-hi);
  border-radius: var(--radius);
  font-size: 15px;
}

.pay-placeholder h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px 0 calc(112px + env(safe-area-inset-bottom));
  background: var(--deeper);
  color: var(--mist);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}

.footer-h,
.site-footer h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}

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

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

.footer-logo-pad {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius);
}

.footer-logo-pad .logo-wordmark {
  height: 40px;
}

.footer-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(233, 207, 160, 0.3);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Mobile reserve bar ---------- */

.reserve-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--deep);
  border-top: 1.5px solid var(--sand);
  transition: transform 0.2s ease;
}

.reserve-bar .btn {
  max-width: 440px;
}

.reserve-bar.is-hidden,
body.nav-open .reserve-bar {
  transform: translateY(calc(100% + 24px));
  pointer-events: none;
}

/* ---------- Legal pages (privacy.html, terms.html) ---------- */

.draft-banner {
  padding: 10px 16px;
  background: var(--sand);
  color: var(--deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--rule);
}

.legal-page {
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

.legal-page h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--deep);
}

.legal-page h2 {
  margin: 32px 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.legal-lede,
.legal-updated,
.legal-entity-line,
.legal-page p,
.legal-page li {
  max-width: 42rem;
  color: var(--muted);
}

.legal-lede {
  margin: 0 0 24px;
  font-size: 18px;
}

.legal-entity-line {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.legal-page p + p,
.legal-page ul,
.legal-page ol {
  margin-top: 10px;
}

/* Old class names still used on legal pages */
.section-alt {
  background: var(--paper);
}

/* ---------- Breakpoints ---------- */


/* Narrow phones: 7 day buttons can't each be 44px wide, so wrap to 4 + 3. */
@media (max-width: 389px) {
  .day-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 480px) {
  .hero-actions .btn {
    width: auto;
  }
}

@media (min-width: 700px) {
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }

  .area-form {
    max-width: 640px;
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 76px;
  }

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

  .btn.header-cta {
    display: inline-flex;
    min-height: 46px;
    font-size: 15px;
  }

  .menu-toggle,
  .mobile-nav,
  .mobile-nav.is-open,
  .reserve-bar {
    display: none !important;
  }

  .logo-wordmark {
    height: 46px;
  }

  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 56px 72px;
    align-items: start;
  }

  .split-center {
    align-items: center;
  }

  #faq .split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  }

  .site-footer {
    padding-bottom: 40px;
  }
}

@media (min-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
    gap: 56px;
  }

  .h1-day {
    font-size: clamp(100px, 10vw, 150px);
  }

  .cal-card {
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .reserve-bar,
  .hero-waves,
  .tile-band,
  .day-picker {
    display: none !important;
  }
}
