

#apex,
.apex-body {
  --color-text-muted: #5c452c;
}

[data-theme="dark"] #apex,
[data-theme="dark"] .apex-body {
  --color-text-muted: oklch(80% 0.022 71);
}

.apex-body {
  background-color: var(--color-surface-page);
}

#apex.column {
  max-width: 44rem;
  min-height: 100svh;          

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 5vh, 48px);
  padding: clamp(72px, 10vh, 112px) clamp(24px, 5vw, 56px) clamp(32px, 5vh, 72px);
}

@media (max-width: 820px), (max-height: 560px) {
  #apex.column {
    justify-content: flex-start;
  }
}

#apex .page-heading {
  padding: 0;
  gap: 0;
  max-width: none;
}

#apex .page-heading__title {
  font-family: var(--font-serif);
  font-weight: var(--weight-bold);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text-primary);
  text-wrap: balance;
}

#apex-check {
  gap: clamp(14px, 2vh, 20px);
}

#apex-check-heading {
  font-family: var(--font-serif);
  font-weight: var(--weight-semibold);
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  line-height: var(--line-height-snug);
  color: var(--color-text-primary);
  margin: 0;
  text-wrap: balance;
}

#apex-check .fact-list {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
}

#apex-book {
  gap: clamp(12px, 1.6vh, 16px);
}

#apex-book .contact-actions__item {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#apex-book .text-muted-note {
  margin: 0;
}

.apex-body .theme-toggle {
  position: absolute;
  inset-block-start: clamp(20px, 3vh, 32px);
  inset-inline-end: clamp(20px, 4vw, 40px);
  z-index: 2;
}
