/* Base: reset, page ground, text defaults and focus. Values come from tokens.css. */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--surface-100);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

:focus-visible {
  outline: var(--focus-width) solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.container {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--space-5));
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (max-width: 767px) {
  .container { padding-inline: var(--space-4); }
}

/* One focus style everywhere: 2px focus-ring, 2px offset */
:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: var(--focus-offset); border-radius: var(--radius-xs); }

.skip-link { position: absolute; left: var(--space-4); top: var(--space-2); z-index: 30; transform: translateY(-200%); }
.skip-link:focus-visible { transform: none; }

.measure { max-width: var(--container-text); }
.accent { color: var(--brand-500); }
.eyebrow-brand { text-transform: uppercase; color: var(--brand-500); }

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

/* Hero drops to display-lg below 768px (guidelines/10-website.md) */
@media (max-width: 767px) {
  .display-2xl { font-size: 56px; line-height: 1.04; letter-spacing: -0.035em; }
  .display-xl { font-size: 48px; line-height: 1.04; letter-spacing: -0.035em; }
  .display-lg { font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; }
  .heading-2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}

/* Owner's call (2026-10-05): every blue word carries a soft Cobalt glow (the logo stays flat).
   Large text gets the full halo; small labels a tighter one so they stay crisp. */
.accent:not(.glow), .film__lead { text-shadow: var(--glow-halo); }
.eyebrow-brand, .section__eyebrow, .proof__head .eyebrow, .fc__eyebrow, .rs-k--brand,
.rs-stage.is-active .rs-stage__line, .rs-cmp--hot .rs-cmp__l,
.cal thead .cal__year--now, .cal thead .cal__now, .cal__today, .hf-link, .legal a { text-shadow: var(--glow-halo-sm); }
