/* Thrive Community Works — brand system v3 (Disney/Pixar meets modern wellness) */

:root {
  /* Core palette */
  --green-deep: #1E4D2B;
  --green: #2f6f43;
  --green-mid: #4d8a5e;
  --mint: #A9D5A5;
  --mint-soft: #d4e9d0;
  --cream: #F7F4ED;
  --cream-warm: #f1ebda;
  --terracotta: #C46C47;
  --terracotta-deep: #9f5337;
  --terracotta-soft: #f1d5c6;
  --gold: #D4AF37;
  --gold-soft: #f5e7b8;

  /* NeuroStars accent palette (electric, magical — use inside NeuroStars contexts) */
  --neuro-blue: #1F5FFF;
  --neuro-purple: #7A4DFF;
  --neuro-turquoise: #1ED6C8;
  --neuro-magenta: #FF4FA3;
  --neuro-gold: #FFD76A;

  /* Neutrals */
  --paper: #ffffff;
  --ink: #1d2a26;
  --ink-soft: #5a665f;
  --line: #e4dfd2;

  --shadow-sm: 0 4px 12px rgba(30, 77, 43, 0.06);
  --shadow: 0 10px 28px rgba(30, 77, 43, 0.08);
  --shadow-md: 0 16px 40px rgba(30, 77, 43, 0.12);
  --shadow-lg: 0 24px 60px rgba(30, 77, 43, 0.16);
  --radius: 22px;
  --radius-sm: 12px;

  --font-body: 'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', 'Atkinson Hyperlegible', sans-serif;
  --font-script: 'Caveat', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

svg.icon, .icon {
  display: inline-block;
  width: 1.2em; height: 1.2em;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
}
svg.icon-lg { width: 1.6em; height: 1.6em; }
svg.icon-xl { width: 2.4em; height: 2.4em; }
/* Hide the broken icon system entirely — color and type do the work */
svg.icon, svg.brand-spark, svg.bg-spark,
.svc-icon, .value-icon, .eval-icon, .svc-detail-icon,
.start-card .start-icon, .resource-cover, .cta-star,
.shop-empty-icon, .profile-avatar,
.star-portrait .star-icon, .char-portrait-lg .star-icon,
.product-lg .product-img,
.socials, .newsletter { display: none !important; }
/* Tighten star-portrait now that the badge is gone */
.star-portrait { box-shadow: 0 8px 18px rgba(0,0,0,0.08); }
/* Tighten profile card so it doesn't leave a gap */
.profile-card > h3:first-of-type { margin-top: 8px; }
/* Newsletter / socials hidden — collapse the CTA-side gap */
.cta-side { gap: 0; }
.cta-grid { grid-template-columns: 1fr auto 1fr; }

a { color: var(--green-deep); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--green-deep);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
.muted { color: var(--ink-soft); }

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--terracotta);
  margin: 0 0 0.8em;
  font-family: var(--font-display);
}
.eyebrow-coral { color: var(--terracotta); }
.eyebrow-green { color: var(--green); }

.script-accent {
  font-family: var(--font-script);
  color: var(--terracotta);
  display: inline-block;
  position: relative;
  font-weight: 700;
  font-size: 1.2em;
  line-height: 0.9;
}
.script-accent .underline {
  position: absolute;
  bottom: -10px; left: 0;
  width: 100%; height: 16px;
  color: var(--gold);
  pointer-events: none;
}
.script-large { font-size: 1.6rem; display: block; margin-top: 8px; }

.title-script {
  font-family: var(--font-display);
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 237, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 20px;
}
.brand {
  display: flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; line-height: 1;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}
.brand-spark {
  display: inline-block;
  color: var(--gold);
  width: 0.7em; height: 0.7em;
  margin-left: 4px;
  vertical-align: 0.3em;
  animation: spin 14s linear infinite;
  transform-origin: center;
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: 18px;
}
.nav-links > a {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  position: relative;
  padding: 4px 0;
  font-family: var(--font-display);
}
.nav-links > a:not(.btn):hover { color: var(--green); }
.nav-links > a.active { color: var(--green); }
.nav-links > a.active::after {
  content: ""; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 3px;
  background: var(--terracotta);
  border-radius: 3px;
}
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; background: var(--green-deep);
  margin: 5px 0; border-radius: 2px; transition: 0.2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px;
  border-radius: 999px; font-weight: 700; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  font-family: var(--font-display); line-height: 1; text-align: center;
}
.btn-primary {
  background: var(--green-deep); color: white !important; border-color: var(--green-deep);
  box-shadow: 0 8px 20px rgba(30, 77, 43, 0.28);
}
.btn-primary:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); color: white !important; }
.btn-coral, .btn-terracotta {
  background: var(--terracotta); color: white !important; border-color: var(--terracotta);
  box-shadow: 0 8px 20px rgba(196, 108, 71, 0.28);
}
.btn-coral:hover, .btn-terracotta:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); transform: translateY(-2px); }
.btn-coral-outline {
  background: white; color: var(--terracotta-deep) !important; border-color: var(--terracotta);
  box-shadow: 0 6px 14px rgba(196, 108, 71, 0.18);
}
.btn-coral-outline:hover { background: var(--terracotta); color: white !important; }
.btn-ghost-light {
  background: transparent; color: white !important;
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); border-color: white; }
.btn-pill {
  background: white; color: var(--c, var(--green-deep)) !important;
  border: 2px solid var(--c, var(--green-deep));
  padding: 9px 20px; font-size: 0.76rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.btn-pill:hover { background: var(--c, var(--green-deep)); color: white !important; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.76rem; }
.btn-lg { padding: 16px 34px; font-size: 0.96rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 0;
  background:
    radial-gradient(circle at 90% 15%, rgba(212, 175, 55, 0.18), transparent 45%),
    radial-gradient(circle at 5% 80%, rgba(169, 213, 165, 0.32), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(196, 108, 71, 0.14), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -80px; left: -80px;
  width: 280px; height: 280px;
  background: var(--mint); border-radius: 50%; filter: blur(70px); opacity: 0.4;
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  background: var(--gold-soft); border-radius: 50%; filter: blur(70px); opacity: 0.55;
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center;
  padding-bottom: 60px;
  position: relative; z-index: 2;
  text-align: center;
}
.hero-copy { max-width: 720px; margin: 0 auto; }
.hero-copy .lede { margin-inline: auto; }
.hero-cta { justify-content: center; }
.hero-copy h1 { margin: 0.2em 0 0.5em; line-height: 1.05; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

/* Hero art */
.hero-art {
  position: relative; min-height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.hero-art-bg {
  position: absolute; inset: 5%;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.5), transparent 65%),
    conic-gradient(from 0deg at 50% 50%, rgba(212, 175, 55, 0.12), rgba(169, 213, 165, 0.12), rgba(196, 108, 71, 0.1), rgba(212, 175, 55, 0.12));
  border-radius: 50%;
  animation: rotate-bg 60s linear infinite;
}
@keyframes rotate-bg { to { transform: rotate(360deg); } }
.bg-spark {
  position: absolute;
  width: 28px; height: 28px;
  animation: twinkle 4s ease-in-out infinite;
  z-index: 3;
  fill: none;
  stroke: currentColor;
}
.bg-spark.s1 { top: 8%; left: 10%; color: var(--gold); }
.bg-spark.s2 { top: 18%; right: 6%; color: var(--terracotta); animation-delay: 0.8s; width: 32px; height: 32px; }
.bg-spark.s3 { top: 55%; left: 2%; color: var(--green); animation-delay: 1.4s; }
.bg-spark.s4 { top: 38%; right: 3%; color: var(--gold); animation-delay: 2s; width: 36px; height: 36px; }
.bg-spark.s5 { bottom: 18%; left: 50%; color: var(--mint); animation-delay: 2.6s; width: 28px; height: 28px; }
@keyframes twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15) rotate(15deg); }
}

