/* ============================================================
   OmniModi marketing site -- global styles

   PALETTE: Summer Fresh (Aug 2026)
   -----------------------------------------------------------
   A multi-colour, positive palette inspired by the Summer
   Fresh Affinity set. Purple + cobalt + mustard + sage +
   dusty pink + warm orange, on either warm cream (light) or
   deep cobalt (dark). No burgundy, no salmon-terracotta as
   CTA. Colour is semantic: --brand for primary action,
   --accent-warm / --accent-cool / --accent-yellow for
   supporting roles, and a real subject-accent set on top.

   The variable names --purple / --cyan / --purple-light are
   kept as ALIASES pointing at the new semantic tokens so
   every existing rule keeps working. New code should use the
   semantic names.

   Theme selection: follows the device by default via the
   `prefers-color-scheme` media query. A page can force a
   theme by setting <html data-theme="light"> or "dark".
   ============================================================ */
@import url('https://api.fontshare.com/v2/css?f[]=chillax@500,600,700&f[]=general-sans@400,500,600,700&display=swap');

/* ---------- LIGHT (default) ---------- */
:root,
:root[data-theme="light"] {
  color-scheme: light;

  /* Surfaces (warm cream field, white cards) */
  --bg:            #FAF3E3;   /* softened Summer Fresh cream */
  --bg-2:          #FFFFFF;
  --bg-3:          #F1E7CE;   /* deeper cream for callouts */
  --border:        #E5D6B0;
  --border-soft:   #F0E5C6;
  --card-shadow:   0 12px 28px rgba(60, 55, 30, .10);

  /* Ink */
  --text:          #1F2740;   /* deep navy ink */
  --text-muted:    #4E5776;

  /* Semantic action colours */
  --brand:         #3E5C8A;   /* cobalt primary action */
  --brand-hover:   #2C4670;
  --brand-glow:    rgba(62, 92, 138, .22);
  --brand-ink:     #FFFFFF;

  --accent-purple: #5B3B8A;   /* deep aubergine violet -- links, focus, alt CTA */
  --accent-purple-soft: #B4A7DC;
  --accent-yellow: #E8B33F;   /* mustard */
  --accent-yellow-soft: #F9E17F;
  --accent-warm:   #E1793C;   /* warm orange */
  --accent-pink:   #E0858C;   /* dusty rose */
  --accent-green:  #A0B978;   /* sage */
  --accent-green-deep: #5B642F; /* olive */
  --accent-blue-soft: #97B4C4;

  /* Signature Paul-Smith-style stripe (5 stripes) */
  --stripe: linear-gradient(135deg,
              #3E5C8A 0 10px,
              #E8B33F 10px 19px,
              #A0B978 19px 30px,
              #E0858C 30px 37px,
              #5B3B8A 37px 47px);

  /* --- LEGACY ALIASES (do not remove; kept so every existing
     rule that says var(--purple) / var(--cyan) keeps working) --- */
  --purple:        var(--accent-purple);
  --purple-light:  var(--accent-purple-soft);
  --purple-glow:   rgba(91, 59, 138, .22);
  --cyan:          var(--brand);

  /* Aliases used by inline HTML styles */
  --primary:       var(--brand);
  --surface:       var(--bg-2);
  --muted:         var(--text-muted);

  /* Feature-band + footer surfaces (cobalt on both themes) */
  --band-bg:       linear-gradient(135deg, #1A2B4A, #223763);
  --band-ink:      #FAF3E3;
  --footer-bg:     color-mix(in srgb, var(--bg) 88%, #7A5A2A 12%);
  --footer-ink:    var(--text-muted);

  --radius:        14px;
  --radius-sm:     10px;
  --transition:    0.2s ease;
}

/* ---------- DARK ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg:            #1A2B4A;   /* deep cobalt canvas (the loved bottom-blue) */
  --bg-2:          #223763;
  --bg-3:          #2D4478;
  --border:        #375289;
  --border-soft:   #223763;
  --card-shadow:   0 12px 32px rgba(0, 0, 0, .55);

  --text:          #F7F1E1;   /* warm cream ink on cobalt */
  --text-muted:    #C7D2E5;

  --brand:         #F0C64D;   /* mustard primary on dark cobalt -- pop */
  --brand-hover:   #F9E17F;
  --brand-glow:    rgba(240, 198, 77, .32);
  --brand-ink:     #1A2B4A;

  --accent-purple: #B4A7DC;   /* lilac for headings, hero, links */
  --accent-purple-soft: #D5C8F0;
  --accent-yellow: #F9E17F;
  --accent-yellow-soft: #FCEBB0;
  --accent-warm:   #F0A56A;
  --accent-pink:   #F3C3CF;
  --accent-green:  #C0D49E;
  --accent-green-deep: #A0B978;
  --accent-blue-soft: #BCD0D1;

  --stripe: linear-gradient(135deg,
              #B4A7DC 0 10px,
              #F9E17F 10px 19px,
              #C0D49E 19px 30px,
              #F3C3CF 30px 37px,
              #F0A56A 37px 47px);

  --purple:        var(--accent-purple);
  --purple-light:  var(--accent-purple-soft);
  --purple-glow:   rgba(180, 167, 220, .28);
  --cyan:          var(--accent-blue-soft);

  --primary:       var(--brand);
  --surface:       var(--bg-2);
  --muted:         var(--text-muted);

  --band-bg:       linear-gradient(135deg, #0E1F3E, #1A2B4A);
  --band-ink:      #FAF3E3;
  --footer-bg:     color-mix(in srgb, var(--bg) 70%, #000 30%);
  --footer-ink:    var(--text-muted);
}

/* When the user hasn't picked a theme, follow the phone */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --bg:            #1A2B4A;
    --bg-2:          #223763;
    --bg-3:          #2D4478;
    --border:        #375289;
    --border-soft:   #223763;
    --card-shadow:   0 12px 32px rgba(0, 0, 0, .55);

    --text:          #F7F1E1;
    --text-muted:    #C7D2E5;

    --brand:         #F0C64D;
    --brand-hover:   #F9E17F;
    --brand-glow:    rgba(240, 198, 77, .32);
    --brand-ink:     #1A2B4A;

    --accent-purple: #B4A7DC;
    --accent-purple-soft: #D5C8F0;
    --accent-yellow: #F9E17F;
    --accent-yellow-soft: #FCEBB0;
    --accent-warm:   #F0A56A;
    --accent-pink:   #F3C3CF;
    --accent-green:  #C0D49E;
    --accent-green-deep: #A0B978;
    --accent-blue-soft: #BCD0D1;

    --stripe: linear-gradient(135deg,
                #B4A7DC 0 10px,
                #F9E17F 10px 19px,
                #C0D49E 19px 30px,
                #F3C3CF 30px 37px,
                #F0A56A 37px 47px);

    --purple:        var(--accent-purple);
    --purple-light:  var(--accent-purple-soft);
    --purple-glow:   rgba(180, 167, 220, .28);
    --cyan:          var(--accent-blue-soft);

    --primary:       var(--brand);
    --surface:       var(--bg-2);
    --muted:         var(--text-muted);

    --band-bg:       linear-gradient(135deg, #0E1F3E, #1A2B4A);
    --band-ink:      #FAF3E3;
    --footer-bg:     color-mix(in srgb, var(--bg) 70%, #000 30%);
    --footer-ink:    var(--text-muted);
  }
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Chillax', 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-primary.btn-large { padding: 1rem 2.25rem; font-size: 1.05rem; }

.btn-ghost {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--purple-light); color: var(--purple-light); }

.btn-nav,
.nav-links a.btn-nav {
  --btn-nav-fill: var(--brand);
  --btn-nav-ink: var(--brand-ink);
  padding: 0.55rem 1.25rem;
  background: var(--btn-nav-fill);
  color: var(--btn-nav-ink);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}
.btn-nav:hover { opacity: 0.85; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
  padding: 1rem 0;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.625rem;
  font-weight: 700; font-size: 1rem; color: var(--text);
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-accent { color: var(--purple); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition); text-decoration: none;
}
.nav-links a:hover { color: var(--text); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.2s;
}

@media (max-width: 700px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg); flex-direction: column; justify-content: center;
    align-items: center; gap: 2rem; font-size: 1.2rem; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-logo { font-size: 0.85rem; }
  .nav-logo svg { width: 28px; height: 28px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--purple);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: var(--cyan);
  bottom: 0; left: -80px; opacity: 0.15;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(109,40,217,0.2);
  border: 1px solid rgba(109,40,217,0.4);
  border-radius: 20px;
  font-size: 0.82rem; font-weight: 600; color: var(--purple);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px; margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.4rem; font-weight: 700; color: var(--text); }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* FLOATING CARDS */
.floating-cards {
  position: absolute; inset: 0; pointer-events: none;
}
.fc {
  position: absolute;
  background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  border: 1px solid var(--border-soft, var(--border));
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.875rem;
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  animation: float 6s ease-in-out infinite;
}
.fc-1 { top: 15%; left: 5%; animation-delay: 0s; }
.fc-2 { top: 30%; right: 4%; animation-delay: 1s; }
.fc-3 { top: 60%; left: 3%; animation-delay: 2s; }
.fc-4 { top: 70%; right: 6%; animation-delay: 0.5s; }
.fc-5 { top: 45%; left: 8%; animation-delay: 1.5s; }
.fc-6 { top: 20%; right: 8%; animation-delay: 2.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 700px) { .floating-cards { display: none; } }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-2); }
.section-title {
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; text-align: center; margin-bottom: 0.75rem;
}
.section-sub {
  text-align: center; color: var(--text-muted);
  font-size: 1.05rem; margin-bottom: 3rem;
}

/* ===== LEVELS ===== */
.levels-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 700px) { .levels-grid { grid-template-columns: 1fr; } }

.level-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.level-active {
  border-color: var(--purple);
  box-shadow: 0 0 40px var(--purple-glow);
}
.level-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.level-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.level-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.level-features { margin-bottom: 1.5rem; }
.level-features li { font-size: 0.875rem; color: var(--text-muted); padding: 0.3rem 0; }
.level-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.625rem;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-live { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.badge-soon { background: var(--bg-3); color: var(--text-muted); border: 1px solid var(--border); }

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex; align-items: flex-start; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 220px; max-width: 280px; text-align: center;
  background: var(--bg-3); border-radius: var(--radius); padding: 2rem 1.5rem;
  border: 1px solid var(--border);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--purple); color: #fff;
  font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--text-muted); }
