:root {
  color-scheme: light;
  --ink: #111113;
  --muted: #6e6e73;
  --line: #d8d8dc;
  --surface: #f5f5f7;
  --white: #fff;
  --lime: #a8f000;
  --deep-lime: #4c7800;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.agenda-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  background: rgb(245 245 247 / 86%);
  backdrop-filter: blur(22px) saturate(160%);
}

.brand {
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
}

.brand span {
  color: var(--deep-lime);
}

.agenda-header p,
.agenda-footer {
  color: var(--muted);
  font-size: 13px;
}

.agenda-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.agenda-intro {
  display: grid;
  min-height: min(720px, calc(100svh - 74px));
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro-copy {
  display: flex;
  max-width: 720px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 120px);
}

.eyebrow,
.step-label {
  margin: 0 0 20px;
  color: var(--deep-lime);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.intro-copy h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(54px, 6vw, 96px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0;
}

.intro-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.intro-copy ul {
  display: grid;
  gap: 12px;
  margin: 38px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  color: #36363a;
  font-size: 15px;
  list-style: none;
}

.intro-copy li::before {
  margin-right: 10px;
  color: var(--deep-lime);
  content: "•";
}

.intro-image {
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: #edf3df;
}

.intro-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% center;
}

.scheduler {
  min-height: 760px;
  padding: clamp(64px, 8vw, 120px) clamp(22px, 8vw, 120px);
  background: var(--surface);
}

.scheduler-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.scheduler h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.timezone {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.date-list {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(6, minmax(128px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.date-button {
  min-height: 132px;
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.date-button:hover {
  background: var(--white);
}

.date-button.is-active {
  color: #142100;
  background: var(--lime);
}

.date-button span,
.date-button strong {
  display: block;
}

.date-button span {
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.68;
}

.date-button strong {
  margin-top: 14px;
  font-size: 31px;
  font-weight: 500;
}

.slot-panel {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.slot-head strong {
  font-size: 22px;
}

.slot-head span {
  color: var(--muted);
  font-size: 14px;
}

.slot-grid {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.slot-button {
  min-height: 64px;
  border: 1px solid #c7c7cc;
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.slot-button:hover,
.slot-button.is-active {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.empty-slots,
.form-status {
  color: var(--muted);
  font-size: 14px;
}

.booking-form {
  width: min(820px, 100%);
  margin-top: 72px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.form-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.booking-form label:not(.consent-field) {
  display: grid;
  gap: 9px;
  margin-top: 26px;
  color: #454549;
  font-size: 13px;
  font-weight: 600;
}

.booking-form label small {
  color: var(--muted);
  font-weight: 400;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"] {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid #c9c9cd;
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: var(--white);
}

.booking-form input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.consent-field {
  display: grid;
  max-width: 690px;
  margin-top: 28px;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--deep-lime);
}

.booking-form button[type="submit"] {
  min-height: 58px;
  margin-top: 30px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.booking-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.55;
}

.success-view {
  max-width: 780px;
  padding: 64px 0 0;
}

.success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 50%;
  color: #142100;
  background: var(--lime);
  font-size: 28px;
}

.success-view > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.success-view a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.agenda-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.agenda-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.agenda-footer a,
.agenda-footer button {
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  text-decoration: none;
}

.agenda-footer button {
  cursor: pointer;
}

.agenda-footer a:hover,
.agenda-footer button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .agenda-intro {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    min-height: 68svh;
  }

  .intro-image {
    min-height: 46svh;
  }

  .date-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .agenda-header {
    min-height: 64px;
  }

  .agenda-header p {
    max-width: 120px;
    text-align: right;
  }

  .agenda-intro {
    min-height: auto;
  }

  .intro-copy {
    min-height: 65svh;
    padding: 62px 22px 48px;
  }

  .intro-copy h1 {
    font-size: 52px;
  }

  .intro-copy > p:not(.eyebrow) {
    font-size: 19px;
  }

  .intro-image {
    min-height: 44svh;
  }

  .scheduler {
    min-height: 100svh;
    padding: 70px 18px 110px;
  }

  .scheduler-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .scheduler h2 {
    font-size: 44px;
  }

  .date-list {
    margin-top: 38px;
    grid-template-columns: repeat(2, 1fr);
  }

  .date-button {
    min-height: 112px;
  }

  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .booking-form {
    margin-top: 56px;
  }

  .booking-form button[type="submit"] {
    width: 100%;
  }

  .agenda-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 26px;
  }

  .agenda-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