.hero-illustration {
  position: relative; z-index: 2;
  width: 100%; max-width: 580px;
  aspect-ratio: 5/4;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 60%, rgba(255, 235, 130, 0.35), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  overflow: hidden;
  display: grid; place-items: center;
}
.hero-illustration img {
  width: 100%; height: 100%; object-fit: contain;
}
.hero-illustration img:not([src=""]) ~ * { display: none; }
.hero-grass {
  height: 28px;
  background: linear-gradient(180deg, transparent, var(--mint-soft));
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
/* Services page has 5 stacked sections — tighten so the page isn't a marathon */
body:has(#evaluations) .section { padding: 48px 0; }
body:has(#evaluations) .section-head { margin-bottom: 28px; }
body:has(#evaluations) .services-detail-grid { gap: 16px; }
body:has(#evaluations) .cards { gap: 14px; }
body:has(#evaluations) .card { padding: 20px 22px; }
body:has(#evaluations) .eval-grid { gap: 12px; }
body:has(#evaluations) .eval-card { padding: 18px 16px; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 50px; }
.section-head h2 { margin-bottom: 0.4em; }

.section-explain {
  background: var(--cream);
  position: relative;
}
.section-explain::before {
  content: ""; position: absolute; top: 40px; right: -60px;
  width: 200px; height: 200px;
  background: var(--mint); border-radius: 50%; filter: blur(80px); opacity: 0.35;
  pointer-events: none;
}
.explain-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.explain-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.explain-copy p { font-size: 1.05rem; }
.explain-copy strong { color: var(--green-deep); }
.explain-copy .btn { margin-top: 12px; }
.explain-list {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  border: 2px solid var(--mint-soft);
  box-shadow: var(--shadow-sm);
}
.explain-list-label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--terracotta);
  margin: 0 0 16px;
}
.pill-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pill-list li {
  background: var(--mint-soft);
  color: var(--green-deep);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-display);
}
.pill-list li:nth-child(2n) { background: var(--terracotta-soft); color: var(--terracotta-deep); }
.pill-list li:nth-child(3n) { background: var(--gold-soft); color: var(--terracotta-deep); }

.section-stars { background: var(--cream); }
.section-services { background: var(--cream-warm); }
.section-shop { background: var(--cream); padding: 70px 0; }
.section-resources { background: var(--cream-warm); }

.section-stars::before {
  content: ""; position: absolute; top: 60px; right: -60px;
  width: 220px; height: 220px;
  background: var(--gold); border-radius: 50%; filter: blur(90px); opacity: 0.18;
}
.section-resources::before {
  content: ""; position: absolute; top: 80px; left: -60px;
  width: 220px; height: 220px;
  background: var(--mint); border-radius: 50%; filter: blur(90px); opacity: 0.35;
}

.title-script { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- NeuroStars preview ---------- */
.star-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  position: relative; z-index: 2;
}
.star-card {
  background: var(--paper);
  border: 2px solid var(--c-soft, var(--line));
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
  transition: 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.star-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--c, var(--green));
}
.star-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c, var(--green)); }
.star-portrait {
  width: 110px; height: 110px;
  margin: 12px auto 16px;
  border-radius: 50%;
  background: var(--c-soft, var(--cream));
  display: grid; place-items: center;
  position: relative;
  border: 3px solid var(--c, var(--green));
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.star-portrait .initial {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c, var(--green));
}
.star-portrait .star-icon {
  position: absolute; top: -6px; right: -4px;
  background: white;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--c, var(--green));
  color: var(--c, var(--green));
}
.star-portrait .star-icon svg.icon { width: 22px; height: 22px; vertical-align: 0; display: block; }
.star-name {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--c, var(--green));
  margin: 0 0 4px;
  font-weight: 700;
}
.star-trait {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0 0 12px;
  font-family: var(--font-display);
}
.star-power {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
  min-height: 70px;
}
.star-power strong { color: var(--c, var(--green)); display: block; margin-bottom: 2px; }

/* ---------- Values band ---------- */
.values-band {
  background: linear-gradient(120deg, var(--green-deep) 0%, var(--green) 100%);
  color: white; padding: 40px 0;
  position: relative;
}
.values-band::before, .values-band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background-image: radial-gradient(circle, var(--green-deep) 7px, transparent 7px);
  background-size: 28px 14px;
}
.values-band::before { top: -7px; }
.values-band::after { bottom: -7px; transform: rotate(180deg); }
.values-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.value {
  display: flex; align-items: center; gap: 14px;
}
.value-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.12);
  border: 2px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: white;
}
.value-icon svg.icon { width: 24px; height: 24px; vertical-align: 0; display: block; }
.value strong {
  display: block; font-size: 0.95rem; color: var(--gold);
  font-family: var(--font-display); font-weight: 700;
}
.value span { font-size: 0.78rem; opacity: 0.92; line-height: 1.35; }

