:root {
  --teal: #059aa1;
  --teal-strong: #047c82;
  --navy: #002360;
  --navy-hover: #001a49;
  --yellow: #f0b415;
  --white: #ffffff;
  --pale-teal: #eaf8f8;
  --pale-navy: #eef2f8;
  --body-text: #1e2d3d;
  --muted: #5c6b78;
  --border: #cbd8df;
  --shadow: 0 16px 45px rgba(0, 35, 96, 0.10);
  --focus: 0 0 0 4px rgba(5, 154, 161, 0.24);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body-text);
  background: #f7fbfc;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--body-text);
  background:
    radial-gradient(circle at 8% 0%, rgba(5, 154, 161, 0.08), transparent 28rem),
    #f7fbfc;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin-top: 0; }
h1, h2 {
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.55rem);
}
h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
}
p { margin-bottom: 1rem; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.status-shell {
  width: min(100% - 2rem, 760px);
  margin: 4rem auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  color: var(--navy);
  background: var(--white);
  text-align: center;
  font-weight: 750;
}

.page-shell {
  width: min(100% - 2rem, 930px);
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.brand-frame {
  width: min(78%, 390px);
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 35, 96, 0.08);
}

.screen {
  border: 1px solid rgba(0, 35, 96, 0.09);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-card { padding: clamp(1.3rem, 5vw, 3.25rem); }

.hero-section {
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--border);
}

.brand-label {
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--teal-strong);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.personalised-bridge {
  max-width: 68ch;
  color: #334555;
  font-size: 1.08rem;
  font-weight: 650;
}

.reassurance {
  display: inline-block;
  margin-bottom: 0;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 0.65rem 0.9rem;
  color: var(--navy);
  background: var(--pale-teal);
  font-weight: 800;
}

.booking-section,
.content-section {
  padding-top: 1.8rem;
}

.booking-section > p { max-width: 68ch; }

.calendar-status {
  margin: 1rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.calendar-embed {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.calendar-embed iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 720px;
  border: 0 !important;
}

.fallback-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 1rem;
  border-radius: 9px;
  padding: 0.65rem 0.2rem;
  color: var(--navy);
  font-weight: 800;
  text-underline-offset: 3px;
}

.fallback-link:hover { color: var(--teal-strong); }
.fallback-link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.fallback-link[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.matching-note {
  margin: 1rem 0 0;
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 0.85rem 1rem;
  background: var(--pale-teal);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0.05rem;
  left: 0;
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal-strong);
  font-size: 0.84rem;
  font-weight: 900;
}

.reassurance-panel {
  position: relative;
  margin-top: 2rem;
  border-radius: 14px;
  padding: clamp(1.1rem, 4vw, 1.7rem);
  overflow: hidden;
  background: var(--pale-navy);
  text-align: center;
}

.reassurance-panel p:last-child { margin-bottom: 0; }

.yellow-accent {
  display: block;
  width: 42px;
  height: 5px;
  margin: 0 auto 1rem;
  border-radius: 99px;
  background: var(--yellow);
}

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

@media (max-width: 560px) {
  .page-shell { width: min(100% - 1rem, 930px); padding-top: 0.6rem; }
  .brand-frame { margin-bottom: 0.6rem; border-radius: 10px; }
  .booking-card { padding: 1.15rem; }
  h1 { font-size: clamp(1.85rem, 9.5vw, 2.45rem); }
  .calendar-embed iframe { min-height: 680px; }
}

@media (min-width: 900px) {
  .page-shell { padding-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
