:root {
  --navy: #071a31;
  --blue: #2389e8;
  --ink: #152236;
  --muted: #667085;
  --line: #e5eaf0;
  --paper: #f7f9fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 980px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-name strong {
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-name span {
  color: var(--blue);
  font-weight: 600;
}

.booking-page {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 52px 0 40px;
}

.booking-intro {
  margin: 0 0 28px;
  text-align: center;
}

h1 {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.booking-intro p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.calendar-frame,
.calendar-frame iframe {
  display: block;
  width: 100%;
  min-height: 670px;
}

.calendar-frame {
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
}

.calendar-frame iframe {
  border: 0;
  overflow: hidden;
}

.calendar-frame br {
  display: none;
}

.calendar-frame noscript {
  display: block;
  padding: 24px;
  text-align: center;
}

.calendar-frame noscript a {
  color: #126fbd;
  font-weight: 600;
}

.site-footer {
  padding: 0 20px 32px;
  color: #98a2b3;
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 520px) {
  .site-header {
    height: 70px;
    padding-inline: 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-name strong {
    font-size: 1rem;
  }

  .booking-page {
    width: 100%;
    padding: 34px 0 24px;
  }

  h1 {
    font-size: 2rem;
  }

  .booking-intro {
    margin-bottom: 22px;
    padding-inline: 20px;
  }

  .booking-intro p {
    font-size: 1rem;
  }

  .calendar-frame {
    border-radius: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
