/* ==========================================================================
   Base Styles  — Sora font, app-aligned defaults
   ========================================================================== */

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Headings ──────────────────────────────────────────────────────────── */

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-h1);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-h3);
  letter-spacing: -0.01em;
}

p {
  color: var(--color-text-secondary);
}

/* ── Layout ────────────────────────────────────────────────────────────── */

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

.section-padding {
  padding-block: var(--space-9);
}

@media (max-width: 640px) {
  .section-padding {
    padding-block: var(--space-8);
  }
}

/* ── Section Header ────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}

.section-header h2 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-3);
}

.section-header p {
  font-size: var(--font-size-body);
}

/* ── Utilities ─────────────────────────────────────────────────────────── */

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

.text-center { text-align: center; }

/* ── Badge / Pill ──────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.25);
  border-radius: var(--radius-badge);
}

[data-theme="dark"] .badge {
  color: #81C784;
  background-color: rgba(76, 175, 80, 0.12);
  border-color: rgba(76, 175, 80, 0.25);
}
