/* ============================================
   Heroers — Marketing Site
   Magical, cinematic, parent-trusted
   ============================================ */

:root {
  --lavender: #e8d5f5;
  --sky: #d5e8f5;
  --violet: #7c4dff;
  --violet-deep: #5e35d9;
  --ink: #2a1a4a;
  --text: #2d2b3d;
  --text-muted: #6b6880;
  --text-soft: #8c89a3;
  --cream: #f9f7fc;
  --cream-warm: #fbf6ee;
  --night-1: #1a1a3e;
  --night-2: #2d1b69;
  --night-3: #3d2880;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.85);
  --r-card: 16px;
  --r-cta: 22px;
  --shadow-soft: 0 10px 30px -12px rgba(46, 26, 88, 0.18);
  --shadow-card: 0 20px 50px -20px rgba(46, 26, 88, 0.25);
  --shadow-glow: 0 30px 80px -30px rgba(124, 77, 255, 0.55);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif {
  font-family: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.serif-i { font-style: italic; }

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: var(--violet); text-decoration: none; }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(46, 26, 88, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-star {
  display: inline-block;
  font-size: 20px;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.15) rotate(15deg); opacity: 0.85; }
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 15px;
}
.nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--violet); }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: flex !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-cta);
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--violet);
  color: white;
  box-shadow: 0 8px 24px -6px rgba(124, 77, 255, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(124, 77, 255, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 14px 20px;
}
.btn-ghost:hover { color: var(--violet); }
.btn-white {
  background: white;
  color: var(--ink);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.25);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.35);
}
.btn-lg { padding: 20px 36px; font-size: 18px; }

/* ---------- Type scale ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--violet);
  font-weight: 600;
}
.eyebrow-dark { color: #c9b8ff; }
.eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 700; }
h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 640px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #e8d5f5 0%, #dbd9f4 45%, #d5e8f5 100%);
  overflow: hidden;
}
.hero::before {
  /* soft radial glow */
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-grid .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
}

.hero h1 .serif-i {
  background: linear-gradient(135deg, #7c4dff, #b388ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  align-items: center;
  flex-wrap: wrap;
}
.trust-line {
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 960px) { .trust-line { justify-content: center; } }
.trust-check {
  color: var(--violet);
  font-weight: 700;
}

/* Floating emoji */
.float-emoji {
  position: absolute;
  font-size: 40px;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(46, 26, 88, 0.15));
  animation: floaty 8s ease-in-out infinite;
  z-index: 1;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

/* Phone mockup */
.phone {
  position: relative;
  width: 300px;
  height: 620px;
  margin: 0 auto;
  background: #1a1a3e;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 40px 80px -20px rgba(46, 26, 88, 0.45),
    0 0 0 2px rgba(255,255,255,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.15);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #1a1a3e;
  border-radius: 100px;
  z-index: 20;
}

/* ---------- HOW IT WORKS ---------- */
.how {
  background: var(--cream);
  position: relative;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}
.step-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-card);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.step-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 64px;
  color: rgba(124, 77, 255, 0.12);
  line-height: 1;
}
.step-emoji {
  font-size: 44px;
  margin-bottom: 16px;
  display: inline-block;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--text-muted); margin: 0; font-size: 16px; }
.how-note {
  text-align: center;
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { margin-left: auto; margin-right: auto; }

/* ---------- EXPERIENCE (dark scroll walkthrough) ---------- */
.experience {
  background: linear-gradient(180deg, #1a1a3e 0%, #2d1b69 50%, #1a1a3e 100%);
  color: white;
  position: relative;
}
.experience::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 77, 255, 0.25), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(213, 232, 245, 0.12), transparent 40%);
  pointer-events: none;
}
.experience-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 25% 20%, white, transparent),
    radial-gradient(1px 1px at 65% 35%, white, transparent),
    radial-gradient(2px 2px at 42% 70%, white, transparent),
    radial-gradient(1px 1px at 88% 15%, white, transparent),
    radial-gradient(1px 1px at 12% 80%, white, transparent),
    radial-gradient(1px 1px at 78% 55%, white, transparent);
  opacity: 0.5;
  pointer-events: none;
}
.experience h2 { color: white; }
.experience .lead { color: #c9c4e0; }
/* Scroll-scrubbed pinned walkthrough */
.walk-wrapper {
  position: relative;
  margin-top: 60px;
  /* height set inline = steps * 100vh */
}
.walk-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.walk-stage {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: center;
  position: relative;
}
.walk-text-col {
  position: relative;
  min-height: 340px;
}
.walk-slide-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}
.walk-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.walk-phone {
  box-shadow: 0 40px 100px -20px rgba(124, 77, 255, 0.6),
              0 0 0 2px rgba(255,255,255,0.3),
              inset 0 0 0 1px rgba(255,255,255,0.1);
  /* Cap the phone to the viewport so the progress pills stay visible */
  max-height: min(620px, 78vh);
  aspect-ratio: 300 / 620;
  width: auto;
  height: min(620px, 78vh);
}
.walk-progress {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 20px;
}
@media (max-height: 780px) {
  .walk-phone { height: min(560px, 72vh); }
}
@media (max-width: 960px) {
  .walk-stage { grid-template-columns: 1fr; gap: 32px; }
  .walk-text-col { min-height: 180px; order: 2; }
  .walk-phone-col { order: 1; }
  .walk-phone { transform: scale(0.72); transform-origin: center; margin: -80px 0; }
}
.walk-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(124, 77, 255, 0.2);
  border: 1px solid rgba(124, 77, 255, 0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #c9b8ff;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  align-self: flex-start;
}
.walk-slide-text h3 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: white;
  margin-bottom: 16px;
}
.walk-slide-text p {
  color: #c9c4e0;
  font-size: clamp(16px, 1.4vw, 18px);
  margin: 0;
  max-width: 460px;
  line-height: 1.55;
}