/* ---------- Services ---------- */
.services-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: start;
  position: relative; z-index: 2;
}
.services-intro { position: sticky; top: 110px; }
.services-intro .btn-coral { margin-top: 12px; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.svc-card {
  background: white;
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  transition: 0.25s;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.svc-card:hover {
  border-color: var(--c, var(--green));
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.svc-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--c, var(--green-deep));
  color: white;
  border-radius: 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.svc-icon svg.icon { width: 30px; height: 30px; vertical-align: 0; stroke-width: 2; display: block; }
.svc-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.svc-card p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ---------- Resources preview ---------- */
.resource-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  position: relative; z-index: 2;
}
.resource {
  display: block;
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  color: var(--ink);
  transition: 0.25s;
  box-shadow: var(--shadow-sm);
}
.resource:hover { border-color: var(--terracotta); transform: translateY(-4px); color: var(--ink); box-shadow: var(--shadow-md); }
.resource-tag {
  display: inline-block;
  background: var(--c, var(--green));
  color: white;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.resource h3 { font-size: 1.1rem; margin-bottom: 8px; }
.resource p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 60%, var(--terracotta-deep) 100%);
  color: white;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; top: -60px; left: 15%;
  width: 220px; height: 220px;
  background: var(--gold); border-radius: 50%; filter: blur(70px); opacity: 0.3;
}
.cta-banner::after {
  content: ""; position: absolute; bottom: -80px; right: 8%;
  width: 260px; height: 260px;
  background: var(--mint); border-radius: 50%; filter: blur(80px); opacity: 0.25;
}
.cta-grid {
  display: grid; grid-template-columns: 1.2fr auto 1fr; gap: 40px; align-items: center;
  position: relative; z-index: 2;
}
.cta-copy h2 { color: white; margin: 0 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.cta-copy .script-accent { color: var(--gold); }
.cta-star {
  width: 110px; height: 110px;
  color: var(--gold);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
  animation: twinkle 4s ease-in-out infinite;
}
.cta-star svg.icon { width: 100%; height: 100%; vertical-align: 0; stroke-width: 1.8; display: block; }
.cta-side { display: grid; gap: 20px; }
.cta-block h4 {
  font-family: var(--font-display); font-weight: 700; color: var(--gold);
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 6px;
}
.cta-block p { font-size: 0.88rem; opacity: 0.92; margin: 0 0 12px; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  color: white;
  transition: 0.15s;
}
.socials a svg.icon { width: 20px; height: 20px; vertical-align: 0; display: block; }
.socials a:hover { background: var(--gold); color: var(--green-deep); transform: scale(1.08); }
.newsletter {
  display: flex; background: white; border-radius: 999px; padding: 4px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.newsletter input {
  flex: 1; border: 0; background: transparent;
  padding: 10px 16px; font-family: inherit; font-size: 0.9rem;
  outline: none;
}
.newsletter button {
  background: var(--terracotta); color: white;
  border: 0; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; transition: 0.15s;
  display: grid; place-items: center;
}
.newsletter button svg.icon { width: 20px; height: 20px; vertical-align: 0; stroke-width: 2.4; display: block; }
.newsletter button:hover { background: var(--terracotta-deep); transform: rotate(15deg); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.2), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(169, 213, 165, 0.32), transparent 50%),
    var(--cream);
}
.page-hero::before {
  content: ""; position: absolute; top: 30%; left: -60px;
  width: 200px; height: 200px;
  background: var(--terracotta-soft); border-radius: 50%; filter: blur(70px); opacity: 0.6;
}
.page-hero .container { z-index: 2; }
.page-hero .lede { margin-inline: auto; max-width: 640px; }

/* ---------- About: profile / two-col ---------- */
.two-col {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
}
.profile-card {
  background: white; padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 2px solid var(--mint-soft);
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--gold);
}
.profile-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: white;
  margin: 12px auto 18px;
  box-shadow: 0 10px 22px rgba(30, 77, 43, 0.3);
  border: 3px solid var(--gold);
}
.profile-avatar svg.icon { width: 50px; height: 50px; vertical-align: 0; stroke-width: 1.6; display: block; }
.creds {
  font-weight: 700; color: var(--terracotta);
  letter-spacing: 0.08em; margin: 4px 0 14px; font-size: 0.85rem;
  font-family: var(--font-display);
}

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: white; padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--green);
  transition: 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--green-deep); }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.94rem; }

/* ---------- NeuroStars detail page ---------- */
.character-detail {
  display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center;
  background: white;
  padding: 32px; border-radius: 24px;
  border: 2px solid var(--c-soft, var(--line));
  border-left: 8px solid var(--c, var(--green));
  margin-bottom: 24px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.25s;
}
.character-detail:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.char-portrait-lg {
  aspect-ratio: 1;
  border-radius: 24px;
  background: var(--c-soft, var(--cream));
  border: 4px solid var(--c, var(--green));
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.char-portrait-lg .initial {
  font-family: var(--font-display);
  font-size: 6rem; font-weight: 700;
  color: var(--c, var(--green));
}
.char-portrait-lg .star-icon {
  position: absolute; top: -12px; right: -12px;
  width: 64px; height: 64px;
  background: white;
  border: 3px solid var(--c, var(--green));
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  color: var(--c, var(--green));
}
.char-portrait-lg .star-icon svg.icon { width: 32px; height: 32px; vertical-align: 0; display: block; }
.char-detail-body h2 {
  font-family: var(--font-script);
  color: var(--c, var(--green));
  font-size: 3rem; margin-bottom: 4px;
  font-weight: 700;
}
.char-detail-body .trait {
  font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-bottom: 14px;
  font-family: var(--font-display);
}
.traits-list { padding: 0; list-style: none; margin: 0 0 14px; }
.traits-list li {
  display: inline-block;
  background: white;
  color: var(--c, var(--green));
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 6px 8px 0;
  border: 2px solid var(--c, var(--green));
}
.featured { font-style: italic; color: var(--ink); margin: 8px 0 4px; }
.featured em { color: var(--c, var(--green)); font-weight: 700; font-style: normal; }
.tool { font-size: 0.88rem; color: var(--terracotta-deep); font-weight: 700; margin: 0; }

/* ---------- Reframe ---------- */
.reframe { max-width: 740px; margin: 0 auto; display: grid; gap: 12px; position: relative; z-index: 2; }
.reframe-row {
  display: grid; grid-template-columns: 1fr 40px 2fr; align-items: center;
  background: white; padding: 14px 24px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--terracotta);
}
.reframe-row .from {
  text-decoration: line-through; color: var(--ink-soft); font-weight: 600;
}
.reframe-row .arrow { color: var(--terracotta); font-weight: 700; text-align: center; font-size: 1.2rem; }
.reframe-row .to { color: var(--green-deep); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start;
}
.contact-form {
  background: white; padding: 36px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--mint-soft);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--gold);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-weight: 700; font-size: 0.82rem;
  margin-bottom: 6px; color: var(--green-deep); text-transform: uppercase; letter-spacing: 0.07em;
  font-family: var(--font-display);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: var(--cream);
  color: var(--ink); transition: 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: white;
  box-shadow: 0 0 0 4px rgba(47, 111, 67, 0.12);
}
.field textarea { resize: vertical; }
.form-note { font-size: 0.85rem; margin: 14px 0 0; }

.contact-aside {
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green) 100%);
  color: white; padding: 32px;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact-aside::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: var(--gold); border-radius: 50%; opacity: 0.18;
}
.contact-aside h3 { color: white; }
.contact-aside p { font-size: 0.95rem; }
.contact-aside a { color: var(--gold); font-weight: 700; }
.contact-aside a:hover { color: white; }
.contact-aside .muted { color: rgba(255,255,255,0.8); }
.aside-quote {
  margin-top: 24px; padding: 20px;
  background: rgba(255,255,255,0.13);
  border-left: 4px solid var(--gold);
  border-radius: 8px; font-family: var(--font-script);
  font-size: 1.4rem; color: white;
}

/* ---------- Services detail page ---------- */
.services-detail-grid { display: grid; gap: 24px; }
.svc-detail {
  display: block;
  background: white; padding: 28px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  border-left: 8px solid var(--c, var(--green));
  transition: 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.svc-detail:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--c, var(--green)); border-left-width: 8px; }
