/*
  BookTraq Marketing Site Theme
  Extends SharedTheme/styles.css for public-facing websites.

  Load order:
  1. SharedTheme/styles.css (base primitives + CSS vars)
  2. This file (site-styles.css — marketing layout + components)
  3. Page-specific inline styles if needed
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&display=swap");

/* ═══════════════════════════════════════
   CSS Custom Properties (marketing scope)
   ═══════════════════════════════════════ */
:root {
  --site-max-width: 1200px;
  --site-nav-height: 72px;
  --site-section-pad: 96px;
  --site-card-radius: 12px;
  --site-transition: 0.2s ease;
}

/* ═══════════════════════════════════════
   Reset & Base (lightweight, mirrors SharedTheme)
   ═══════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  margin: 0;
  background: var(--theme-bg);
  color: var(--theme-text);
  font-family: var(--theme-font-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grid overlay (matches app) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--theme-accent) 3%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--theme-accent) 3%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
}

a {
  color: var(--theme-accent-2);
  text-decoration: none;
  transition: color var(--site-transition);
}

a:hover {
  color: var(--theme-accent);
}

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

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

::selection {
  background: color-mix(in srgb, var(--theme-accent) 30%, transparent);
  color: var(--theme-text);
}

/* ═══════════════════════════════════════
   Typography
   ═══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--theme-text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: var(--theme-muted);
}

.text-accent {
  color: var(--theme-accent);
}

.text-accent-2 {
  color: var(--theme-accent-2);
}

code, .mono {
  font-family: var(--theme-font-mono);
  font-size: 0.9em;
}

/* ═══════════════════════════════════════
   Layout Utilities
   ═══════════════════════════════════════ */
.site-container {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.site-section {
  padding: var(--site-section-pad) 0;
}

.site-section--alt {
  background: var(--theme-surface);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .site-section {
    padding: 56px 0;
  }
}

/* ═══════════════════════════════════════
   Navigation Header
   ═══════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--site-nav-height);
  background: color-mix(in srgb, var(--theme-bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--theme-border);
}

.site-nav__inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--theme-font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--theme-text);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__logo:hover {
  color: var(--theme-accent);
}

.site-nav__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--theme-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--theme-accent-contrast);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav__links a {
  padding: 8px 14px;
  border-radius: var(--theme-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--theme-muted);
  transition: color var(--site-transition), background var(--site-transition);
  text-decoration: none;
}

.site-nav__links a:hover,
.site-nav__links a.active {
  color: var(--theme-text);
  background: var(--theme-surface-alt);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme toggle button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--theme-border);
  background: var(--theme-surface);
  color: var(--theme-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--site-transition);
  font-size: 1.1rem;
}

.theme-toggle:hover {
  border-color: var(--theme-accent);
  color: var(--theme-accent);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--theme-radius-sm);
  border: 1px solid var(--theme-border);
  background: var(--theme-surface);
  color: var(--theme-text);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

@media (max-width: 860px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .site-nav__links {
    display: none;
    position: absolute;
    top: var(--site-nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--theme-surface);
    border-bottom: 1px solid var(--theme-border);
    padding: 16px;
    gap: 4px;
  }

  .site-nav__links.open {
    display: flex;
  }

  .site-nav__links a {
    padding: 12px 16px;
    width: 100%;
  }
}

/* ═══════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════ */
.hero {
  padding: 120px 0 80px;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--theme-border);
  background: var(--theme-surface);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--theme-muted);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-accent);
}

.hero__title {
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero__subtitle {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: var(--theme-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .hero {
    padding: 80px 0 48px;
  }
}

/* ═══════════════════════════════════════
   Buttons
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--theme-radius-md);
  font-family: var(--theme-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--site-transition);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--theme-accent);
  color: var(--theme-accent-contrast);
  border-color: var(--theme-accent);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--theme-accent) 85%, white);
  color: var(--theme-accent-contrast);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--theme-accent-2);
  border-color: var(--theme-accent-2);
}

.btn--secondary:hover {
  background: color-mix(in srgb, var(--theme-accent-2) 12%, transparent);
  color: var(--theme-accent-2);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--theme-text);
  border-color: var(--theme-border);
}

.btn--ghost:hover {
  border-color: var(--theme-muted);
  color: var(--theme-accent);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ═══════════════════════════════════════
   Cards
   ═══════════════════════════════════════ */
.card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--site-card-radius);
  padding: 32px;
  transition: border-color var(--site-transition), transform var(--site-transition);
  position: relative;
}

.card:hover {
  border-color: color-mix(in srgb, var(--theme-accent) 40%, var(--theme-border));
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--theme-radius-md);
  background: color-mix(in srgb, var(--theme-accent) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--theme-accent);
}

.card__icon--blue {
  background: color-mix(in srgb, var(--theme-accent-2) 12%, transparent);
  color: var(--theme-accent-2);
}

