/* ============================================================
   HEALTHSTART — 4-Week CNA Certificate Programs
   Urgent, action-driven landing page
   ============================================================ */

/* ── Design Tokens ── */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    4.5rem);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-wide: 1200px;
  --content-default: 960px;
  --content-narrow: 640px;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Light Mode Colors ── */
/* CNA palette: deep navy + amber/orange urgency accent */
:root, [data-theme="light"] {
  --color-bg:             #f5f7fa;
  --color-surface:        #ffffff;
  --color-surface-2:      #f9fafc;
  --color-surface-offset: #eef1f6;
  --color-divider:        #dde3ed;
  --color-border:         #ccd4e3;

  --color-text:           #0e1a2e;
  --color-text-muted:     #4a5773;
  --color-text-faint:     #98a4bc;
  --color-text-inverse:   #f5f7fa;

  /* Deep navy primary */
  --color-primary:        #1b3d6e;
  --color-primary-hover:  #142e54;
  --color-primary-active: #0d1f39;
  --color-primary-highlight: #dce6f5;

  /* Amber urgency accent */
  --color-accent:         #d97706;
  --color-accent-hover:   #b45309;
  --color-accent-light:   #fef3c7;
  --color-accent-border:  #fbbf24;

  --color-success:        #15803d;

  --shadow-sm: 0 1px 3px oklch(0.2 0.05 240 / 0.06);
  --shadow-md: 0 4px 14px oklch(0.2 0.05 240 / 0.10);
  --shadow-lg: 0 12px 36px oklch(0.2 0.05 240 / 0.14);
  --shadow-xl: 0 24px 60px oklch(0.2 0.05 240 / 0.18);
}

/* ── Dark Mode Colors ── */
[data-theme="dark"] {
  --color-bg:             #090e18;
  --color-surface:        #0f1826;
  --color-surface-2:      #141f30;
  --color-surface-offset: #0c1520;
  --color-divider:        #1a2640;
  --color-border:         #243354;

  --color-text:           #d4dcea;
  --color-text-muted:     #6a7d9e;
  --color-text-faint:     #384d6a;
  --color-text-inverse:   #090e18;

  --color-primary:        #5b8fd4;
  --color-primary-hover:  #7aaae0;
  --color-primary-active: #99c0eb;
  --color-primary-highlight: #1a2e4a;

  --color-accent:         #f59e0b;
  --color-accent-hover:   #fbbf24;
  --color-accent-light:   #1c1500;
  --color-accent-border:  #d97706;

  --color-success:        #22c55e;

  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 14px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 12px 36px oklch(0 0 0 / 0.5);
  --shadow-xl: 0 24px 60px oklch(0 0 0 / 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #090e18; --color-surface: #0f1826; --color-surface-2: #141f30;
    --color-surface-offset: #0c1520; --color-divider: #1a2640; --color-border: #243354;
    --color-text: #d4dcea; --color-text-muted: #6a7d9e; --color-text-faint: #384d6a;
    --color-text-inverse: #090e18; --color-primary: #5b8fd4; --color-primary-hover: #7aaae0;
    --color-primary-active: #99c0eb; --color-primary-highlight: #1a2e4a;
    --color-accent: #f59e0b; --color-accent-hover: #fbbf24; --color-accent-light: #1c1500;
    --color-accent-border: #d97706; --color-success: #22c55e;
    --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.3); --shadow-md: 0 4px 14px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 12px 36px oklch(0 0 0 / 0.5); --shadow-xl: 0 24px 60px oklch(0 0 0 / 0.6);
  }
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; }
p, li { text-wrap: pretty; }

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

a, button, [role="button"] {
  transition: color var(--transition), background var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
}

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

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}

.section--offset { background-color: var(--color-surface); }

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

.section-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-desc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 58ch;
  margin-inline: auto;
  line-height: 1.65;
}
.section-desc a { color: var(--color-primary); text-decoration: underline; }

.section-cta {
  text-align: center;
  margin-top: var(--space-10);
}
.section-cta__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

.btn--white {
  background: white;
  color: var(--color-primary);
  border-color: white;
}
.btn--white:hover {
  background: var(--color-primary-highlight);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition);
}
.header--scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.logo__text {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}
.nav__link:hover { color: var(--color-primary); }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover { color: var(--color-primary); border-color: var(--color-primary); }

@media (max-width: 768px) {
  .nav { display: none; }
  .header__actions .btn { display: none; }
}

