:root {
  --navy: #14213D;
  --navy-2: #22335A;
  --cream: #F5EFE0;
  --card: #FBF8F1;
  --line: #E2D9C4;
  --text: #14213D;
  --muted: #4A5568;
  --ok: #2F6B4F;
  --ok-bg: #E3EFE8;
  --wait: #8A5300;
  --wait-bg: #F7EBD3;
  --alert: #A4262C;
  --alert-bg: #F6E1E1;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--cream); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.45; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
h1[tabindex="-1"]:focus { outline: none; } /* focus moves here for screen readers on each step; no visible box needed */
button, input { font: inherit; color: inherit; }
a { color: var(--navy); }

.topbar { background: var(--navy); color: var(--cream); padding: 14px 16px; }
.topbar .inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.mark { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--cream); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 15px; flex: none; }
.topbar .name { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.2; }
.topbar .sub { font-size: 13px; opacity: 0.85; }

.wrap { max-width: 560px; margin: 0 auto; padding: 20px 16px 120px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 6px; }
.lead { color: var(--muted); margin: 6px 0 20px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.choice { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 10px; text-align: left; cursor: pointer; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.choice:hover { border-color: var(--navy); }
.choice:focus-visible, .btn:focus-visible, .slot:focus-visible, input:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.choice .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; flex: none; }
.choice .avatar.ghost { background: transparent; color: var(--navy); border: 1.5px dashed var(--navy); }
.choice .title { font-weight: 600; font-size: 17px; }
.choice .meta { font-size: 14px; color: var(--muted); }
.choice .chev { margin-left: auto; color: var(--muted); font-size: 22px; }

.back { background: none; border: 0; padding: 6px 0; margin-bottom: 8px; color: var(--navy); font-weight: 600; cursor: pointer; }

.day { margin: 22px 0 8px; font-family: var(--serif); font-size: 18px; }
.slots { display: grid; gap: 8px; }
.slot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; text-align: left; }
.slot:hover:not([disabled]) { border-color: var(--navy); }
.slot .time { font-weight: 600; }
.slot .coach { font-size: 14px; color: var(--muted); }
.slot .left { font-size: 14px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.slot[disabled] { cursor: default; background: transparent; }
.slot[disabled] .time, .slot[disabled] .coach { color: var(--muted); }
.slot[disabled] .left { color: var(--muted); font-weight: 500; }
.slot.picked { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.slot.picked .coach, .slot.picked .left { color: var(--cream); }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=tel], input[type=email] { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 12px; border: 1px solid var(--navy); background: var(--navy); color: var(--cream); font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

.summary { padding: 16px; margin-bottom: 18px; }
.summary .when { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.summary .who { color: var(--muted); }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill.wait { color: var(--wait); background: var(--wait-bg); }
.pill.ok { color: var(--ok); background: var(--ok-bg); }
.pill.alert { color: var(--alert); background: var(--alert-bg); }

.notice { padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-size: 15px; }
.notice.error { background: var(--alert-bg); color: var(--alert); }
.notice.info { background: var(--card); border: 1px solid var(--line); color: var(--muted); }

.done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }
.privacy { font-size: 13px; color: var(--muted); margin-top: 16px; }
.empty { color: var(--muted); padding: 16px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
