/* Hong Kong Irlen Diagnostic Centre ? Irlen-inspired white / grey / purple */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;800&family=Noto+Sans+TC:wght@400;500;700;800&display=swap');

:root {
  --bg: #f8fafc;
  --bg-band: #f0f3f6;
  --surface: #ffffff;
  --text: #232440;
  --text-muted: #64748b;
  --border: #e4e4e4;
  --amber: #8664aa;
  --amber-dark: #6b4d94;
  --amber-light: #ede7f5;
  --amber-btn: #8664aa;
  --amber-btn-hover: #5a4080;
  --footer-bg: #000000;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(35, 36, 64, 0.06);
  --shadow-lg: 0 12px 40px rgba(35, 36, 64, 0.1);
  --max-width: 1280px;
  --header-h: 108px;
  --font: 'Inter', 'Noto Sans TC', 'Noto Sans SC', system-ui, sans-serif;
  --font-zh-hant: 'Noto Sans TC', 'Noto Sans SC', 'Inter', system-ui, sans-serif;
  --font-zh-hans: 'Noto Sans SC', 'Noto Sans TC', 'Inter', system-ui, sans-serif;
  --page-filter-color: transparent;
  --page-filter-opacity: 0.42;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  transition: background-color 0.4s ease;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background-color 0.4s ease;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.lang-zh-hant {
  font-family: var(--font-zh-hant);
}

body.lang-zh-hans {
  font-family: var(--font-zh-hans);
}

body.lang-zh-hant h1,
body.lang-zh-hant h2,
body.lang-zh-hant h3,
body.lang-zh-hant h4,
body.lang-zh-hans h1,
body.lang-zh-hans h2,
body.lang-zh-hans h3,
body.lang-zh-hans h4 {
  letter-spacing: 0;
  font-synthesis: none;
}

main {
  flex: 1;
  background: var(--bg);
  transition: background-color 0.4s ease;
}

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

a {
  color: var(--amber-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--amber); }

h1, h2, h3, h4 {
  line-height: 1.2;
  color: #232440;
  margin-top: 0;
}

h1 { font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1rem; }

ul, ol { padding-left: 1.25rem; margin: 0 0 1rem; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.page-color-bar {
  position: relative;
  z-index: 10000;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.5rem 0;
}

.page-color-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.page-color-bar__text {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #333;
}

.page-color-bar__swatches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.page-bg-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}

.page-bg-btn:hover {
  transform: scale(1.08);
}

.page-bg-btn.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #8664aa;
}

body.page-color-filter::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: var(--page-filter-color);
  opacity: var(--page-filter-opacity);
  pointer-events: none;
  z-index: 9990;
  transition: background-color 0.4s ease, opacity 0.4s ease;
}

