/* CLAPS Individual Tuition — clean mobile-first */

:root {
  --teal: #0c6b67;
  --teal-dark: #084f4c;
  --orange: #f5920b;
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --ink: #152828;
  --muted: #5f7171;
  --line: #e4eceb;
  --wa: #22c55e;
  --wa-hover: #16a34a;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-ml: "Anek Malayalam", var(--font);
  --pad: 1.25rem;
  --radius: 20px;
  --dock-h: 4rem;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px) + 0.75rem);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Header ── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.topbar__logo {
  width: auto;
  max-height: 38px;
  object-fit: contain;
}

.topbar__wa {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  flex-shrink: 0;
}

.topbar__wa:active {
  background: var(--wa-hover);
}

/* ── Layout ── */

.page {
  max-width: 1080px;
  margin-inline: auto;
}

.hero {
  padding: 0 var(--pad) 1.5rem;
}

.hero__panel {
  max-width: 720px;
  margin-inline: auto;
  padding: 0.5rem 0 0;
}

.hero__visual {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 1.5rem 0 2rem;
  text-align: center;
}

.hero__visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(88%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 247, 208, 0.55) 0%, rgba(240, 253, 244, 0.4) 45%, transparent 70%);
  transform: translate(-50%, -52%);
  pointer-events: none;
}

.hero__dots {
  position: absolute;
  z-index: 0;
  width: 44px;
  height: 32px;
  opacity: 0.35;
  background-image: radial-gradient(circle, #94a3a8 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  pointer-events: none;
}

.hero__dots--l {
  top: 12%;
  left: 4%;
}

.hero__dots--r {
  top: 18%;
  right: 4%;
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.hero__pill {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  background: var(--teal-dark);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(8, 79, 76, 0.25);
  transform: translateX(-50%);
}

.hero__copy {
  text-align: center;
  margin-bottom: 1.25rem;
}

.hero__title {
  margin: 0 0 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--teal-dark);
}

.hero__spark {
  display: block;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(135deg, transparent 42%, var(--teal-dark) 42%, var(--teal-dark) 48%, transparent 48%),
    linear-gradient(45deg, transparent 42%, var(--teal-dark) 42%, var(--teal-dark) 48%, transparent 48%);
  opacity: 0.85;
}

.hero__spark--r {
  transform: scaleX(-1);
}

.hero__title-accent {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.hero__lede {
  margin: 0 auto;
  max-width: 22rem;
  font-family: var(--font-ml);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--muted);
}

.hero__cards-wrap {
  position: relative;
  margin-bottom: 1.25rem;
  container-type: inline-size;
  overflow: hidden;
}

.hero__cards-wrap::before,
.hero__cards-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 1;
  width: 1.75rem;
  height: calc(100% - 0.5rem);
  pointer-events: none;
}

.hero__cards-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.hero__cards-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.hero__cards-track {
  display: flex;
  width: max-content;
}

.hero__cards-marquee.is-active .hero__cards-track {
  animation: hero-cards-marquee 32s linear infinite;
}

.hero__cards-marquee.is-active:hover .hero__cards-track {
  animation-play-state: paused;
}

@keyframes hero-cards-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero__cards {
  display: flex;
  gap: 0.65rem;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
  list-style: none;
  flex-shrink: 0;
}

