:root {
  color-scheme: light;
  --ink: #111410;
  --paper: #f1efe8;
  --white: #fff;
  --blue: #2947d9;
  --coral: #ff5a3d;
  --mint: #79e5b7;
  --fog: #d9d7d0;
  --muted: #62665f;
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Arial, sans-serif;
  --mono: SFMono-Regular, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: var(--body); }
button, input, textarea { font: inherit; }
button, .button { min-height: 46px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; color: var(--white); background: var(--ink); }
.skip-link:focus { top: 1rem; }
.flow-header { min-height: 80px; padding: 1rem clamp(1rem, 4vw, 4rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand span { display: grid; }
.brand strong { font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; font-size: 1.02rem; font-weight: 900; line-height: .78; letter-spacing: -.065em; }
.brand small { color: var(--muted); font-size: .7rem; }
.header-link { font-size: .82rem; font-weight: 700; text-decoration: none; }
.header-link:hover { text-decoration: underline; text-underline-offset: .3rem; }
.demo-banner { margin: 0; padding: .7rem 1rem; color: var(--white); background: var(--ink); text-align: center; font: 700 .66rem/1.4 var(--mono); letter-spacing: .04em; }
.flow-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) 0 5rem; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.flow-main { min-width: 0; }
.eyebrow { margin: 0 0 1rem; font: 700 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: .95; letter-spacing: -.035em; }
h1 { max-width: 14ch; font-size: clamp(3rem, 6vw, 5.8rem); text-transform: uppercase; }
.intro { max-width: 42rem; margin: 1.2rem 0 2rem; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.booking-deposit-notice { max-width: 48rem; margin: -1rem 0 2rem; padding: 1rem 1.1rem; border: 1px solid var(--ink); border-left: 6px solid var(--coral); border-radius: .55rem; background: var(--white); font-size: .92rem; line-height: 1.55; }
.booking-deposit-notice strong { display: block; margin-bottom: .2rem; }
.progress { margin: 0 0 2.6rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border: 1px solid var(--ink); }
.progress li { min-height: 54px; padding: .7rem; display: flex; align-items: center; gap: .65rem; border-right: 1px solid var(--ink); color: var(--muted); font: 700 .68rem/1 var(--mono); }
.progress li:last-child { border-right: 0; }
.progress span { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.progress .is-active { color: var(--white); background: var(--blue); }
.progress .is-complete { color: var(--ink); background: var(--mint); }
.step-head { margin-bottom: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.step-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.step-head p { margin: 0; color: var(--muted); font-size: .82rem; }
.choice-list { display: grid; gap: .7rem; }
.choice { width: 100%; padding: 1rem; display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; text-align: left; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: .7rem; cursor: pointer; }
.choice:hover { background: #e7e5de; }
.choice.is-selected { color: var(--white); background: var(--blue); border-color: var(--blue); box-shadow: 6px 6px 0 var(--ink); }
.choice strong { font-size: 1rem; }
.choice span { color: inherit; font-size: .78rem; opacity: .75; }
.choice b { grid-row: span 2; align-self: center; font: 800 1rem/1 var(--mono); }
.date-row, .slot-grid, .plan-row { display: grid; gap: .7rem; }
.date-row { grid-template-columns: repeat(3, 1fr); margin-bottom: 1.5rem; }
.date-button, .slot-button { padding: .8rem; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: .55rem; cursor: pointer; }
.date-button { display: grid; gap: .2rem; }
.date-button small { color: var(--muted); }
.date-button.is-selected, .slot-button.is-selected { color: var(--white); background: var(--blue); border-color: var(--blue); }
.slot-grid { grid-template-columns: repeat(4, 1fr); }
.flow-actions { margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--ink); }
.button { padding: .75rem 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid var(--ink); border-radius: .58rem; background: transparent; color: var(--ink); font-weight: 700; text-decoration: none; cursor: pointer; }
.button-primary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: #203abb; }
.button-secondary:hover { color: var(--white); background: var(--ink); }
.button[disabled] { opacity: .5; cursor: not-allowed; }
.button[aria-busy="true"]::after { content: ""; width: .8rem; height: .8rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.summary-card { position: sticky; top: 1.4rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.summary-brand { display: flex; align-items: center; gap: .7rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.summary-avatar { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--coral); font-weight: 800; }
.summary-brand div { display: grid; }
.summary-brand small { color: var(--muted); }
.summary-lines { margin: 0; }
.summary-lines div { padding: 1rem 0; display: grid; gap: .3rem; border-bottom: 1px solid var(--fog); }
.summary-lines dt { color: var(--muted); font: 700 .62rem/1 var(--mono); text-transform: uppercase; }
.summary-lines dd { margin: 0; font-weight: 700; }
.summary-note { margin: 1rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label { font: 700 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: .8rem; border: 1px solid var(--ink); border-radius: .5rem; background: var(--white); color: var(--ink); }
.field textarea { min-height: 95px; resize: none; }
.field small { color: var(--muted); }
.field-error { min-height: 1rem; color: #a22613 !important; font-weight: 700; }
.field input[aria-invalid="true"] { border: 2px solid var(--coral); }
.choice-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { padding: .65rem .8rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--white); cursor: pointer; }
.chip.is-selected { color: var(--white); background: var(--blue); border-color: var(--blue); }
.success-panel { padding: clamp(1.5rem, 5vw, 3rem); background: var(--mint); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.success-mark { width: 3.5rem; height: 3.5rem; margin-bottom: 1.4rem; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 1.5rem; }
.success-panel h2 { max-width: 14ch; font-size: clamp(2.5rem, 5vw, 4.8rem); text-transform: uppercase; }
.success-panel p { max-width: 40rem; line-height: 1.55; }
.success-panel .flow-actions { justify-content: flex-start; }
.plan-row { grid-template-columns: repeat(3, 1fr); }
.plan-card { position: relative; padding: 1rem; text-align: left; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: .65rem; cursor: pointer; }
.plan-card.is-selected { background: var(--mint); box-shadow: 6px 6px 0 var(--ink); }
.plan-card span { display: block; font: 700 .65rem/1 var(--mono); }
.plan-card strong { display: block; margin: 1.5rem 0 .35rem; font-family: var(--display); font-size: 2.5rem; }
.plan-card small { color: var(--muted); }
.plan-card b { position: absolute; top: .8rem; right: .8rem; color: var(--blue); font: 700 .55rem/1 var(--mono); }
.plain-note { padding: 1rem; color: var(--ink); background: #fff2ee; border-left: 4px solid var(--coral); font-size: .8rem; line-height: 1.5; }
.signup-shell { width: min(920px, calc(100% - 2rem)); grid-template-columns: 1fr; }
.signup-shell .flow-main { max-width: 850px; margin: 0 auto; }
.signup-shell h1 { max-width: 16ch; }
.signup-footer { margin-top: 1.5rem; color: var(--muted); font-size: .72rem; text-align: center; }

@media (max-width: 820px) {
  .flow-shell { grid-template-columns: 1fr; }
  .summary-card { position: static; grid-row: 1; box-shadow: 5px 5px 0 var(--ink); }
  .plan-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .flow-shell { width: min(100% - 1.25rem, 1120px); padding-top: 2.5rem; }
  .progress li { justify-content: center; font-size: 0; }
  .progress li span { font-size: .68rem; }
  .date-row { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .flow-actions { flex-direction: column-reverse; }
  .flow-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body.booking-theme-bold {
  --ink: #f4f0e7;
  --paper: #090909;
  --white: #151515;
  --blue: #ff5a3d;
  --coral: #ff5a3d;
  --mint: #79e5b7;
  --fog: #353535;
  --muted: #bbb6ad;
  color-scheme: dark;
}

.booking-theme-bold .flow-header .brand img { filter: invert(1); }
.booking-theme-bold .choice.is-selected,
.booking-theme-bold .date-button.is-selected,
.booking-theme-bold .slot-button.is-selected { color: #090909; }
.booking-theme-bold .summary-avatar { color: #090909; }

body.booking-theme-warm {
  --ink: #2c2033;
  --paper: #fff0df;
  --white: #fff9f2;
  --blue: #6e3fc1;
  --coral: #e96f55;
  --mint: #b6e6c9;
  --fog: #e9d3c1;
  --muted: #705f72;
}

.booking-theme-warm .choice,
.booking-theme-warm .date-button,
.booking-theme-warm .slot-button,
.booking-theme-warm .button,
.booking-theme-warm .summary-card,
.booking-theme-warm .field input,
.booking-theme-warm .field textarea { border-radius: 1rem; }