.svc-detail-icon {
  width: 84px; height: 84px;
  border-radius: 22px;
  background: var(--c, var(--green));
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}
.svc-detail-icon svg.icon { width: 40px; height: 40px; vertical-align: 0; stroke-width: 2; display: block; }
.svc-detail-body h2 { color: var(--c, var(--green)); margin-bottom: 4px; }
.svc-tag {
  display: inline-block;
  font-weight: 700; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.svc-list { padding-left: 20px; margin: 0 0 20px; color: var(--ink-soft); }
.svc-list li { padding: 4px 0; }

.step-num {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  background: var(--terracotta);
  color: white;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 16px rgba(196, 108, 71, 0.3);
}

/* ---------- Shop / Resources full pages ---------- */
.shop-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 36px; justify-content: center;
}
.chip {
  padding: 10px 22px; border-radius: 999px;
  background: white; border: 2px solid var(--line);
  color: var(--ink-soft); font-weight: 600; font-size: 0.84rem;
  cursor: pointer; font-family: var(--font-display);
  transition: 0.15s;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.active { background: var(--green-deep); border-color: var(--green-deep); color: white; }

.shop-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-lg {
  background: white; padding: 18px;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  position: relative;
  transition: 0.25s;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.product-lg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--terracotta); }
.product-lg .product-img {
  aspect-ratio: 4/3;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  background: var(--cream);
}
.product-lg .product-img svg.icon { width: 60px; height: 60px; color: var(--green); stroke-width: 1.8; display: block; }
.product-lg .badge {
  position: absolute; top: 28px; right: 28px;
  background: var(--terracotta); color: white;
  padding: 5px 14px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-display);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.product-lg h3 { font-size: 1.05rem; font-family: var(--font-display); font-weight: 700; margin: 0 0 6px; }
.product-lg .muted { font-size: 0.86rem; flex: 1; }
.product-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px;
}
.product-row .price {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--green-deep);
}

.resource-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.resource-card {
  display: flex; flex-direction: column;
  background: white; border-radius: var(--radius);
  border: 2px solid var(--line);
  overflow: hidden;
  color: var(--ink);
  transition: 0.25s;
  box-shadow: var(--shadow-sm);
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--terracotta); color: var(--ink); }
.resource-cover {
  aspect-ratio: 16/9;
  display: grid; place-items: center;
  color: white;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.18));
}
.resource-cover svg.icon { width: 64px; height: 64px; vertical-align: 0; stroke-width: 1.8; display: block; }
.resource-card .resource-tag { margin: 18px 22px 10px; }
.resource-card h3 { padding: 0 22px; font-size: 1.05rem; margin-bottom: 8px; }
.resource-card p { padding: 0 22px; color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.read-more {
  padding: 14px 22px 20px;
  font-weight: 700; color: var(--terracotta-deep);
  font-size: 0.88rem;
  font-family: var(--font-display);
}

/* ---------- Start Here page ---------- */
.start-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.start-card {
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  padding: 32px 28px;
  text-align: left;
  transition: 0.25s;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  display: block;
}
.start-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green); color: var(--ink); }
.start-card .start-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--mint-soft);
  color: var(--green-deep);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.start-card .start-icon svg.icon { width: 28px; height: 28px; stroke-width: 2; display: block; }
.start-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; color: var(--green-deep); }
.start-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 12px; }
.start-card .start-link {
  font-weight: 700; color: var(--terracotta-deep);
  font-size: 0.85rem; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ---------- Page sub-nav (anchor jumps) ---------- */
.svc-nav {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 24px;
}
.svc-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  background: white;
  border: 1.5px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.78rem;
  color: var(--green-deep);
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: 0.15s;
}
.svc-nav a:hover { border-color: var(--terracotta); color: var(--terracotta-deep); transform: translateY(-2px); }

/* ---------- Evaluation type grid ---------- */
.eval-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.eval-card {
  background: white; padding: 22px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  text-align: center;
  transition: 0.25s;
  box-shadow: var(--shadow-sm);
}
.eval-card:hover { border-color: var(--c, var(--green)); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.eval-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--c, var(--green));
  color: white;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}
.eval-icon svg.icon { width: 26px; height: 26px; stroke-width: 2; display: block; }
.eval-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--c, var(--green-deep)); }
.eval-card p { font-size: 0.84rem; color: var(--ink-soft); margin: 0; }

/* ---------- Resource category head ---------- */
.resource-cat-head { text-align: left; max-width: 720px; margin: 0 0 32px; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.resource-cat-head h2 { color: var(--green-deep); margin-bottom: 6px; }
.resource-cat-head p { font-size: 0.95rem; }

/* ---------- Membership card ---------- */
.membership-card {
  background: linear-gradient(140deg, #1E4D2B 0%, #7A4DFF 100%);
  color: white;
  padding: 56px 48px;
  border-radius: 28px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.membership-card::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: var(--neuro-gold); border-radius: 50%; opacity: 0.22;
}
.membership-card .eyebrow { color: var(--neuro-gold); }
.membership-card h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); }
.membership-card .lede { color: rgba(255,255,255,0.92); }
.membership-card .btn-primary { background: var(--neuro-gold); border-color: var(--neuro-gold); color: var(--green-deep) !important; }
.membership-card .btn-primary:hover { background: white; border-color: white; }
.membership-perks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  position: relative; z-index: 2;
}
.perk {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 18px;
  border-radius: 14px;
}
.perk strong {
  display: block; color: var(--neuro-gold);
  font-family: var(--font-display); font-size: 1.1rem;
  margin-bottom: 4px;
}
.perk span { font-size: 0.86rem; opacity: 0.92; }

/* ---------- Shop empty state ---------- */
.shop-empty {
  text-align: center; max-width: 560px; margin: 0 auto;
  background: white; padding: 56px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--mint-soft);
  box-shadow: var(--shadow-sm);
}
.shop-empty-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: grid; place-items: center;
  color: var(--gold);
}
.shop-empty-icon svg.icon { width: 32px; height: 32px; stroke-width: 1.6; display: block; }
.shop-empty h2 { color: var(--green-deep); }
.shop-empty p { color: var(--ink-soft); }
.newsletter-light {
  max-width: 380px; margin: 22px auto 14px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.shop-empty-footer { font-size: 0.88rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.8);
  padding: 30px 0;
  position: relative;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 0.85rem;
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-display);
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom small { opacity: 0.7; }

/* ============================================================
   Subtle magical animations
   (floating stars, pencil trails, watercolor drift,
    glow hovers, constellation dividers)
   ============================================================ */

/* Floating star field — drop <div class="starfield"> inside a section */
.starfield {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.ts {
  position: absolute;
  left: var(--x, 50%); top: var(--y, 50%);
  width: var(--sz, 8px); height: var(--sz, 8px);
  border-radius: 50%;
  background: var(--col, var(--gold));
  box-shadow: 0 0 16px 3px var(--col, var(--gold)), 0 0 6px 1px var(--col, var(--gold));
  opacity: 0.85;
  z-index: 2;
  animation: float-twinkle 4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes float-twinkle {
  0%, 100% { transform: translateY(0) scale(0.85); opacity: 0.5; }
  50% { transform: translateY(-18px) scale(1.3); opacity: 1; }
}

/* Slow watercolor drift on hero/page-hero blob backgrounds */
.hero::before { animation: blob-drift 22s ease-in-out infinite alternate; }
.hero::after { animation: blob-drift 28s ease-in-out infinite alternate-reverse; }
.page-hero::before { animation: blob-drift 24s ease-in-out infinite alternate; }
@keyframes blob-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.08); }
  100% { transform: translate(-20px, -15px) scale(0.96); }
}