.top-banner {
  background: #8664aa;
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.top-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.top-banner a:hover {
  text-decoration-color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.4s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

@media (min-width: 900px) {
  .site-header__inner {
    display: flex;
    flex-wrap: nowrap;
  }

  .logo { order: 1; }
  .main-nav { order: 2; flex: 1; }
  .header-actions { order: 3; }
  .header-actions .nav-toggle { display: none; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo__img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo__title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #232440;
  line-height: 1.1;
}

body.lang-zh-hant .logo__title,
body.lang-zh-hans .logo__title {
  font-size: 0.95rem;
  letter-spacing: 0;
  line-height: 1.3;
  max-width: 11.5em;
}

.logo__sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.lang-switch__btn {
  background: transparent;
  border: none;
  border-right: 1px solid #ddd;
  color: #3e3e3e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  white-space: nowrap;
}

.lang-switch__btn:last-child { border-right: none; }

.lang-switch__btn:hover { background: #ececec; }

.lang-switch__btn.is-active {
  background: #fff;
  color: var(--amber-dark);
}

.lang-switch__btn--disabled,
.lang-switch__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.lang-switch__btn--disabled:hover,
.lang-switch__btn:disabled:hover {
  background: transparent;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
  border-radius: 8px;
}

.nav-toggle:hover { background: rgba(214, 211, 209, 0.4); }

.nav-toggle svg { width: 28px; height: 28px; }

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--amber-dark);
  border-bottom-color: var(--amber-dark);
}

.header-cta {
  display: none;
  background: var(--amber-btn);
  color: #fff !important;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.header-cta:hover {
  background: var(--amber-btn-hover);
  color: #fff !important;
}

@media (min-width: 900px) {
  .header-cta { display: inline-flex; }
}

:not(body).lang-zh-hant,
:not(body).lang-zh-hans { display: none !important; }

/* English (default) ? show English spans only */
span.lang-en,
a.lang-en,
button.lang-en { display: inline; }

p.lang-en,
li.lang-en,
label.lang-en,
h1.lang-en,
h2.lang-en,
h3.lang-en,
h4.lang-en,
div.lang-en { display: block; }

strong.lang-en,
em.lang-en { display: inline; }

body.lang-zh-hant .lang-en,
body.lang-zh-hant .lang-zh-hans { display: none !important; }

body.lang-zh-hant span.lang-zh-hant,
body.lang-zh-hant a.lang-zh-hant,
body.lang-zh-hant button.lang-zh-hant,
body.lang-zh-hant strong.lang-zh-hant,
body.lang-zh-hant em.lang-zh-hant { display: inline !important; }

body.lang-zh-hant p.lang-zh-hant,
body.lang-zh-hant li.lang-zh-hant,
body.lang-zh-hant label.lang-zh-hant,
body.lang-zh-hant h1.lang-zh-hant,
body.lang-zh-hant h2.lang-zh-hant,
body.lang-zh-hant h3.lang-zh-hant,
body.lang-zh-hant h4.lang-zh-hant,
body.lang-zh-hant div.lang-zh-hant { display: block !important; }

body.lang-zh-hans .lang-en,
body.lang-zh-hans .lang-zh-hant { display: none !important; }

body.lang-zh-hans span.lang-zh-hans,
body.lang-zh-hans a.lang-zh-hans,
body.lang-zh-hans button.lang-zh-hans,
body.lang-zh-hans strong.lang-zh-hans,
body.lang-zh-hans em.lang-zh-hans { display: inline !important; }

body.lang-zh-hans p.lang-zh-hans,
body.lang-zh-hans li.lang-zh-hans,
body.lang-zh-hans label.lang-zh-hans,
body.lang-zh-hans h1.lang-zh-hans,
body.lang-zh-hans h2.lang-zh-hans,
body.lang-zh-hans h3.lang-zh-hans,
body.lang-zh-hans h4.lang-zh-hans,
body.lang-zh-hans div.lang-zh-hans { display: block !important; }

/* Nested lang spans inside headings and labels */
h1 span.lang-en,
h2 span.lang-en,
h3 span.lang-en,
h4 span.lang-en,
label span.lang-en,
strong span.lang-en,
p span.lang-en,
li span.lang-en,
a span.lang-en,
button span.lang-en { display: inline; }

body.lang-zh-hant h1 span.lang-zh-hant,
body.lang-zh-hant h2 span.lang-zh-hant,
body.lang-zh-hant h3 span.lang-zh-hant,
body.lang-zh-hant h4 span.lang-zh-hant,
body.lang-zh-hant label span.lang-zh-hant,
body.lang-zh-hant strong span.lang-zh-hant,
body.lang-zh-hant p span.lang-zh-hant,
body.lang-zh-hant li span.lang-zh-hant,
body.lang-zh-hant a span.lang-zh-hant,
body.lang-zh-hant button span.lang-zh-hant { display: inline !important; }

body.lang-zh-hans h1 span.lang-zh-hans,
body.lang-zh-hans h2 span.lang-zh-hans,
body.lang-zh-hans h3 span.lang-zh-hans,
body.lang-zh-hans h4 span.lang-zh-hans,
body.lang-zh-hans label span.lang-zh-hans,
body.lang-zh-hans strong span.lang-zh-hans,
body.lang-zh-hans p span.lang-zh-hans,
body.lang-zh-hans li span.lang-zh-hans,
body.lang-zh-hans a span.lang-zh-hans,
body.lang-zh-hans button span.lang-zh-hans { display: inline !important; }

body.lang-zh-hant .lang-zh-hant.block { display: block !important; }
body.lang-zh-hans .lang-zh-hans.block { display: block !important; }

.hero { padding: 2.5rem 0 3rem; }

/* Homepage hero */
.hero--home {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero--home__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(134, 100, 170, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(134, 100, 170, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--amber-light) 0%, var(--bg) 72%);
  pointer-events: none;
}

.hero--home__bg::before,
.hero--home__bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero--home__bg::before {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: rgba(134, 100, 170, 0.06);
}

.hero--home__bg::after {
  width: 200px;
  height: 200px;
  bottom: 40px;
  left: 8%;
  background: rgba(134, 100, 170, 0.05);
}

.hero__grid--home {
  position: relative;
  z-index: 1;
}

.hero__content { min-width: 0; }

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__logo-card {
  background: var(--surface);
  border: 1px solid rgba(134, 100, 170, 0.2);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 300px;
}

.hero__logo {
  margin: 0 auto 1rem;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.hero__logo-caption {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-dark);
  line-height: 1.4;
}

.hero__tip {
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(134, 100, 170, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  max-width: 300px;
  width: 100%;
}

.hero__tip p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Hero editorial mosaic */
.hero-mosaic {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 0 1.25rem 1.5rem 0;
}

.hero-mosaic__primary {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.35rem;
  box-shadow: 0 24px 48px rgba(35, 36, 64, 0.14);
}

.hero-mosaic__accent {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 8px 24px rgba(35, 36, 64, 0.12);
}

.hero-mosaic__accent--child {
  bottom: 4%;
  left: -6%;
}

.hero-mosaic__accent--senior {
  top: 8%;
  right: -4%;
}

@media (min-width: 900px) {
  .hero__grid--home { grid-template-columns: 1fr minmax(280px, 360px); gap: 3rem; }
  .hero-mosaic { max-width: 360px; }
}

/* Calm homepage hero ? single photo */
.hero--calm .hero--home__bg {
  background: linear-gradient(180deg, #f4f6f8 0%, var(--bg) 100%);
}

.hero--calm .hero--home__bg::before,
.hero--calm .hero--home__bg::after {
  display: none;
}

/* Animated homepage hero */
.hero--animated {
  padding: 3.5rem 0 4rem;
}

.hero--animated .hero--home__bg {
  background:
    radial-gradient(ellipse 90% 70% at 85% 15%, rgba(134, 100, 170, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 85%, rgba(154, 184, 252, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #f4f6f8 0%, var(--bg) 100%);
}

.hero-anim__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-anim__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  will-change: transform;
}

.hero-anim__orb--1 {
  width: 280px;
  height: 280px;
  top: 8%;
  right: 5%;
  background: rgba(191, 149, 223, 0.45);
  animation: hero-orb-drift-1 18s ease-in-out infinite;
}

.hero-anim__orb--2 {
  width: 220px;
  height: 220px;
  bottom: 12%;
  left: 0;
  background: rgba(154, 184, 252, 0.4);
  animation: hero-orb-drift-2 22s ease-in-out infinite;
}

.hero-anim__orb--3 {
  width: 180px;
  height: 180px;
  top: 42%;
  left: 38%;
  background: rgba(170, 242, 160, 0.35);
  animation: hero-orb-drift-3 20s ease-in-out infinite;
}

.hero-anim__orb--4 {
  width: 140px;
  height: 140px;
  top: 18%;
  left: 12%;
  background: rgba(255, 222, 117, 0.4);
  animation: hero-orb-drift-4 16s ease-in-out infinite;
}

@keyframes hero-orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 20px) scale(1.08); }
}

@keyframes hero-orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -16px) scale(1.06); }
}

@keyframes hero-orb-drift-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, -22px); }
}

@keyframes hero-orb-drift-4 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, 18px); }
}

.hero-anim__content {
  animation: hero-fade-up 0.8s ease-out both;
}

.hero-anim__visual {
  animation: hero-fade-up 0.8s ease-out 0.15s both;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim__stage {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.hero-anim__tint-card {
  position: relative;
  z-index: 2;
  width: 90%;
  margin: -1.65rem auto 0;
  padding: 0.95rem 1.15rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(134, 100, 170, 0.22);
  box-shadow: 0 14px 36px rgba(35, 36, 64, 0.1);
  text-align: center;
  animation: hero-tint-cycle 30s ease-in-out infinite;
}

.hero-anim__tint-label {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  opacity: 0.85;
}

.hero-anim__sample-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: #232440;
}

.hero-anim__tint-swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  max-width: 11rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-anim__tint-swatches span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(35, 36, 64, 0.12);
  flex-shrink: 0;
}

.hero--animated .hero__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  animation: hero-photo-float 8s ease-in-out infinite;
}