.card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card__desc {
  color: var(--theme-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card__features {
  list-style: none;
  margin-bottom: 24px;
}

.card__features li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--theme-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card__features li::before {
  content: "✓";
  color: var(--theme-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Self-selection cards (hero) */
.selection-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--site-card-radius);
  padding: 40px;
  text-align: left;
  transition: all var(--site-transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.selection-card:hover {
  border-color: var(--theme-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--theme-accent) 10%, transparent);
}

.selection-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.selection-card__icon--green {
  background: color-mix(in srgb, var(--theme-accent) 12%, transparent);
  color: var(--theme-accent);
}

.selection-card__icon--blue {
  background: color-mix(in srgb, var(--theme-accent-2) 12%, transparent);
  color: var(--theme-accent-2);
}

.selection-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.selection-card__desc {
  color: var(--theme-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.selection-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selection-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--theme-surface-alt);
  color: var(--theme-muted);
  border: 1px solid var(--theme-border);
}

.selection-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--theme-accent);
  transition: gap var(--site-transition);
}

.selection-card:hover .selection-card__arrow {
  gap: 10px;
}

/* ═══════════════════════════════════════
   Why / Value Proposition Section
   ═══════════════════════════════════════ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.value-item {
  padding: 24px;
}

.value-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--theme-accent) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--theme-accent);
}

.value-item__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-item__desc {
  color: var(--theme-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .value-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ═══════════════════════════════════════
   CTA Banner
   ═══════════════════════════════════════ */
.resource-strip {
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
  background: color-mix(in srgb, var(--theme-surface) 82%, transparent);
  padding: 18px 0;
}

.resource-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.resource-strip__label {
  color: var(--theme-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  background: var(--theme-surface);
  color: var(--theme-text);
  font-size: 0.86rem;
  font-weight: 700;
}

.resource-link:hover {
  border-color: var(--theme-accent);
  color: var(--theme-accent);
}

.landing-hero {
  padding: 96px 0 64px;
  text-align: center;
}

.landing-hero__eyebrow {
  color: var(--theme-accent);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.landing-hero__title {
  max-width: 860px;
  margin: 0 auto 20px;
}

.landing-hero__subtitle {
  color: var(--theme-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 1.08rem;
}

.landing-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.content-list {
  padding-left: 1.2rem;
  color: var(--theme-muted);
  font-size: 0.94rem;
}

.content-list li { margin: 8px 0; }

.page-kicker {
  display: inline-block;
  color: var(--theme-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lead-form-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--site-card-radius);
  padding: 32px;
}

.lead-form-card label {
  display: block;
  margin: 14px 0 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--theme-muted);
}

.lead-form-card input,
.lead-form-card textarea,
.lead-form-card select {
  width: 100%;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-sm);
  background: var(--theme-bg);
  color: var(--theme-text);
  padding: 12px 14px;
  font: inherit;
}

.lead-form-card textarea { min-height: 130px; resize: vertical; }

.lead-note {
  color: var(--theme-muted);
  font-size: 0.86rem;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .landing-hero { padding: 72px 0 48px; }
}

.cta-banner {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--site-card-radius);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-accent), transparent);
}

.cta-banner__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner__desc {
  color: var(--theme-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .cta-banner {
    padding: 40px 24px;
  }
}

/* ═══════════════════════════════════════
   Problem / Pain Points
   ═══════════════════════════════════════ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--theme-surface);
  border: 1px solid color-mix(in srgb, var(--theme-danger) 20%, var(--theme-border));
  border-radius: var(--site-card-radius);
  padding: 32px;
  text-align: center;
}

.problem-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--theme-danger) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  color: var(--theme-danger);
}

.problem-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.problem-card__desc {
  color: var(--theme-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════
   Steps / How It Works
   ═══════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step-counter;
}

.step {
  text-align: center;
  position: relative;
  counter-increment: step-counter;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--theme-accent);
  color: var(--theme-accent-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--theme-font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 20px;
}

.step__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__desc {
  color: var(--theme-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Connector lines between steps */
.steps .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: var(--theme-border);
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps .step:not(:last-child)::after {
    display: none;
  }
}

/* ═══════════════════════════════════════
   Features Grid
   ═══════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  transition: border-color var(--site-transition);
}

.feature-item:hover {
  border-color: color-mix(in srgb, var(--theme-accent) 30%, var(--theme-border));
}

.feature-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--theme-radius-sm);
  background: color-mix(in srgb, var(--theme-accent) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--theme-accent);
}

.feature-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item__desc {
  color: var(--theme-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════
   Footer
   ═══════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--theme-border);
  padding: 48px 0 32px;
  position: relative;
  z-index: 1;
}

.site-footer__inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.site-footer__brand {
  max-width: 300px;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--theme-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--theme-text);
  text-decoration: none;
  margin-bottom: 12px;
}

.site-footer__logo:hover {
  color: var(--theme-accent);
}

.site-footer__logo-icon {
  width: 28px;
  height: 28px;
  background: var(--theme-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--theme-accent-contrast);
}

.site-footer__tagline {
  color: var(--theme-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.site-footer__links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.site-footer__col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--theme-muted);
  margin-bottom: 16px;
}

.site-footer__col ul {
  list-style: none;
}

.site-footer__col li {
  margin-bottom: 10px;
}

.site-footer__col a {
  color: var(--theme-text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--site-transition);
}

.site-footer__col a:hover {
  color: var(--theme-accent);
}

.site-footer__bottom {
  max-width: var(--site-max-width);
  margin: 32px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--theme-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__copy {
  color: var(--theme-muted);
  font-size: 0.8rem;
}

.site-footer__legal {
  display: flex;
  gap: 24px;
}

.site-footer__legal a {
  color: var(--theme-muted);
  font-size: 0.8rem;
}

.site-footer__legal a:hover {
  color: var(--theme-accent);
}

@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  .site-footer__links {
    gap: 32px;
  }
}

/* ═══════════════════════════════════════
   Section Headers
   ═══════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__label {
  display: inline-block;
  font-family: var(--theme-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--theme-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-header__title {
  margin-bottom: 12px;
}

.section-header__desc {
  color: var(--theme-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   Content reveal helper
   ═══════════════════════════════════════ */
.fade-in {
  opacity: 1;
  transform: none;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════
   Accessibility
   ═══════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--theme-accent);
  outline-offset: 3px;
}

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