/* Pencil-trail underline (draws on after load) */
.script-accent .underline path {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw-line 5s ease-in-out 0.5s infinite;
}
@keyframes draw-line {
  0% { stroke-dashoffset: 240; }
  40%, 60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -240; }
}

/* Constellation divider — drop <div class="constellation"></div> between sections */
.constellation {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  height: 56px;
  margin: 0;
  pointer-events: none;
  background: var(--cream);
}
.constellation span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px var(--gold);
  animation: float-twinkle 3.5s ease-in-out infinite;
}
.constellation span:nth-child(1) { background: var(--gold); box-shadow: 0 0 10px 2px var(--gold); animation-delay: 0s; }
.constellation span:nth-child(2) { background: var(--terracotta); box-shadow: 0 0 10px 2px var(--terracotta); animation-delay: 0.4s; width: 5px; height: 5px; }
.constellation span:nth-child(3) { background: var(--mint); box-shadow: 0 0 12px 3px var(--mint); animation-delay: 0.8s; width: 7px; height: 7px; }
.constellation span:nth-child(4) { background: var(--gold); box-shadow: 0 0 14px 3px var(--gold); animation-delay: 1.2s; width: 10px; height: 10px; }
.constellation span:nth-child(5) { background: var(--mint); box-shadow: 0 0 12px 3px var(--mint); animation-delay: 1.6s; width: 7px; height: 7px; }
.constellation span:nth-child(6) { background: var(--terracotta); box-shadow: 0 0 10px 2px var(--terracotta); animation-delay: 2.0s; width: 5px; height: 5px; }
.constellation span:nth-child(7) { background: var(--gold); box-shadow: 0 0 10px 2px var(--gold); animation-delay: 2.4s; }

/* Glow hover on every card type */
.star-card, .svc-card, .eval-card, .start-card, .resource-card, .resource, .card, .product-lg, .svc-detail, .character-detail {
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}
.star-card:hover, .svc-card:hover, .eval-card:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,0.10), 0 0 0 4px var(--c-soft, rgba(212, 175, 55, 0.18));
}
.start-card:hover, .resource:hover, .resource-card:hover, .card:hover, .product-lg:hover, .svc-detail:hover, .character-detail:hover {
  box-shadow: 0 18px 40px rgba(196, 108, 71, 0.18), 0 0 0 3px rgba(196, 108, 71, 0.12);
}

/* Pulsing CTA primary button — gentle glow */
.btn-primary {
  position: relative;
  animation: btn-pulse 3.5s ease-in-out infinite;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(30, 77, 43, 0.28); }
  50% { box-shadow: 0 10px 28px rgba(30, 77, 43, 0.45), 0 0 0 4px rgba(212, 175, 55, 0.18); }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .ts, .hero::before, .hero::after, .page-hero::before,
  .script-accent .underline path, .constellation::after, .btn-primary {
    animation: none !important;
  }
}

/* ============================================================
   NeuroStars LANDING PAGE — magical palette, conversion-focused
   ============================================================ */
.page-neurostars { background: #0e1635; color: #f6f3ea; }
.page-neurostars .site-header {
  background: rgba(14, 22, 53, 0.92);
  border-bottom: 1px solid rgba(255, 215, 106, 0.18);
}
.page-neurostars .site-header .brand-text { color: var(--neuro-gold); }
.page-neurostars .site-header .brand-tag { color: var(--neuro-magenta); }
.page-neurostars .nav-links > a { color: #f6f3ea; }
.page-neurostars .nav-links > a:not(.btn):hover { color: var(--neuro-gold); }
.page-neurostars .nav-links > a.active { color: var(--neuro-gold); }
.page-neurostars .nav-links > a.active::after { background: var(--neuro-gold); }
.page-neurostars .btn-primary {
  background: var(--neuro-gold); color: #0e1635 !important; border-color: var(--neuro-gold);
}
.page-neurostars .btn-primary:hover { background: white; color: #0e1635 !important; }
.page-neurostars .site-footer {
  background: #060c20;
}

.btn-gold {
  background: var(--neuro-gold);
  color: #0e1635 !important;
  border-color: var(--neuro-gold);
  box-shadow: 0 8px 22px rgba(255, 215, 106, 0.35);
}
.btn-gold:hover { background: white; border-color: white; color: #0e1635 !important; transform: translateY(-2px); }

/* Hero */
.ns-hero {
  position: relative;
  padding: 100px 0 110px;
  background:
    radial-gradient(circle at 15% 30%, rgba(122, 77, 255, 0.45), transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(255, 79, 163, 0.35), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(31, 95, 255, 0.5), transparent 55%),
    radial-gradient(circle at 25% 90%, rgba(30, 214, 200, 0.3), transparent 50%),
    linear-gradient(160deg, #0e1635 0%, #1a1248 50%, #2a164d 100%);
  overflow: hidden;
  text-align: center;
}
.ns-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.ns-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neuro-gold);
  margin-bottom: 18px;
  font-family: var(--font-display);
}
.ns-eyebrow-dark { color: var(--neuro-purple); }
.ns-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  color: #f6f3ea;
  margin: 0 0 18px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.ns-title-script {
  font-family: var(--font-script);
  color: var(--neuro-gold);
  font-weight: 700;
  font-size: 1.1em;
  display: inline-block;
  text-shadow: 0 0 30px rgba(255, 215, 106, 0.5);
}
.ns-lede {
  font-size: 1.2rem;
  color: rgba(246, 243, 234, 0.88);
  max-width: 620px; margin: 0 auto 32px;
}
.ns-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.ns-meta {
  font-size: 0.92rem;
  color: rgba(246, 243, 234, 0.6);
  letter-spacing: 0.06em;
}

.ns-section { padding: 80px 0; position: relative; }

/* Intro */
.ns-intro { background: #11193d; }
.ns-intro-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center;
}
.ns-intro-copy h2 {
  color: #f6f3ea; font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 18px;
}
.ns-intro-copy p { color: rgba(246, 243, 234, 0.85); font-size: 1.05rem; }
.ns-blockquote {
  font-family: var(--font-script);
  font-size: 1.7rem !important;
  line-height: 1.3;
  color: var(--neuro-gold) !important;
  padding: 20px 24px;
  border-left: 4px solid var(--neuro-gold);
  background: rgba(255, 215, 106, 0.06);
  border-radius: 0 12px 12px 0;
  margin: 18px 0;
}
.ns-blockquote em { color: var(--neuro-magenta); font-style: italic; }
.ns-intro-stats {
  display: grid; gap: 18px;
}
.ns-stat {
  background: rgba(122, 77, 255, 0.15);
  border: 1.5px solid rgba(255, 215, 106, 0.25);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
}
.ns-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--neuro-gold);
  line-height: 1;
  margin-bottom: 6px;
}
.ns-stat span {
  color: rgba(246, 243, 234, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Characters */
.page-neurostars .section-head h2 { color: #f6f3ea; }
.page-neurostars .section-head .muted { color: rgba(246, 243, 234, 0.7); }
.ns-char-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.ns-char {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--c, var(--neuro-gold));
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  transition: 0.25s;
  box-shadow: 0 0 0 0 var(--c);
  color: #f6f3ea;
  text-decoration: none;
  display: block;
}
.ns-char:hover { color: #f6f3ea; }
.ns-char:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.4), 0 0 22px var(--c);
  background: rgba(255, 255, 255, 0.08);
}
.ns-char-orb {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c, var(--neuro-gold)) 0%, rgba(0,0,0,0.2) 100%);
  display: grid; place-items: center;
  box-shadow: 0 0 30px var(--c, var(--neuro-gold)), inset 0 -4px 12px rgba(0,0,0,0.3);
}
.ns-char-orb span {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 800;
  color: #0e1635;
  text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}
