/* Myndzet "wow" layer: dark brand stage for the hero, brand film band, split-screen login.
   Loaded last so it can override earlier rules. */
:root{--wow-navy:#0B1440;--wow-navy-2:#151A5E;--wow-cyan:#38D3F0;--wow-violet:#8B6CFF}

/* ---------- HERO STAGE (home page) ---------- */
.hero-visual.hv2{
  isolation:isolate;overflow:hidden;border-radius:34px;padding:56px 30px 34px;
  background:
    radial-gradient(60% 70% at 22% 18%,rgba(139,108,255,.55),transparent 62%),
    radial-gradient(58% 70% at 88% 88%,rgba(56,211,240,.38),transparent 62%),
    linear-gradient(160deg,var(--wow-navy),var(--wow-navy-2) 58%,#0d1033);
  box-shadow:0 30px 80px rgba(11,20,64,.38),0 0 0 1px rgba(255,255,255,.08) inset;
}
.hero-visual.hv2::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.7;
  background-image:radial-gradient(1.5px 1.5px at 12% 22%,#fff,transparent),radial-gradient(1px 1px at 78% 12%,#cfe,transparent),radial-gradient(1.5px 1.5px at 62% 38%,#fff,transparent),radial-gradient(1px 1px at 30% 70%,#fff,transparent),radial-gradient(1.5px 1.5px at 90% 56%,#bdf,transparent),radial-gradient(1px 1px at 8% 88%,#fff,transparent),radial-gradient(1px 1px at 50% 92%,#cfe,transparent);
  animation:wowTwinkle 5s ease-in-out infinite alternate}
.hv-glow{display:none}
.hv2 .hv-cap{color:rgba(255,255,255,.74)}
.hv2 .hv-cap b{color:#fff}
.hv2 .hv-phone{box-shadow:0 0 0 7px #0A0F2B,0 0 0 8.5px rgba(255,255,255,.18),0 24px 60px rgba(0,0,0,.45),0 0 90px rgba(56,211,240,.28)}
.hv2 .hv-panel{box-shadow:0 24px 60px rgba(0,0,0,.4),0 0 80px rgba(139,108,255,.32)}
.hv-chip{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:99px;font-size:12.5px;font-weight:700;color:#0B1440;background:rgba(255,255,255,.94);box-shadow:0 10px 30px rgba(0,0,0,.35);white-space:nowrap}
.hv-chip.c1{top:34px;right:34px}
.hv-chip.c2{left:26px;bottom:96px}
.hv-chip.c3{right:26px;bottom:40px;background:linear-gradient(135deg,var(--wow-cyan),var(--wow-violet));color:#fff}
@media (prefers-reduced-motion:no-preference){
  .hv-chip.c1{animation:wowFloat 5s ease-in-out infinite}
  .hv-chip.c2{animation:wowFloat 6s -2s ease-in-out infinite}
  .hv-chip.c3{animation:wowFloat 5.5s -3s ease-in-out infinite}
  .hv-child{animation:wowRise .9s cubic-bezier(.2,.8,.2,1) both}
  .hv-dash{animation:wowRise 1s .15s cubic-bezier(.2,.8,.2,1) both,dvFloat 8s 1.2s -2s ease-in-out infinite}
}
@keyframes wowFloat{50%{transform:translateY(-9px)}}
@keyframes wowRise{from{opacity:0;transform:translateY(40px) scale(.97)}to{opacity:1;transform:none}}
@keyframes wowTwinkle{from{opacity:.35}to{opacity:.85}}

@media (min-width:1001px){
  .hero{padding:22px 0 44px}
  .hero-inner{grid-template-columns:1fr 1.14fr;gap:40px;align-items:start}
  .hero-inner>div:first-child{padding-top:34px}
  .hero-visual.hv2{padding:46px 40px 28px}
  .hv-child{flex:0 1 268px}
  .hv-dash{flex:0 1 340px;margin:54px 0 0 -18px}
  .hv-chip.c1{top:22px;right:40px}
  .hv-chip.c2{left:auto;right:34px;bottom:104px}
  .hv-chip.c3{right:34px;bottom:50px}
}
.hv2 .hv-panel-head b{white-space:nowrap}
/* headline gets a gentle brand gradient on the highlighted words */
.hero h1 em{background:linear-gradient(90deg,#2f8a73,#6a5bd6);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* ---------- PHONE: phone demo above the fold ---------- */
@media (max-width:720px){
  .hero{padding:18px 0 28px}
  .hero-inner{gap:22px;padding-top:0}
  .hero-eyebrow{font-size:10px;padding:6px 11px;margin-bottom:12px;letter-spacing:.07em}
  .hero h1{font-size:clamp(28px,8.4vw,34px);margin-bottom:10px}
  .hero-tag{font-size:15.5px;margin:0 0 14px}
  .hero-lead{display:none}
  .hero-actions{margin-bottom:12px}
  .hero-actions .btn-outline{display:none}
  .hero-note{margin:0 0 4px}
  .hero-trustline{display:none}
  .hero-visual.hv2{padding:40px 14px 22px;border-radius:28px;margin:0 -4px}
  .hv-child{width:min(292px,100%)}
  .hv-chip.c1{top:14px;right:12px;font-size:11.5px;padding:7px 11px}
  .hv-chip.c2{display:none}
  .hv-chip.c3{display:none}
}

/* ---------- BRAND FILM BAND ---------- */
.wow-film{position:relative;padding:72px 0 80px;background:linear-gradient(180deg,var(--wow-navy),#0a0f33);color:#fff;overflow:hidden}
.wow-film::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(50% 60% at 50% 0%,rgba(139,108,255,.35),transparent 70%),radial-gradient(40% 50% at 90% 100%,rgba(56,211,240,.22),transparent 70%)}
.wf-head{position:relative;text-align:center;max-width:680px;margin:0 auto 34px}
.wf-eyebrow{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--wow-cyan);margin-bottom:12px}
.wf-head h2{font-family:var(--font-display);font-weight:500;font-size:clamp(28px,4.2vw,44px);line-height:1.1;letter-spacing:-.025em;color:#fff}
.wf-head p{margin-top:12px;color:rgba(255,255,255,.72);font-size:16.5px;line-height:1.6}
.wf-frame{position:relative;max-width:980px;margin:0 auto;border-radius:20px;overflow:hidden;background:#070b24;box-shadow:0 40px 100px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.12),0 0 120px rgba(139,108,255,.28)}
.wf-bar{display:flex;align-items:center;gap:7px;padding:11px 16px;background:#10163f;font-size:12px;color:rgba(255,255,255,.5)}
.wf-bar i{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.22)}
.wf-bar span{margin:0 auto;padding:3px 18px;border-radius:99px;background:rgba(255,255,255,.08)}
.wf-video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#070b24}
.wf-play{position:absolute;left:50%;top:calc(50% + 18px);transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;border:0;cursor:pointer;color:#fff;background:linear-gradient(135deg,var(--wow-cyan),var(--wow-violet));box-shadow:0 12px 40px rgba(0,0,0,.5);display:grid;place-items:center;transition:transform .2s,opacity .3s}
.wf-play:hover{transform:translate(-50%,-50%) scale(1.07)}
.wf-play svg{width:30px;height:30px;margin-left:4px}
.wf-frame.playing .wf-play{opacity:0;pointer-events:none}
.wf-points{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px;margin-top:30px;font-size:14px;color:rgba(255,255,255,.8)}
.wf-points span::before{content:"✓";color:var(--wow-cyan);font-weight:800;margin-right:8px}
@media (max-width:720px){.wow-film{padding:52px 0 60px}.wf-frame{border-radius:16px}.wf-play{width:60px;height:60px}.wf-points{flex-direction:column;align-items:flex-start;max-width:320px;margin-left:auto;margin-right:auto}}

/* ---------- LOGIN: split screen on desktop, video backdrop on phones ---------- */
.au-stage{position:relative;overflow:hidden;background:#070f2b;color:#fff}
.au-stage video{display:block;object-fit:cover;width:100%;height:100%}
.au-copy{display:none}
.au-on .center > div > a.brand{display:none}

/* phones: the film plays behind the top of the page and fades into the brand navy; the same login card sits over it */
@media (max-width:899px){
  body.au-on{background:linear-gradient(180deg,#070f2b 0,#0b1342 360px,#14185a 100%);background-attachment:scroll}
  .au-stage{position:absolute;top:0;left:0;right:0;height:276px;background:none;z-index:0;
    -webkit-mask-image:linear-gradient(180deg,#000 80%,transparent);mask-image:linear-gradient(180deg,#000 80%,transparent)}
  .au-stage video{position:absolute;left:50%;top:-126px;transform:translateX(-50%);width:76%;height:auto;aspect-ratio:9/16;
    -webkit-mask-image:radial-gradient(ellipse 62% 56% at 50% 50%,#000 55%,transparent 100%);mask-image:radial-gradient(ellipse 62% 56% at 50% 50%,#000 55%,transparent 100%)}
  .au-on .center{position:relative;z-index:1;align-items:start;padding:262px 16px 20px}
  .au-on .card{background:rgba(255,253,250,.97);border-color:rgba(255,255,255,.35);box-shadow:0 24px 60px rgba(0,0,0,.45)}
  .au-on > div:last-of-type{position:relative;z-index:1;color:rgba(255,255,255,.7)!important}
  .au-on > div:last-of-type a{color:rgba(255,255,255,.88)}
  .au-on .center > div > p.small{color:rgba(255,255,255,.8)}
  .au-on .center > div > p.small a.link{color:#fff;text-decoration:underline}
}

/* desktop: brand film left, login right, both centred in their own half */
@media (min-width:900px){
  body.au-on{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-rows:1fr auto;min-height:100vh}
  .au-stage{grid-row:1/3;grid-column:1;position:sticky;top:0;height:100vh;
    background:radial-gradient(60% 50% at 50% 30%,#1a2276 0,#0b1342 55%,#070f2b 100%)}
  .au-stage::before{content:"";position:absolute;inset:0;pointer-events:none;
    background:radial-gradient(40% 30% at 85% 90%,rgba(56,211,240,.22),transparent 70%),radial-gradient(35% 30% at 10% 15%,rgba(139,108,255,.25),transparent 70%)}
  .au-stage video{position:absolute;left:50%;top:1%;transform:translateX(-50%);height:84%;width:auto;aspect-ratio:9/16;
    -webkit-mask-image:radial-gradient(ellipse 60% 55% at 50% 48%,#000 58%,transparent 100%);mask-image:radial-gradient(ellipse 60% 55% at 50% 48%,#000 58%,transparent 100%)}
  .au-stage::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(180deg,rgba(7,15,43,0),rgba(7,15,43,.92) 70%);pointer-events:none}
  .au-copy{display:block;position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 clamp(40px,6vw,88px) clamp(36px,6vh,64px)}
  .au-copy h2{font-family:var(--disp,serif);font-weight:500;font-size:clamp(32px,3.3vw,48px);line-height:1.08;letter-spacing:-.025em;color:#fff}
  .au-copy p{margin-top:12px;color:rgba(255,255,255,.78);font-size:clamp(15px,1.2vw,17px);line-height:1.6;max-width:480px}
  .au-copy ul{list-style:none;margin-top:18px;display:flex;flex-wrap:wrap;gap:8px 12px}
  .au-copy li{font-size:13px;color:rgba(255,255,255,.92);background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);padding:7px 13px;border-radius:99px;backdrop-filter:blur(6px)}
  .au-copy li::before{content:"✓";color:var(--wow-cyan);font-weight:800;margin-right:8px}
  .au-on .center{grid-column:2;grid-row:1/3;padding:48px clamp(24px,5vw,72px) 12px;
    background:radial-gradient(55% 40% at 80% 8%,rgba(139,108,255,.16),transparent 70%),radial-gradient(50% 40% at 10% 100%,rgba(56,211,240,.12),transparent 70%)}
  .au-on .center > div{width:100%;max-width:440px;margin:0 auto}
  .au-on .card{padding:34px;border-radius:26px;box-shadow:0 30px 80px rgba(70,60,140,.18),0 2px 6px rgba(70,60,140,.06)}
  .au-on .center > div > p.small{text-align:center}
  .au-on > div:last-of-type{grid-column:2;grid-row:1/3;align-self:end;position:relative;z-index:2;padding:6px 24px 22px!important}
}
@media (prefers-reduced-motion:reduce){.hv-chip,.hv-child,.hv-dash,.hero-visual.hv2::after{animation:none!important}}

/* ---------- LOGIN: design review pass (one palette, one type voice, clearer hierarchy) ---------- */
.au-on{--au-indigo:#4B3FD0;--au-teal:#1F8A78;--au-line:#C9CEDC}
.au-on h1,.au-on h2,.au-on .card h2{font-family:"Fraunces",Georgia,serif;font-weight:600;letter-spacing:-.02em}
.au-on .card{position:relative;overflow:hidden}
.au-on .card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--au-teal),var(--au-indigo),#38D3F0)}
.au-on .card h2#title{font-size:30px;line-height:1.1;margin-top:4px}
.au-on .card h2#title + .small{margin-top:6px;font-size:14px}
/* inputs: visible border, brand focus ring, calm autofill */
.au-on input:not([type=checkbox]){background:#fff;border:1.5px solid var(--au-line);border-radius:14px;min-height:48px;transition:border-color .15s,box-shadow .15s}
.au-on input:not([type=checkbox]):hover{border-color:#aab1c6}
.au-on input:not([type=checkbox]):focus,.au-on input:not([type=checkbox]):focus-visible{outline:0;border-color:var(--au-indigo);box-shadow:0 0 0 4px rgba(75,63,208,.18)}
.au-on input:-webkit-autofill,.au-on input:-webkit-autofill:hover,.au-on input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 40px #fff inset!important;box-shadow:0 0 0 40px #fff inset!important;-webkit-text-fill-color:var(--ink,#333)!important;caret-color:var(--ink,#333)}
.au-on label{color:#4b4f5e}
/* primary button: brand gradient, readable white text */
.au-on .btn.wide:not(.ghost){background:linear-gradient(135deg,var(--au-teal),var(--au-indigo));color:#fff;min-height:52px;font-size:16px;font-weight:800;border-radius:16px;box-shadow:0 10px 26px rgba(75,63,208,.32);letter-spacing:.01em}
.au-on .btn.wide:not(.ghost):hover{filter:brightness(1.07);transform:translateY(-1px)}
.au-on .btn.wide:disabled{opacity:.65}
.au-on .btn.ghost.wide{min-height:50px;font-weight:700;background:#fff;border:1.5px solid var(--au-line);border-radius:16px}
.au-on .btn.ghost.wide:hover{border-color:var(--au-indigo)}
/* "or use your email" divider */
.au-or{display:flex;align-items:center;gap:12px;margin:18px 0 2px;font-size:12.5px;color:#6b7080}
.au-or::before,.au-or::after{content:"";flex:1;height:1px;background:var(--au-line)}
/* forgot password where people look for it */
.au-pwhead{display:flex;align-items:baseline;justify-content:space-between}
.au-pwhead label{margin-bottom:6px}
.au-forgot{font-size:12.5px;font-weight:700;color:var(--au-indigo);text-decoration:none}
.au-forgot:hover{text-decoration:underline}
body[data-mode=signup] .au-forgot{display:none}
.au-on #swapTxt,.au-on .card > p.small{font-size:13.5px}
.au-on a.link{color:var(--au-indigo);text-decoration:none}
.au-on a.link:hover{text-decoration:underline}
/* legal: quiet, at the bottom of the card */
.au-legal{margin-top:18px;padding-top:14px;border-top:1px solid #E6E8F0;font-size:12px;line-height:1.5;color:#5f6475;text-align:center}
.au-legal a{color:#5b5f72;text-decoration:underline}
/* child sign-in: a clear, friendly route for students */
.au-child{display:flex;align-items:center;gap:12px;margin-top:16px;padding:12px 14px;border-radius:18px;text-decoration:none;color:var(--ink,#333);background:#fff;border:1.5px solid var(--au-line);box-shadow:0 6px 18px rgba(70,60,140,.08);transition:transform .15s,border-color .15s,box-shadow .15s}
.au-child:hover{transform:translateY(-1px);border-color:var(--au-indigo);box-shadow:0 10px 26px rgba(75,63,208,.16)}
.au-av{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:22px;flex:none;background:linear-gradient(135deg,#FFE9A8,#C9B8FF)}
.au-child b{display:block;font-size:14.5px}
.au-child small{display:block;font-size:12.5px;color:#6b7080;margin-top:2px}
.au-arrow{margin-left:auto;font-weight:800;color:var(--au-indigo);font-size:18px}
@media (max-width:899px){
  .au-on .center > div > .au-child{background:rgba(255,255,255,.97)}
  .au-on .card{padding:26px 22px}
}
/* left panel: real icons instead of ticks */
.au-copy li::before{content:none!important}
.au-copy li{display:inline-flex;align-items:center;gap:10px;padding:6px 14px 6px 6px!important}
.au-ico{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(56,211,240,.28),rgba(255,200,60,.28));border:1px solid rgba(255,255,255,.18)}
.au-ico svg{width:16px;height:16px;fill:none;stroke:#FFD54A;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.au-copy li:nth-child(2) .au-ico svg{stroke:#38D3F0}
@media (min-width:900px){.au-on > div:last-of-type a{color:#6b7080;text-decoration:none}.au-on > div:last-of-type a:hover{text-decoration:underline}}

/* hero stage: shorter, so the whole blue box fits on laptop screens */
@media (min-width:1001px){
  .hero{padding:10px 0 36px}
  .hero-visual.hv2{padding:34px 40px 18px}
  .hv-dash{margin-top:44px}
  .hv-chip.c1{top:16px}
  .hv-child .hv-phone .demo-q{min-height:3.6em;margin:8px 0 10px}
  .hv-child .hv-phone .demo-fb{min-height:2.6em;margin-top:6px}
  .hv-child .hv-phone .demo-opt{min-height:40px}
  .hv-child .hv-phone .demo-card{padding:12px 14px 10px}
  .hv-child .hv-phone .demo-reward{margin-top:8px;padding:10px 14px}
  .hv2 .hv-cap{margin-top:12px}
}
@media (min-width:1001px) and (max-height:760px){
  .hero-visual.hv2{zoom:.9}
}