/* ── Hero ── */
.hero {
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
  background: linear-gradient(160deg, var(--color-surface) 55%, var(--color-primary-highlight) 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: var(--space-10);
  align-items: start;
}

.hero__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-top: var(--space-4);
}

/* Urgency badge */
.hero__urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  width: fit-content;
}

.urgency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 var(--color-accent);
  animation: pulse-dot 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--color-accent) 70%, transparent); }
  70% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--color-accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--color-accent) 0%, transparent); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero__headline em {
  font-style: italic;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 50ch;
  line-height: 1.65;
}

.hero__proof {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}
.proof-item svg { color: var(--color-success); flex-shrink: 0; }

.hero__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* Hero Widget */
.hero__widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: calc(64px + var(--space-4));
}

.hero__widget .campusexplorer-widget {
  width: 100%;
  display: block;
  min-height: 180px;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__widget {
    position: static;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--color-primary);
  padding-block: var(--space-4);
}
.trust-bar__inner {
  display: flex;
  justify-content: center;
}
.trust-bar__items {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: white;
  font-size: var(--text-sm);
  font-weight: 500;
}
.trust-item svg { flex-shrink: 0; opacity: 0.85; }

/* ── About / Stats ── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.about__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.about__list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent);
  margin-top: 1px;
}

/* Stat cards */
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card--accent {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}
.stat-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-card--accent .stat-card__number {
  color: var(--color-accent-border);
}
.stat-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.stat-card--accent .stat-card__label {
  color: color-mix(in oklab, white 75%, transparent);
}
.stat-card__footnote {
  grid-column: 1 / -1;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
}
.stat-card__footnote a {
  color: var(--color-primary);
  text-decoration: underline;
}

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

/* ── Curriculum Cards ── */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.curriculum-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.curriculum-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.curriculum-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.curriculum-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.curriculum-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

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

/* ── Urgency Section ── */
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.urgency-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.urgency-card--featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.urgency-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.urgency-card--featured .urgency-card__icon {
  background: color-mix(in oklab, white 15%, var(--color-primary));
  color: white;
}

.urgency-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.urgency-card--featured h3 { color: white; }

.urgency-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.urgency-card--featured p { color: color-mix(in oklab, white 80%, transparent); }

@media (max-width: 768px) {
  .urgency-grid { grid-template-columns: 1fr; }
  .urgency-card--featured { transform: none; }
}

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(33.33% - 20px);
  right: calc(33.33% - 20px);
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  opacity: 0.25;
}

.step { text-align: center; padding: var(--space-4); }

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  font-size: var(--text-lg);
  font-weight: 800;
  font-family: var(--font-display);
  margin-inline: auto;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}

.step--active .step__number {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-light);
}

.step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 28ch;
  margin-inline: auto;
  line-height: 1.65;
}

.steps-cta {
  text-align: center;
  margin-top: var(--space-10);
}

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

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.testimonial--featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.testimonial__text {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.testimonial--featured .testimonial__text { color: color-mix(in oklab, white 90%, transparent); }

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-base);
  flex-shrink: 0;
}
.testimonial--featured .testimonial__avatar {
  background: color-mix(in oklab, white 20%, var(--color-primary));
  color: white;
}

.testimonial__name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.testimonial--featured .testimonial__name { color: white; }

.testimonial__role {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.testimonial--featured .testimonial__role { color: color-mix(in oklab, white 60%, transparent); }

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
}

/* ── FAQ ── */
.faq-list { max-width: 720px; margin-inline: auto; }

.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-item:first-child { border-top: 1px solid var(--color-divider); }

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-5);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--color-accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: var(--space-4);
}
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }

.faq-item__a {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 65ch;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), #0d2d5a);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 180%;
  background: color-mix(in oklab, white 5%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section__inner { position: relative; z-index: 1; }

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: white;
  margin-bottom: var(--space-4);
}

.cta-section__desc {
  font-size: var(--text-lg);
  color: color-mix(in oklab, white 78%, transparent);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.65;
}

.cta-section__note {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: color-mix(in oklab, white 55%, transparent);
}

/* ── Footer ── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-16);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 36ch;
  line-height: 1.65;
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer__links a:hover { color: var(--color-primary); }

.footer__bottom {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-5);
}

.footer__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.65;
}
.footer__disclaimer a { color: var(--color-primary); }

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