.ns-char h3 {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--c, var(--neuro-gold));
  margin: 0 0 4px;
  font-weight: 700;
}
.ns-char-trait { color: #f6f3ea; font-weight: 700; font-size: 0.88rem; margin: 0 0 6px; font-family: var(--font-display); }
.ns-char-tag { color: rgba(246, 243, 234, 0.65); font-size: 0.78rem; margin: 0; text-transform: uppercase; letter-spacing: 0.08em; }

/* Featured book */
.ns-feature {
  background: linear-gradient(160deg, #1a1248 0%, #2a164d 100%);
}
.ns-feature-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
}
.ns-book-card {
  background: linear-gradient(160deg, #251b5e 0%, #3a2570 60%, #4a2a82 100%);
  border-radius: 24px;
  padding: 50px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 106, 0.4);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 60px rgba(122, 77, 255, 0.3);
  aspect-ratio: 3/4;
  display: flex; flex-direction: column; justify-content: center;
}
.ns-book-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 215, 106, 0.3), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 79, 163, 0.2), transparent 40%);
  pointer-events: none;
}
.ns-book-tag {
  position: relative;
  color: var(--neuro-gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 18px;
  font-family: var(--font-display);
}
.ns-book-title {
  position: relative;
  font-family: var(--font-display);
  color: var(--neuro-gold);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(255, 215, 106, 0.4);
}
.ns-book-sub {
  position: relative;
  color: rgba(246, 243, 234, 0.92);
  font-size: 0.95rem;
  margin: 0 0 28px;
  font-style: italic;
}
.ns-book-quote {
  position: relative;
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--neuro-gold);
  margin: 0;
}
.ns-feature-copy h2 {
  color: #f6f3ea;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}
.ns-feature-copy p { color: rgba(246, 243, 234, 0.85); font-size: 1.05rem; }
.ns-checklist {
  list-style: none; padding: 0; margin: 22px 0 28px;
}
.ns-checklist li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: #f6f3ea;
  font-size: 0.96rem;
}
.ns-checklist li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 8px;
  color: var(--neuro-gold);
  font-size: 1.1rem;
}

/* Why parents love it */
.ns-why { background: #11193d; }
.ns-why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.ns-why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 215, 106, 0.2);
  border-radius: 18px;
  padding: 32px 28px;
  transition: 0.25s;
}
.ns-why-card:hover {
  background: rgba(255, 215, 106, 0.08);
  border-color: var(--neuro-gold);
  transform: translateY(-4px);
}
.ns-why-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--neuro-gold);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.9;
}
.ns-why-card h3 {
  color: #f6f3ea;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.ns-why-card p {
  color: rgba(246, 243, 234, 0.78);
  font-size: 0.95rem;
  margin: 0;
}

/* Testimonial */
.ns-testimonial {
  background:
    radial-gradient(circle at 50% 50%, rgba(122, 77, 255, 0.2), transparent 60%),
    #0e1635;
  text-align: center;
  padding: 70px 0;
}
.ns-quote {
  margin: 0 auto;
  max-width: 760px;
}
.ns-quote p {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--neuro-gold);
  margin: 0 0 18px;
}
.ns-quote em { color: var(--neuro-magenta); font-style: italic; }
.ns-quote cite {
  font-style: normal;
  color: rgba(246, 243, 234, 0.7);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
}

/* Waitlist final CTA */
.ns-waitlist {
  background: #0e1635;
  padding: 70px 0 100px;
}
.ns-waitlist-card {
  position: relative;
  background: linear-gradient(135deg, #1F5FFF 0%, #7A4DFF 50%, #FF4FA3 100%);
  border-radius: 32px;
  padding: 70px 50px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(122, 77, 255, 0.4), 0 0 0 4px rgba(255, 215, 106, 0.4);
}
.ns-waitlist-card .starfield { z-index: 1; }
.ns-waitlist-card > *:not(.starfield) { position: relative; z-index: 2; }
.ns-waitlist-card .ns-eyebrow { color: var(--neuro-gold); }
.ns-waitlist-card h2 {
  color: #f6f3ea;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 14px;
}
.ns-waitlist-lede {
  color: rgba(246, 243, 234, 0.92);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 28px;
}
.ns-waitlist-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto 16px;
  background: white;
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.3);
  gap: 6px;
}
.ns-waitlist-form input {
  flex: 1; border: 0; background: transparent;
  padding: 12px 18px; font-family: inherit; font-size: 0.95rem;
  outline: none;
  color: var(--ink);
}
.ns-waitlist-form .btn { padding: 12px 22px; font-size: 0.84rem; }
.ns-fine-print {
  color: rgba(246, 243, 234, 0.7);
  font-size: 0.82rem;
  margin: 0;
}

/* NeuroStars page — constellation on dark bg */
.page-neurostars .constellation { background: transparent; }