@keyframes hero-photo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero--animated .hero__figure-img {
  box-shadow: 0 20px 48px rgba(35, 36, 64, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim__orb,
  .hero-anim__tint-card,
  .hero--animated .hero__figure,
  .hero-anim__content,
  .hero-anim__visual {
    animation: none !important;
  }
}

.hero--calm {
  padding: 3rem 0 3.5rem;
}

.hero__figure {
  margin: 0;
  width: 100%;
  max-width: 320px;
}

.hero__figure-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero--calm .hero__tip {
  background: transparent;
  border: none;
  padding: 0.85rem 0 0;
  max-width: 320px;
  text-align: center;
  font-size: 0.78rem;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (min-width: 900px) {
  .hero--calm .hero__grid--home {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
  }

  .hero__figure {
    max-width: 100%;
  }
}

/* Self-test band */
.section--band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.home-selftest__inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .home-selftest__inner {
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
  }
}

.home-selftest__copy h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin-bottom: 0.5rem;
}

.home-selftest__copy p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 32em;
}

.home-selftest__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: var(--amber-light);
  border: 1px solid rgba(134, 100, 170, 0.25);
  border-radius: var(--radius);
  text-decoration: none !important;
  color: inherit;
  min-width: 220px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.home-selftest__card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow);
}

.home-selftest__card-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber-dark);
  line-height: 1;
}

.home-selftest__card-title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #232440;
}

.home-selftest__card-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--amber-dark);
  margin-top: 0.15rem;
}

/* Compact explore links */
.section__intro--compact {
  margin-bottom: 1.25rem;
}

.section__intro--compact h2 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.home-paths__grid--compact .home-path-card {
  min-height: auto;
  padding: 1rem 1.15rem;
}

.home-paths__grid--compact .home-path-card__icon,
.home-paths__grid--compact .home-path-card__arrow {
  display: none;
}

.home-paths__grid--compact .home-path-card__title {
  font-size: 0.92rem;
}

.home-paths__grid--compact .home-path-card__desc {
  font-size: 0.78rem;
}

/* Calm bottom CTA */
.section--cta-calm {
  background: var(--bg-band);
  border-top: 1px solid var(--border);
}

.home-cta-calm {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .home-cta-calm {
    grid-template-columns: 1fr auto;
    text-align: left;
    gap: 2rem;
  }
}

.home-cta-calm h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 0.35rem;
}

.home-cta-calm p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 36em;
}

.home-cta-calm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .home-cta-calm__actions {
    justify-content: flex-end;
    flex-shrink: 0;
  }
}

/* All ages ? homepage bento band */
.home-ages {
  position: relative;
  padding: 3.5rem 0;
  overflow: hidden;
}

.home-ages__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(134, 100, 170, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--amber-light) 50%, var(--bg) 100%);
  pointer-events: none;
}

.home-ages__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .home-ages__inner {
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
  }
}

.home-ages__copy h2 {
  margin-bottom: 0.85rem;
}

.home-ages__copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 36em;
}

.ages-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, minmax(88px, 1fr));
  gap: 8px;
}

.ages-bento__tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.ages-bento__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ages-bento__tile--hero { grid-column: 1 / 3; grid-row: 1 / 3; }
.ages-bento__tile--child { grid-column: 3 / 4; grid-row: 1 / 2; }
.ages-bento__tile--teen { grid-column: 4 / 5; grid-row: 1 / 2; }
.ages-bento__tile--senior { grid-column: 3 / 5; grid-row: 2 / 3; }
.ages-bento__tile--family { grid-column: 1 / 2; grid-row: 3 / 4; }
.ages-bento__tile--young { grid-column: 2 / 5; grid-row: 3 / 4; }

.ages-bento__label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 0.22rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--amber-dark);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  line-height: 1.2;
}

@media (max-width: 599px) {
  .ages-bento {
    grid-template-rows: repeat(3, minmax(72px, 1fr));
    gap: 6px;
  }
}

/* About page ? age filmstrip */
.ages-filmstrip {
  margin: 2rem 0 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ages-filmstrip__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
}

.ages-filmstrip__row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.ages-filmstrip__face {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow);
  margin-left: -10px;
}

.ages-filmstrip__face:first-child {
  margin-left: 0;
}

@media (min-width: 640px) {
  .ages-filmstrip__face {
    width: 72px;
    height: 72px;
    margin-left: -14px;
  }
}

.ages-filmstrip--home {
  margin: 0;
  padding: 0;
  border: none;
  text-align: center;
}

.ages-filmstrip__row--home {
  margin-top: 1.75rem;
  justify-content: center;
}

.ages-filmstrip--home .ages-filmstrip__face {
  width: 88px;
  height: 88px;
  margin-left: -14px;
  border-width: 4px;
}

.ages-filmstrip--home .ages-filmstrip__face:first-child {
  margin-left: 0;
}

.home-ages.section--band-ivory {
  padding: 3.25rem 0;
}

.ages-filmstrip__lead--home {
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 600;
  color: #3e3e3e;
  max-width: 20em;
  margin: 0 auto;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .ages-filmstrip--home .ages-filmstrip__face {
    width: 104px;
    height: 104px;
    margin-left: -18px;
  }

  .ages-filmstrip__lead--home {
    max-width: 28em;
  }
}

@media (min-width: 900px) {
  .home-ages.section--band-ivory {
    padding: 4.25rem 0;
  }

  .ages-filmstrip__row--home {
    margin-top: 2.25rem;
  }

  .ages-filmstrip--home .ages-filmstrip__face {
    width: 120px;
    height: 120px;
    margin-left: -22px;
  }

  .ages-filmstrip__lead--home {
    max-width: none;
    font-size: 1.35rem;
    line-height: 1.4;
  }

  .ages-filmstrip__lead--home .lang-en {
    white-space: nowrap;
  }
}

@media (max-width: 899px) {
  .ages-filmstrip__lead--home .lang-zh-hant,
  .ages-filmstrip__lead--home .lang-zh-hans {
    white-space: normal;
  }
}

/* Services ? filters mosaic */
.services-filters {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .services-filters {
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
  }
}

.services-filters__text h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.services-filters__text p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.services-filters__text p:last-child {
  margin-bottom: 0;
}

.services-filters__mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 280px;
  margin-inline: auto;
}

