/* =====================================================================
   Neuron Tuition: "Spark" hybrid theme (Nov 2026)
   - A night-plum band holds the nav, the neuron hero and the stats: the
     cinematic part, matching the 3D intro and the video.
   - Everything below is the warm light site, with Spark accents:
     violet #8F6BFF -> hot pink #FF2E88 -> spark #FF6FA3 -> peach #FF9A6B.
   Loaded after each page's own <style>, so it only overrides.
   Roll back: remove the <link> to this file.
   ===================================================================== */
:root{
  --grad:linear-gradient(100deg,#9D7BFF 0%,#FF4F9A 48%,#FF9A6B 100%);          /* on dark */
  --grad-deep:linear-gradient(100deg,#6A45E8 0%,#D81E6E 50%,#E35A2E 100%);     /* on light: keeps text contrast */
  --grad-pastel:linear-gradient(135deg,#EFE6FF 0%,#FFE1EC 52%,#FFE9DC 100%);
  --cta:linear-gradient(100deg,#FF5C9D,#FF7FAE 55%,#FFA27A);
  --night:#160A12;
}
::selection{background:#FF4F9A;color:#fff}

/* ---------- the dark band: nav + hero + stats ---------- */
.dark-band,.nav{
  --ground:#160A12; --surface:#221220; --ink:#FBEFF3; --muted:#D9BCCA;
  --pink:#3A1A2E; --rose:#E9A8BA; --lilac:#2B1F3C; --accent:#FF6FA3; --plum:#4A1A33;
  --line:#3A2234; --axon:#5A2E48; --myelin:#33264A; --spark:#FF7DB0;
}
.dark-band{position:relative;color:var(--ink);isolation:isolate;
  margin-top:-74px;padding-top:74px;padding-bottom:clamp(200px,24vw,320px);margin-bottom:calc(-1 * clamp(60px,8vw,110px));
  /* night plum melting down through plum, berry and rose into the light page */
  background:
    radial-gradient(55% 34% at 78% 16%, rgba(255,46,136,.20), transparent 70%),
    radial-gradient(45% 30% at 8% 6%, rgba(143,107,255,.24), transparent 70%),
    linear-gradient(180deg,#160A12 0%,#160A12 calc(100% - clamp(300px,34vw,460px)),#24101F calc(100% - clamp(250px,28vw,380px)),#3F1631 calc(100% - clamp(200px,22vw,300px)),#6E2A4F calc(100% - clamp(150px,17vw,225px)),#A9597C calc(100% - clamp(105px,12vw,160px)),#DDA0B6 calc(100% - clamp(65px,7.5vw,100px)),#F6DDE4 calc(100% - clamp(30px,3.5vw,48px)),#FCF5F4 100%)}
.dark-band::after{content:"";position:absolute;inset:0 0 40% 0;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 30% at 30% 38%, rgba(143,107,255,.14), transparent 70%);
  animation:ntAurora 26s ease-in-out infinite alternate}
@keyframes ntAurora{to{transform:translate3d(6%,-4%,0) scale(1.08)}}
@media (prefers-reduced-motion:reduce){.dark-band::after{animation:none}}
.dark-band section.block:last-child{margin-bottom:0}
.hero h1 .glow{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;font-style:italic;filter:drop-shadow(0 0 26px rgba(255,46,136,.35))}
.hero h1{font-size:clamp(40px,5.2vw,70px);line-height:1.04}
.hero h1 .nw{white-space:nowrap}
@media (max-width:900px){.hero h1{font-size:clamp(32px,9.4vw,52px)}}
.hero .lede{color:var(--muted)}
.levels b{color:var(--ink)}
.dark-band .btn-line{border-color:rgba(255,143,184,.55);color:var(--ink)}
.dark-band .btn-line:hover{background:rgba(255,111,163,.1);border-color:#FF7DB0}

/* stats: glass card on the dark band, gradient numbers */
.plumcard{background:
    radial-gradient(120% 140% at 0% 0%, rgba(143,107,255,.36), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(255,154,107,.24), transparent 55%),
    linear-gradient(135deg,#3E1531,#5B1B40 55%,#3A1A3E);
  box-shadow:0 0 0 1px rgba(255,143,184,.22),0 30px 80px -40px rgba(255,46,136,.6)}
.stat b{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 18px rgba(255,79,154,.3))}
.stat span{color:#F1D9E2}

/* ---------- nav: dark over the band, light once you scroll past ---------- */
.nav{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;transition:background-color .35s ease,box-shadow .35s ease}
.nav .brand{color:var(--ink)}
.brand svg path{stroke:#FF6FA3}
.brand svg circle[fill="#F6D6DE"]{fill:#2B1222;stroke:#FF8FB8}
.brand svg circle[fill="#E9A8BA"]{fill:#FF9A6B}
.links a:hover{color:#FF8FB8}
.burger{border-color:rgba(255,214,228,.7)}.burger span{background:#FBEFF3}
html.nav-light .nav{
  --ink:#2E1422; --muted:#5E3A4C; --surface:#fff; --accent:#9E3A5F;
  background:color-mix(in srgb,#FCF5F4 86%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:0 1px 0 rgba(158,58,95,.12),0 10px 30px -20px rgba(74,26,51,.35)}
html.nav-light .brand svg path{stroke:#C42A6A}
html.nav-light .brand svg circle[fill="#F6D6DE"]{fill:#FFE1EC;stroke:#C42A6A}
html.nav-light .links a:hover{color:#C42A6A}
html.nav-light .burger{border-color:#2E1422}html.nav-light .burger span{background:#2E1422}
.menu.open{background:#fff;--ink:#2E1422;box-shadow:0 24px 60px rgba(46,20,34,.25),0 0 0 1px rgba(255,111,163,.18)}

/* ---------- buttons: the CTA wears the Spark gradient everywhere ---------- */
.btn-fill,.btn:not(.btn-line):not(.btn-ghost):not(.btn-wa):not(.btn-pink){
  background:var(--cta);background-size:160% 100%;background-position:0 0;color:#250B19!important;border-color:transparent;
  box-shadow:0 8px 26px -10px rgba(255,79,154,.7);
  transition:transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s,background-position .6s}
.btn-fill:hover,.btn:not(.btn-line):not(.btn-ghost):not(.btn-wa):not(.btn-pink):hover{
  transform:translateY(-2px);background-position:100% 0;box-shadow:0 14px 40px -10px rgba(255,79,154,.85)}
.links a.btn,.links a.btn:hover,.menu a.btn{color:#250B19}

/* ---------- light body: Spark accents ---------- */
body::before{content:"";position:fixed;inset:-10vmax;z-index:0;pointer-events:none;
  background:
    radial-gradient(34vmax 28vmax at 92% 40%, rgba(255,111,163,.10), transparent 70%),
    radial-gradient(34vmax 26vmax at 4% 70%, rgba(143,107,255,.09), transparent 70%),
    radial-gradient(36vmax 26vmax at 70% 100%, rgba(255,154,107,.09), transparent 70%)}
main,footer{position:relative;z-index:1}
.label{color:#C42A6A}
.label::before{background:var(--grad-deep);height:3px;width:28px}
.boards-label{color:#C42A6A}
.card{box-shadow:0 0 0 1px rgba(158,58,95,.08),0 24px 60px -36px rgba(196,42,106,.35)}
.syn-lit .card,.syn-lit.card{box-shadow:0 0 0 1.5px rgba(255,111,163,.6),0 24px 70px -30px rgba(255,46,136,.45)}

/* subjects */
.lvl{transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s}
.lvl:nth-child(2){background:var(--grad-pastel)}
.lvl:hover{transform:translateY(-3px);box-shadow:0 18px 44px -28px rgba(196,42,106,.55)}
.levels-grid .lvl:nth-child(1) h3{color:#6A45E8}.levels-grid .lvl:nth-child(2) h3{color:#C42A6A}.levels-grid .lvl:nth-child(3) h3{color:#D2501F}

/* method */
.steps .rail i{background:var(--grad-deep)}
.step.on .node{background:var(--cta)!important;color:#250B19!important;box-shadow:0 0 0 8px rgba(255,79,154,.16),0 0 28px rgba(255,79,154,.45)!important}

/* pricing */
.price .row b{background:var(--grad-deep);-webkit-background-clip:text;background-clip:text;color:transparent}
.price .row b small{-webkit-text-fill-color:var(--muted)}
.price.hot{background:
    radial-gradient(120% 140% at 0% 0%, rgba(143,107,255,.36), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(255,154,107,.24), transparent 55%),
    linear-gradient(135deg,#3E1531,#5B1B40 55%,#3A1A3E);box-shadow:0 24px 60px -30px rgba(255,46,136,.55)}
.price.hot .row b{background:linear-gradient(100deg,#FFD0E0,#FFB48F);-webkit-background-clip:text;background-clip:text}
.price.hot .row b small{-webkit-text-fill-color:var(--on-plum-muted)}

/* reviews */
.review{background:
    radial-gradient(70% 90% at 12% 8%, rgba(143,107,255,.18), transparent 60%),
    radial-gradient(70% 90% at 92% 92%, rgba(255,154,107,.18), transparent 60%),
    #FFE4EC}
.stars svg path{fill:url(#ntStarGrad)}
.stars svg{filter:drop-shadow(0 2px 6px rgba(255,111,163,.35))}
.quote{box-shadow:0 0 0 1px rgba(255,255,255,.6),0 14px 34px -26px rgba(196,42,106,.5)}
figcaption{color:#C42A6A}

/* tutors: one clean pill for each subject, outlined pills for the practical details */
.tags span{background:transparent;box-shadow:inset 0 0 0 1.5px #EBCFD8;color:var(--muted)}
.tags .subj{background:#FFE4EC;box-shadow:none;color:#7A1F48}
.photo.has-img{box-shadow:0 20px 50px -30px rgba(196,42,106,.6)}

/* faq */
.qa i{background:var(--grad-pastel);box-shadow:inset 0 0 0 1px rgba(255,111,163,.35)}
.qa i::before,.qa i::after{background:#C42A6A}
.qa summary:hover{color:#C42A6A}

/* contact: the second dark anchor, bookending the page */
.contact{background:
    radial-gradient(110% 130% at 0% 0%, rgba(143,107,255,.38), transparent 55%),
    radial-gradient(110% 130% at 100% 100%, rgba(255,154,107,.26), transparent 55%),
    linear-gradient(135deg,#2A0F22,#4A1736 55%,#2C1636);
  box-shadow:0 0 0 1px rgba(255,143,184,.18),0 40px 90px -40px rgba(255,46,136,.6)}
.contact .label{color:#FFC2D7}.contact .label::before{background:var(--grad)}
.contact .btn-pink{background:#FFE3EC;color:#3A1028}
.contact .btn-ghost{border-color:rgba(255,214,228,.6)}
form{box-shadow:0 30px 70px -30px rgba(0,0,0,.55)}

/* page-wide axon in Spark colours */
.ranvier.passed{fill:#FF4F9A;stroke:#FF4F9A}
.term.fired .branch{stroke:#FF4F9A}
#pulseCore{stroke:#FF2E88}
.bookbar{border-top:1px solid rgba(255,111,163,.18)}

/* ---------- sub-pages: guides, privacy, 404 ---------- */
body > header .brand svg path{stroke:#C42A6A}
body > header .brand svg circle[fill="#F6D6DE"]{fill:#FFE1EC;stroke:#C42A6A}
.bs{color:#C42A6A}
.card h2::after{content:"";display:block;width:34px;height:3px;margin-top:10px;border-radius:3px;background:var(--grad-deep)}
body > .wrap > h1,body > main h1,article h1{background:linear-gradient(100deg,#2E1422 25%,#9E3A5F 60%,#D2501F);-webkit-background-clip:text;background-clip:text;color:transparent}
.dark-band h1{background:none;-webkit-background-clip:initial;background-clip:initial;color:var(--ink)}

/* ---------- the once-per-visit 3D intro ---------- */
.nt-intro{position:fixed;inset:0;z-index:100;background:#180C13;transition:opacity 1.1s cubic-bezier(.22,1,.36,1),visibility 1.1s}
.nt-intro iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none;opacity:0;transition:opacity .8s}
.nt-intro.ready iframe{opacity:1}
.nt-intro .nt-word{position:absolute;left:0;right:0;bottom:clamp(56px,12vh,120px);text-align:center;pointer-events:none;opacity:0;transform:translateY(12px);transition:opacity 1.2s cubic-bezier(.22,1,.36,1),transform 1.2s cubic-bezier(.22,1,.36,1)}
.nt-intro.word .nt-word{opacity:1;transform:none}
.nt-word b{display:block;font:400 clamp(30px,4.6vw,56px)/1.05 var(--serif,Fraunces,Georgia,serif);letter-spacing:-.02em;color:#FBEFF3}
.nt-word b i{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.nt-word span{display:block;margin-top:12px;font:700 11.5px/1 var(--sans,Manrope,sans-serif);letter-spacing:.34em;text-transform:uppercase;color:#E9A8BA}
.nt-intro button{position:absolute;right:clamp(16px,4vw,48px);bottom:clamp(16px,4vh,36px);min-height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,143,184,.3);background:rgba(24,12,19,.6);color:#D9BCCA;font:700 11.5px var(--sans,Manrope,sans-serif);letter-spacing:.2em;text-transform:uppercase;cursor:pointer}
.nt-intro button:hover{color:#fff;border-color:#FF6FA3}
.nt-intro.out{opacity:0;visibility:hidden;pointer-events:none}
@media (max-width:760px){.nt-intro button{top:calc(16px + env(safe-area-inset-top,0px));bottom:auto}}
html.nt-lock,html.nt-lock body{overflow:hidden}
