@layer base, components, utilities;

@layer components {
:where(.static-form-consent) {
  display: flex;
  align-items: flex-start;
  gap: var(--site-space-8);
  text-align: left;
  font-size: var(--type-body-sm-size);
  line-height: var(--type-line-body);
}
:where(.static-form-consent input) { flex-shrink: 0; margin: var(--site-space-4) 0 0; }

.static-form-note { margin-top: var(--site-space-16); font-size: var(--type-body-sm-size); line-height: var(--type-line-body); color: var(--header-muted); }


/* Local controls opt into the shared control radius through a token. */

}

@layer utilities {
/* Use the browser's native text selection across all pages and components. */
::selection { background: revert; color: revert; }

/* Shared title/description rhythm. Scope to main content so navigation,
   footer columns, metric labels and plan prices keep their own grouping. */
main :is(h1, h2, h3, h4):has(+ p:not(.pricing-price, .numbers-claim)):not(.hero-seated h1) {
  margin-bottom: var(--space-heading-description);
}
main :is(h1, h2, h3, h4) + p:not(.pricing-price, .numbers-claim, .hero-seated-description) {
  margin-top: 0;
}
/* The hero's viewport budget also reads this variable, so the copy and art
   remain in sync at short heights as well as at desktop/mobile widths. */
body[data-home-page] { --hero-gap-description: var(--space-heading-description); }

}