.hero__cards-marquee:not(.is-active) .hero__cards-track {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero__cards-marquee:not(.is-active) .hero__cards-track::-webkit-scrollbar {
  display: none;
}

.hero__cards-marquee:not(.is-active) .hero__cards {
  width: 100%;
}

.hero-card {
  flex: 0 0 calc((100cqi - 1.3rem) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  min-width: 0;
  text-align: center;
  background: #fff;
  border: 1px solid #eef2f1;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(21, 40, 40, 0.06);
}

.hero-card__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  color: #fff;
}

.hero-card--green .hero-card__icon {
  background: linear-gradient(145deg, #14b8a6, var(--teal-dark));
}

.hero-card--orange .hero-card__icon {
  background: linear-gradient(145deg, #fb923c, #ea580c);
}

.hero-card--green .hero-card__title {
  color: var(--teal-dark);
}

.hero-card--orange .hero-card__title {
  color: #c2410c;
}

.hero-card__title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.hero-card__sub {
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--muted);
}

.hero__trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem;
  background: #f8faf9;
  border: 1px solid #e8eeed;
  border-radius: 16px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero__trust-item--shield {
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.hero__trust-icon {
  display: grid;
  place-items: center;
  color: var(--teal);
}

.hero__trust-item--google {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e8eeed;
}

.hero__google {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.hero__rating-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.hero__stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.hero__reviews {
  flex-basis: 100%;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

.btn--wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

.btn--wa:active {
  background: var(--wa-hover);
}

.hero__cta {
  display: flex;
  width: 100%;
  max-width: 20rem;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  margin: 1.25rem auto 0;
}

/* ── Stats ── */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 720px;
  margin-inline: auto;
  padding: 1.5rem var(--pad) 0;
}

.stats__cell {
  --stat-color: var(--teal-dark);
  --stat-icon-bg: #e8f5f0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0.85rem;
  overflow: hidden;
  text-align: left;
  background: #fff;
  border: 1px solid #eef2f1;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(21, 40, 40, 0.06);
}

.stats__cell::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--stat-color);
  border-radius: 100% 0 18px 0;
  opacity: 0.9;
}

.stats__cell--green {
  --stat-color: #1b7340;
  --stat-icon-bg: #e8f5ef;
}

.stats__cell--orange {
  --stat-color: #f39200;
  --stat-icon-bg: #fff4e5;
}

.stats__icon-wrap {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.stats__spark {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  background:
    linear-gradient(135deg, transparent 42%, #1b7340 42%, #1b7340 48%, transparent 48%),
    linear-gradient(45deg, transparent 42%, #1b7340 42%, #1b7340 48%, transparent 48%);
  opacity: 0.75;
}

.stats__spark--orange {
  background:
    linear-gradient(135deg, transparent 42%, #f39200 42%, #f39200 48%, transparent 48%),
    linear-gradient(45deg, transparent 42%, #f39200 42%, #f39200 48%, transparent 48%);
}

.stats__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  color: var(--stat-color);
  background: var(--stat-icon-bg);
}

.stats__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.stats__num {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--stat-color);
}

.stats__dash {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.4rem 0 0.35rem;
  border-radius: 1px;
  background: var(--stat-color);
  opacity: 0.85;
}

.stats__name {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

/* ── Features ── */

.features {
  margin: 1.25rem 4px 0;
  padding: 0;
}

.features__panel {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  margin-inline: auto;
  padding: 2rem 4px 0;
  background: #fff;
  border: 1px solid #e8eeed;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(21, 40, 40, 0.06);
}

.features__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.features__blob--tr {
  top: -30px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 70%);
}

.features__blob--bl {
  bottom: 80px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, transparent 70%);
}

.features__dots {
  position: absolute;
  width: 48px;
  height: 36px;
  opacity: 0.35;
  background-image: radial-gradient(circle, #94a3a8 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  pointer-events: none;
}

.features__dots--tl {
  top: 14px;
  left: 14px;
}

.features__dots--br {
  bottom: 100px;
  right: 14px;
}

.features__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 1.5rem;
}

.features__title {
  margin: 0 0 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.features__title-lead {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0a1d37;
}

.features__title-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0c7c76;
}

.features__spark {
  display: block;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(135deg, transparent 42%, #0c7c76 42%, #0c7c76 48%, transparent 48%),
    linear-gradient(45deg, transparent 42%, #0c7c76 42%, #0c7c76 48%, transparent 48%);
  opacity: 0.85;
}

.features__spark--r {
  transform: scaleX(-1);
}

.features__sub {
  display: inline-block;
  margin: 0;
  padding: 0.45rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f4;
  border-radius: 999px;
}

.features__grid {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-card {
  --card-accent: var(--teal);
  --icon-from: var(--teal);
  --icon-to: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #eef2f1;
  box-shadow: 0 6px 20px rgba(21, 40, 40, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(21, 40, 40, 0.09);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--icon-from), var(--icon-to));
  box-shadow: 0 4px 12px color-mix(in srgb, var(--icon-from) 40%, transparent);
}

.feature-card__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--card-accent);
}

.feature-card--c1 {
  --card-accent: #0c6b67;
  --icon-from: #14b8a6;
  --icon-to: #0c6b67;
}

.feature-card--c2 {
  --card-accent: #ea580c;
  --icon-from: #fb923c;
  --icon-to: #ea580c;
}

.feature-card--c3 {
  --card-accent: #2563eb;
  --icon-from: #60a5fa;
  --icon-to: #2563eb;
}

.feature-card--c4 {
  --card-accent: #9333ea;
  --icon-from: #c084fc;
  --icon-to: #9333ea;
}

.feature-card--c5 {
  --card-accent: #0284c7;
  --icon-from: #38bdf8;
  --icon-to: #0284c7;
}

.feature-card--c6 {
  --card-accent: #d97706;
  --icon-from: #fbbf24;
  --icon-to: #d97706;
}

.feature-card__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: var(--font-ml);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.feature-card__highlight {
  font-weight: 700;
  color: var(--card-accent);
}

.features__trust {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 1.5rem;
  padding: 1.15rem 4px 1.35rem;
  border-top: 1px solid #e8eeed;
}

.features__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.features__trust-icon {
  display: grid;
  place-items: center;
}

.features__trust-item--trust {
  color: #0c7c76;
}

.features__trust-item--trust .features__trust-icon {
  color: #0c7c76;
}

.features__trust-item--results {
  color: #0a1d37;
}

.features__trust-item--results .features__trust-icon {
  color: #f59e0b;
}

.features__trust-item--care {
  color: #dc2626;
}

.features__trust-item--care .features__trust-icon {
  color: #ef4444;
}

/* Legacy footer — superseded by assets/css/footer.css (.site-footer) */

/* ── Sticky dock ── */

.dock {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.dock:active {
  background: var(--wa-hover);
}

/* ── Desktop ── */

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .hero {
    padding-inline: 2rem;
  }

  .hero__panel {
    max-width: 780px;
  }

  .hero__brand {
    font-size: 2.85rem;
  }

  .hero__title-accent {
    font-size: 2.15rem;
  }

  .hero__trust {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1rem;
  }

  .hero__trust-item--shield {
    justify-content: flex-start;
    padding-right: 1rem;
    border-right: 1px solid #e8eeed;
  }

  .hero__trust-item--google {
    justify-content: flex-start;
    padding-top: 0;
    border-top: none;
  }

  .hero__rating {
    justify-content: flex-start;
  }

  .hero__reviews {
    flex-basis: auto;
    text-align: left;
  }

  .hero__cta {
    width: auto;
    min-width: 16rem;
    margin-inline: auto;
    display: flex;
  }

  .stats {
    max-width: 780px;
    gap: 1rem;
    padding-inline: 2rem;
  }

  .stats__cell {
    padding: 1.15rem 1rem;
  }

  .stats__num {
    font-size: 1.75rem;
  }

  .features {
    margin-inline: 4px;
  }

  .features__panel {
    max-width: 720px;
    padding: 2.5rem 4px 0;
  }

  .features__title-lead {
    font-size: 1.35rem;
  }

  .features__title-brand {
    font-size: 3rem;
  }

  .feature-card__text {
    font-size: 0.95rem;
  }

  .features__trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .features__trust-item + .features__trust-item {
    border-left: 1px solid #e8eeed;
  }

  .dock {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 1.5rem 2.5rem 2.5rem;
  }

  .hero__panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
    grid-template-rows: auto auto auto auto auto;
    gap: 0 3.5rem;
    align-items: center;
    max-width: 1060px;
    padding-top: 0.75rem;
  }

  .hero__visual {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    margin-bottom: 0;
    padding: 1rem 0 2.5rem;
  }

  .hero__visual-glow {
    width: min(95%, 380px);
  }

  .hero__photo {
    max-width: 420px;
  }

  .hero__pill {
    font-size: 0.68rem;
    padding: 0.55rem 1.15rem;
  }

  .hero__copy {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-bottom: 0;
    text-align: left;
  }

  .hero__title {
    align-items: flex-start;
  }

  .hero__brand {
    font-size: 3.25rem;
  }

  .hero__title-accent {
    font-size: 2.45rem;
  }

  .hero__lede {
    margin: 0;
    max-width: 28rem;
    font-size: 1.08rem;
  }

  .hero__cards-wrap {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 1.75rem 0 1.5rem;
  }

  .hero__cards-wrap::before,
  .hero__cards-wrap::after {
    display: none;
  }

  .hero__cards-marquee.is-active .hero__cards-track {
    animation: none;
    width: 100%;
    transform: none;
  }

  .hero__cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
    padding: 0;
  }

  .hero-card[aria-hidden="true"] {
    display: none;
  }

  .hero-card {
    flex: none;
    padding: 1.05rem 0.75rem;
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .hero-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(21, 40, 40, 0.1);
  }

  .hero-card__icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 14px;
  }

  .hero-card__title {
    font-size: 0.68rem;
  }

  .hero-card__sub {
    font-size: 0.76rem;
  }

  .hero__trust {
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.15rem 1.5rem;
    border-radius: 18px;
  }

  .hero__trust-item--shield {
    font-size: 0.68rem;
  }

  .hero__cta {
    grid-column: 1 / -1;
    grid-row: 5;
    justify-self: center;
    min-width: 18rem;
    max-width: 22rem;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
  }

  .stats {
    max-width: 900px;
    gap: 1.15rem;
  }

  .stats__num {
    font-size: 1.85rem;
  }

  .features__panel {
    max-width: 900px;
  }
}

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

  .hero__cards-marquee.is-active .hero__cards-track {
    animation: none;
  }

  .hero-card:hover {
    transform: none;
  }

  .feature-card:hover {
    transform: none;
  }
}