.step-arrow { font-size: 1.5rem; color: var(--text-muted); align-self: center; padding-top: 0; }
@media (max-width: 700px) { .step-arrow { display: none; } }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--purple); transform: translateY(-3px); }
.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== SUBJECTS ===== */
.subjects-grid {
  display: flex; flex-wrap: wrap; gap: 0.625rem; justify-content: center;
}
.subject-pill {
  padding: 0.5rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.875rem; font-weight: 600;
  transition: border-color var(--transition), background var(--transition);
}
.subject-pill:hover { border-color: var(--purple); background: rgba(109,40,217,0.1); }

/* ===== AUDIENCE ===== */
.audience-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 700px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.audience-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.audience-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.audience-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.audience-card li {
  font-size: 0.875rem; color: var(--text-muted);
  padding: 0.3rem 0; padding-left: 1.25rem; position: relative;
}
.audience-card li::before { content: '✓'; position: absolute; left: 0; color: #34d399; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 5rem 0;
  background: var(--band-bg);
  color: var(--band-ink);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner h2 { color: var(--band-ink); }
.cta-banner .cta-note,
.cta-banner p { color: color-mix(in srgb, var(--band-ink) 78%, transparent); }
.cta-banner h2 {
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; margin-bottom: 0.75rem;
}
.cta-banner p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-note { margin-top: 1rem; font-size: 0.78rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
/* ===== FOOTER (Croakdown-style, RedFrogBlack studio branding bottom-left) ===== */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 3.25rem 0 1.5rem;
  color: var(--footer-ink);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: minmax(220px, 1fr) 2.5fr;
    gap: 3rem;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.footer-brand-logo {
  display: block;
  width: 200px;
  height: auto;
  max-width: 100%;
  opacity: 0.92;
}
[data-theme="light"] .footer-brand-logo {
  /* white-artwork PNG becomes dark on light backgrounds */
  filter: brightness(0) saturate(100%) invert(10%) sepia(8%) saturate(1200%) hue-rotate(190deg);
  opacity: 1;
}
.footer-made {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--text-muted) 88%, var(--text));
  margin: 0;
}
.footer-made strong {
  color: var(--text);
  font-weight: 700;
}
.footer-frog { color: currentColor; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
}
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.footer-col h4 {
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple-light);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}
[data-theme="light"] .footer-col h4 { color: var(--purple); }
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-legal-row {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-muted);
}
@media (min-width: 720px) {
  .footer-legal-row {
    flex-direction: row;
    align-items: center;
  }
}
.footer-copy, .footer-tag { margin: 0; }
.footer-tag { color: color-mix(in srgb, var(--text-muted) 88%, var(--text)); }

