:root {
  color-scheme: light;
  --navy: #0b1f4a;
  --blue: #1b3d8f;
  --blue-2: #2563eb;
  --cyan: #06b6d4;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe5f3;
  --surface: #ffffff;
  --soft: #f4f7fc;
  --success: #0f9f6e;
  --danger: #c2413b;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at top, #e7efff 0, #f5f8fd 32rem, #eef3f9 100%); color: var(--ink); min-height: 100vh; }
button, input, select { font: inherit; }
a { color: inherit; }
.page-shell { width: min(100%, 760px); margin: 0 auto; min-height: 100vh; padding: max(14px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.brand-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 4px 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .025em; color: var(--navy); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg, var(--navy), var(--blue-2)); box-shadow: 0 8px 24px rgba(27,61,143,.2); }
.secure-pill { font-size: 12px; font-weight: 700; color: #315285; background: rgba(255,255,255,.78); border: 1px solid #cfdcf0; border-radius: 999px; padding: 8px 11px; }
.booking-layout { display: grid; gap: 16px; }
.hero-card { color: white; background: linear-gradient(135deg, #0b1f4a 0%, #1b3d8f 60%, #2563eb 100%); border-radius: 26px; padding: 28px; box-shadow: 0 18px 48px rgba(20,52,115,.18); position: relative; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -100px; top: -120px; background: rgba(255,255,255,.08); }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: #b9d3ff; }
h1 { margin: 0; font-size: clamp(26px, 6vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.hero-copy { margin: 12px 0 18px; max-width: 560px; color: rgba(255,255,255,.82); line-height: 1.6; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.68); }
.status-panel { border-radius: 16px; border: 1px solid #cad9ed; padding: 14px 16px; background: rgba(255,255,255,.9); color: #3b5578; line-height: 1.5; }
.status-panel.error { border-color: #f1c4c0; background: #fff5f4; color: #8d302a; }
.status-panel.warning { border-color: #f0d59d; background: #fff9ec; color: #795614; }
.booking-card, .success-card { background: rgba(255,255,255,.96); border: 1px solid rgba(198,212,232,.9); border-radius: 24px; padding: 24px; box-shadow: 0 14px 36px rgba(27,61,143,.08); }
.step-block { display: grid; gap: 10px; }
.step-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 4px; }
.step-heading h2 { margin: 1px 0 3px; font-size: 18px; }
.step-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.step-number { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, var(--blue), var(--blue-2)); font-size: 13px; font-weight: 800; }
label { font-size: 13px; font-weight: 700; color: #334155; margin-top: 3px; }
input, select { width: 100%; min-height: 48px; border: 1px solid #ccd8e9; border-radius: 12px; background: #fbfdff; color: var(--ink); padding: 0 13px; outline: none; transition: border .18s, box-shadow .18s; }
input:focus, select:focus { border-color: #6e9ee9; box-shadow: 0 0 0 4px rgba(37,99,235,.09); }
input:disabled, select:disabled { opacity: .6; background: #f2f5f9; }
.selection-summary { padding: 12px 14px; border-radius: 12px; background: #eef4ff; color: #254477; font-size: 13px; line-height: 1.5; }
.divider { height: 1px; background: #e7edf5; margin: 22px 0; }
.slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot-button { min-height: 42px; border-radius: 11px; border: 1px solid #cfdced; background: #fff; color: #294d7b; font-weight: 700; cursor: pointer; }
.slot-button:hover { border-color: #86aae0; background: #f5f9ff; }
.slot-button.selected { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 16px rgba(27,61,143,.18); }
.muted, .empty-note, .privacy-note, .submit-help { color: var(--muted); font-size: 12px; line-height: 1.5; }
.empty-note { padding: 12px; text-align: center; border-radius: 12px; background: #f8fafc; }
.privacy-note { margin: 2px 0 0; }
.turnstile-box { min-height: 66px; }
.primary-button, .secondary-button { width: 100%; min-height: 54px; border: 0; border-radius: 14px; font-weight: 800; cursor: pointer; transition: transform .15s, opacity .15s; }
.primary-button { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 10px 24px rgba(37,99,235,.2); margin-top: 22px; }
.primary-button:active, .secondary-button:active { transform: translateY(1px); }
.primary-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.secondary-button { color: var(--blue); background: #eef4ff; border: 1px solid #c9daf6; }
.submit-help { text-align: center; margin: 8px 0 0; }
.success-card { text-align: center; padding: 32px 24px; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: #e8fbf3; color: var(--success); font-size: 32px; font-weight: 900; }
.success-card h2 { margin: 0 0 8px; font-size: 24px; }
.success-card p { color: var(--muted); line-height: 1.6; }
.reference { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; word-break: break-word; }
footer { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 20px 4px 4px; color: #7b8da8; font-size: 12px; }
footer a { text-decoration: none; color: #365d93; }
@media (max-width: 560px) {
  .page-shell { padding-left: 12px; padding-right: 12px; }
  .hero-card { padding: 24px 20px; border-radius: 22px; }
  .booking-card { padding: 20px 16px; border-radius: 20px; }
  .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .secure-pill { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
