:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5e6b78;
  --line: #d8dee6;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --accent: #126b66;
  --accent-strong: #0d4f4b;
  --warm: #b65f2a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
}

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.hero,
.booking-header,
.confirmed {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.25rem, 7vw, 4.8rem);
  line-height: 0.98;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.2rem;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 650px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.type-card,
.panel,
.confirmed {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.type-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
}

.type-card p,
.booking-header p {
  color: var(--muted);
}

.card-foot,
.booking-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.button {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  justify-content: center;
  width: 100%;
}

.button:hover {
  background: var(--accent-strong);
}

.back {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
}

.booking-form {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.day {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.slots {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  margin-bottom: 18px;
}

.slot input {
  height: 1px;
  opacity: 0.01;
  position: absolute;
  width: 1px;
}

.slot span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
}

.slot input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

label span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

.error {
  background: #fff3f0;
  border: 1px solid #e1a492;
  border-radius: 6px;
  color: #8a321b;
  padding: 12px;
}

.zoom-line {
  background: #eef7f5;
  border-radius: 6px;
  padding: 12px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 22px, 1080px);
    padding-top: 24px;
  }

  .booking-form,
  .booking-header {
    display: block;
  }

  .panel {
    margin-bottom: 16px;
  }
}