/* ---------- THEME SHOWCASE ---------- */
.themes { background: var(--cream-warm); position: relative; overflow: hidden; }
.themes::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 30%, rgba(232, 213, 245, 0.6), transparent 35%),
    radial-gradient(circle at 90% 70%, rgba(213, 232, 245, 0.6), transparent 35%);
  pointer-events: none;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
}
@media (max-width: 860px) { .theme-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .theme-grid { grid-template-columns: 1fr; } }

.theme-card {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1.1);
  cursor: pointer;
}
.theme-card:hover { transform: translateY(-8px) scale(1.02); }
.theme-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.theme-card:hover img { transform: scale(1.08); }
.theme-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 62, 0.85) 100%);
}
.theme-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  color: white;
  z-index: 2;
}
.theme-emoji {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 36px;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}
.theme-name {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.theme-hook {
  font-size: 15px;
  opacity: 0.92;
}

/* ---------- WHY PARENTS ---------- */
.why { background: white; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  padding: 32px 28px;
  background: var(--cream);
  border-radius: var(--r-card);
  border: 1px solid rgba(124, 77, 255, 0.08);
  transition: all 0.3s ease;
}
.why-card:hover {
  background: white;
  border-color: rgba(124, 77, 255, 0.25);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.why-emoji { font-size: 36px; margin-bottom: 14px; }
.why-card h3 { margin-bottom: 6px; }
.why-card p { color: var(--text-muted); font-size: 15px; margin: 0; line-height: 1.5; }

/* ---------- SAFETY ---------- */
.safety {
  background: linear-gradient(160deg, #f4eeff 0%, #eef5fc 100%);
  position: relative;
  overflow: hidden;
}
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .safety-grid { grid-template-columns: 1fr; } }
.safety-shield {
  position: relative;
  width: 300px; height: 360px;
  margin: 0 auto;
}
.safety-shield-bg {
  width: 100%; height: 100%;
  background: white;
  border-radius: 50% 50% 20% 20% / 35% 35% 100% 100%;
  border: 6px solid rgba(124, 77, 255, 0.25);
  box-shadow: 0 30px 60px -20px rgba(124, 77, 255, 0.3), inset 0 0 0 18px rgba(124, 77, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 96px;
  position: relative;
}
.safety-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.safety-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.safety-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-soft);
}
.safety-item h4 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.safety-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--cream-warm); }
.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 860px) { .testimonial-row { grid-template-columns: 1fr; } }
.testimonial {
  background: white;
  border-radius: var(--r-card);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.testimonial-stars {
  color: #ffb84d;
  letter-spacing: 2px;
  font-size: 16px;
}
.testimonial-quote {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex: 1;
}
.testimonial-quote::before {
  content: '\201C';
  font-size: 50px;
  color: var(--violet);
  opacity: 0.35;
  line-height: 0;
  vertical-align: -18px;
  margin-right: 2px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(46, 26, 88, 0.08);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.testimonial-meta-text { font-size: 14px; line-height: 1.3; }
.testimonial-meta-text strong { color: var(--ink); }
.testimonial-meta-text div { color: var(--text-muted); }

/* ---------- FINAL CTA ---------- */
.final {
  background: linear-gradient(180deg, #1a1a3e 0%, #2d1b69 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(124, 77, 255, 0.35), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(232, 213, 245, 0.18), transparent 40%);
  pointer-events: none;
}
.final-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, white, transparent),
    radial-gradient(2px 2px at 45% 45%, white, transparent),
    radial-gradient(1px 1px at 75% 20%, white, transparent),
    radial-gradient(1px 1px at 85% 70%, white, transparent),
    radial-gradient(1px 1px at 25% 75%, white, transparent);
  opacity: 0.6;
  pointer-events: none;
}
.final-inner { position: relative; z-index: 2; }
.final h2 {
  color: white;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 72px);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.final h2 em { color: #c9b8ff; }
.final .lead { color: #c9c4e0; margin: 0 auto 40px; }
.final-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.store-badges {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 32px; flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  color: white;
  font-size: 13px;
  transition: all 0.2s ease;
}
.store-badge:hover {
  background: rgba(255,255,255,0.18);
  color: white;
}
.store-badge-sub { opacity: 0.7; font-size: 11px; display: block; line-height: 1; }
.store-badge-name { font-size: 16px; font-weight: 600; line-height: 1.2; }

.final-emoji {
  position: absolute;
  font-size: 48px;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
  animation: floaty 10s ease-in-out infinite;
  z-index: 1;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0f0f28;
  color: #8c89a3;
  padding: 48px 0 36px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-links a { color: #c9c4e0; }
.footer-links a:hover { color: white; }
.footer-tag { font-size: 14px; opacity: 0.7; }

/* ---------- Tweak panel ---------- */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 500;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.35);
  width: 280px;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.05);
  display: none;
}
.tweaks-panel.visible { display: block; }
.tweaks-panel h4 {
  margin: 0 0 14px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.tweak-row { margin-bottom: 14px; }
.tweak-row label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.tweak-row input[type=range] { width: 100%; accent-color: var(--violet); }
.tweak-seg {
  display: flex;
  gap: 4px;
  background: var(--cream);
  padding: 3px;
  border-radius: 10px;
}
.tweak-seg button {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s ease;
}
.tweak-seg button.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