.services-filters__img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.services-filters__img--a { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.services-filters__img--b { border-radius: 0 var(--radius-sm) 0 0; margin-top: 12px; }
.services-filters__img--c { border-radius: 0 0 0 var(--radius-sm); margin-top: -12px; }
.services-filters__img--d { border-radius: 0 0 var(--radius-sm) 0; }

/* Resources featured video */
.resource-video--featured h3 {
  font-size: 1.1rem;
}

.resource-video__desc {
  margin: -0.25rem 0 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.resource-video--featured-solo {
  max-width: 720px;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.hero__stats-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero__stats-heading {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #232440;
}

.hero__stats-intro {
  margin: 0 0 1.15rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

.hero__stats--info {
  margin-top: 0;
}

.stat-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: default;
  box-shadow: var(--shadow);
}

.stat-card--prevalence {
  border-top: 3px solid var(--amber);
}

.stat-card--outcome {
  border-top: 3px solid #5cb88a;
}

.stat-card__group {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

.stat-card__num {
  display: block;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--amber-dark);
  line-height: 1;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.stat-card__meaning {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #232440;
  line-height: 1.4;
}

.stat-card__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 14em;
}

/* Home ? things to know (spacious) */
.home-know__intro {
  text-align: center;
  max-width: 36em;
  margin: 0 auto 2.5rem;
}

.home-know__intro h2 {
  margin-bottom: 1rem;
}

.home-know__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.home-know .symptom-grid {
  max-width: 42em;
  margin: 0 auto 2rem;
}

.home-know__cta {
  text-align: center;
  margin: 0 0 2rem;
}

.home-simulator-promo--compact {
  margin-top: 0;
  padding: 1.25rem 1.5rem;
}

.home-simulator-promo--compact .home-simulator-promo__copy h3 {
  margin-bottom: 0;
}

.home-reassure {
  max-width: 40em;
  margin: 0 auto 2.25rem;
  padding: 1.15rem 1.35rem;
  text-align: center;
  background: rgba(237, 231, 245, 0.65);
  border: 1px solid rgba(134, 100, 170, 0.18);
  border-radius: var(--radius-sm);
}

.home-reassure p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3e3e3e;
}

.home-know__panels {
  display: grid;
  gap: 1.25rem;
  max-width: 56em;
  margin: 0 auto 2rem;
}

@media (min-width: 900px) {
  .home-know__panels {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.home-know__panels .home-know__panel {
  max-width: none;
  margin: 0;
}

.home-know__panel-sub {
  margin: -0.5rem 0 1.15rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

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

.home-everyday-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1.1rem;
  font-size: 0.92rem;
  color: #3e3e3e;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}

.home-everyday-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-everyday-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9b7ec8;
}

.home-know__panel {
  max-width: 52em;
  margin: 0 auto 2rem;
  padding: 1.75rem 2rem;
  background: var(--bg-band);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.home-know__panel-title {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-dark);
  text-align: center;
}

.symptom-grid {
  display: grid;
  gap: 0.85rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 540px) {
  .symptom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2.5rem;
  }
}

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

.symptom-grid li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: #3e3e3e;
  line-height: 1.5;
}

.symptom-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.home-know__misdiagnosed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0 auto 2rem;
  max-width: 40em;
  text-align: center;
}

.home-know__misdiagnosed-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.home-know__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.home-know__tags > span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber-dark);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.home-poster__more {
  text-align: center;
  margin: 2.5rem 0 0;
  font-weight: 600;
}

.home-stats__intro {
  text-align: center;
  max-width: 36em;
  margin: 0 auto 2rem;
}

.home-stats__heading {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.home-stats__lead {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.home-stats .hero__stats {
  margin: 0;
}

.home-simulator-promo {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 52em;
  margin: 2.5rem auto 0;
  padding: 1.75rem 2rem;
  background: var(--amber-light);
  border: 1px solid rgba(134, 100, 170, 0.2);
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .home-simulator-promo {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.home-simulator-promo__copy h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--amber-dark);
}

.home-simulator-promo__copy p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.home-simulator-promo__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .home-simulator-promo__actions {
    align-items: flex-end;
    min-width: 12rem;
  }
}

.home-simulator-promo__link {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

@media (min-width: 768px) {
  .home-simulator-promo__link {
    text-align: right;
  }
}

.section__intro-note {
  margin: 0.85rem auto 0;
  max-width: 34em;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.home-nudge {
  padding: 3rem 0;
}

.home-nudge__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  max-width: 40em;
  margin: 0 auto;
}

.home-nudge__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #232440;
}

.home-nudge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

/* Homepage path cards */
.home-paths__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .home-paths__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

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

.home-path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.35rem 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none !important;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 168px;
}

.home-path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(134, 100, 170, 0.35);
}

.home-path-card--featured {
  border-color: rgba(134, 100, 170, 0.4);
  background: linear-gradient(160deg, rgba(237, 231, 245, 0.9) 0%, var(--surface) 100%);
}

.home-path-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.home-path-card__icon--purple { background: var(--amber-light); color: var(--amber-dark); }
.home-path-card__icon--amber { background: #fef3c7; color: #b45309; }
.home-path-card__icon--sky { background: #e0f2fe; color: #0369a1; }
.home-path-card__icon--green { background: #d1fae5; color: #047857; }

.home-path-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: #232440;
}

.home-path-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex: 1;
}

.home-path-card__arrow {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  font-size: 1.1rem;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}

.home-path-card:hover .home-path-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* About Irlen Syndrome page */
.about-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.about-jump a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #232440;
  background: var(--bg-band);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.15s, background 0.15s;
}

.about-jump a:hover {
  border-color: var(--amber);
  background: var(--amber-light);
}

.about-block {
  margin-bottom: 3.5rem;
  scroll-margin-top: 5rem;
}

.about-block:last-child {
  margin-bottom: 0;
}

.about-intro {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
  }
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 1.25rem 0;
}

.about-tags__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.about-tag {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-dark);
  background: var(--amber-light);
  border: 1px solid rgba(134, 100, 170, 0.2);
  border-radius: 999px;
}

.about-video-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.about-video-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(134, 100, 170, 0.35);
}

.about-video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.about-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(35, 36, 64, 0.35);
  transition: background 0.2s;
}

.about-video-card:hover .about-video-card__play {
  background: rgba(134, 100, 170, 0.55);
}

.about-video-card__title {
  margin: 0.85rem 1rem 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #232440;
}

.about-video-card__desc {
  margin: 0 1rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section__intro--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 40em;
}

.about-symptoms-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .about-symptoms-grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

