:root{
  --bg:#02050b;
  --bg2:#06111f;
  --panel:rgba(5,18,34,.72);
  --panel2:rgba(8,28,49,.62);
  --line:rgba(61,196,255,.26);
  --line2:rgba(61,196,255,.12);
  --blue:#0a8cff;
  --cyan:#2fe8ff;
  --ice:#e9fbff;
  --text:#f6fbff;
  --muted:#9db2c6;
  --max:1220px;
  --shadow:0 0 36px rgba(0,173,255,.18);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;color:var(--text);
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(circle at 75% 4%,rgba(0,160,255,.14),transparent 28%),
    radial-gradient(circle at 10% 55%,rgba(0,230,255,.06),transparent 23%),
    linear-gradient(180deg,#01040a 0%,#05101e 48%,#02050a 100%);
  overflow-x:hidden;
}
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-4;
  background:
    linear-gradient(rgba(50,180,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(50,180,255,.02) 1px,transparent 1px);
  background-size:54px 54px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent 82%);
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
.progress{position:fixed;top:0;left:0;width:0;height:2px;background:linear-gradient(90deg,var(--blue),var(--cyan));box-shadow:0 0 16px var(--cyan);z-index:120}

nav{
  position:fixed;inset:0 0 auto;z-index:100;
  backdrop-filter:blur(18px);
  background:linear-gradient(180deg,rgba(1,5,12,.91),rgba(1,5,12,.63));
  border-bottom:1px solid var(--line2)
}
.nav-inner{
  max-width:var(--max);height:100px;margin:auto;padding:7px 22px;
  display:flex;align-items:center;justify-content:space-between;gap:22px
}
.brand{font-size:1.18rem;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.brand .my,.brand .ai{color:var(--cyan);text-shadow:0 0 16px rgba(47,232,255,.34)}
.nav-right{display:flex;align-items:center;gap:24px;color:#dce9f4;font-size:.91rem}
.nav-right a:hover{color:var(--cyan)}
.lang{
  display:flex;padding:3px;border:1px solid rgba(55,191,255,.26);
  border-radius:999px;background:rgba(4,14,25,.76)
}
.lang button{border:0;background:transparent;color:#8da3b7;padding:7px 10px;border-radius:999px}
.lang button.active{background:rgba(18,154,220,.22);box-shadow:inset 0 0 0 1px rgba(66,210,255,.28);color:#fff}

main{position:relative}
.hero{
  min-height:100svh;padding:140px 24px 58px;
  display:grid;align-items:center;position:relative
}
.hero-inner{
  width:100%;max-width:var(--max);margin:auto;
  display:grid;grid-template-columns:minmax(0,.92fr) minmax(440px,1.08fr);
  align-items:center;gap:54px
}
.eyebrow{
  color:var(--cyan);text-transform:uppercase;letter-spacing:.2em;
  font-size:.72rem;font-weight:800;display:flex;align-items:center;gap:12px;margin-bottom:22px
}
.eyebrow::before{content:"";width:44px;height:1px;background:linear-gradient(90deg,var(--cyan),transparent);box-shadow:0 0 10px var(--cyan)}
h1{
  font-size:clamp(3rem,6.2vw,6.5rem);line-height:.88;
  letter-spacing:-.055em;margin:0;font-weight:700;max-width:760px
}
h1 span{display:block}
h1 .glow{
  color:transparent;background:linear-gradient(180deg,#ebfdff 0%,#62dfff 46%,#058cff 100%);
  -webkit-background-clip:text;background-clip:text;
  text-shadow:0 0 34px rgba(0,172,255,.14);font-weight:860
}
.lead{font-size:clamp(1.03rem,1.35vw,1.22rem);line-height:1.62;color:#c5d4e0;max-width:650px;margin:28px 0 0}
.product-line{margin-top:23px;font-size:clamp(1.05rem,1.5vw,1.38rem);font-weight:720}
.product-line b{color:var(--cyan)}
.tags{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:24px;color:#72dcff;font-size:.72rem;letter-spacing:.17em;text-transform:uppercase}
.tags span:not(:last-child)::after{content:"•";margin-left:16px;color:#5bdcff}

.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.btn{
  min-height:50px;padding:0 22px;border-radius:10px;border:1px solid rgba(55,194,255,.48);
  display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:760;transition:.22s ease
}
.btn.primary{background:linear-gradient(135deg,#0679ff,#10bcff);box-shadow:0 14px 38px rgba(0,156,255,.23)}
.btn.secondary{background:rgba(4,15,28,.62);color:#ecf8ff}
.btn:hover{transform:translateY(-2px);box-shadow:0 15px 42px rgba(0,170,255,.26)}

.portal-stage{
  width:100%;aspect-ratio:16/9;min-height:0;position:relative;display:grid;place-items:center;
  border-radius:34px;overflow:hidden;isolation:isolate;
  background:
    radial-gradient(circle at 50% 48%,rgba(22,173,255,.17),transparent 26%),
    radial-gradient(circle at 50% 52%,rgba(0,230,255,.08),transparent 44%),
    linear-gradient(145deg,rgba(5,18,34,.92),rgba(2,8,16,.7));
  border:1px solid rgba(51,190,255,.17);
  box-shadow:0 30px 90px rgba(0,0,0,.48),0 0 60px rgba(0,163,255,.08)
}
.portal-stage::before{
  content:"";position:absolute;inset:-30%;z-index:-1;
  background:conic-gradient(from 90deg,transparent,rgba(29,193,255,.08),transparent 24%,rgba(0,230,255,.07),transparent 52%,rgba(18,123,255,.10),transparent);
  animation:turn 18s linear infinite
}
@keyframes turn{to{transform:rotate(360deg)}}
.portal{
  width:min(430px,75vw);aspect-ratio:1;border-radius:50%;position:relative;
  display:grid;place-items:center;
  border:1px solid rgba(86,216,255,.7);
  box-shadow:
    0 0 0 18px rgba(0,162,255,.035),
    0 0 0 42px rgba(0,162,255,.018),
    0 0 48px rgba(0,193,255,.30),
    inset 0 0 50px rgba(0,176,255,.16);
}
.portal::before,.portal::after{
  content:"";position:absolute;border-radius:50%;inset:7%;
  border:1px dashed rgba(84,221,255,.44);animation:turn 20s linear infinite reverse
}
.portal::after{inset:17%;border-style:solid;border-color:rgba(42,180,255,.24);animation-duration:13s;animation-direction:normal}
.phone{
  width:155px;height:310px;border-radius:31px;border:2px solid rgba(194,240,255,.72);
  background:linear-gradient(180deg,#061a2c,#020912);
  box-shadow:0 0 34px rgba(29,204,255,.42),inset 0 0 28px rgba(0,136,255,.14);
  position:relative;z-index:3;overflow:hidden
}
.phone::before{
  content:"";position:absolute;top:9px;left:50%;transform:translateX(-50%);
  width:55px;height:6px;border-radius:99px;background:#07111a
}
.phone::after{
  content:"";position:absolute;inset:33px 10px 12px;border-radius:22px;
  background:
    url("assets/brand-symbol.png") center 48px / 82px 82px no-repeat,
    radial-gradient(circle at 50% 34%,rgba(48,225,255,.22),transparent 19%),
    radial-gradient(circle at 50% 34%,rgba(0,133,255,.16),transparent 36%),
    linear-gradient(180deg,#061529,#020812)
}
.phone-word{
  position:absolute;z-index:4;left:0;right:0;bottom:72px;text-align:center;
  font-size:.71rem;color:#dff9ff;letter-spacing:.12em;text-transform:uppercase
}
.phone-word b{display:block;font-size:1rem;color:var(--cyan);letter-spacing:.03em;margin-top:8px}

.orbit-label{
  position:absolute;z-index:5;padding:10px 14px;border-radius:999px;
  border:1px solid rgba(71,205,255,.32);background:rgba(3,16,29,.78);backdrop-filter:blur(9px);
  box-shadow:0 0 24px rgba(0,174,255,.12);font-size:.75rem;color:#cfefff
}
.orbit-label b{color:var(--cyan)}
.o1{top:17%;left:8%}.o2{top:19%;right:8%}.o3{bottom:18%;left:11%}.o4{bottom:15%;right:10%}
.stage-caption{
  position:absolute;bottom:34px;left:28px;right:28px;text-align:center;
  color:#8fa9bd;font-size:.77rem;letter-spacing:.12em;text-transform:uppercase
}

section{padding:94px 24px}
.wrap{max-width:var(--max);margin:auto}
.section-kicker{color:var(--cyan);font-size:.72rem;letter-spacing:.19em;text-transform:uppercase;font-weight:820}
h2{font-size:clamp(2.25rem,4.5vw,4.6rem);line-height:.98;letter-spacing:-.045em;margin:15px 0 0}
.section-intro{max-width:760px;margin:22px 0 0;color:#aebfd0;font-size:1.04rem;line-height:1.7}

.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:42px}
.card{
  min-height:250px;padding:26px;border-radius:20px;border:1px solid var(--line);
  background:linear-gradient(145deg,rgba(8,27,48,.72),rgba(3,12,23,.62));
  box-shadow:0 22px 60px rgba(0,0,0,.22);position:relative;overflow:hidden
}
.card::after{
  content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-80px;top:-90px;
  background:radial-gradient(circle,rgba(20,198,255,.13),transparent 66%)
}
.num{color:#5fe1ff;font-size:.72rem;letter-spacing:.17em}
.icon{font-size:1.8rem;margin:22px 0 18px;filter:drop-shadow(0 0 12px rgba(48,218,255,.30))}
.card h3{font-size:1.32rem;margin:0 0 11px}
.card p{color:#a8bacb;line-height:1.62;margin:0}
.card small{display:block;color:#62dfff;margin-top:18px;font-weight:750}

.ownership{
  border-top:1px solid var(--line2);border-bottom:1px solid var(--line2);
  background:linear-gradient(180deg,rgba(4,15,29,.58),rgba(4,15,29,.26))
}
.split{display:grid;grid-template-columns:.95fr 1.05fr;gap:54px;align-items:center}
.stack{display:grid;gap:12px}
.stack-row{
  display:grid;grid-template-columns:58px 1fr;gap:15px;align-items:center;
  padding:17px;border-radius:15px;background:rgba(5,18,33,.62);border:1px solid rgba(61,195,255,.16)
}
.stack-icon{
  width:48px;height:48px;border-radius:14px;display:grid;place-items:center;
  border:1px solid rgba(77,215,255,.31);color:var(--cyan);font-size:1.2rem;
  background:rgba(5,45,68,.37)
}
.stack-row b{display:block;margin-bottom:3px}
.stack-row span{color:#93a9bc;font-size:.9rem}

.waitlist{
  padding-top:110px;padding-bottom:110px
}
.wait-box{
  max-width:970px;margin:auto;border-radius:28px;padding:clamp(28px,5vw,58px);
  background:
    radial-gradient(circle at 80% 10%,rgba(0,184,255,.12),transparent 30%),
    linear-gradient(145deg,rgba(8,28,49,.82),rgba(3,12,23,.78));
  border:1px solid rgba(67,203,255,.25);box-shadow:0 34px 100px rgba(0,0,0,.34);
  text-align:center
}
.wait-box h2{max-width:780px;margin:14px auto 0}
.wait-box p{max-width:720px;margin:20px auto 0;color:#b6c7d6;line-height:1.7}
.form{
  max-width:720px;margin:32px auto 0;display:grid;grid-template-columns:1fr auto;gap:10px
}
.form input[type=email]{
  min-height:56px;border-radius:12px;border:1px solid rgba(72,204,255,.32);
  background:rgba(1,10,19,.74);color:#fff;padding:0 16px;outline:none
}
.form input[type=email]:focus{border-color:var(--cyan);box-shadow:0 0 0 3px rgba(47,232,255,.08)}
.form button{
  min-height:56px;border-radius:12px;border:1px solid rgba(73,213,255,.48);
  background:linear-gradient(135deg,#087eff,#11bcff);color:white;font-weight:800;padding:0 22px
}
.consent{
  max-width:720px;margin:13px auto 0;display:flex;gap:10px;align-items:flex-start;
  color:#879eb2;font-size:.78rem;text-align:left;line-height:1.45
}
.consent input{margin-top:2px;accent-color:#09a9ff}
.status{min-height:22px;margin-top:13px;color:#79e5ff;font-size:.84rem}
.micro{margin-top:12px;color:#71879a;font-size:.74rem}

footer{
  padding:28px 24px 44px;border-top:1px solid var(--line2);color:#7f96aa
}
.footer-inner{
  max-width:var(--max);margin:auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center
}
.footer-brand{color:#cfe5f4}.footer-brand b{color:var(--cyan)}
.footer-links{display:flex;gap:18px;font-size:.82rem}
.footer-links a:hover{color:var(--cyan)}

.reveal{opacity:1;transform:none}
.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s ease}
.js .reveal.show{opacity:1;transform:none}

@media(max-width:1100px){
  .nav-right>a{display:none}
  .hero{padding-top:102px}
  .hero-inner,.split{grid-template-columns:1fr}
  .hero-inner{gap:34px}
  .portal-stage{aspect-ratio:auto;min-height:560px}
  .feature-grid{grid-template-columns:1fr}
  .card{min-height:auto}
}
@media(max-width:640px){
  .nav-inner{height:64px;padding:0 15px}
  .brand{font-size:1rem}
  .hero{padding:90px 17px 46px}
  h1{font-size:clamp(3rem,15vw,5.1rem)}
  .lead{font-size:1rem}
  .portal-stage{aspect-ratio:auto;min-height:510px;border-radius:25px}
  .portal{width:min(340px,82vw)}
  .phone{width:132px;height:264px}
  .orbit-label{font-size:.66rem;padding:8px 10px}
  .o1{top:12%;left:3%}.o2{top:13%;right:3%}.o3{bottom:17%;left:3%}.o4{bottom:16%;right:3%}
  section{padding:72px 17px}
  .form{grid-template-columns:1fr}
  .form button{width:100%}
  .wait-box{text-align:left}
  .wait-box h2,.wait-box p{margin-left:0}
  .footer-inner{display:block}
  .footer-links{margin-top:14px;flex-wrap:wrap}
}

/* Physical-phone fallback:
   keeps the mobile composition even when an Android browser opens a local
   file using a desktop-sized layout viewport. */
.mobile-device .nav-right>a{display:none}
.mobile-device .nav-inner{height:64px;padding:0 15px}
.mobile-device .brand{font-size:1rem}
.mobile-device .hero{padding:90px 17px 46px;min-height:auto}
.mobile-device .hero-inner,
.mobile-device .split{grid-template-columns:1fr}
.mobile-device .hero-inner{gap:34px}
.mobile-device h1{font-size:clamp(3rem,15vw,5.1rem)}
.mobile-device .lead{font-size:1rem}
.mobile-device .hero-actions{display:grid;grid-template-columns:1fr}
.mobile-device .hero-actions .btn{width:100%}
.mobile-device .portal-stage{aspect-ratio:auto;min-height:510px;border-radius:25px}
.mobile-device .portal{width:min(340px,82vw)}
.mobile-device .phone{width:132px;height:264px}
.mobile-device .orbit-label{font-size:.66rem;padding:8px 10px}
.mobile-device .o1{top:12%;left:3%}
.mobile-device .o2{top:13%;right:3%}
.mobile-device .o3{bottom:17%;left:3%}
.mobile-device .o4{bottom:16%;right:3%}
.mobile-device section{padding:72px 17px}
.mobile-device .feature-grid{grid-template-columns:1fr}
.mobile-device .card{min-height:auto}
.mobile-device .form{grid-template-columns:1fr}
.mobile-device .form button{width:100%}
.mobile-device .wait-box{text-align:left}
.mobile-device .wait-box h2,
.mobile-device .wait-box p{margin-left:0}
.mobile-device .footer-inner{display:block}
.mobile-device .footer-links{margin-top:14px;flex-wrap:wrap}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
  .portal-stage::before,.portal::before,.portal::after{animation:none!important}
  .js .reveal{transition:none}
}


/* Formal MyApprenticeAI brand lockup */
.brand-lockup{
  display:inline-flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;line-height:1;text-align:center;flex:0 0 auto
}
.brand-lockup img{
  width:47px;height:47px;object-fit:cover;border-radius:50%;
  box-shadow:0 0 24px rgba(47,232,255,.22)
}
.brand-word{
  display:block;font-size:1.03rem;font-weight:840;letter-spacing:.008em;white-space:nowrap;color:#fff
}
.brand-word .my,.brand-word .ai{color:var(--cyan);text-shadow:0 0 14px rgba(47,232,255,.28)}
.brand-word .dotapp{color:#718ba0;font-weight:650;font-size:.86em}
.brand-tag{
  color:#6f8ba0;font-size:.53rem;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap
}
.wait-brand{margin:0 auto 20px}
.wait-brand img{width:70px;height:70px}
.wait-brand .brand-word{font-size:1.25rem}
.footer-lockup img{width:40px;height:40px}
.footer-lockup .brand-word{font-size:.92rem}
.nav-inner .brand-lockup{min-width:180px}
.nav-right{margin-left:auto}
.honeypot{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.pref-wrap{
  max-width:720px;margin:15px auto 0;text-align:left
}
.pref-label{display:block;color:#a9bfd1;font-size:.78rem;margin-bottom:8px}
.pref-pills{display:flex;gap:8px;flex-wrap:wrap}
.pref-pills label{
  cursor:pointer;border:1px solid rgba(72,204,255,.25);background:rgba(1,10,19,.58);
  color:#9fb5c8;border-radius:999px;padding:8px 12px;font-size:.78rem;transition:.2s ease
}
.pref-pills input{position:absolute;opacity:0;pointer-events:none}
.pref-pills label:has(input:checked){
  color:#fff;border-color:rgba(74,221,255,.68);background:rgba(15,148,213,.22);
  box-shadow:0 0 18px rgba(0,189,255,.10)
}
.form button[disabled]{opacity:.58;cursor:wait;transform:none}
.micro a,.consent a{color:#61dcff;text-decoration:underline;text-underline-offset:2px}
.live-note{
  display:inline-flex;align-items:center;gap:7px;margin-top:14px;color:#7e9bad;font-size:.72rem
}
.live-note::before{
  content:"";width:7px;height:7px;border-radius:50%;background:#2fe8ff;box-shadow:0 0 12px #2fe8ff
}
.portal-brand{
  position:absolute;z-index:6;top:26px;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;opacity:.88
}
.portal-brand img{width:46px;height:46px;border-radius:50%;box-shadow:0 0 20px rgba(47,232,255,.22)}
.portal-brand span{font-size:.68rem;font-weight:800;margin-top:4px;letter-spacing:.03em}
.footer-inner{align-items:center}
@media(max-width:1100px){
  .nav-inner{height:94px}
  .hero{padding-top:128px}
}
@media(max-width:640px){
  .nav-inner{height:88px;padding:4px 12px}
  .nav-inner .brand-lockup{min-width:0}
  .brand-lockup img{width:39px;height:39px}
  .brand-word{font-size:.9rem}
  .brand-tag{display:none}
  .hero{padding-top:112px}
  .portal-brand{top:18px}
  .wait-brand img{width:62px;height:62px}
  .wait-brand .brand-word{font-size:1.08rem}
}
.mobile-device .nav-inner{height:88px;padding:4px 12px}
.mobile-device .brand-lockup img{width:39px;height:39px}
.mobile-device .brand-word{font-size:.9rem}
.mobile-device .brand-tag{display:none}
.mobile-device .hero{padding-top:112px}