/* ── Subpage navigation ── */

.topbar__nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--teal-dark);
  cursor: pointer;
  flex-shrink: 0;
}

.topbar__nav-toggle svg {
  display: block;
}

.topbar__nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: calc(4.5rem + env(safe-area-inset-top, 0px)) var(--pad) 2rem;
  background: rgba(255, 255, 255, 0.98);
  overflow-y: auto;
}

.topbar__nav.is-open {
  display: block;
}

.topbar__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar__nav-list > li + li {
  border-top: 1px solid var(--line);
}

.topbar__nav-list a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 600;
  color: var(--teal-dark);
}

.topbar__nav-list a:hover,
.topbar__nav-list a[aria-current="page"] {
  color: var(--orange);
}

.topbar__nav-label {
  display: block;
  padding: 1rem 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .topbar__nav-toggle {
    display: none;
  }

  .topbar__nav {
    display: block;
    position: static;
    padding: 0;
    background: transparent;
    overflow: visible;
  }

  .topbar__nav-list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }

  .topbar__nav-list > li + li {
    border-top: none;
  }

  .topbar__nav-list a {
    padding: 0.45rem 0.65rem;
    font-size: 0.88rem;
    border-radius: 999px;
  }

  .topbar__nav-list a[aria-current="page"] {
    background: var(--bg-soft);
  }

  .topbar__nav-label {
    display: none;
  }
}