.about-everyday {
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-everyday h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.about-misdiagnosed {
  justify-content: flex-start;
  margin: 0 0 2rem;
  max-width: none;
  text-align: left;
}

.about-symptoms-checklist {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-symptoms-checklist h3 {
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

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

.about-checklist li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  font-size: 0.92rem;
  color: #3e3e3e;
  border-bottom: 1px solid var(--border);
}

.about-checklist li:last-child {
  border-bottom: none;
}

.about-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.about-symptom-card {
  padding: 1.15rem 1.25rem;
}

.about-symptom-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.about-symptom-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-simulator-foot {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-next-steps {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.about-next-steps__heading {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.about-next-steps .home-paths__grid {
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .about-next-steps .home-paths__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-help-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

/* Section kind labels ? info vs clickable */
.section-kind {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.section-kind--links {
  color: var(--amber-dark);
}

.section--info {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section--links .section__intro {
  margin-bottom: 2rem;
}

/* Info tiles ? read-only panels */
.info-tile {
  background: var(--bg-band);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  box-shadow: none;
  cursor: default;
}

.info-tile h3 {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--amber-dark);
}

.info-tile--symptoms { border-left: 3px solid #e879a8; }
.info-tile--population { border-left: 3px solid #38bdf8; }
.info-tile--misdiagnosed { border-left: 3px solid #fb923c; }
.info-tile--improve { border-left: 3px solid #4ade80; }
.info-tile--step { border-left: 3px solid var(--amber); }

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

.info-tile__list li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.info-tile__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.info-tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-tile__tags li {
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-dark);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.info-tile__lead {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

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

.info-stat-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.info-stat-list li:last-child {
  border-bottom: none;
}

.info-stat-list strong {
  flex-shrink: 0;
  min-width: 2.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--amber-dark);
}

.info-stat-list--compact strong {
  min-width: 2.25rem;
  font-size: 0.95rem;
}

.home-know__tags > span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber-dark);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Legacy info tiles ? used on steps section */

/* Link cards ? clickable sections */
.link-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.link-card {
  text-decoration: none !important;
  color: inherit;
}

.link-card--action {
  box-shadow: var(--shadow);
}

.link-card--action:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.section--links .home-path-card {
  border-width: 1px;
  border-style: solid;
  border-color: var(--border);
}

.section--links .home-path-card:hover {
  border-color: rgba(134, 100, 170, 0.45);
}

.home-step.info-tile {
  box-shadow: none;
  background: var(--bg-band);
}

.home-step.info-tile:hover {
  transform: none;
  box-shadow: none;
}

.home-help-card .card__emoji {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 0.75rem;
}

.home-help__link {
  text-align: center;
  margin: 2rem 0 0;
  font-weight: 600;
}

.home-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .home-steps__list {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    gap: 1.5rem;
  }
}

.home-step {
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.home-step h3 { margin-bottom: 0.35rem; font-size: 1rem; }

.home-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.home-steps__cta {
  text-align: center;
  margin: 2rem 0 0;
}

.section--band-accent .path-card {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section--cta {
  background: linear-gradient(180deg, var(--bg) 0%, var(--amber-light) 100%);
  border-top: 1px solid rgba(134, 100, 170, 0.12);
}

.section--cta .path-card {
  box-shadow: var(--shadow-lg);
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 7fr 5fr; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--amber-light);
  color: var(--amber-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #d4c4e8;
  margin-bottom: 1.25rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.hero__title-accent { color: var(--amber-dark); }

.hero__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36em;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section > .container > .hero__actions {
  justify-content: center;
}

.hero__note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--amber-dark);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--amber-btn);
  color: #fff !important;
  box-shadow: var(--shadow);
}

.btn--primary:hover,
.btn--ghost:hover {
  background: var(--amber-btn-hover);
  border-color: var(--amber-btn-hover);
  color: #fff !important;
  box-shadow: var(--shadow);
}

.btn--secondary {
  background: transparent;
  color: #3e3e3e !important;
  border-color: #ddd;
}

.btn--secondary:hover {
  background: var(--amber-btn-hover);
  border-color: var(--amber-btn-hover);
  color: #fff !important;
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--amber-dark) !important;
  border: 2px solid var(--amber-dark);
  box-shadow: none;
}

.btn--whatsapp {
  background: #25d366;
  color: #fff !important;
}

.btn--whatsapp:hover { background: #20ba5a; }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.feature-card__tag {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.feature-card__meta { font-size: 0.7rem; color: var(--text-muted); }

.feature-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.video-wrap {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.video-wrap iframe { width: 100%; height: 100%; border: 0; }

.feature-card__footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(237, 231, 245, 0.45);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border-top: 1px solid #e4e4e4;
  padding-top: 1rem;
}

.affiliate-band {
  background: var(--bg-band);
  border-block: 1px solid var(--border);
  padding: 2rem 0;
}

.affiliate-band__label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.affiliate-band__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.affiliate-band__links a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.affiliate-band__links a:hover { color: var(--amber-dark); }

.section { padding: 4rem 0; }

/* Homepage section bands */
.hero--home.hero--animated {
  border-bottom: 1px solid rgba(134, 100, 170, 0.12);
}

.section--band-ivory {
  background: #f5f7fa;
}

.section--band-surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section--band-tint {
  background: var(--amber-light);
  border-block: 1px solid rgba(134, 100, 170, 0.18);
}

.section--band-tint .home-path-card {
  background: var(--surface);
}

.section--band-muted {
  background: var(--bg-band);
  border-block: 1px solid var(--border);
}

.section--band-accent {
  background: linear-gradient(180deg, rgba(237, 231, 245, 0.9) 0%, var(--bg-band) 100%);
  border-top: 1px solid rgba(134, 100, 170, 0.22);
}

.section--band-surface .home-know__panel {
  background: var(--bg-band);
}

/* Homepage ? distinct section rhythm (hero unchanged) */
body.page-home main > .section[class*="section--band"] {
  border-bottom: none;
  border-top: 1px solid var(--border);
}

body.page-home .section--band-ivory {
  background: #f3f6f9;
  border-top-color: #e8ebef;
}

body.page-home .section--band-tint {
  background: linear-gradient(180deg, #e4d9ef 0%, #ede7f5 48%, #e8ddf2 100%);
  border-top-color: rgba(134, 100, 170, 0.2);
}

body.page-home .section--band-surface {
  background: #ffffff;
  border-top-color: #e8ebef;
}

body.page-home .section--band-muted {
  background: #eef2f6;
  border-top-color: #dfe5eb;
}

body.page-home .section--band-accent {
  background: linear-gradient(180deg, #ddd0eb 0%, #eceff3 100%);
  border-top-color: rgba(134, 100, 170, 0.24);
}

body.page-home .section--band-tint .stat-card {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(107, 77, 148, 0.08);
}

body.page-home .section--band-surface .home-know__panel {
  background: #f5f7fa;
  border-color: #e2e8f0;
}

body.page-home .home-reassure {
  background: #f0ebf6;
  border-color: rgba(134, 100, 170, 0.16);
}

body.page-home .home-simulator-promo {
  background: linear-gradient(135deg, #f0ebf6 0%, #e8f0f8 100%);
  border-color: rgba(134, 100, 170, 0.18);
}

body.page-home .home-step.info-tile {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 6px 20px rgba(35, 36, 64, 0.05);
}

body.page-home .home-nudge__text {
  color: #2a2b45;
}

.section--alt { background: var(--surface); border-block: 1px solid var(--border); }

.section__intro {
  text-align: center;
  max-width: 40em;
  margin: 0 auto 3rem;
}

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

.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.5rem;
}

.card-grid { display: grid; gap: 1.5rem; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: var(--shadow); }

.card__emoji {
  font-size: 1.75rem;
  display: inline-block;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.card__emoji--amber { background: var(--amber-light); }
.card__emoji--sky { background: #e0f2fe; }
.card__emoji--green { background: #d1fae5; }

.card p:last-child { margin-bottom: 0; color: var(--text-muted); font-size: 0.9rem; }

.dual-path { display: grid; gap: 1.5rem; }

@media (min-width: 768px) {
  .dual-path { grid-template-columns: 1fr 1fr; }
}

.path-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.path-card--highlight {
  border-color: rgba(134, 100, 170, 0.35);
  background: linear-gradient(180deg, rgba(237, 231, 245, 0.55) 0%, var(--surface) 100%);
}

.home-quick-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.home-quick-nav__label {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.home-quick-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.home-quick-nav__list a {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.home-quick-nav__list a:hover {
  border-color: var(--amber);
  background: var(--amber-light);
}

.home-quick-nav__title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #232440;
  margin-bottom: 0.15rem;
}

.home-quick-nav__desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.page-header .eyebrow { margin-bottom: 0.35rem; }

.page-header {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, var(--bg-band) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header p {
  color: var(--text-muted);
  margin-bottom: 0;
  max-width: none;
}

.prose { max-width: 42em; }
.prose p { color: #3e3e3e; }

.callout {
  background: rgba(254, 243, 199, 0.5);
  border-left: 4px solid var(--amber);
  padding: 1.1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

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

.callout--warn { background: #fffbeb; border-left-color: #f59e0b; }
.callout--green { background: #ecfdf5; border-left-color: #10b981; }

.pricing-grid { display: grid; gap: 2rem; }

@media (min-width: 768px) {
  .pricing-grid:not(.pricing-grid--sessions) { grid-template-columns: 1fr 1fr; }
}

.pricing-grid--sessions {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.services-sessions {
  margin-bottom: 3rem;
}

.services-sessions__intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.services-sessions__intro h2 {
  margin-bottom: 0.5rem;
}

.services-sessions__intro p {
  margin: 0;
  color: var(--text-muted);
}

.services-journey--before {
  margin-bottom: 2rem;
}

.services-journey--after {
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .pricing-grid--sessions {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 1.5rem;
  }
}

.services-sessions__step {
  display: none;
}

@media (min-width: 900px) {
  .services-sessions__step {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2.5rem;
  }
}

.services-sessions__arrow {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--amber-light);
  border: 2px solid rgba(134, 100, 170, 0.2);
  position: relative;
}

.services-sessions__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid var(--amber-dark);
  border-right: 2px solid var(--amber-dark);
  transform: translate(-60%, -50%) rotate(45deg);
}

.pricing-card {
  background: var(--surface);
  border: 2px solid rgba(134, 100, 170, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pricing-card--featured {
  border-color: var(--amber);
  box-shadow: var(--shadow-lg);
}

.pricing-card__stage {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--amber-light);
  color: var(--amber-dark);
  margin-bottom: 0;
}

.pricing-card__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pricing-card__num {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-card__titles h3 {
  margin: 0.35rem 0 0;
}

.pricing-card__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.pricing-card__list {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
}

.pricing-card__footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card--session-1,
.pricing-card--session-2 {
  background: linear-gradient(180deg, #faf8fc 0%, var(--surface) 100%);
  border-color: rgba(134, 100, 170, 0.22);
  border-top: 4px solid #b8a4d4;
  box-shadow: none;
}

.pricing-card--session-1 .pricing-card__num,
.pricing-card--session-2 .pricing-card__num {
  background: #ede7f5;
  color: var(--amber-dark);
}

.pricing-card__stage--session-1,
.pricing-card__stage--session-2 {
  background: #ede7f5;
  color: #5a4080;
}

.pricing-card__footer--session-1,
.pricing-card__footer--session-2 {
  background: #f3eff8;
  border-top-color: rgba(134, 100, 170, 0.15);
}

.pricing-card__footer--session-2 .pricing-card__footer-label {
  color: inherit;
}

.pricing-card__stage--green { background: #d1fae5; color: #065f46; }

.pricing-card__footer {
  margin-top: auto;
  margin-inline: -2rem;
  margin-bottom: -2rem;
  padding: 1.25rem 2rem;
  background: var(--bg-band);
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
}

.pricing-card__ribbon {
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--amber);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 2rem;
  transform: rotate(45deg);
}

.contact-grid { display: grid; gap: 2rem; }

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 5fr 7fr; }
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.contact-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-light);
  color: var(--amber-dark);
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item__icon--phone {
  background: #ede7f5;
  color: #6b4d94;
}

.contact-item strong {
  display: inline;
  color: #232440;
}

.contact-item strong::after {
  content: ': ';
  font-weight: 600;
}

.contact-item > div {
  line-height: 1.6;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: #3e3e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: color-mix(in srgb, var(--surface) 88%, var(--text) 12%);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(217, 119, 6, 0.4);
  border-color: var(--amber);
}

.form-row { display: grid; gap: 1rem; }

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th { background: var(--bg-band); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: #059669; font-weight: 700; }

.steps { display: grid; gap: 1rem; grid-template-columns: 1fr; }

.step {
  display: flex;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--amber);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step p:last-child { margin-bottom: 0; font-size: 0.9rem; color: var(--text-muted); }

.step--plain {
  background: rgba(237, 231, 245, 0.35);
  border-style: dashed;
}

.step--plain h3 {
  font-size: 1rem;
}

/* Practitioners page ? hero sits flush with intro callout */
body.page-practitioners .page-header {
  padding-bottom: 1rem;
}

body.page-practitioners main > .section:first-of-type {
  padding-top: 1.5rem;
}

body.page-practitioners main > .section:first-of-type > .container > .callout:first-child {
  margin-top: 0;
}

.practitioner-pro-note {
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.practitioner-pro-note p {
  margin: 0;
}

.practitioner-directory { margin-top: 2rem; }

.practitioner-directory__block {
  margin-bottom: 3rem;
}

.practitioner-directory__block:last-child {
  margin-bottom: 0;
}

.practitioner-directory__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #232440;
  margin: 0 0 0.5rem;
}

.practitioner-directory__intro {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 52rem;
}

.practitioner-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(35, 36, 64, 0.06);
}

.practitioner-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.practitioner-table--screeners {
  min-width: 44rem;
}

.practitioner-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg-band);
  color: #232440;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.practitioner-table tbody td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  color: #232440;
  vertical-align: top;
}

.pricing-card,
.contact-panel,
.card,
.path-card,
.home-quick-nav,
.practitioner-table-scroll,
.section--alt,
.page-header {
  transition: background-color 0.4s ease;
}

.practitioner-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--bg) 92%, var(--text) 8%);
}

.practitioner-table tbody tr:hover {
  background: color-mix(in srgb, var(--bg) 85%, var(--amber) 15%);
}

.practitioner-table tbody tr:last-child td {
  border-bottom: none;
}

.practitioner-table__name {
  font-weight: 600;
  white-space: nowrap;
}

.practitioner-table__zh {
  font-weight: 500;
  white-space: nowrap;
}

.practitioner-table__email {
  color: var(--amber);
  font-weight: 500;
  word-break: break-all;
}

.practitioner-table__email:hover {
  text-decoration: underline;
}

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

.practitioner-table__empty td {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1rem;
}

.no-results {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.distortion-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.distortion-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
}

.distortion-tab {
  background: var(--bg-band);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.distortion-tab:hover {
  border-color: rgba(134, 100, 170, 0.35);
  background: var(--amber-light);
}

.distortion-tab.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

.distortion-demo__compare {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .distortion-demo__compare {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.distortion-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.distortion-panel__label {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.distortion-panel--effect .distortion-panel__label {
  color: #b45309;
}

.distortion-demo__text {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #232440;
  overflow: hidden;
}

.distortion-demo__text--normal {
  box-shadow: inset 0 0 0 1px rgba(134, 100, 170, 0.08);
}

.distortion-demo__text--effect {
  position: relative;
}

.distortion-demo__words {
  display: block;
}

.distortion-demo__word {
  display: inline;
}

.distortion-demo__words.is-shaky .distortion-demo__word,
.distortion-demo__words.is-seesaw .distortion-demo__word,
.distortion-demo__words.is-wave .distortion-demo__word,
.distortion-demo__words.is-ripple .distortion-demo__word {
  display: inline-block;
}

.distortion-demo__words.is-shaky .distortion-demo__word {
  animation: distortion-shaky 0.32s ease-in-out infinite;
}

.distortion-demo__words.is-shaky .distortion-demo__word:nth-of-type(3n) { animation-delay: -0.05s; }
.distortion-demo__words.is-shaky .distortion-demo__word:nth-of-type(3n+2) { animation-delay: -0.09s; }

.distortion-demo__words.is-fading .distortion-demo__word {
  animation: distortion-fading 2.5s ease-in-out infinite;
}

.distortion-demo__words.is-fading .distortion-demo__word:nth-of-type(odd) { animation-delay: -0.6s; }

.distortion-demo__words.is-ripple .distortion-demo__word {
  animation: distortion-ripple 3s ease-in-out infinite;
}

.distortion-demo__words.is-ripple .distortion-demo__word:nth-of-type(4n) { animation-delay: -0.4s; }
.distortion-demo__words.is-ripple .distortion-demo__word:nth-of-type(4n+2) { animation-delay: -0.9s; }
.distortion-demo__words.is-ripple .distortion-demo__word:nth-of-type(4n+3) { animation-delay: -1.4s; }

.distortion-demo__words.is-blur {
  filter: blur(1.5px);
}

.distortion-demo__words.is-washout {
  color: #94a3b8;
  opacity: 0.82;
}

.distortion-demo__words.is-washout .distortion-demo__word {
  color: inherit;
}

.distortion-demo__words.is-seesaw .distortion-demo__word:nth-of-type(odd) {
  animation: distortion-seesaw-odd 2.8s ease-in-out infinite;
  transform-origin: 50% 80%;
}

.distortion-demo__words.is-seesaw .distortion-demo__word:nth-of-type(even) {
  animation: distortion-seesaw-even 2.8s ease-in-out infinite;
  transform-origin: 50% 80%;
}

.distortion-demo__text--effect:has(.is-starwars) {
  perspective: 480px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.distortion-demo__words.is-starwars {
  display: block;
  width: 100%;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transform: rotateX(52deg) scale(0.92);
}

.distortion-demo__words.is-wave .distortion-demo__word {
  animation: distortion-wave 3.5s ease-in-out infinite;
}

.distortion-demo__words.is-wave .distortion-demo__word:nth-of-type(5n) { animation-delay: -0.5s; }
.distortion-demo__words.is-wave .distortion-demo__word:nth-of-type(5n+2) { animation-delay: -1.1s; }
.distortion-demo__words.is-wave .distortion-demo__word:nth-of-type(5n+4) { animation-delay: -1.8s; }

.distortion-demo__words.is-halo .distortion-demo__word {
  text-shadow:
    0 0 3px rgba(134, 100, 170, 0.9),
    0 0 7px rgba(134, 100, 170, 0.55),
    1px 0 2px rgba(134, 100, 170, 0.4),
    -1px 0 2px rgba(134, 100, 170, 0.4);
  color: #1e293b;
}

.distortion-demo__words.is-rivers {
  position: relative;
}

.distortion-demo__words.is-rivers::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 1.35em,
      rgba(255, 255, 255, 0.9) 1.35em,
      rgba(255, 255, 255, 0.9) 1.52em
    ),
    repeating-linear-gradient(
      168deg,
      transparent 0,
      transparent 2em,
      rgba(255, 255, 255, 0.7) 2em,
      rgba(255, 255, 255, 0.7) 2.22em
    );
  mix-blend-mode: lighten;
  opacity: 0.92;
}

@keyframes distortion-shaky {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-0.4px, 0.35px); }
  50% { transform: translate(0.4px, -0.35px); }
  75% { transform: translate(-0.3px, 0); }
}

@keyframes distortion-fading {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes distortion-ripple {
  0%, 100% { transform: skewY(0deg) translateY(0); }
  50% { transform: skewY(-2deg) translateY(-1px); }
}

@keyframes distortion-seesaw-odd {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

@keyframes distortion-seesaw-even {
  0%, 100% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
}

@keyframes distortion-wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.split-layout { display: grid; gap: 2rem; }

@media (min-width: 992px) {
  .split-layout { grid-template-columns: 7fr 5fr; }
}

.checklist-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; }

.checklist-item__num {
  flex-shrink: 0;
  background: var(--amber-light);
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
}

.checklist-item p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }

.quiz { max-width: 640px; margin: 0 auto; }

.quiz__start {
  padding: 1rem 0 2rem;
}

.quiz__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.quiz__progress {
  height: 8px;
  background: var(--bg-band);
  border-radius: 999px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.quiz__meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 1rem;
  letter-spacing: 0.03em;
}

.quiz__progress-bar {
  height: 100%;
  background: var(--amber);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.quiz__question {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.quiz__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

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

.quiz__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--bg-band);
  font-family: inherit;
}

.quiz__option:hover { border-color: var(--amber); background: var(--amber-light); }

.quiz__result {
  background: var(--surface);
  border: 2px solid rgba(134, 100, 170, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

#site-footer,
.site-footer {
  background-color: #000;
  background: var(--footer-bg);
  color: #999;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
  font-size: 0.85rem;
}

body.page-home .site-footer,
body.page-home #site-footer {
  margin-top: 0;
}

body.page-home .home-steps.section--band-muted {
  border-bottom: none;
}

body.page-home .home-nudge.section--band-accent {
  border-bottom: none;
}

body.page-home .section--band-tint.home-stats .stat-card,
body.page-home .section--band-tint .home-stats .stat-card {
  background: var(--surface);
}

#site-footer a,
.site-footer a { color: #fff; text-decoration: none; }
#site-footer a:hover,
.site-footer a:hover { color: #ccc; }

.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

#site-footer h4,
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

#site-footer ul,
.site-footer ul { list-style: none; padding: 0; margin: 0; }
#site-footer li,
.site-footer li { margin-bottom: 0.4rem; }

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

#site-footer .footer-contact li,
.site-footer .footer-contact li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.85rem;
}

.footer-contact__link {
  display: block;
  color: #ccc;
  text-decoration: none;
  transition: color 0.15s ease;
  font-size: 0.88rem;
  line-height: 1.5;
  padding-top: 0.45rem;
  min-width: 0;
}

#site-footer .footer-contact__link,
.site-footer .footer-contact__link {
  color: #ccc;
}

#site-footer .footer-contact__link:hover,
.site-footer .footer-contact__link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#site-footer .footer-contact li:hover .footer-contact__icon,
.site-footer .footer-contact li:hover .footer-contact__icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.footer-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  margin: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #bbb;
}

.footer-contact__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact__icon--fill svg {
  fill: currentColor;
  stroke: none;
}

.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }

.footer-logo__img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo span {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: #999;
  text-align: center;
}

.footer-bottom p { margin-bottom: 0.35rem; }

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 55;
  background: #25d366;
  color: #fff !important;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.15s, background 0.15s;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: scale(1.04);
  color: #fff !important;
}

.whatsapp-float svg { width: 26px; height: 26px; fill: currentColor; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo actions"
      "nav nav";
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0;
    min-height: 0;
    padding-block: 0.65rem;
  }

  .logo {
    grid-area: logo;
    min-width: 0;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
    align-self: center;
  }

  .main-nav {
    grid-area: nav;
    flex: none;
    position: static;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: none;
    transition: max-height 0.25s ease, padding 0.25s ease, margin 0.25s ease;
    background: transparent;
  }

  .main-nav.is-open {
    max-height: 520px;
    padding: 0.35rem 0 0.5rem;
    margin-top: 0.5rem;
    pointer-events: auto;
    border-top: 1px solid var(--border);
  }

  .main-nav ul { flex-direction: column; gap: 0; }

  .main-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 600px) {
  .hero { padding: 2rem 0; }
  .section { padding: 2.5rem 0; }
  .page-color-bar__inner { flex-direction: column; text-align: center; }
  .page-color-bar__text { font-size: 0.75rem; }
  .lang-switch__btn { padding: 0.35rem 0.45rem; font-size: 0.65rem; }
  .whatsapp-float { right: 1rem; bottom: 1rem; width: 3.15rem; height: 3.15rem; }
  .logo__img { width: 72px; height: 72px; }
  .logo__title { font-size: 1rem; }
  .logo__sub { font-size: 0.55rem; letter-spacing: 0.06em; }
}

/* Resources page */
.resources-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.resources-jump a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #232440;
  background: var(--bg-band);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.15s, background 0.15s;
}

.resources-jump a:hover {
  border-color: var(--amber);
  background: var(--amber-light);
}

.resources-section {
  margin-bottom: 3rem;
  scroll-margin-top: 5rem;
}

.resources-section > h2 {
  margin-bottom: 0.75rem;
}

.resources-section > p:first-of-type {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.video-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

.resource-video h3 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.book-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.book-list li {
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.book-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #232440;
}

.book-list span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: #232440;
}

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

.faq-item summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  color: var(--text-muted);
}

.faq-item[open] summary::after { content: '?'; }

.faq-item__body {
  padding: 0 1.25rem 1.1rem;
  color: #3e3e3e;
  font-size: 0.95rem;
}

.faq-item__body ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.faq-item__body p:last-child { margin-bottom: 0; }

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

.research-group {
  margin-top: 2.75rem;
}

.research-group:first-of-type {
  margin-top: 1.75rem;
}

.research-group h3 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--amber-dark);
  letter-spacing: 0.01em;
}

.research-list li {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--amber);
  background: rgba(254, 243, 199, 0.25);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3e3e3e;
}

.research-list em {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}
