:root {
  color-scheme: light;
  --background: #faf8ff;
  --surface: #ffffff;
  --surface-low: #f2f3ff;
  --surface-high: #e6e7f4;
  --text: #191b24;
  --text-muted: #535869;
  --primary: #0050cb;
  --primary-bright: #0066ff;
  --primary-soft: #e8efff;
  --outline: #c2c6d8;
  --shadow: 0 1px 3px rgba(25, 27, 36, 0.03), 0 24px 64px rgba(0, 80, 203, 0.1);
}

html.dark {
  color-scheme: dark;
  --background: #0c1220;
  --surface: #151f30;
  --surface-low: #1b2940;
  --surface-high: #243249;
  --text: #f4f7ff;
  --text-muted: #b8c2d3;
  --primary: #78a9ff;
  --primary-bright: #9cbcff;
  --primary-soft: #1a3766;
  --outline: #52627a;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 28px 72px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 12%, rgba(0, 102, 255, 0.1), transparent 30rem),
    linear-gradient(rgba(0, 80, 203, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 80, 203, 0.025) 1px, transparent 1px),
    var(--background);
  background-size: auto, 48px 48px, 48px 48px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: color 180ms ease, background-color 180ms ease;
}

html.dark body {
  background:
    radial-gradient(circle at 80% 12%, rgba(120, 169, 255, 0.16), transparent 30rem),
    linear-gradient(rgba(120, 169, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 169, 255, 0.035) 1px, transparent 1px),
    var(--background);
  background-size: auto, 48px 48px, 48px 48px, auto;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--primary-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100%, 1440px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 56px) 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 18px;
  border: 1px solid rgba(194, 198, 216, 0.7);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(25, 27, 36, 0.04);
  backdrop-filter: blur(14px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  display: block;
  width: auto;
  height: 44px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.back-arrow {
  color: var(--primary);
  font-size: 1.1rem;
}

.back-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.theme-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(194, 198, 216, 0.7);
  border-radius: 50%;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--primary-bright);
  outline-offset: 3px;
}

.theme-icon {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.theme-icon--sun {
  display: none;
}

.theme-icon--moon {
  fill: currentColor;
  stroke: none;
}

html.dark .theme-icon--moon {
  display: none;
}

html.dark .theme-icon--sun {
  display: block;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: start;
  gap: clamp(48px, 6vw, 88px);
  padding: clamp(64px, 8vw, 112px) 0 80px;
}

.booking-copy {
  max-width: 600px;
  padding-top: 24px;
}

.eyebrow,
.calendar-kicker,
.card-label {
  margin: 0;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid rgba(0, 80, 203, 0.18);
  border-radius: 999px;
  background: rgba(232, 239, 255, 0.74);
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 12ch;
  margin: 24px 0 0;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 span {
  color: var(--primary);
}

.intro {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.call-points {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--outline);
  list-style: none;
}

.call-points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid var(--outline);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.call-points span {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.next-step-card {
  position: relative;
  margin-top: 36px;
  padding: 24px 26px 26px;
  overflow: hidden;
  border: 1px solid rgba(0, 80, 203, 0.14);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 239, 255, 0.88));
  box-shadow: 0 16px 40px rgba(0, 80, 203, 0.08);
}

.next-step-card::after {
  position: absolute;
  top: -60px;
  right: -55px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(0, 102, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.next-step-card h2 {
  position: relative;
  z-index: 1;
  max-width: 22ch;
  margin: 10px 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.next-step-card > p:last-child {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

.reassurance {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.reassurance strong {
  color: var(--text);
}

.calendar-card {
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(194, 198, 216, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.calendar-heading {
  padding: 6px 6px 22px;
}

.calendar-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.calendar-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.calendar-frame {
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(194, 198, 216, 0.65);
  border-radius: 20px;
  background: #ffffff;
}

.calendar-frame iframe {
  display: block;
  min-height: 680px;
  color-scheme: light;
  background: #ffffff;
}

.calendar-frame br {
  display: none;
}

.calendar-fallback {
  margin: 16px 6px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.calendar-fallback a {
  color: var(--primary);
  font-weight: 700;
}

.calendar-fallback--noscript {
  padding: 12px;
  border-radius: 12px;
  background: var(--primary-soft);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 24px 0;
  border-top: 1px solid rgba(194, 198, 216, 0.75);
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  min-height: 44px;
  padding: 12px 0;
  color: var(--primary);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

html.dark .site-header {
  border-color: rgba(130, 144, 166, 0.3);
  background: rgba(21, 31, 48, 0.84);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
}

html.dark .brand-link img {
  filter: brightness(0) invert(1) brightness(1.18) saturate(0.55) drop-shadow(0 0 12px rgba(120, 169, 255, 0.12));
}

html.dark .theme-toggle {
  border-color: rgba(130, 144, 166, 0.38);
  color: var(--primary);
  background: rgba(36, 50, 73, 0.78);
}

html.dark .eyebrow {
  border-color: rgba(120, 169, 255, 0.28);
  background: rgba(26, 55, 102, 0.72);
}

html.dark .next-step-card {
  border-color: rgba(120, 169, 255, 0.22);
  background: linear-gradient(135deg, rgba(21, 31, 48, 0.96), rgba(26, 55, 102, 0.62));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26);
}

html.dark .next-step-card::after {
  border-color: rgba(120, 169, 255, 0.09);
}

html.dark .calendar-card {
  border-color: rgba(130, 144, 166, 0.34);
  background: rgba(21, 31, 48, 0.94);
}

html.dark .calendar-frame {
  border-color: rgba(130, 144, 166, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

html.dark .site-footer {
  border-color: rgba(130, 144, 166, 0.3);
}

@media (max-width: 1020px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-copy {
    max-width: 760px;
    padding-top: 0;
  }

  h1 {
    max-width: 14ch;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .brand-link img {
    height: 38px;
  }

  .back-link {
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .back-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .booking-layout {
    gap: 40px;
    padding: 48px 0 56px;
  }

  h1 {
    margin-top: 20px;
    font-size: clamp(2.6rem, 12vw, 3.45rem);
    letter-spacing: -0.05em;
  }

  .intro {
    margin-top: 22px;
    font-size: 1rem;
  }

  .call-points {
    margin-top: 28px;
  }

  .next-step-card {
    margin-top: 28px;
    padding: 22px;
  }

  .calendar-card {
    margin-right: -8px;
    margin-left: -8px;
    padding: 14px;
    border-radius: 22px;
  }

  .calendar-frame,
  .calendar-frame iframe {
    min-height: 720px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 28px 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
