:root {
  --oxford: #0E2242;
  --teal: #158E96;
  --gold: #E7A423;
  --alabaster: #EFE7DA;
  --ink: #14202e;
  --line: #d8cdbc;
  --white: #ffffff;
  --shadow: 0 24px 60px -28px rgba(14, 34, 66, 0.45);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(21, 142, 150, 0.10), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(231, 164, 35, 0.10), transparent 50%),
    var(--alabaster);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page { min-height: 100vh; display: flex; flex-direction: column; }

.masthead {
  padding: 22px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: "Fraunces", serif;
  font-weight: 500;
  color: var(--oxford);
  letter-spacing: 0.01em;
  font-size: 18px;
}
.wordmark .tm { font-size: 0.6em; vertical-align: super; color: var(--teal); }

.shell {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
}

/* Hero */
.hero { position: sticky; top: 32px; }
@media (max-width: 860px) { .hero { position: static; } }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
  color: var(--oxford);
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.hero .sub { font-size: 18px; color: #2c3a4b; max-width: 46ch; }
.hero .rule { width: 64px; height: 3px; background: var(--gold); margin: 26px 0 0; border: 0; }

/* Panel */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 36px);
}
.step-title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 23px;
  color: var(--oxford);
  margin: 0 0 22px;
}

/* Fields */
.fields { display: grid; gap: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--oxford);
  margin-bottom: 6px;
}
.field .help { font-weight: 400; color: #6b7686; font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fdfbf7;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(21, 142, 150, 0.15);
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.btn {
  font: inherit;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.08s, background 0.15s, color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: #117077; }
.btn-ghost { background: transparent; color: var(--oxford); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--oxford); }

/* Times */
.times-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.tz { font-size: 12px; color: #6b7686; display: grid; gap: 4px; }
.tz select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fdfbf7; }
.muted { color: #6b7686; font-size: 14px; }
.slots { display: grid; gap: 20px; margin-top: 16px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.day-group h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--oxford);
  margin: 0 0 10px;
}
.slot-row { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  border: 1px solid var(--line);
  background: #fdfbf7;
  border-radius: 8px;
  padding: 9px 14px;
  font: inherit;
  font-weight: 500;
  color: var(--oxford);
  cursor: pointer;
}
.slot:hover { border-color: var(--teal); color: var(--teal); }
.slot.selected { background: var(--oxford); color: var(--white); border-color: var(--oxford); }

.confirm-line { font-family: "Fraunces", serif; font-size: 20px; color: var(--oxford); }

.check {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
}

.err { color: #b3261e; font-size: 14px; margin-top: 14px; }

.foot {
  padding: 20px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #6b7686;
}
