/* Layout: "school day" story. Navy night-sky hero with brand aurora and floating real screens,
   a sticky clock-driven day timeline, bento modules, dark product-tour band, phone scene, plans, FAQ, gradient CTA.
   Single committed look (navy + soft lilac paper), so colors are set explicitly rather than themed. */
:root {
  --navy: #171a35;
  --navy-2: #1f2350;
  --ink: #171a35;
  --muted: #5b5f86;
  --paper: #f6f5fd;
  --card: #ffffff;
  --line: #e3e1f4;
  --blue: #074bae;
  --purple: #675ec4;
  --violet: #c46ae5;
  --on-dark: #eef0ff;
  --on-dark-muted: #aeb2dc;
  --wa: #25d366;
  --grad: linear-gradient(100deg, #074bae 0%, #675ec4 50%, #c46ae5 100%);
  --grad-text: linear-gradient(100deg, #3d7bff 0%, #8a80f0 50%, #d88cf5 100%);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 22px;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modules .grad, .day .grad, .smart .grad, .apps .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 16px/1 var(--body); border: 0; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .3s; white-space: nowrap; }
.btn-glow { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 10px 30px -8px rgba(103,94,196,.7); }
.btn-glow:hover { background-position: 100% 0; box-shadow: 0 14px 40px -6px rgba(196,106,229,.75); transform: translateY(-2px); }
.btn-ghost { color: var(--on-dark); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-line { color: var(--ink); border: 1.5px solid var(--line); background: var(--card); }
.btn-line:hover { border-color: var(--purple); color: var(--purple); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.play { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--purple); font-size: 10px; padding-left: 2px; }

/* nav */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: background .4s, box-shadow .4s, padding .4s; padding-block: 16px; }
.nav.solid { background: rgba(23,26,53,.82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 8px 30px -12px rgba(0,0,0,.5); padding-block: 10px; }
.nav-in { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 500 19px/1 var(--display); letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { color: var(--on-dark-muted); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.links a:hover, .links a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { padding: 11px 20px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; background: var(--navy); color: var(--on-dark); padding-block: 150px 110px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; filter: blur(70px); opacity: .85; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora .a1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, #074bae 0%, transparent 65%); }
.aurora .a2 { width: 40vw; height: 40vw; right: -8vw; top: 4vw; background: radial-gradient(circle, #675ec4 0%, transparent 65%); animation-delay: -6s; }
.aurora .a3 { width: 34vw; height: 34vw; left: 30vw; bottom: -18vw; background: radial-gradient(circle, #c46ae5 0%, transparent 65%); animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw,4vw) scale(1.15); } 100% { transform: translate(-4vw,6vw) scale(.95); } }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%); }
.hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); padding: 9px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.h-hero { font-size: clamp(42px, 6.2vw, 82px); line-height: .98; font-weight: 700; margin: 26px 0 22px; color: #fff; letter-spacing: -0.035em; }
.swap { display: inline-block; position: relative; }
.swap .grad { display: inline-block; }
.swap .grad.out { animation: wordOut .45s var(--ease) forwards; }
.swap .grad.in { animation: wordIn .6s var(--ease) both; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-40%) rotateX(60deg); filter: blur(6px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(45%) rotateX(-60deg); filter: blur(6px); } }
.lead { font-size: 19px; color: var(--on-dark-muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 36px; flex-wrap: wrap; }
.trust li { display: flex; flex-direction: column; }
.trust b { font: 700 34px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.trust span { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-muted); margin-top: 8px; }

/* window frames */
.win { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.win .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef0f8; border-bottom: 1px solid #e0e2ee; }
.win .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.win .bar i:nth-child(2) { background: #ffbd2e; } .win .bar i:nth-child(3) { background: #28c941; }
.win .bar span { margin-left: 10px; font: 500 11px/1 var(--mono); color: #6b6f92; background: #fff; padding: 5px 12px; border-radius: 6px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* hero stage */
.hero-stage { position: relative; aspect-ratio: 1.15; perspective: 1600px; min-width: 0; max-width: 100%; }
.hero-stage .win { position: absolute; width: 82%; transition: transform .25s ease-out; transform-style: preserve-3d; }
.w-back { top: 0; right: 0; transform: rotateY(-14deg) rotateX(6deg) translateZ(-120px); opacity: .7; animation: float1 9s ease-in-out infinite; }
.w-mid { top: 18%; right: 10%; transform: rotateY(-14deg) rotateX(6deg) translateZ(-40px); opacity: .9; animation: float2 8s ease-in-out infinite; }
.w-front { top: 38%; right: 20%; transform: rotateY(-14deg) rotateX(6deg) translateZ(40px); animation: float3 7s ease-in-out infinite; }
@keyframes float1 { 50% { translate: 0 -12px; } }
@keyframes float2 { 50% { translate: 0 10px; } }
@keyframes float3 { 50% { translate: 0 -8px; } }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.96); color: var(--ink); padding: 12px 16px 12px 12px; border-radius: 16px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); z-index: 3; animation: pop .8s var(--ease) both, bob 6s ease-in-out infinite; }
.chip b { display: block; font: 700 14px/1.2 var(--body); } .chip small { color: var(--muted); font-size: 12.5px; }
.ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.ic-green { background: #1f9d6b; } .ic-wa { background: var(--wa); } .ic-qr { background: var(--grad); }
.c1 { left: -4%; top: 26%; animation-delay: .9s, 0s; }
.c2 { right: -2%; top: 4%; animation-delay: 1.3s, -2s; }
.c3 { right: 4%; bottom: 0; animation-delay: 1.7s, -4s; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(20px); } }
@keyframes bob { 50% { translate: 0 -10px; } }

/* marquee */
.marquee { background: var(--grad); color: #fff; overflow: hidden; padding-block: 18px; transform: skewY(-1.5deg); margin-top: -22px; position: relative; z-index: 2; }
.track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.track span { font: 600 20px/1 var(--display); padding: 0 28px; display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.track span::after { content: "✦"; font-size: 14px; opacity: .7; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee:hover .track { animation-play-state: paused; }

/* section heads */
section { position: relative; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 56px; display: grid; gap: 16px; }
.sec-head.left { text-align: left; margin: 0; }
.eyebrow { font: 600 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.eyebrow.on-dark, .sec-head.light .eyebrow { color: #c9b6ff; }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; font-weight: 700; }
.sub { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 auto; }
.sec-head.light .h2 { color: #fff; } .sec-head.light .sub { color: var(--on-dark-muted); }

/* day story */
.day { padding-block: 130px 110px; }
.day-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; }
.day-steps { display: flex; flex-direction: column; gap: 22vh; padding-block: 6vh 20vh; min-width: 0; }
.step { opacity: .35; transition: opacity .5s, transform .5s var(--ease); transform: translateX(-8px); }
.step.is-on { opacity: 1; transform: none; }
.time { display: inline-block; font: 600 14px/1 var(--mono); color: #fff; background: var(--navy); padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; }
.step.is-on .time { background: var(--grad); }
.step h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 18px; max-width: 30em; }
.step-img { display: none; }
.day-sticky { position: sticky; top: 110px; align-self: start; min-width: 0; }
.big .screen-stack { position: relative; aspect-ratio: 1280/804; }
.screen-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.04); transition: opacity .7s, transform 1.2s var(--ease); }
.screen-stack img.on { opacity: 1; transform: none; }
.clock { position: absolute; z-index: 3; left: -46px; top: -46px; width: 120px; height: 120px; border-radius: 50%; background: var(--navy); box-shadow: 0 20px 40px -12px rgba(23,26,53,.6), 0 0 0 6px var(--paper); display: grid; place-items: center; }
.clock svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.clock .face { fill: none; stroke: url(#none); stroke: rgba(255,255,255,.12); stroke-width: 1.5; }
.clock .ticks line { stroke: rgba(255,255,255,.45); stroke-width: 1.4; }
.clock .hh { stroke: #fff; stroke-width: 3.2; stroke-linecap: round; transform-origin: 50px 50px; transition: transform 1s var(--ease); }
.clock .mh { stroke: #c46ae5; stroke-width: 2; stroke-linecap: round; transform-origin: 50px 50px; transition: transform 1s var(--ease); }
.clock .pin { fill: #fff; }
.clock b { position: relative; top: 30px; font: 600 11px/1 var(--mono); color: var(--on-dark-muted); }

/* stats */
.stats { background: var(--navy); color: #fff; padding-block: 70px; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 20% 0%, rgba(7,75,174,.5), transparent), radial-gradient(600px 220px at 85% 100%, rgba(196,106,229,.35), transparent); }
.stats-in { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; border-left: 2px solid rgba(255,255,255,.14); }
.stat b { font: 700 clamp(40px, 5vw, 64px)/1 var(--display); font-variant-numeric: tabular-nums; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--on-dark-muted); font-size: 15px; }

/* modules bento */
.modules { padding-block: 130px; }
.bento { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto auto; gap: 22px; }
.mod { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; overflow: hidden; transition: box-shadow .4s, border-color .4s; transform-style: preserve-3d; min-width: 0; }
.mod:hover { box-shadow: 0 30px 60px -30px rgba(103,94,196,.45); border-color: #cfc8f5; }
.mod::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(196,106,229,.12), transparent 50%); opacity: 0; transition: opacity .3s; }
.mod:hover::after { opacity: 1; }
.mod-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 24px -8px rgba(103,94,196,.6); }
.mod-ic svg { width: 28px; height: 28px; fill: #fff; }
.mod h3 { font-size: 28px; margin-bottom: 10px; }
.mod p { color: var(--muted); max-width: 32em; }
.mod ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.mod li { padding-left: 26px; position: relative; font-weight: 500; font-size: 15.5px; }
.mod li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: inset 0 0 0 4px #fff; border: 1px solid #d9d3f7; }
.m-academic { grid-row: span 3; display: flex; flex-direction: column; }
.m-academic img { margin-top: 28px; border-radius: 12px 12px 0 0; border: 1px solid var(--line); margin-bottom: -33px; box-shadow: 0 -10px 40px -20px rgba(23,26,53,.3); transition: transform .6s var(--ease); }
.m-academic:hover img { transform: translateY(-8px); }
.m-academic ul { grid-template-columns: 1fr 1fr; }
.m-fees { background: var(--navy); border-color: var(--navy); color: #fff; }
.m-fees p { color: var(--on-dark-muted); }
.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 80px; margin-top: 22px; }
.mini-bars i { flex: 1; height: var(--h); background: var(--grad); border-radius: 6px 6px 2px 2px; transform-origin: bottom; animation: grow 2.4s var(--ease) infinite alternate; }
.mini-bars i:nth-child(2n) { animation-delay: -.8s; } .mini-bars i:nth-child(3n) { animation-delay: -1.6s; }
@keyframes grow { from { transform: scaleY(.55); } }

/* tour */
.tour { background: var(--navy); padding-block: 130px; overflow: hidden; isolation: isolate; }
.tour::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 80% 20%, rgba(103,94,196,.35), transparent), radial-gradient(700px 400px at 0% 100%, rgba(7,75,174,.4), transparent); }
.tour-box { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tabs button { position: relative; text-align: left; background: transparent; border: 1px solid transparent; color: var(--on-dark-muted); padding: 12px 16px; border-radius: 14px; cursor: pointer; overflow: hidden; font: inherit; transition: background .3s, color .3s, border-color .3s; }
.tabs button b { display: block; font: 600 16px/1.2 var(--body); }
.tabs button small { font-size: 13px; opacity: .75; }
.tabs button:hover { background: rgba(255,255,255,.05); color: #fff; }
.tabs button[aria-selected="true"] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.bar-fill { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.tabs button[aria-selected="true"] .bar-fill { animation: fill var(--dur, 5s) linear forwards; }
.tour-box.paused .bar-fill { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.tour-win { min-width: 0; box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1), 0 0 120px -20px rgba(103,94,196,.5); }
.tour-screen { aspect-ratio: 1280/804; background: #fff; overflow: hidden; }
.tour-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity .35s, transform .6s var(--ease); }
.tour-screen img.swapping { opacity: 0; transform: translateY(14px) scale(.99); }

/* apps */
.apps { padding-block: 130px; overflow: hidden; }
.apps-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.apps-copy { display: grid; gap: 20px; min-width: 0; }
.apps-copy .sub { margin: 0; }
.ticks-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks-list li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticks-list li::before { content: "✓"; width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e9e6fb; color: var(--purple); font-weight: 700; font-size: 13px; }
.note { font-size: 13px; color: var(--muted); }
.phones { position: relative; height: 580px; min-width: 0; }
.phones::before { content: ""; position: absolute; inset: 10% 5%; background: var(--grad); border-radius: 50%; filter: blur(80px); opacity: .35; }
.phone { position: absolute; width: 270px; height: 550px; background: var(--navy); border-radius: 42px; padding: 14px; box-shadow: 0 40px 80px -25px rgba(23,26,53,.6), inset 0 0 0 2px #2d3263; }
.phone > * { position: relative; }
.p-parent { left: 0; top: 0; transform: rotate(-6deg); animation: ph1 8s ease-in-out infinite; z-index: 2; }
.p-admin { right: 0; top: 30px; transform: rotate(5deg); animation: ph2 9s ease-in-out infinite; }
@keyframes ph1 { 50% { transform: rotate(-4deg) translateY(-14px); } }
@keyframes ph2 { 50% { transform: rotate(7deg) translateY(12px); } }
.notch { width: 90px; height: 22px; border-radius: 0 0 14px 14px; background: #0c0e22; margin: -14px auto 0; }
.phone::after { content: ""; position: absolute; inset: 14px; border-radius: 30px; background: #f4f3fc; z-index: 0; }
.phone > * { z-index: 1; }
.ph-head { display: flex; align-items: center; gap: 8px; padding: 14px 12px 10px; font: 700 15px/1 var(--display); color: var(--ink); }
.ph-head img { width: 26px; height: 26px; }
.ph-kid { margin: 4px 10px 12px; display: flex; gap: 10px; align-items: center; background: var(--grad); color: #fff; border-radius: 18px; padding: 12px; }
.ph-kid .av { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-weight: 700; }
.ph-kid b { display: block; font-size: 15px; } .ph-kid small { font-size: 12px; opacity: .85; }
.feed { display: grid; gap: 8px; padding: 0 10px; }
.msg { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 6px 14px -8px rgba(23,26,53,.25); animation: msgIn 9s var(--ease) infinite; }
.msg b { display: block; font-size: 13.5px; line-height: 1.2; color: var(--ink); } .msg small { font-size: 12px; color: var(--muted); }
.mi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; font-size: 14px; }
.mi.g { background: #1f9d6b; } .mi.b { background: var(--blue); } .mi.v { background: var(--violet); } .mi.o { background: #e0912a; }
.m2 { animation-delay: .6s; } .m3 { animation-delay: 1.2s; } .m4 { animation-delay: 1.8s; }
@keyframes msgIn { 0% { opacity: 0; transform: translateY(16px) scale(.96); } 8%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
.ph-stat { margin: 6px 10px 0; background: var(--navy); color: #fff; border-radius: 18px; padding: 16px; }
.ph-stat small { color: var(--on-dark-muted); font-size: 12px; } .ph-stat b { display: block; font: 700 26px/1.1 var(--display); margin-top: 4px; }
.ring { position: relative; width: 130px; height: 130px; margin: 18px auto 10px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.r-bg { fill: none; stroke: #e3e1f4; stroke-width: 5; }
.r-fg { fill: none; stroke: var(--purple); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; animation: ringFill 4s var(--ease) infinite alternate; }
@keyframes ringFill { to { stroke-dashoffset: 6; } }
.ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 700 26px/1 var(--display); color: var(--ink); }
.ring small { font: 500 11px/1.4 var(--body); color: var(--muted); }
.ph-rows { margin: 0 10px; display: grid; gap: 6px; }
.ph-rows div { display: flex; justify-content: space-between; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.ph-rows b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* smart extras */
.smart { padding-block: 40px 130px; }
.smart-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sm { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; transition: transform .4s var(--ease), box-shadow .4s; }
.sm:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(103,94,196,.5); }
.sm h3 { font-size: 21px; } .sm p { color: var(--muted); font-size: 15.5px; }
.sm-art { height: 150px; border-radius: 16px; background: #f0eefc; position: relative; overflow: hidden; margin-bottom: 8px; }
.qr-art .qr { position: absolute; inset: 22px calc(50% - 53px); width: 106px; height: 106px; background:
  conic-gradient(from 90deg at 30% 30%, var(--navy) 25%, transparent 0) 0 0/26px 26px,
  linear-gradient(var(--navy), var(--navy)) 0 0/34px 34px no-repeat, linear-gradient(var(--navy), var(--navy)) 100% 0/34px 34px no-repeat, linear-gradient(var(--navy), var(--navy)) 0 100%/34px 34px no-repeat;
  border-radius: 8px; opacity: .9; }
.qr-art .scan { position: absolute; left: calc(50% - 64px); width: 128px; height: 3px; background: var(--violet); box-shadow: 0 0 18px 4px rgba(196,106,229,.7); animation: scan 2.2s ease-in-out infinite alternate; top: 16px; }
@keyframes scan { to { top: 130px; } }
.wa-art { background: #e9f8ee; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px; }
.bub { align-self: flex-start; background: #fff; border-radius: 12px 12px 12px 3px; padding: 7px 12px; font-size: 13px; font-weight: 500; box-shadow: 0 4px 10px -6px rgba(0,0,0,.25); animation: msgIn 6s var(--ease) infinite; }
.bub.b2 { align-self: flex-end; background: #d6f7dc; border-radius: 12px 12px 3px 12px; animation-delay: .5s; } .bub.b3 { animation-delay: 1s; }
.cloud-art .cl { position: absolute; left: 50%; top: 30px; width: 110px; height: 52px; margin-left: -55px; background: var(--grad); border-radius: 30px; }
.cloud-art .cl::before, .cloud-art .cl::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud-art .cl::before { width: 56px; height: 56px; left: 16px; top: -26px; background: #4a66c2; }
.cloud-art .cl::after { width: 44px; height: 44px; right: 14px; top: -18px; background: #9566d8; }
.cloud-art i { position: absolute; bottom: 18px; width: 4px; height: 36px; background: linear-gradient(var(--purple), transparent); border-radius: 2px; animation: rain 1.6s linear infinite; }
.cloud-art i:nth-of-type(1) { left: 38%; } .cloud-art i:nth-of-type(2) { left: 50%; animation-delay: .5s; } .cloud-art i:nth-of-type(3) { left: 62%; animation-delay: 1s; }
@keyframes rain { from { transform: translateY(-14px); opacity: 0; } 50% { opacity: 1; } to { transform: translateY(14px); opacity: 0; } }
.branch-art b { position: absolute; left: 50%; top: 22px; width: 50px; height: 50px; margin-left: -25px; border-radius: 14px; background: var(--navy); box-shadow: 0 0 0 6px rgba(103,94,196,.2); }
.branch-art i { position: absolute; top: 100px; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); animation: bob 3s ease-in-out infinite; }
.branch-art i:nth-of-type(1) { left: 18%; } .branch-art i:nth-of-type(2) { left: calc(50% - 17px); animation-delay: -1s; } .branch-art i:nth-of-type(3) { right: 18%; animation-delay: -2s; }
.branch-art::before { content: ""; position: absolute; left: 22%; right: 22%; top: 72px; height: 28px; border: 2px dashed #b6aef0; border-bottom: 0; border-radius: 10px 10px 0 0; }

/* plans */
.plans { padding-block: 110px; background: linear-gradient(#f6f5fd, #eceafb); }
.plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.plan h3 { font-size: 28px; }
.plan .for { color: var(--muted); }
.plan .price { font: 600 15px/1 var(--mono); color: var(--purple); background: #efecfd; align-self: flex-start; padding: 8px 12px; border-radius: 8px; margin-block: 6px 8px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; } .plan li::before { content: "✓"; color: var(--purple); font-weight: 700; }
.plan .btn { justify-content: center; }
.plan.featured { background: var(--navy); color: #fff; border-color: transparent; box-shadow: 0 40px 70px -30px rgba(23,26,53,.6); transform: translateY(-14px); }
.plan.featured::before { content: ""; position: absolute; inset: -2px; border-radius: calc(var(--r) + 2px); background: var(--grad); z-index: -1; }
.plan.featured .for { color: var(--on-dark-muted); }
.plan.featured .price { background: rgba(255,255,255,.1); color: #d9c9ff; }
.plan.featured li::before { color: #d88cf5; }
.badge { position: absolute; top: -14px; right: 24px; background: var(--grad); color: #fff; font: 600 12px/1 var(--mono); padding: 8px 12px; border-radius: 999px; letter-spacing: .04em; }

/* faq */
.faq { padding-block: 120px; }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.qa { display: grid; gap: 12px; min-width: 0; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .3s, box-shadow .3s; }
details[open] { border-color: #cfc8f5; box-shadow: 0 16px 36px -24px rgba(103,94,196,.5); }
summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font: 600 18px/1.35 var(--body); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: #efecfd; color: var(--purple); display: grid; place-items: center; font-size: 20px; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
details p { padding-bottom: 20px; color: var(--muted); }

/* contact */
.contact { padding-block: 0 110px; }
.cta-panel { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); border-radius: 32px; color: #fff; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.aurora.small { opacity: .9; }
.aurora.small .a1 { width: 520px; height: 520px; left: -160px; top: -200px; }
.aurora.small .a2 { width: 520px; height: 520px; right: -160px; bottom: -220px; left: auto; top: auto; background: radial-gradient(circle, #c46ae5 0%, transparent 65%); }
.cta-copy { display: grid; gap: 20px; min-width: 0; }
.contact-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-muted); }
.contact-list b { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.sel { user-select: all; }
.demo-form { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); border-radius: 24px; padding: 28px; display: grid; gap: 16px; min-width: 0; }
.demo-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--on-dark-muted); }
.demo-form input, .demo-form select { font: 500 16px/1.3 var(--body); color: #fff; background: rgba(10,12,35,.45); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 13px 14px; width: 100%; }
.demo-form select option { color: var(--ink); }
.demo-form input::placeholder { color: #8186b3; }
.demo-form input:focus, .demo-form select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(196,106,229,.3); }
.demo-form input.bad { border-color: #ff7a8a; }
.demo-form .btn { justify-content: center; margin-top: 6px; }
.form-msg { min-height: 1.4em; font-size: 14px; color: #c9f5d6; }

/* footer */
.foot { background: var(--navy); color: var(--on-dark-muted); padding-block: 70px 30px; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-brand img { width: 230px; height: auto; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 16px; }
.foot-brand p { max-width: 30em; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; min-width: 0; }
.foot-col h4 { font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 6px; }
.foot-col a:hover, .foot-base a:hover { color: #fff; }
.foot-col span { overflow-wrap: anywhere; }
.foot-base { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* whatsapp float */
.wa-float { position: fixed; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); animation: ping 2.4s infinite; transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* reveal */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* clients */
.clients { padding-block: 120px 20px; overflow: hidden; }
.clients .sec-head { margin-bottom: 44px; }
.client-rows { display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.crow { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; width: max-content; animation: marq 60s linear infinite; }
.crow.rev { animation-direction: reverse; animation-duration: 70s; }
.client-rows:hover .crow { animation-play-state: paused; }
.crow li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px 10px 10px; font: 600 17px/1.2 var(--display); white-space: nowrap; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.crow li:hover { border-color: #cfc8f5; box-shadow: 0 14px 30px -18px rgba(103,94,196,.6); transform: translateY(-3px); }
.mono { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--body); letter-spacing: .02em; flex: none; }
.crow li:nth-child(3n+2) .mono { background: var(--navy); }
.crow li:nth-child(3n) .mono { background: linear-gradient(135deg, #c46ae5, #675ec4); }
@media (max-width: 560px) { .crow li { font-size: 15px; padding: 8px 18px 8px 8px; } .mono { width: 34px; height: 34px; font-size: 12px; } }

/* responsive */
@media (max-width: 1080px) {
  .links { display: none; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .links.open { display: flex; position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; background: var(--navy); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 10px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
  .links.open a { padding: 14px; font-size: 17px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { max-width: 680px; width: 100%; margin: 0 auto; }
  .smart-grid { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .day-grid { grid-template-columns: 1fr; }
  .day-sticky { display: none; }
  .day-steps { gap: 56px; padding: 0; }
  .step { opacity: 1; transform: none; }
  .step-img { display: block; margin-top: 20px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(23,26,53,.5); }
  .stats-in { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .bento { grid-template-columns: 1fr; }
  .m-academic { grid-row: auto; }
  .tour-box { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .tabs button { flex: none; }
  .tabs button small { display: none; }
  .apps-in { grid-template-columns: 1fr; }
  .plan-row { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.featured { transform: none; }
  .faq-in { grid-template-columns: 1fr; gap: 30px; }
  .cta-panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-block: 120px 80px; }
  .lead { font-size: 17px; }
  .trust { gap: 24px; }
  .hero-stage { aspect-ratio: 1; }
  .hero-stage .win { width: 92%; }
  .w-front { right: 4%; } .w-mid { right: 2%; }
  .chip { padding: 9px 12px 9px 9px; } .chip small { display: none; } .ic { width: 30px; height: 30px; }
  .c1 { left: 0; top: 30%; } .c2 { right: 0; top: 0; }
  .m-academic ul { grid-template-columns: 1fr; }
  .smart-grid { grid-template-columns: 1fr; }
  .phones { height: 520px; }
  .phone { width: 230px; height: 480px; }
  .p-parent { left: 0; } .p-admin { right: 0; top: 40px; }
  .foot-in { grid-template-columns: 1fr; }
  .mod { padding: 24px; }
  .m-academic img { margin-bottom: -25px; }
  .wa-float { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ===== mobile apps (real screens) ===== */
.apps .sec-head { margin-bottom: 34px; }
.app-switch { position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 56px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 40px -26px rgba(23,26,53,.45); overflow-x: auto; scrollbar-width: none; }
.app-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 12px 22px; border-radius: 999px; font: 600 16px/1 var(--body); color: var(--muted); transition: color .35s; white-space: nowrap; }
.app-switch button[aria-selected="true"] { color: #fff; }
.sw-ic svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.sw-pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(103,94,196,.8); transition: transform .5s var(--ease), width .5s var(--ease); }
.apps-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.app-copy { min-width: 0; }
.app-panel[hidden] { display: none; }
.app-panel { display: grid; gap: 14px; animation: panelIn .6s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }
.app-panel h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.app-panel > p { color: var(--muted); font-size: 17px; }
.feat { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: f; }
.feat li { counter-increment: f; position: relative; display: grid; gap: 2px; padding: 12px 16px 12px 58px; border-radius: 16px; cursor: pointer; border: 1px solid transparent; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.feat li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 600 12px/1 var(--mono); background: #ebe8fb; color: var(--purple); transition: background .3s, color .3s; }
.feat li b { font-size: 16.5px; } .feat li small { color: var(--muted); font-size: 14px; }
.feat li:hover { background: rgba(255,255,255,.7); }
.feat li.on { background: var(--card); border-color: #d8d2f7; box-shadow: 0 16px 34px -24px rgba(103,94,196,.6); transform: translateX(6px); }
.feat li.on::before { background: var(--grad); color: #fff; }
.fan { position: relative; height: 640px; min-width: 0; }
.fan::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; background: var(--grad); filter: blur(90px); opacity: .32; }
.ph { position: absolute; top: 50%; left: 50%; width: 270px; aspect-ratio: 540/1131; padding: 10px; border-radius: 40px; background: #12142b; box-shadow: 0 40px 80px -30px rgba(23,26,53,.65), inset 0 0 0 2px #2d3263; transition: transform .7s var(--ease), filter .5s; }
.ph::before { content: ""; position: absolute; z-index: 2; top: 16px; left: 50%; width: 64px; height: 8px; margin-left: -32px; border-radius: 8px; background: #12142b; opacity: .85; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; background: #f3f5fb; transition: opacity .26s, transform .26s; }
.ph-c { z-index: 3; transform: translate(-50%, -50%); animation: phFloat 7s ease-in-out infinite; }
.ph-l { z-index: 1; transform: translate(-112%, -46%) rotate(-9deg) scale(.82); filter: saturate(.8) brightness(.96); }
.ph-r { z-index: 1; transform: translate(12%, -46%) rotate(9deg) scale(.82); filter: saturate(.8) brightness(.96); }
@keyframes phFloat { 50% { translate: 0 -12px; } }
.fan.flip .ph img { opacity: 0; transform: scale(.97); }
.fan:hover .ph-l { transform: translate(-122%, -46%) rotate(-12deg) scale(.82); }
.fan:hover .ph-r { transform: translate(22%, -46%) rotate(12deg) scale(.82); }
.fan-tag { position: absolute; z-index: 4; left: 50%; bottom: 0; translate: -50% 0; background: var(--navy); color: #fff; font: 600 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(23,26,53,.6); }
.app-strip { margin-top: 90px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.strip-track { display: flex; gap: 22px; width: max-content; animation: marq 80s linear infinite; padding-block: 10px 30px; }
.app-strip:hover .strip-track { animation-play-state: paused; }
.mini { width: 150px; flex: none; padding: 6px; border-radius: 24px; background: #12142b; box-shadow: 0 18px 30px -18px rgba(23,26,53,.6); transition: transform .4s var(--ease); }
.mini:nth-child(odd) { transform: translateY(18px); }
.mini:hover { transform: translateY(-6px) scale(1.04); }
.mini img { width: 100%; aspect-ratio: 540/1131; object-fit: cover; object-position: top; border-radius: 19px; }

/* ===== footer v2 ===== */
.foot { position: relative; overflow: hidden; isolation: isolate; background: #0f1129; color: var(--on-dark-muted); padding-block: 0 28px; }
.foot-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 15% 0%, rgba(7,75,174,.45), transparent 70%), radial-gradient(600px 300px at 90% 10%, rgba(196,106,229,.28), transparent 70%); }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: 64px 54px; border-bottom: 1px solid rgba(255,255,255,.09); }
.foot-cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; }
.foot-cta p { margin-top: 10px; font-size: 17px; max-width: 36em; }
.foot-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-wa { background: var(--wa); color: #06361a; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(37,211,102,.7); }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 36px; padding-top: 56px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand .brand img { width: 44px; height: 44px; margin: 0; background: none; padding: 0; border-radius: 0; }
.foot-brand p { font-size: 15px; max-width: 28em; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-badges span { font: 500 12px/1 var(--mono); color: #d9d6ff; padding: 8px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.foot-col a { position: relative; width: max-content; max-width: 100%; transition: color .25s, transform .25s var(--ease); }
.foot-col a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.foot-col a:hover { color: #fff; transform: translateX(3px); }
.foot-col a:hover::after { transform: scaleX(1); }
.foot-contact p { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.foot-contact p span:last-child { overflow-wrap: anywhere; color: #e4e6ff; }
.fi { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #d6c4ff; font-size: 14px; }
.foot-word { margin-top: 40px; font: 700 clamp(70px, 17vw, 250px)/.8 var(--display); letter-spacing: -0.05em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); background: linear-gradient(100deg, #074bae, #675ec4, #c46ae5, #074bae) 0 0/300% 100%; -webkit-background-clip: text; background-clip: text; opacity: .3; animation: wordShine 12s linear infinite; user-select: none; white-space: nowrap; overflow: hidden; }
@keyframes wordShine { to { background-position: 300% 0; } }
.foot-base { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.09); padding-top: 22px; }
.foot-base nav { display: flex; gap: 22px; }
.to-top { color: #fff; }

/* ===== privacy page ===== */
.nav.fixed-solid { background: rgba(23,26,53,.9); backdrop-filter: blur(14px); padding-block: 12px; }
.legal-hero { background: var(--navy); color: #fff; padding-block: 140px 70px; position: relative; overflow: hidden; isolation: isolate; }
.legal-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; }
.legal-hero p { color: var(--on-dark-muted); margin-top: 14px; }
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding-block: 60px 100px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14.5px; min-width: 0; }
.toc h4 { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--purple); margin-bottom: 12px; }
.toc a { padding: 7px 12px; border-radius: 10px; color: var(--muted); border-left: 2px solid var(--line); border-radius: 0 10px 10px 0; }
.toc a:hover, .toc a.on { color: var(--ink); background: #ebe8fb; border-left-color: var(--purple); }
.legal { min-width: 0; max-width: 760px; }
.legal section { padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.legal section:first-child { padding-top: 0; }
.legal h2 { font-size: 28px; margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.legal h2 .n { font: 600 14px/1 var(--mono); color: #fff; background: var(--grad); padding: 7px 9px; border-radius: 8px; }
.legal h3 { font-size: 19px; margin: 20px 0 8px; }
.legal p { color: #3c4068; margin: 10px 0; }
.legal ul { margin: 10px 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 24px; color: #3c4068; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.legal .intro { font-size: 18px; color: var(--ink); }
.legal .callout { background: #efecfd; border-radius: 16px; padding: 18px 20px; color: var(--ink); font-weight: 500; }

@media (max-width: 1080px) {
  .foot-in { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand, .foot-contact { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .apps-in { grid-template-columns: 1fr; gap: 30px; }
  .fan { order: -1; height: 540px; }
  .ph { width: 230px; }
  .legal-wrap { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; }
}
@media (max-width: 560px) {
  .app-switch { margin-bottom: 36px; }
  .app-switch button { padding: 11px 14px; font-size: 14.5px; }
  .sw-ic { display: none; }
  .fan { height: 470px; }
  .ph { width: 200px; border-radius: 32px; padding: 8px; }
  .ph img { border-radius: 25px; }
  .ph-l { transform: translate(-96%, -46%) rotate(-8deg) scale(.78); }
  .ph-r { transform: translate(-4%, -46%) rotate(8deg) scale(.78); }
  .mini { width: 120px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-cta-btns .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .foot-word, .strip-track { animation: none; } }
