:root {
  color-scheme: light;
  --navy: #152238;
  --deep-navy: #1c2b45;
  --gold: #e0a94a;
  --paper: #f9fafb;
  --line: #d2d9e3;
  --muted: #47566b;
  font-family: 'Libre Franklin', system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { max-width: 72rem; margin-inline: auto; padding-inline: clamp(1rem, 5vw, 3rem); }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.topbar { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar img { display: block; width: clamp(8rem, 25vw, 12rem); height: auto; }
.phone { font-weight: 750; white-space: nowrap; }
a { color: inherit; text-underline-offset: 0.2em; }
.layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-block: clamp(2rem, 7vw, 5.5rem); }
h1 { font: 600 clamp(2.4rem, 4.5vw, 3.5rem)/1.09 Lora, Georgia, serif; margin: 0 0 1rem; letter-spacing: -0.04em; }
p { line-height: 1.55; }
.intro > p { max-width: 33ch; font-size: 1.12rem; color: var(--muted); }
.contact { margin-top: 2rem; border-top: 1px solid var(--line); }
.contact p:has(a[hidden]) { display: none; }
.safety, .muted { color: var(--muted); font-size: 0.9rem; }
.assistant { overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; box-shadow: 0 16px 50px #15223810; }
.assistant h2 { color: #fff; background: var(--deep-navy); font-size: 1rem; margin: 0; padding: 1.15rem clamp(1rem, 4vw, 1.75rem); border-bottom: 4px solid var(--gold); }
#availability, #conversation { margin: 0; padding: clamp(1rem, 4vw, 1.75rem); }
.preview-notice { margin: 1rem 0 0; padding-inline: clamp(1rem, 4vw, 1.75rem); }
.prompt { width: fit-content; margin: 0 0 1.15rem; padding: 0.75rem 1rem; border-radius: 0.25rem 0.9rem 0.9rem 0.9rem; background: #eff2f7; font-weight: 700; }
#fields { display: grid; gap: 0.75rem; }
input, button { font: inherit; }
.field { display: grid; gap: 0.45rem; font-size: 0.94rem; font-weight: 650; }
.field input { width: 100%; min-height: 2.85rem; padding: 0.65rem 0.75rem; border: 1px solid #8291a4; border-radius: 0.5rem; color: inherit; background: #fff; font-size: 1rem; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
button { cursor: pointer; color: var(--navy); border-radius: 0.6rem; }
button:disabled { cursor: wait; opacity: 0.65; }
.choice { min-height: 2.75rem; padding: 0.65rem; text-align: left; background: #fff; border: 1px solid #aab6c6; }
.choice:hover, .choice[aria-pressed="true"] { background: #fff4df; border-color: #956513; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1rem; margin: 0; font-size: 0.94rem; }
.summary dt { font-weight: 700; }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.consent { display: flex; min-height: 2.75rem; align-items: flex-start; gap: 0.55rem; line-height: 1.45; }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; flex: none; accent-color: var(--navy); }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.8rem; }
.primary { min-height: 2.75rem; margin-left: auto; border: 1px solid var(--gold); padding: 0.6rem 1.15rem; background: var(--gold); font-weight: 750; }
.primary:hover:not(:disabled) { background: #fdc86b; }
.back { min-height: 2.75rem; padding-inline: 0.75rem; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid #145b9b; outline-offset: 2px; }
.error { color: #a52222; font-size: 1.05rem; font-weight: 700; line-height: 1.45; margin: 0; }
.error .call-button { margin-top: 0.75rem; }
/* Tap-to-call: the page's main call to action (Nathan 2026-11-28: bigger, a real button). */
.call-button { display: flex; gap: 0.3em; width: 100%; max-width: 24rem; min-height: 3.4rem; align-items: center; justify-content: center;
  padding: 0.75rem 1.25rem; border-radius: 0.75rem; background: var(--gold); color: var(--navy); font-size: 1.3rem; font-weight: 800;
  text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px #15223822; }
.call-button:hover { background: #fdc86b; }
.cta-label { font-size: 1.15rem; margin: 1.25rem 0 0.6rem; }
.after-send { padding: 0 clamp(1rem, 4vw, 1.75rem) clamp(1rem, 4vw, 1.75rem); margin-top: -0.5rem; }
.prompt .warn { color: #b3261e; }
.after-label { font-weight: 700; margin: 0 0 0.6rem; }
.error:not(:empty) { margin-top: 0.75rem; }
.footer { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; padding-block: 1rem 2rem; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 46rem) {
  .layout { grid-template-columns: 1fr; }
  /* Phones: headline, then the form right away, then the call / appointment details. */
  .intro { display: contents; }
  .intro h1 { order: 0; margin-bottom: 0; font-size: clamp(2rem, 9vw, 2.4rem); }
  .assistant { order: 1; }
  .intro > p, .contact { order: 2; }
  .intro > p { margin: 0; }
  .contact { margin-top: 1.25rem; }
  .intro > p { max-width: none; }
}
@media (max-width: 24rem) {
  .choices { grid-template-columns: 1fr; }
  .topbar .phone { font-size: 0.85rem; }
}
