:root{--bg:#07101f;--panel:#0d192a;--panel2:#111f33;--gold:#f4cf7a;--text:#f7f4ed;--muted:#9aa8bb;--line:#24344a}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 25% 0,#15243b 0,#07101f 38%,#050b15 100%);color:var(--text);font:16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}header{max-width:1240px;margin:auto;padding:18px 28px 0;display:flex;align-items:center;justify-content:space-between}header img{width:330px;max-width:48vw;border-radius:8px;mix-blend-mode:screen}nav{display:flex;gap:8px}.nav{background:transparent;color:#d8dfeb;border:0;padding:11px 14px;cursor:pointer}.nav:hover{color:var(--gold)}main{max-width:1180px;margin:35px auto 80px;padding:0 28px}.view{display:none}.view.active{display:block}.hero{display:grid;grid-template-columns:1.12fr .88fr;gap:55px;align-items:center;min-height:570px}.card,.panel,.assignment,.mini,.feature{background:linear-gradient(145deg,rgba(17,31,51,.94),rgba(8,18,32,.96));border:1px solid var(--line);box-shadow:0 25px 80px #0006}.conversation{padding:50px;border-radius:22px;min-height:400px;display:flex;align-items:center}.conversation h1,.pagehead h1{font-size:clamp(32px,4vw,52px);margin:8px 0 14px}.lead{font-size:20px;color:#cbd4e1;line-height:1.5}.side h2{font-size:38px;line-height:1.1;margin:10px 0 20px}.side>p,.pagehead p{color:#b6c1d0;line-height:1.7}.eyebrow{font-size:12px;letter-spacing:.2em;color:var(--gold);font-weight:800}.mini{padding:18px 20px;border-radius:13px;margin-top:14px;color:#b9c5d5}.mini b{color:white}label{display:block;margin:28px 0 8px;color:#d7deea}.row,.twocol{display:flex;gap:10px}input,select{width:100%;background:#07111f;border:1px solid #34475f;color:white;border-radius:10px;padding:14px;font-size:16px}button{background:var(--gold);border:0;border-radius:10px;padding:13px 18px;font-weight:750;color:#18202a;cursor:pointer}.choice{display:block;width:100%;text-align:left;margin:10px 0;background:#14243a;color:white;border:1px solid #30445e}.choice small{display:block;color:#aab7c8;font-weight:400;margin-top:4px}.skip{display:inline-block;color:#9fb0c5;margin-top:18px;cursor:pointer}.pagehead{margin:65px 0 30px}.builder{display:grid;grid-template-columns:1.25fr .75fr;gap:24px}.panel,.assignment{border-radius:18px;padding:28px}.panel h3{margin-top:28px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{background:#13243a;color:#dfe7f1;border:1px solid #31455e;padding:9px 12px}.chip.selected{background:var(--gold);color:#17202b}.picker{border:1px solid var(--line);border-radius:12px;padding:18px;min-height:130px}.skillrow{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid var(--line);gap:12px}.skillrow button{padding:8px 12px}.assignment{position:sticky;top:20px;height:max-content}.assigneditem{padding:13px 0;border-bottom:1px solid var(--line)}.assigneditem small{color:var(--muted)}.assignmentFoot{margin-top:25px}.assignmentFoot button{width:100%;margin:15px 0}.muted{color:var(--muted)}#linkout{font-size:13px;color:var(--gold);word-break:break-all}.featuregrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature{padding:24px;border-radius:15px}.feature h3{margin:5px 0}.feature p{color:var(--muted)}footer{border-top:1px solid #1c2a3d;max-width:1180px;margin:auto;padding:25px 28px 45px;display:flex;gap:30px;color:#77879c;font-size:13px}footer b{color:#b8c4d4}@media(max-width:800px){header{display:block}header img{max-width:100%;width:100%}nav{margin-top:12px}.hero,.builder{grid-template-columns:1fr}.hero{gap:25px}.conversation{padding:28px}.side h2{font-size:30px}.featuregrid{grid-template-columns:1fr}.assignment{position:static}.row{display:block}.row button{margin-top:10px;width:100%}footer{display:block}footer span,footer b{display:block;margin:7px 0}}
.backbtn{background:transparent;color:#c9d3e0;border:1px solid #34475f;padding:8px 12px;margin-bottom:22px}.backbtn:hover{color:var(--gold);border-color:var(--gold)}#language{width:auto;min-width:105px;padding:8px 10px;background:#0d192a;font-size:14px} @media(max-width:800px){#language{max-width:140px}}
/* V3: branded dark frame with a light application surface */
body{background:#050b15;color:#17202b}.brand{background:transparent;padding:0;border:0}.brand img{display:block}.siteShell{max-width:1240px;background:#f7f8fa;border:5px solid #050b15;border-radius:20px;padding:0 42px 55px;min-height:650px;box-shadow:0 20px 70px #0007}.view{color:#17202b}.homeHero{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;padding:72px 0 48px}.homeHero h1{font-size:clamp(40px,5vw,66px);line-height:1.02;margin:10px 0 20px;color:#101927}.homeHero .lead,.pagehead p,.side>p{color:#536174}.homeCallout{background:#0d192a;color:#fff;padding:34px;border-radius:18px;box-shadow:0 18px 50px #0b132322}.homeCallout h2{font-size:31px;margin:9px 0 15px}.homeCallout p{color:#c7d0dd;line-height:1.65}.ctaRow{display:flex;gap:12px;margin-top:28px}.secondary{background:white;border:1px solid #c7ced8}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border-top:1px solid #dde2e8;padding-top:30px}.benefits>div{padding:10px 18px}.benefits h3{margin:0 0 8px}.benefits p{color:#647184;line-height:1.55}.card,.panel,.assignment,.mini,.feature{background:white;border:1px solid #dfe3e9;box-shadow:0 12px 35px #14203312}.conversation{background:white}.side h2,.conversation h1,.pagehead h1{color:#101927}.lead{color:#536174}.mini{color:#5d6b7d}.mini b{color:#17202b}.choice{background:#f5f7fa;color:#17202b;border-color:#d7dde5}.choice small{color:#69778a}.picker{border-color:#dfe3e9}.skillrow{border-color:#e4e8ed}.assigneditem{border-color:#e4e8ed}.muted{color:#748195}input,select{background:white;border-color:#cdd5df;color:#17202b}.chip{background:#f2f5f8;color:#283548;border-color:#d6dde6}.feature p{color:#667487}.pagehead{margin-top:55px}.hero{min-height:570px}.primaryNav{background:var(--gold);color:#17202b;border-radius:9px}.primaryNav:hover{color:#17202b}footer{color:#8995a5} @media(max-width:800px){.siteShell{padding:0 20px 40px;border-radius:12px}.homeHero,.benefits{grid-template-columns:1fr}.homeHero{padding-top:40px}.ctaRow{display:block}.ctaRow button{width:100%;margin-bottom:10px}}

/* Marketing/site refinements */
.languageControl{display:flex;align-items:center;gap:5px;border:1px solid #314057;border-radius:9px;padding:0 7px;background:#0d192a;color:#e8edf4}.languageControl .globe{font-size:21px;line-height:1;transform:rotate(18deg)}.languageControl #language{border:0;background:transparent;min-width:82px;padding:9px 3px;color:#e8edf4;appearance:none}.langChevron{font-size:16px;color:#9aa8bb}.homeVisual{background:linear-gradient(155deg,#0d192a,#13253d);color:white;padding:22px;border-radius:22px;box-shadow:0 24px 55px #08101e38;transform:rotate(1deg);border:1px solid #243955}.visualTop{display:flex;justify-content:space-between;align-items:center}.visualPill{font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--gold);border:1px solid #4a5870;border-radius:999px;padding:7px 10px}.visualScore{font-size:22px;font-weight:800;color:var(--gold)}.staffGraphic{height:128px;position:relative;margin:16px -5px 12px;overflow:hidden}.staffLines{position:absolute;inset:20px 0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 17px,#53637b 18px,#53637b 19px)}.note{position:absolute;font-size:46px;color:#f7f4ed;text-shadow:0 3px 12px #000}.n1{left:12%;top:26px}.n2{left:35%;top:50px}.n3{left:57%;top:18px}.n4{left:82%;top:42px}.visualTitle{font-size:24px;font-weight:800;margin:3px 0 12px}.visualSkills{display:grid;gap:8px}.visualSkills>div{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;background:#ffffff0c;border:1px solid #ffffff12;border-radius:12px;padding:10px}.skillIcon{width:34px;height:34px;border-radius:9px;background:#f4cf7a;color:#17202b;display:grid;place-items:center;font-size:20px;font-weight:800}.visualSkills b,.visualSkills small{display:block}.visualSkills small{color:#aebbd0;margin-top:2px}.visualSkills strong{color:#f4cf7a}footer{max-width:1240px;justify-content:space-between;align-items:center;padding-top:28px}.footerCopy{display:flex;gap:26px;align-items:center}.storeCta{text-align:right}.storeCta>span{display:block;color:#d7dfeb;font-weight:700;margin-bottom:8px}.storeBadges{display:flex;align-items:center;justify-content:flex-end;gap:10px}.storeLink{display:block;height:40px}.storeLink img{display:block;height:40px;width:auto}.storeLink[href="#"]{cursor:default}.storeNote{display:block;margin-top:6px;color:#66758a}.homeHero{gap:60px}.benefits>div:before{display:block;font-size:25px;margin-bottom:10px;color:#b28a37}.benefits>div:nth-child(1):before{content:'♩'}.benefits>div:nth-child(2):before{content:'↗'}.benefits>div:nth-child(3):before{content:'♫'}
@media(max-width:800px){nav{flex-wrap:wrap}.languageControl{margin-left:auto}.homeVisual{transform:none;margin-top:8px}.footerCopy{display:block}.footerCopy>*{display:block;margin:7px 0}.storeCta{text-align:left;margin-top:22px}.storeBadges{justify-content:flex-start;flex-wrap:wrap}footer{align-items:flex-start}}

/* Startup musical introduction — web port of practice_lab_intro_screen.dart */
.startupIntro{position:fixed;inset:0;z-index:9999;background:#05070d;opacity:1;transition:opacity .65s ease;overflow:hidden}.startupIntro[hidden]{display:none}.startupIntro.finishing{opacity:0;pointer-events:none}.startupIntroCanvas{display:block;width:100%;height:100%}.startupIntroStart{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-width:150px;padding:14px 24px;border:1px solid #e8c36a;background:#0d192a;color:#ffe7a5;box-shadow:0 0 35px #e8c36a33;font-size:16px;letter-spacing:.04em}.startupIntroStart:hover{background:#16263b;color:#fff}.intro-active{overflow:hidden}


/* v0.3.2 startup presentation: full-screen intro -> full hero + onboarding -> normal site */
.startupIntro{width:100vw;height:100dvh;min-height:100vh;position:fixed;inset:0}
.startupIntroCanvas{position:absolute;inset:0;width:100vw!important;height:100dvh!important;min-height:100vh}
.launchBrandWrap{display:block;min-width:0}
.launchTagline{display:none}

body.launch-onboarding header{
  max-width:none;
  width:100%;
  margin:0;
  padding:0;
  display:block;
  background:#050b15;
  overflow:hidden;
  transition:padding .9s ease,max-width .9s ease,margin .9s ease;
}
body.launch-onboarding .launchBrandWrap{
  width:100%;
  transition:width .9s ease;
}
body.launch-onboarding header .brand{
  display:block;
  width:100%;
  pointer-events:none;
  transition:width .9s ease;
}
body.launch-onboarding header .brand img{
  display:block;
  width:100%;
  max-width:none;
  height:min(48vh,573px);
  object-fit:contain;
  object-position:center;
  border-radius:0;
  margin:0 auto;
  mix-blend-mode:normal;
  transition:width .9s ease,height .9s ease,border-radius .9s ease;
}
body.launch-onboarding .launchTagline{
  display:block;
  margin:-4px 0 0;
  padding:8px 20px 18px;
  text-align:center;
  color:#f4cf7a;
  background:#050b15;
  font-size:clamp(12px,1.15vw,17px);
  font-weight:700;
  letter-spacing:.24em;
  opacity:1;
  transition:opacity .45s ease,max-height .7s ease,padding .7s ease;
}
body.launch-onboarding header nav{
  display:flex;
  position:absolute;
  top:20px;
  right:28px;
  opacity:0;
  pointer-events:none;
  transform:translateY(-8px);
  transition:opacity .5s ease .35s,transform .5s ease .35s;
}
body.launch-onboarding main.siteShell{
  margin-top:0;
  border-radius:0 0 20px 20px;
  transition:margin .9s ease,border-radius .9s ease;
}
body.launch-onboarding #onboarding .hero{
  min-height:0;
  padding:36px 0 18px;
  align-items:start;
}
body.launch-onboarding #onboarding .conversation{
  min-height:340px;
}

/* Animate the full hero back into the normal top-left brand position. */
body.launch-onboarding.launch-exit header{
  max-width:1240px;
  margin:auto;
  padding:18px 28px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  overflow:visible;
}
body.launch-onboarding.launch-exit .launchBrandWrap{width:330px}
body.launch-onboarding.launch-exit header .brand{width:330px;pointer-events:auto}
body.launch-onboarding.launch-exit header .brand img{
  width:330px;
  height:auto;
  max-width:48vw;
  border-radius:8px;
}
body.launch-onboarding.launch-exit .launchTagline{
  opacity:0;
  max-height:0;
  padding-top:0;
  padding-bottom:0;
  overflow:hidden;
}
body.launch-onboarding.launch-exit header nav{
  position:static;
  opacity:1;
  pointer-events:auto;
  transform:none;
}
body.launch-onboarding.launch-exit main.siteShell{border-radius:20px}

@media(max-width:800px){
  body.launch-onboarding header .brand img{height:auto;width:100%}
  body.launch-onboarding #onboarding .hero{padding-top:24px}
  body.launch-onboarding.launch-exit header{display:block}
  body.launch-onboarding.launch-exit .launchBrandWrap,
  body.launch-onboarding.launch-exit header .brand,
  body.launch-onboarding.launch-exit header .brand img{width:100%;max-width:100%}
  body.launch-onboarding.launch-exit header nav{margin-top:12px}
}

/* v0.3.3: explicit app positioning on Home */
.appNotice{margin-top:24px;padding:18px 20px;border-left:4px solid var(--gold);background:#fff9ea;border-radius:0 12px 12px 0}.appNotice p{margin:6px 0 0;color:#4d5968;line-height:1.55}.appNotice .eyebrow{color:#8b6518}

/* v0.3.4: first-visit gate + focused, no-scroll onboarding presentation */
.startupIntro{display:none}
html.pps-intro-needed .startupIntro{display:block}
.startupIntroGate{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:radial-gradient(circle at 50% 48%,#17202d 0,#080b12 46%,#05070d 100%);z-index:2;transition:opacity .35s ease}
.startupIntro.playing .startupIntroGate{opacity:0;pointer-events:none}
.startupGateTitle{color:#f6f1e8;font-size:clamp(24px,3vw,42px);font-weight:650;letter-spacing:.02em;text-align:center;padding:0 24px}
.startupIntroStart{position:static;transform:none;display:block!important;min-width:150px}

body.launch-onboarding{overflow:hidden;background:#050b15}
body.launch-onboarding header{width:calc(100% - 96px);max-width:1400px;margin:0 auto;position:relative}
body.launch-onboarding .launchBrandWrap{position:relative;width:100%}
body.launch-onboarding header .brand img{height:min(43vh,390px);width:100%;object-fit:cover;object-position:center}
body.launch-onboarding .launchTagline{position:absolute;left:43%;right:5%;bottom:7.5%;z-index:3;margin:0;padding:0;background:transparent;text-align:center;font-size:clamp(11px,1.2vw,17px);text-shadow:0 1px 8px #000;pointer-events:none}
body.launch-onboarding main.siteShell{width:calc(100% - 96px);max-width:1400px;height:calc(100dvh - min(43vh,390px));min-height:0;margin:0 auto;padding:22px 42px 24px;border-width:5px;border-top:0;border-radius:0 0 20px 20px;overflow:hidden}
body.launch-onboarding #onboarding{height:100%}
body.launch-onboarding #onboarding .hero{display:block;height:100%;min-height:0;padding:0}
body.launch-onboarding #onboarding .conversation{width:min(760px,100%);height:100%;min-height:0;max-height:100%;margin:0 auto;padding:clamp(22px,3vh,38px) clamp(28px,4vw,48px);overflow:auto}
body.launch-onboarding #onboarding .side{display:none}
body.launch-onboarding footer{display:none}
body.launch-onboarding #onboarding .conversation h1{font-size:clamp(28px,3.3vw,46px);margin-top:6px}
body.launch-onboarding #onboarding .lead{font-size:clamp(16px,1.7vw,19px);margin:10px 0}
body.launch-onboarding #onboarding label{margin-top:18px}

body.launch-onboarding.launch-exit{overflow:auto}
body.launch-onboarding.launch-exit header{width:auto;max-width:1240px}
body.launch-onboarding.launch-exit main.siteShell{width:auto;max-width:1240px;height:auto;min-height:650px;margin:35px auto 80px;padding:0 42px 55px;border-width:5px;border-top:5px solid #050b15;overflow:visible}
body.launch-onboarding.launch-exit footer{display:flex}

@media(max-width:800px){
 body.launch-onboarding header,body.launch-onboarding main.siteShell{width:calc(100% - 32px)}
 body.launch-onboarding header .brand img{height:min(36vh,300px)}
 body.launch-onboarding main.siteShell{height:calc(100dvh - min(36vh,300px));padding:16px}
 body.launch-onboarding .launchTagline{left:35%;right:2%;bottom:7%;letter-spacing:.16em}
 body.launch-onboarding.launch-exit main.siteShell{width:auto;height:auto;padding:0 20px 40px}
 body.launch-onboarding.launch-exit footer{display:block}
}
\n\n/* v0.3.5: focused onboarding refinements */
body.launch-onboarding header{width:calc(100% - 160px);max-width:1400px}
body.launch-onboarding header .brand img{height:min(35vh,330px);object-fit:cover;object-position:center}
body.launch-onboarding .launchTagline{
  left:43%;right:17%;bottom:7.5%;
  font-size:clamp(15px,1.65vw,24px);font-weight:750;letter-spacing:.20em;white-space:nowrap
}
body.launch-onboarding main.siteShell{
  width:calc(100% - 160px);max-width:1400px;
  height:calc(100dvh - min(35vh,330px));
  background:#050b15;border:0;border-radius:0;box-shadow:none;
  padding:18px 0 22px;overflow:hidden
}
body.launch-onboarding #onboarding .hero{height:100%;display:flex;align-items:center;justify-content:center;padding:0}
body.launch-onboarding #onboarding .conversation{
  width:min(860px,calc(100% - 40px));height:auto;min-height:0;max-height:100%;
  margin:0 auto;padding:clamp(22px,3vh,34px) clamp(30px,4vw,48px);
  overflow:hidden;border:3px solid #050b15;border-radius:20px;box-shadow:0 16px 45px #0005
}
body.launch-onboarding #onboarding .conversation h1{font-size:clamp(27px,3vw,40px);line-height:1.12;margin:4px 0 14px}
body.launch-onboarding #onboarding .conversation .choice{margin:7px 0;padding:10px 15px}
body.launch-onboarding #onboarding .conversation .choice small{margin-top:2px;line-height:1.2}
body.launch-onboarding #onboarding .conversation .skip{margin-top:10px}
body.launch-onboarding #onboarding .conversation .backbtn{
  width:34px;height:34px;padding:0;margin:0 0 8px;background:transparent;border:1px solid #cdd5df;
  color:#536174;border-radius:50%;font-size:28px;line-height:28px;font-weight:400
}
body.launch-onboarding #onboarding .conversation .backbtn:hover{color:#17202b;border-color:#17202b}
body.launch-onboarding.launch-exit main.siteShell{background:#f7f8fa;border:5px solid #050b15;box-shadow:0 20px 70px #0007}
@media(max-width:800px){
 body.launch-onboarding header,body.launch-onboarding main.siteShell{width:calc(100% - 32px)}
 body.launch-onboarding header .brand img{height:min(31vh,270px)}
 body.launch-onboarding main.siteShell{height:calc(100dvh - min(31vh,270px));padding:12px 0 16px}
 body.launch-onboarding .launchTagline{left:36%;right:5%;font-size:clamp(10px,2.1vw,15px);letter-spacing:.12em}
 body.launch-onboarding #onboarding .conversation{width:calc(100% - 20px);padding:18px 20px}
}


/* v0.3.6 first-visit piano-key gate */
.startupIntroGate{gap:14px;padding:clamp(22px,4vh,48px) clamp(18px,4vw,56px);box-sizing:border-box}
.startupGateTitle{font-size:clamp(30px,4vw,54px);line-height:1.08;margin:0}
.startupGateMessage{color:#cbd3df;font-size:clamp(15px,1.5vw,21px);line-height:1.4;text-align:center;max-width:760px;margin:0 0 clamp(12px,2vh,24px)}
.startupKeyboardButton{display:block;width:min(94vw,1460px);max-height:31vh;padding:0;border:1px solid rgba(232,195,106,.42);background:#05070d;overflow:hidden;cursor:pointer;box-shadow:0 18px 55px rgba(0,0,0,.45),0 0 30px rgba(232,195,106,.08);border-radius:4px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.startupKeyboardButton:hover,.startupKeyboardButton:focus-visible{transform:translateY(-2px);border-color:#e8c36a;box-shadow:0 20px 60px rgba(0,0,0,.52),0 0 36px rgba(232,195,106,.16);outline:none}
.startupKeyboardButton img{display:block;width:100%;height:auto;max-height:31vh;object-fit:cover}
.startupPlayPrompt{color:#ffe19a;font-size:clamp(20px,2.2vw,30px);font-weight:650;letter-spacing:.055em;text-align:center;margin-top:8px}
.startupDeviceHint{color:#929dad;font-size:clamp(13px,1.1vw,16px);text-align:center;min-height:1.4em}
@media(max-height:700px){.startupIntroGate{gap:9px;padding-top:18px;padding-bottom:18px}.startupGateTitle{font-size:clamp(26px,3.3vw,42px)}.startupGateMessage{margin-bottom:5px}.startupKeyboardButton,.startupKeyboardButton img{max-height:27vh}.startupPlayPrompt{margin-top:3px}}

/* v0.3.9: staged onboarding exit built on the stable v0.3.7 transition.
   Fade the card in place first; do not reflow it onto the destination page. */
body.launch-onboarding #onboarding .conversation{
  transition:opacity .20s ease, transform .20s ease;
}
body.launch-onboarding #onboarding .conversation.onboarding-card-exit{
  opacity:0;
  transform:translateY(0);
  pointer-events:none;
}

/* v0.4.7 common slide-out menu and Explore detail */
.menuToggle{display:inline-flex;flex-direction:column;justify-content:center;gap:4px;width:42px;height:38px;padding:8px 9px;background:transparent;border:1px solid rgba(255,255,255,.25);border-radius:8px}
.menuToggle span{display:block;height:2px;width:22px;background:#fff;border-radius:2px}
.menuScrim{position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:998}
.siteMenu{position:fixed;right:0;top:0;height:100vh;width:min(360px,88vw);background:#fff;z-index:999;transform:translateX(105%);transition:transform .22s ease;box-shadow:-12px 0 35px rgba(0,0,0,.22);display:flex;flex-direction:column;color:#171717}
.siteMenu.open{transform:translateX(0)}
.siteMenuHead{display:flex;align-items:center;justify-content:space-between;padding:20px 20px 12px;border-bottom:1px solid #e4e4e4}
.siteMenuHead strong{font-size:20px}.menuClose{border:0;background:transparent;font-size:30px;line-height:1;padding:2px 8px;color:#222}
.siteMenuNav{display:flex;flex-direction:column;padding:10px}
.siteMenuNav>button,.menuLanguagePanel button{width:100%;text-align:left;border:0;background:transparent;color:#222;padding:13px 12px;border-radius:8px;font-size:16px}
.siteMenuNav>button:hover,.menuLanguagePanel button:hover{background:#f1f1f1}
.menuLanguagePanel{padding:0 0 5px 18px}.menuLanguagePanel button{font-size:15px}
.siteMenuBuild{margin-top:auto;padding:16px 20px;border-top:1px solid #e4e4e4;color:#666;font-size:12px}
.menuNotice{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1100;display:grid;place-items:center;padding:20px}
.menuNotice[hidden]{display:none}.menuNoticeCard{background:#fff;color:#171717;width:min(480px,92vw);padding:24px;border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.3)}
.menuNoticeCard h2{margin-top:0}.menuNoticeCard button{margin-top:8px}
.storeLink{border:0;background:transparent;padding:0;cursor:pointer}

/* v0.4.8 Explore Scales marketing prototype */
.scaleExplorerLayout{display:grid;grid-template-columns:minmax(320px,430px) 1fr;gap:24px;align-items:start}
.scaleBuilder{padding:22px}.scaleBuilder h2{margin-top:0}
.scaleField{display:grid;grid-template-columns:135px 1fr;align-items:center;gap:12px;margin:11px 0}
.scaleField label{font-weight:700}.scaleField select{width:100%;padding:10px;border:1px solid #cfd3d8;border-radius:8px;background:#fff}
.scaleBuilder>button{width:100%;margin-top:15px}
.scaleShowcase{display:grid;gap:18px}.scaleShowcaseCard{background:#101010;color:#fff;border-radius:16px;padding:24px;min-height:330px}.scaleShowcaseCard h2{color:#fff}
.mockStaff{position:relative;height:115px;margin:25px 0 16px;background:#fff;border-radius:10px;color:#111;display:flex;align-items:center;justify-content:space-evenly;font-size:34px;overflow:hidden}
.mockStaffLines{position:absolute;inset:33px 0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 10px,#888 11px,#888 12px)}
.mockStaff span{position:relative;z-index:1}
.mockKeyboard{height:90px;background:#fff;display:flex;position:relative;border-radius:7px;overflow:hidden}
.mockKeyboard>span{flex:1;border-right:1px solid #aaa}.mockKeyboard .black{background:#111;height:58%;margin-left:-4%;margin-right:-4%;z-index:2}
.scaleMarketing{padding:20px}.scaleMarketing strong{font-size:20px}.scaleMarketing button{width:100%}
.scalePreviewDialog{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:1200;display:grid;place-items:center;padding:20px}
.scalePreviewDialog[hidden]{display:none}.scalePreviewCard{position:relative;width:min(820px,95vw);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:26px;color:#171717}
.scalePreviewClose{position:absolute;right:15px;top:12px;border:0;background:transparent;font-size:30px;color:#222}
.scalePreviewSelection{font-weight:700;color:#555}
.scalePreviewBlank{height:310px;border:2px dashed #b8bec7;border-radius:12px;display:grid;place-items:center;text-align:center;padding:30px;background:#f7f8fa;margin:20px 0}
.scalePreviewPitch{border-top:1px solid #ddd;padding-top:18px}.scalePreviewPitch strong{font-size:20px}.scalePreviewPitch button{width:100%;margin-top:8px}
@media(max-width:800px){.scaleExplorerLayout{grid-template-columns:1fr}.scaleField{grid-template-columns:1fr;gap:4px}}

/* v0.4.9 rebuild: public Scale configuration */
.publicScaleConfigShell{max-width:760px;margin:0 auto 30px}
.publicScaleActions{position:sticky;bottom:0;background:rgba(247,248,251,.96);padding:14px 0;z-index:2}
.previewTransport{display:flex;justify-content:center;gap:10px;margin-bottom:18px}
.previewTransport span{display:grid;place-items:center;width:42px;height:34px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172033}

/* v0.5.1 About page */
.aboutGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 28px}
.aboutGrid .card{padding:24px}.aboutGrid h2{margin-top:0}.aboutWide{grid-column:1/-1}
@media(max-width:760px){.aboutGrid{grid-template-columns:1fr}.aboutWide{grid-column:auto}}


/* v0.5.3 onboarding/mobile reliability refinements */
#home .homeHero h1 em{font-style:italic;font-weight:inherit}
body.launch-onboarding #onboarding .conversation{position:relative;padding-bottom:64px}
body.launch-onboarding #onboarding .conversation .backbtn{position:absolute;left:20px;top:auto;bottom:18px;margin:0;z-index:3}
body.launch-onboarding #onboarding label{color:#26374d;font-weight:750;font-size:16px}
.onboardProgramFields{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}
.onboardProgramFields label{margin-top:8px!important}
.onboardProgramFields select{width:100%;font-size:14px;line-height:1.25}
.onboardMobileAppCallout{margin:16px 0;padding:15px 17px;border:2px solid #d4aa45;border-radius:12px;background:#fff8e7;color:#17202b}
.onboardMobileAppCallout strong{display:block;font-size:18px;margin-bottom:4px}
.onboardMobileAppCallout p{margin:0;line-height:1.4}
@media(max-width:600px){
 body.launch-onboarding header,body.launch-onboarding main.siteShell{width:100%}
 body.launch-onboarding header .brand{width:100%;max-width:100%;overflow:hidden}
 body.launch-onboarding header .brand img{display:block;width:100%;max-width:100%;height:auto;max-height:29vh;object-fit:contain;object-position:center;background:#050b15}
 body.launch-onboarding .launchTagline{left:32%;right:3%;bottom:5%;font-size:clamp(8px,2.4vw,12px);letter-spacing:.08em}
 body.launch-onboarding main.siteShell{height:calc(100dvh - min(29vh,240px));padding:8px 0 10px}
 body.launch-onboarding #onboarding .conversation{width:calc(100% - 16px);padding:14px 16px 58px}
 body.launch-onboarding #onboarding .conversation h1{font-size:clamp(23px,7vw,31px);margin:2px 0 10px}
 .onboardProgramFields select{font-size:13px;padding:10px}
}


/* v0.5.5 shared responsive header: keep the hamburger at the conventional far-right position. */
header nav{align-items:center}
.menuToggle{margin-left:auto;flex:0 0 42px}
@media(max-width:800px){
  body:not(.launch-onboarding) header{display:flex;align-items:center;gap:10px;padding-left:16px;padding-right:16px}
  body:not(.launch-onboarding) header .launchBrandWrap{flex:1 1 auto;min-width:0}
  body:not(.launch-onboarding) header .brand img{width:min(250px,100%);max-width:100%}
  body:not(.launch-onboarding) header nav{margin-top:0;margin-left:auto;display:flex;flex:0 0 auto;flex-wrap:nowrap}
  body:not(.launch-onboarding) header nav .nav{display:none}
  body:not(.launch-onboarding) header .menuToggle{margin-left:0}
}

/* v0.5.6 onboarding conversation refinements only */
body.launch-onboarding #onboarding .conversation{display:flex;flex-direction:column}
body.launch-onboarding #onboarding .onboardOrientationCopy{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;max-width:720px}
body.launch-onboarding #onboarding .onboardContinueRow{margin-top:auto;display:flex;justify-content:flex-end;padding-top:14px}
body.launch-onboarding #onboarding .onboardTryNow{margin:12px 0 4px;padding:14px 16px;border-radius:12px;background:#f7f8fa;border:1px solid #d6dde7}
body.launch-onboarding #onboarding .onboardTryNow p{margin:0 0 10px;line-height:1.4}
body.launch-onboarding #onboarding .onboardStoreBadges{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.launch-onboarding #onboarding .onboardStoreBadges img{display:block;height:42px;width:auto;max-width:170px;object-fit:contain}
body.launch-onboarding #onboarding .choice{display:block;width:100%;text-align:left}
@media(max-width:600px){
 body.launch-onboarding #onboarding .onboardOrientationCopy{justify-content:flex-start;padding-top:4px}
 body.launch-onboarding #onboarding .onboardStoreBadges{gap:7px}
 body.launch-onboarding #onboarding .onboardStoreBadges img{height:36px;max-width:145px}
 body.launch-onboarding #onboarding .onboardTryNow{padding:11px 12px;margin-top:8px}
 body.launch-onboarding #onboarding .onboardContinueRow{padding-top:9px}
}

/* v0.5.7: onboarding navigation/store badge alignment only */
body.launch-onboarding #onboarding .onboardStoreBadges{justify-content:center;flex-wrap:nowrap}
body.launch-onboarding #onboarding .onboardStoreBadges .storeLink{display:flex;align-items:center;justify-content:center;width:148px;height:48px;padding:0;border:0;background:transparent}
body.launch-onboarding #onboarding .onboardStoreBadges img{display:block;width:136px;height:40px;max-width:none;object-fit:contain}
body.launch-onboarding #onboarding .conversation:has(.backbtn) .onboardContinueRow{position:absolute;right:20px;bottom:18px;margin:0;padding:0;z-index:3}
@media(max-width:600px){
 body.launch-onboarding #onboarding .onboardStoreBadges .storeLink{width:126px;height:44px}
 body.launch-onboarding #onboarding .onboardStoreBadges img{width:118px;height:36px;max-width:none}
}

/* v0.5.8: onboarding student CTA spacing and equal-height store artwork */
body.launch-onboarding #onboarding .onboardTryNow{margin-bottom:18px}
body.launch-onboarding #onboarding .onboardStoreBadges{justify-content:center;gap:18px}
body.launch-onboarding #onboarding .onboardStoreBadges .storeLink{width:auto;height:44px}
body.launch-onboarding #onboarding .onboardStoreBadges img{width:auto;height:40px;max-width:none;object-fit:contain}
body.launch-onboarding #onboarding .conversation:has(.backbtn) .onboardContinueRow{bottom:18px}
@media(max-width:600px){
 body.launch-onboarding #onboarding .onboardTryNow{margin-bottom:16px}
 body.launch-onboarding #onboarding .onboardStoreBadges{gap:14px}
 body.launch-onboarding #onboarding .onboardStoreBadges .storeLink{width:auto;height:40px}
 body.launch-onboarding #onboarding .onboardStoreBadges img{width:auto;height:36px;max-width:none}
}


/* v0.5.9: onboarding role layout and balanced actions */
body.launch-onboarding #onboarding .onboardNavRow{margin-top:auto;padding-top:26px;display:flex;align-items:center;justify-content:space-between;gap:20px}
body.launch-onboarding #onboarding .onboardNavRow .backbtn{position:static;inset:auto;flex:0 0 auto}
body.launch-onboarding #onboarding .onboardTryNow{margin-bottom:0}
body.launch-onboarding #onboarding .onboardStoreBadges{justify-content:center;gap:22px}
body.launch-onboarding #onboarding .onboardStoreBadges .storeLink{width:142px;height:44px;display:flex;align-items:center;justify-content:center;overflow:hidden}
body.launch-onboarding #onboarding .onboardStoreBadges img{width:136px;height:40px;max-width:none;object-fit:fill}
body.launch-onboarding #onboarding .roleColumns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:10px 0 18px}
body.launch-onboarding #onboarding .roleGroup{display:flex;flex-direction:column;gap:10px;min-width:0}
body.launch-onboarding #onboarding .roleGroup h2{text-align:center;font-size:18px;margin:0 0 2px;color:#17202b}
body.launch-onboarding #onboarding .roleGraphic{height:72px;display:grid;place-items:center;border-radius:14px;background:#f7f8fa;border:1px solid #d6dde7;color:#b28a37}
body.launch-onboarding #onboarding .roleGraphic span{font-size:42px;line-height:1}
body.launch-onboarding #onboarding .roleCard{min-height:62px;font-size:15px;line-height:1.3;padding:13px 16px}
@media(max-width:600px){body.launch-onboarding #onboarding .roleColumns{grid-template-columns:1fr;gap:18px}body.launch-onboarding #onboarding .roleGraphic{height:52px}body.launch-onboarding #onboarding .roleGraphic span{font-size:32px}body.launch-onboarding #onboarding .roleCard{min-height:52px;font-size:14px}body.launch-onboarding #onboarding .onboardStoreBadges{gap:10px}body.launch-onboarding #onboarding .onboardStoreBadges .storeLink{width:124px;height:40px}body.launch-onboarding #onboarding .onboardStoreBadges img{width:118px;height:35px}}

/* Final intro frame uses the real brand artwork; tagline remains localized live text. */
.startupIntroFinal{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .75s ease;background:#05070d;z-index:2}
.startupIntroFinal.visible{opacity:1}
.startupIntroFinal img{display:block;width:min(94vw,1100px);height:auto;max-height:66vh;object-fit:contain}
.startupIntroFinalTagline{margin-top:clamp(14px,2.5vh,28px);color:#f4cf7a;font-weight:800;letter-spacing:.24em;text-align:center;font-size:clamp(12px,1.45vw,18px);text-transform:uppercase;padding:0 20px}
@media(max-width:600px){.startupIntroFinal img{width:96vw;max-height:58vh}.startupIntroFinalTagline{letter-spacing:.15em;font-size:11px;margin-top:12px}}

/* v0.5.10 onboarding role artwork and store-badge normalization */
body.launch-onboarding #onboarding .roleGraphic{
  height:118px;
  width:150px;
  margin:0 auto 8px;
  border:0;
  background:transparent;
  overflow:visible;
}
body.launch-onboarding #onboarding .roleGraphic img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
body.launch-onboarding #onboarding .onboardStoreBadges .storeLink{
  width:132px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
body.launch-onboarding #onboarding .onboardStoreBadges img{
  display:block;
  width:126px;
  height:38px;
  max-width:none;
  object-fit:fill;
}
@media(max-width:600px){
  body.launch-onboarding #onboarding .roleGraphic{height:96px;width:122px;margin-bottom:6px}
  body.launch-onboarding #onboarding .onboardStoreBadges .storeLink{width:118px;height:40px}
  body.launch-onboarding #onboarding .onboardStoreBadges img{width:112px;height:34px}
}