.footer-legal-fine {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text-muted) 78%, transparent);
}
.footer-legal-fine p { margin: 0; max-width: 780px; }

/* ===== NAV LOGO type refresh (subtle, keeps existing SVG mark) ===== */
.nav-logo {
  gap: 0.55rem;
}
.nav-logo-text {
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--text) 92%, transparent);
}
.nav-logo-accent { color: var(--purple); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
  z-index: 2000; font-size: 0.83rem; color: var(--text-muted);
}
.cookie-banner a { color: var(--purple); text-decoration: underline; }
.cookie-banner button {
  padding: 0.4rem 1rem;
  background: var(--purple); color: #fff;
  border: none; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.cookie-banner.hidden { display: none; }

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}
.legal-page h1 {
  font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem;
}
.legal-page .updated {
  color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.5rem;
  color: var(--purple);
}
.legal-page p, .legal-page li {
  color: var(--text-muted); font-size: 0.93rem; line-height: 1.75; margin-bottom: 0.5rem;
}
.legal-page ul { padding-left: 1.25rem; list-style: disc; }
.legal-page a { color: var(--purple); text-decoration: underline; }

/* ── PRICING ─────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.pricing-card-featured {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 1px var(--purple-light), 0 8px 32px var(--purple-glow);
}
.pricing-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: color-mix(in srgb, var(--bg-2) 90%, transparent);
  color: var(--purple);
  border-radius: 99px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.25rem;
}
.badge-popular {
  background: var(--purple);
  color: #fff;
}
.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: 'Chillax', sans-serif;
}
.pricing-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
}
.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.pricing-features li:last-child { border-bottom: none; }

/* =============================================================
   FROG MASCOT --- hero split, halo, bob, tutor gallery
   Croakdown-style pattern adapted to the Signal palette.
   ============================================================= */