/* ── Subpage content ── */

.content-page {
  padding: 1.25rem var(--pad) 2.5rem;
}

.breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--line);
}

.breadcrumb a {
  color: var(--teal);
  font-weight: 600;
}

.page-hero {
  margin-bottom: 1.75rem;
}

.page-hero__title {
  margin: 0 0 0.75rem;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--teal-dark);
}

.page-hero__lede {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-hero__lede--ml {
  font-family: var(--font-ml);
}

.content-block {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.seo-intro .content-block {
  max-width: 52rem;
  margin: 0 auto 1rem;
}

.seo-intro .content-block p {
  margin-bottom: 1rem;
}

.seo-intro .content-block a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-dark);
}

.content-block h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
}

.content-block p,
.content-block li {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
}

.content-block ul,
.content-block ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.content-block li + li {
  margin-top: 0.35rem;
}

.seo-prose {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  padding: 0 var(--pad);
}

.seo-prose a {
  color: var(--teal);
  font-weight: 600;
}

.content-block--ml p,
.content-block--ml li {
  font-family: var(--font-ml);
}

.cite-box {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-soft);
}

.cite-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-band {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef8f6, #fff9f0);
  border: 1px solid #dce9e7;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--teal-dark);
}

.cta-band p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band .btn--wa {
  display: inline-flex;
  padding: 0.85rem 1.35rem;
  font-size: 0.95rem;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-grid a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 600;
  color: var(--teal-dark);
  transition: border-color 0.15s, background 0.15s;
}

.link-grid a:hover {
  border-color: var(--teal);
  background: var(--bg-soft);
}

.link-grid a span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 0.65rem;
}

.faq-item summary {
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: var(--teal-dark);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.faq-item__body {
  padding: 1rem 1.1rem;
}

.faq-item__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
}

@media (min-width: 768px) {
  .page-hero__title {
    font-size: 2.35rem;
  }

  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .link-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Research & evidence ── */

.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.research-card {
  padding: 1.15rem 1.2rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 4px 14px rgba(21, 40, 40, 0.04);
}

.research-card__stat {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--teal);
}

.research-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.research-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
}

.research-card__source {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.research-card__source a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.benefit-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.benefit-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}

.sources-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.sources-list li {
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink);
}

.sources-list a {
  color: var(--teal);
  font-weight: 600;
  word-break: break-word;
}

.content-block--wide {
  max-width: none;
}

.research-teaser {
  margin: 1.5rem var(--pad) 0;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #eef8f6 0%, #fff 100%);
  border: 1px solid #dce9e7;
}

.research-teaser h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal-dark);
  text-align: center;
}

.research-teaser > p {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .research-teaser {
    margin-inline: 2rem;
    padding: 1.75rem;
  }
}
