/* Reset + base element styles. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  line-height: var(--leading-tight);
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin: 0 0 var(--space-sm); color: var(--color-text-muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0 0 var(--space-sm); padding-left: 1.25rem; color: var(--color-text-muted); }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

/* Screen-reader-only content (e.g. a <table>'s <caption>, or a heading
   needed for correct document structure but not for sighted layout) —
   the standard clip-based technique, not display:none (which would also
   hide it from assistive tech, defeating the purpose). */
.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;
}

/* Layout primitives — deliberately NOT one global centred max-width box
   (CLAUDE.md 2026-09-13 brief section 9, "100% of the screen"). `.wrap`
   is full-bleed with only a fluid side gutter; `.wrap--frame` adds an
   outer sanity ceiling (--frame-max, 2200px) for the handful of grids
   that would otherwise stretch to absurd cell widths past ~4K; `.prose`
   caps reading-width text only (FAQ answers, longer paragraphs). */
.wrap {
  width: 100%;
  padding-inline: var(--gutter);
}
.wrap--frame {
  max-width: var(--frame-max);
  margin-inline: auto;
}
.prose {
  max-width: var(--measure);
}
.prose.center { margin-inline: auto; }

/* Data-readout treatment — used sitewide wherever a real number or
   status appears: prices, specs, billing cycles. Tabular figures so
   columns of numbers actually line up (see tokens.css font-face notes). */
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.data-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