/* Brand star in wordmark */
.brand-star { color: var(--neuro-gold); }
.page-neurostars .brand-text { color: #f6f3ea; }

/* Homepage hero character lineup */
.ns-lineup {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 38px;
}
.ns-lineup-orb {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.3rem;
  color: #0e1635;
  background: radial-gradient(circle at 35% 30%, #fff, var(--c) 80%);
  box-shadow: 0 0 22px var(--c), inset 0 -3px 8px rgba(0,0,0,0.25);
  animation: float-twinkle 4s ease-in-out infinite;
}
.ns-lineup-orb:nth-child(2) { animation-delay: 0.4s; }
.ns-lineup-orb:nth-child(3) { animation-delay: 0.8s; }
.ns-lineup-orb:nth-child(4) { animation-delay: 1.2s; }
.ns-lineup-orb:nth-child(5) { animation-delay: 1.6s; }
.ns-lineup-orb:nth-child(6) { animation-delay: 2.0s; }
.ns-lineup-orb:nth-child(7) { animation-delay: 2.4s; }
.ns-lineup-orb:nth-child(8) { animation-delay: 2.8s; }

/* Homepage: featured books */
.ns-books-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ns-book {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255, 215, 106, 0.25);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #f6f3ea;
  transition: 0.25s;
  display: flex; flex-direction: column;
}
.ns-book:hover { transform: translateY(-6px); border-color: var(--neuro-gold); box-shadow: 0 16px 40px rgba(0,0,0,0.4); color: #f6f3ea; }
.ns-book-thumb {
  aspect-ratio: 3/4;
  display: grid; place-items: center;
  text-align: center;
  padding: 28px;
  position: relative;
}
.ns-book-thumb h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  line-height: 1.1;
}
.ns-book-meta { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.ns-book-meta .ns-book-age {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--neuro-gold);
  margin: 0 0 8px;
}
.ns-book-meta h3 { font-family: var(--font-display); font-size: 1.1rem; color: #f6f3ea; margin: 0 0 8px; }
.ns-book-meta p { font-size: 0.88rem; color: rgba(246,243,234,0.78); margin: 0 0 14px; flex: 1; }
.ns-book-meta .read-link { color: var(--neuro-gold); font-weight: 700; font-size: 0.85rem; font-family: var(--font-display); }

/* Hub preview cards (Parents / Teachers / Shop) */
.ns-hub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ns-hub-card {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, transparent), rgba(255,255,255,0.03));
  border: 1.5px solid var(--c, var(--neuro-gold));
  border-radius: 22px;
  padding: 34px 30px;
  text-decoration: none;
  color: #f6f3ea;
  transition: 0.25s;
  display: block;
}
.ns-hub-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px var(--c); color: #f6f3ea; }
.ns-hub-card .ns-hub-eyebrow {
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c, var(--neuro-gold));
  margin: 0 0 10px;
}
.ns-hub-card h3 { font-family: var(--font-display); font-size: 1.4rem; color: #f6f3ea; margin: 0 0 10px; }
.ns-hub-card p { font-size: 0.94rem; color: rgba(246,243,234,0.82); margin: 0 0 16px; }
.ns-hub-card .ns-hub-link { color: var(--c, var(--neuro-gold)); font-weight: 700; font-family: var(--font-display); font-size: 0.88rem; }

/* Topic list (used in Parent Hub / Teacher Resources) */
.ns-topic-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.ns-topic {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-left: 5px solid var(--c, var(--neuro-gold));
  border-radius: 16px;
  padding: 24px 22px;
  transition: 0.2s;
}
.ns-topic:hover { background: rgba(255,255,255,0.07); border-left-color: var(--c, var(--neuro-gold)); transform: translateX(4px); }
.ns-topic h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--c, var(--neuro-gold)); margin: 0 0 8px; }
.ns-topic p { font-size: 0.9rem; color: rgba(246,243,234,0.8); margin: 0; }

/* Social / reels strip */
.ns-social-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.ns-reel {
  aspect-ratio: 9/14;
  border-radius: 18px;
  border: 1.5px solid rgba(255,215,106,0.25);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
  text-decoration: none;
  transition: 0.25s;
  position: relative;
  overflow: hidden;
}
.ns-reel:hover { transform: translateY(-5px); border-color: var(--neuro-gold); }
.ns-reel span {
  position: relative; z-index: 2;
  color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.ns-reel small {
  position: relative; z-index: 2;
  color: rgba(255,255,255,0.85); font-size: 0.78rem;
}

/* Dark-theme contact form */
.ns-contact-form {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,215,106,0.25);
  border-radius: 22px;
  padding: 34px 32px;
}
.ns-contact-form .field { margin-bottom: 18px; }
.ns-contact-form label {
  display: block; font-family: var(--font-display);
  font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--neuro-gold); margin-bottom: 6px;
}
.ns-contact-form input, .ns-contact-form select, .ns-contact-form textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(14,22,53,0.6);
  color: #f6f3ea;
  font-family: inherit; font-size: 1rem;
  transition: 0.15s;
}
.ns-contact-form input:focus, .ns-contact-form select:focus, .ns-contact-form textarea:focus {
  outline: none; border-color: var(--neuro-gold);
  box-shadow: 0 0 0 3px rgba(255,215,106,0.18);
}
.ns-contact-form select option { background: #11193d; }
.ns-contact-form textarea { resize: vertical; }
.ns-contact-aside {
  background: linear-gradient(160deg, rgba(122,77,255,0.25), rgba(255,255,255,0.03));
  border: 1.5px solid rgba(255,215,106,0.25);
  border-radius: 22px;
  padding: 32px 30px;
  color: rgba(246,243,234,0.9);
}
.ns-contact-aside h3 { font-family: var(--font-display); color: #f6f3ea; margin: 0 0 16px; }
.ns-contact-aside p { font-size: 0.95rem; }
.ns-contact-aside strong { color: var(--neuro-gold); font-family: var(--font-display); }
.ns-contact-aside a { color: var(--neuro-gold); }
.ns-aside-quote {
  margin-top: 22px; padding: 18px;
  background: rgba(255,255,255,0.06);
  border-left: 4px solid var(--neuro-gold);
  border-radius: 0 10px 10px 0;
  font-family: var(--font-script);
  font-size: 1.3rem; color: var(--neuro-gold);
}

/* Helpers section (Digit + Lexi) */
.ns-helpers { background: #11193d; }
.ns-helper-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.ns-helper {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--c, var(--neuro-gold));
  border-radius: 22px;
  padding: 28px 30px;
  text-decoration: none;
  color: #f6f3ea;
  transition: 0.25s;
}
.ns-helper:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); box-shadow: 0 0 30px var(--c, var(--neuro-gold)); color: #f6f3ea; }
.ns-helper .ns-char-orb { width: 96px; height: 96px; margin: 0; }
.ns-helper-tag {
  display: inline-block;
  background: var(--c);
  color: #0e1635;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ns-helper h3 {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--c);
  margin: 0 0 4px;
  font-weight: 700;
}
.ns-helper .ns-char-trait { color: #f6f3ea; font-weight: 700; font-size: 1rem; margin: 0 0 8px; font-family: var(--font-display); }
.ns-helper p:last-child { font-size: 0.92rem; color: rgba(246, 243, 234, 0.82); margin: 0; }
.ns-helper p em { color: var(--c); font-style: italic; }

/* Values grid */
.ns-values { background: #0e1635; }
.ns-values-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.ns-value-card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--c);
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
  transition: 0.2s;
}
.ns-value-card:hover { transform: translateY(-4px); box-shadow: 0 0 22px var(--c); }
.ns-value-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.ns-value-card span {
  font-size: 0.85rem;
  color: rgba(246, 243, 234, 0.82);
  line-height: 1.4;
}

/* Shadow Fog */
.ns-shadow {
  background:
    radial-gradient(circle at 30% 50%, rgba(0,0,0,0.6), transparent 60%),
    #0a1130;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ns-shadow-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center;
}
.ns-shadow h2 { color: #f6f3ea; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.ns-shadow p { color: rgba(246, 243, 234, 0.85); font-size: 1.02rem; }
.ns-fog-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.ns-fog-tags span {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(246, 243, 234, 0.85);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.88rem;
}

/* ============================================================
   Character pages (Aria, Leo, Claire, Sanaa, Zuri, Ezra, Milo, Mei)
   Each <body> sets --c (main) and --c2 (accent) via inline style
   ============================================================ */
.char-page {
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--c) 30%, transparent), transparent 50%),
    radial-gradient(circle at 80% 90%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 50%),
    #0e1635;
}
.char-page .site-header { background: rgba(14, 22, 53, 0.94); }
.char-page .site-header::after { background: var(--c); }