/* Hero split: text left, frog right on desktop; stack on mobile */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.hero-copy { text-align: center; }
.hero-copy .hero-sub { margin-left: auto; margin-right: auto; }
.hero-copy .hero-ctas { justify-content: center; }
.hero-copy .hero-stats { justify-content: center; }
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.hero-art-halo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(520px, 90%);
  height: min(520px, 90%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, var(--purple-glow) 0%, transparent 55%),
    radial-gradient(circle at 60% 55%, rgba(106, 184, 215, 0.16) 0%, transparent 60%);
  filter: blur(30px);
  animation: halo-breath 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-art-frog {
  position: relative;
  z-index: 1;
  width: min(360px, 78%);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.45));
  animation: frog-bob 5.4s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes frog-bob {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50%      { transform: translateY(-14px) rotate(0.4deg); }
}
@keyframes halo-breath {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1.15fr 1fr;
    text-align: left;
    gap: 3rem;
  }
  .hero-copy { text-align: left; }
  .hero-copy .hero-sub { margin-left: 0; margin-right: 0; }
  .hero-copy .hero-ctas { justify-content: flex-start; }
  .hero-copy .hero-stats { justify-content: flex-start; }
  .hero-art { min-height: 480px; }
  .hero-art-frog { width: min(420px, 90%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art-frog,
  .hero-art-halo { animation: none; }
}

/* ---- Meet the Tutor Frogs gallery ---- */
.tutor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.tutor-card {
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.25rem 1.25rem;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.25s ease, box-shadow 0.35s ease, background 0.25s ease;
  will-change: transform;
}
.tutor-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--purple) 55%, var(--border));
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.45);
  background: color-mix(in srgb, var(--bg-2) 92%, transparent);
}
.tutor-frog-wrap {
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.tutor-frog {
  max-height: 170px;
  width: auto;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s ease;
}
.tutor-card:hover .tutor-frog {
  transform: scale(1.08) rotate(-1.5deg);
}
.tutor-name {
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.tutor-tag {
  display: inline-block;
  margin: 0.4rem 0 0.6rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 177, 153, 0.14);
  border: 1px solid rgba(255, 177, 153, 0.35);
  color: var(--purple-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
[data-theme="light"] .tutor-tag {
  background: rgba(181, 61, 30, 0.10);
  border-color: rgba(181, 61, 30, 0.28);
  color: var(--purple);
}
.tutor-blurb {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.tutor-hint {
  margin-top: 1.5rem;
  text-align: center;
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}
@media (prefers-reduced-motion: reduce) {
  .tutor-card,
  .tutor-frog { transition: none; }
  .tutor-card:hover { transform: none; }
  .tutor-card:hover .tutor-frog { transform: none; }
}

/* ---- CTA banner frog bust + handwritten aside ---- */
.cta-frog-bust {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.cta-frog-bust img {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.4));
  animation: frog-bob 5.4s ease-in-out infinite;
}
.cta-hand {
  margin-top: 0.75rem;
  font-family: 'Chillax', 'General Sans', sans-serif;
  font-style: italic;
  font-weight: 500;
  color: var(--purple-light);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
@media (prefers-reduced-motion: reduce) {
  .cta-frog-bust img { animation: none; }
}
