/**
 * Small, purposeful utilities (keep lean; prefer components/tokens).
 */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flow > * + * {
  margin-top: var(--flow-space, var(--space-md));
}

.flow--lg {
  --flow-space: var(--space-lg);
}

.text-sm {
  font-size: var(--text-sm);
}

.prose p {
  margin: 0 0 1em;
  max-width: 68ch;
  color: var(--color-text);
}

.prose p:last-child {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}

.py-section {
  padding-block: var(--space-section-y);
}

.py-section-sm {
  padding-block: var(--space-section-y-sm);
}

.bg-alt {
  background-color: var(--color-bg-alt);
}

.max-prose {
  max-width: 65ch;
}

/* Align with desktop primary nav: CTA only when horizontal nav is visible (just below 76rem) */
@media (max-width: 75.99rem) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 48rem) {
  .hide-desktop {
    display: none !important;
  }
}

[hidden] {
  display: none !important;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}
