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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy-deep);
  background: var(--canvas-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

button:focus-visible {
  outline: 2px solid var(--sky-interactive);
  outline-offset: 2px;
  border-radius: 4px;
}

img { max-width: 100%; display: block; }

::selection { background: var(--sky-interactive); color: white; }

.hidden { display: none !important; }

h1, h2, h3, h4, h5, h6, p { margin: 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--navy-brand);
}

h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; }
h3 {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--navy-brand);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-primary);
  font-weight: 500;
}

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--navy-deep);
  opacity: 0.82;
  max-width: 62ch;
}

.body-sm {
  font-size: 14px;
  line-height: 1.55;
  color: var(--navy-deep);
  opacity: 0.74;
}

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--canvas-soft);
  border: 1px solid var(--rule);
  color: var(--navy-brand);
}

.pill--live {
  background: rgba(43, 168, 184, 0.08);
  border-color: rgba(43, 168, 184, 0.25);
  color: var(--teal-live);
}

.pill--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-live);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

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