.char-hero {
  position: relative;
  text-align: center;
  padding: 90px 0 80px;
  overflow: hidden;
}
.char-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.char-banner {
  display: inline-block;
  background: var(--c);
  color: #0e1635;
  padding: 8px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 50%, transparent);
}
.char-name {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6rem);
  font-weight: 800;
  color: var(--c);
  margin: 0 0 6px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px color-mix(in srgb, var(--c) 60%, transparent);
}
.char-title {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--c2);
  margin: 0 0 22px;
}
.char-power-label {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid var(--c);
  color: #f6f3ea;
  padding: 8px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.char-intro {
  color: rgba(246, 243, 234, 0.9);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 26px;
}
.char-hero .btn-gold { background: var(--c); color: #0e1635 !important; border-color: var(--c); box-shadow: 0 10px 28px color-mix(in srgb, var(--c) 45%, transparent); }
.char-hero .btn-gold:hover { background: white; }

.char-section { padding: 60px 0; }
.char-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.char-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 22px;
}
.char-panel {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid color-mix(in srgb, var(--c) 40%, rgba(255,255,255,0.1));
  border-radius: 20px;
  padding: 28px 26px;
  color: rgba(246, 243, 234, 0.92);
}
.char-panel h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c2);
  margin: 0 0 18px;
}
.char-panel ul { padding: 0; margin: 0; list-style: none; }
.char-panel li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.94rem;
  line-height: 1.45;
}
.char-panel li::before {
  content: "✦";
  position: absolute; left: 0; top: 8px;
  color: var(--c);
  font-size: 0.9rem;
}
.char-superpower {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 18%, transparent), rgba(255,255,255,0.04));
  border-color: var(--c);
  text-align: center;
}
.char-superpower h2 { color: var(--c); }
.power-script {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--c);
  margin: 0 0 18px;
  line-height: 1;
}
.char-superpower p { font-size: 0.96rem; }

.char-tools {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid color-mix(in srgb, var(--c) 30%, rgba(255,255,255,0.1));
  border-radius: 20px;
  padding: 36px 32px;
}
.char-tools h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-align: center;
  color: var(--c);
  margin: 0 0 28px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tool {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid color-mix(in srgb, var(--c) 25%, transparent);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  transition: 0.2s;
}
.tool:hover { border-color: var(--c); transform: translateY(-3px); }
.tool h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c2);
  margin: 0 0 6px;
}
.tool p {
  font-size: 0.78rem;
  color: rgba(246, 243, 234, 0.78);
  margin: 0;
  line-height: 1.4;
}

.char-flow {
  background: rgba(255,255,255,0.03);
  border-radius: 20px;
  padding: 36px 28px;
  margin-top: 22px;
  border: 1.5px solid color-mix(in srgb, var(--c) 25%, rgba(255,255,255,0.1));
}
.char-flow h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c2);
  text-align: center;
  margin: 0 0 24px;
}
.flow-row {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: stretch;
}
.flow-step {
  flex: 1; min-width: 140px; max-width: 180px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid color-mix(in srgb, var(--c) 35%, transparent);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}
.flow-step strong {
  display: block;
  color: var(--c);
  font-family: var(--font-display);
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.flow-step span {
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(246, 243, 234, 0.78);
  display: block;
}

.char-reminder {
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 35%, transparent), color-mix(in srgb, var(--c2) 35%, transparent));
  border: 2px solid var(--c);
  border-radius: 22px;
  padding: 40px 32px;
  text-align: center;
  margin-top: 22px;
}
.reminder-script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--c);
  margin: 0 0 12px;
  line-height: 1.2;
  text-shadow: 0 0 20px color-mix(in srgb, var(--c) 40%, transparent);
}
.reminder-buddy {
  color: rgba(246, 243, 234, 0.85);
  font-size: 0.92rem;
  font-style: italic;
  margin: 0;
}
.reminder-buddy strong { color: var(--c2); font-style: normal; }

.char-back {
  text-align: center; padding: 60px 0;
}
.char-back .btn { background: transparent; color: var(--c) !important; border: 2px solid var(--c); }
.char-back .btn:hover { background: var(--c); color: #0e1635 !important; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 14px; }
  .nav-links > a:not(.btn) { font-size: 0.76rem; }
}
@media (max-width: 1024px) {
  .star-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-full-grid, .resource-full-grid, .start-grid { grid-template-columns: repeat(2, 1fr); }
  .eval-grid { grid-template-columns: repeat(2, 1fr); }
  .membership-card { grid-template-columns: 1fr; gap: 30px; padding: 40px 28px; }
}
@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid, .services-layout, .cta-grid, .explain-grid, .ns-intro-grid, .ns-feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .ns-char-grid { grid-template-columns: repeat(2, 1fr); }
  .ns-books-grid, .ns-hub-grid, .ns-topic-grid { grid-template-columns: 1fr; }
  .ns-social-grid { grid-template-columns: repeat(2, 1fr); }
  .ns-helper-grid { grid-template-columns: 1fr; }
  .ns-helper { grid-template-columns: 1fr; text-align: center; }
  .ns-helper .ns-char-orb { margin: 0 auto; }
  .ns-values-grid { grid-template-columns: repeat(2, 1fr); }
  .ns-shadow-grid { grid-template-columns: 1fr; }
  .ns-why-grid { grid-template-columns: 1fr; }
  .ns-intro-stats { grid-template-columns: repeat(3, 1fr); }
  .ns-waitlist-form { flex-direction: column; padding: 14px; border-radius: 18px; }
  .svc-detail { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .svc-detail-icon { margin: 0 auto; }
  .services-intro { position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
  .character-detail { grid-template-columns: 1fr; }
  .char-portrait-lg { max-width: 240px; margin: 0 auto; }
  .cta-star { display: none; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--cream); flex-direction: column;
    padding: 24px; gap: 14px; align-items: flex-start;
    border-bottom: 4px solid var(--terracotta);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: 0.2s;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links > a { font-size: 0.95rem; }
  .star-grid, .shop-grid, .services-grid, .values-grid, .cards, .shop-full-grid, .resource-full-grid, .start-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .star-card { padding: 16px 12px; }
  .star-portrait { width: 80px; height: 80px; }
  .star-portrait .initial { font-size: 2.2rem; }
  .reframe-row { grid-template-columns: 1fr; text-align: center; gap: 4px; padding: 14px; border-radius: var(--radius); }
  .reframe-row .arrow { display: none; }
  .section { padding: 56px 0; }
  .hero { padding-top: 30px; }
}
