:root {
  color-scheme: light dark;
  background: var(--page);
  --page: #f8f8f5;
  --surface: #fff;
  --text: #202128;
  --muted: #51535f;
  --line: #e2e3e8;
  --accent: #2e419e;
  --action: #293b9a;
  --action-hover: #1f2e80;
  --action-text: #fff;
  --focus: #3654ca;
  --online-icon: #e9edff;
  --online-ink: #3345a2;
  --onsite-icon: #f3eae3;
  --onsite-ink: #805739;
  --arrow: #f3f4f7;
  --hover-border: #b9c3ec;
  --shadow: rgb(26 33 65 / 8%);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; }

a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

svg {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.frame {
  width: min(100% - 80px, 1088px);
  margin-inline: auto;
}

main.frame { padding-bottom: clamp(1.5rem, 4vw, 3rem); }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--surface);
  transform: translateY(calc(-100% - 1.25rem));
}

.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1rem;
}

.signature {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.signature img { display: block; flex: none; }

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.header-link:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(2rem, 5.5vw, 5rem);
  align-items: center;
  padding-block: 36px 40px;
}

.hero h1 {
  font-size: clamp(3rem, 5.8vw, 5.35rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  margin-top: 0.08em;
  color: var(--accent);
}

.hero p {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.5;
}

.hero p, .meeting-card p, .help p { text-wrap: pretty; }

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  margin-top: 1.65rem;
  padding: 0.75rem 1.1rem 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--action);
  color: var(--action-text);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.hero-action:hover { background: var(--action-hover); }
.hero-action svg { font-size: 1.125rem; }

.hero-image {
  overflow: hidden;
  border-radius: 32px;
  background: #d9d9e8;
  aspect-ratio: 1.4;
}

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

.agenda { scroll-margin-top: 1.5rem; }
.agenda:focus { outline: none; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  font-weight: 690;
  letter-spacing: -0.045em;
  font-size: clamp(1.65rem, 3.1vw, 2.2rem);
}

.duration {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.duration svg { font-size: 1.12em; }

.meeting-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.meeting-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 0.75rem;
  align-items: start;
  padding: clamp(1.1rem, 2.5vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.meeting-icon, .card-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
}

.meeting-icon {
  grid-column: 1;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  font-size: 1.45rem;
}

.online .meeting-icon { background: var(--online-icon); color: var(--online-ink); }
.in-person .meeting-icon { background: var(--onsite-icon); color: var(--onsite-ink); }

.meeting-card h3 {
  grid-column: 1 / -1;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  font-weight: 680;
  line-height: 1.13;
  letter-spacing: -0.05em;
}

.meeting-card p {
  grid-column: 1 / -1;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.53;
}

.card-action {
  grid-column: 1;
  margin-top: 1.05rem;
  color: var(--accent);
  font-size: 0.91rem;
  font-weight: 700;
}

.card-arrow {
  grid-column: 2;
  grid-row: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--arrow);
  color: var(--accent);
  font-size: 1.02rem;
  transition: background-color 180ms ease, color 180ms ease;
}

@media (hover: hover) {
  .meeting-card:hover {
    transform: translateY(-3px);
    border-color: var(--hover-border);
    box-shadow: 0 12px 26px var(--shadow);
  }

  .meeting-card:hover .card-arrow {
    background: var(--action);
    color: var(--action-text);
  }
}

.meeting-card:focus-visible { border-color: var(--focus); }

.meeting-card[aria-expanded="true"] .card-arrow {
  background: var(--action);
  color: var(--action-text);
}

.booking {
  min-width: 0;
  margin-top: 1.15rem;
  padding: clamp(0.55rem, 1.6vw, 1.15rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  scroll-margin-top: 1rem;
}

.booking h3 {
  margin: 0.4rem 0.4rem 0.9rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.04em;
}

.booking h3:focus { outline: none; }

#booking-embeds {
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
}

.booking-status {
  padding: 0.25rem 0.4rem 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.booking-status:empty { padding: 0; }

.booking-fallback {
  display: inline-block;
  margin: 0 0.4rem 0.6rem;
  border-radius: 4px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 650;
  text-underline-offset: 0.16em;
}

.booking-fallback[hidden] { display: none; }

.help {
  margin-top: clamp(1rem, 2.8vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.help summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  min-height: 44px;
  padding: 0.85rem clamp(1rem, 2.5vw, 1.5rem);
  border-radius: inherit;
  cursor: pointer;
  list-style: none;
}

.help summary::-webkit-details-marker { display: none; }

.help-labels {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.8rem;
  line-height: 1.35;
}

.help-title {
  font-size: 1rem;
  font-weight: 690;
  letter-spacing: -0.024em;
}

.help-topic {
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-icon {
  position: relative;
  flex: 0 0 16px;
  height: 16px;
  color: var(--accent);
}

.summary-icon::before, .summary-icon::after {
  position: absolute;
  inset: 7px 2px auto;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.summary-icon::after { transform: rotate(90deg); }
.help[open] .summary-icon::after { display: none; }

.help p {
  padding: 0 clamp(1rem, 2.5vw, 1.5rem) 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .frame { width: min(100% - 48px, 1088px); }
  .hero { gap: 1.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.3rem); }
}

@media (max-width: 620px) {
  .frame { width: calc(100% - 40px); }
  .header-inner { min-height: 65px; }
  .hero { grid-template-columns: 1fr; gap: 1.65rem; padding-block: 32px 29px; }
  .hero h1 { font-size: clamp(2.45rem, 10.5vw, 4rem); }
  .hero p { margin-top: 0.9rem; }
  .hero-action { margin-top: 1.1rem; }
  .hero-image { aspect-ratio: 1.43; border-radius: 23px; }
  .hero-image img { object-position: center 57%; }
  .section-heading { margin-bottom: 0.85rem; }
  .meeting-options { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .meeting-card { border-radius: 20px; }
  .booking { border-radius: 20px; }
}

@media (max-width: 355px) {
  .frame { width: calc(100% - 32px); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #17181e;
    --surface: #21222c;
    --text: #f4f4f8;
    --muted: #b9bbca;
    --line: #383a49;
    --accent: #b1bfff;
    --action: #b1bfff;
    --action-hover: #c9d2ff;
    --action-text: #181e3b;
    --focus: #bec9ff;
    --online-icon: #333e69;
    --online-ink: #c9d3ff;
    --onsite-icon: #48382e;
    --onsite-ink: #f2c9a9;
    --arrow: #303244;
    --hover-border: #707eac;
    --shadow: rgb(0 0 0 / 25%);
  }

  .hero-image img { filter: brightness(0.88); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-action, .meeting-card, .card-arrow { transition: none; }
  .meeting-card:hover { transform: none; }
}
