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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  position: relative;
  padding-block: var(--s-20);
}

.section--alt {
  background: var(--bg-elevated);
}

@media (min-width: 768px) {
  .section { padding-block: var(--s-24); }
}

@media (min-width: 1024px) {
  .section { padding-block: var(--s-32); }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--red);
  color: var(--white);
  border-radius: var(--r-sm);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

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

.nowrap {
  white-space: nowrap;
}

/* Display headings */
.section-title,
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 100%;
  font-variation-settings: 'wdth' 100, 'opsz' 96;
  letter-spacing: -0.035em;
  line-height: var(--lh-tight);
}

.section-title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--s-4);
}

.text-red { color: var(--red); }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--s-4);
}

.eyebrow__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}

.eyebrow--light { color: var(--white); }
.eyebrow--light .eyebrow__dot { background: var(--red); }

/* Section head */
.section-head {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: var(--s-12);
}

.section-sub {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-top: var(--s-4);
  line-height: var(--lh-relaxed);
}

@media (min-width: 768px) {
  .section-head { margin-bottom: var(--s-16); }
}

/* Stars */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}
.stars svg { width: 16px; height: 16px; }

/* Avatars (placeholder) */
.avatar {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #3a3a3a 0%, #1a1a1a 60%, #0a0a0a 100%);
  border: 2px solid var(--bg);
  position: relative;
}
.avatar::after {
  content: '';
  position: absolute;
  inset: 25% 25% 0 25%;
  background: linear-gradient(180deg, #2a2a2a, transparent);
  border-radius: 50% 50% 0 0;
}
.avatar--lg { width: 48px; height: 48px; }

.avatar-stack {
  display: inline-flex;
  align-items: center;
}
.avatar-stack .avatar + .avatar { margin-left: -10px; }

/* Check icon used in lists */
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  position: relative;
}
.check::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
