/* Unischool — landing page (index.html only).
 *
 * Builds on style.css: same palette, type stack and .btn family. The other pages (join,
 * delete-account, privacy, terms) never load this file, so nothing here can reach them.
 * Everything is scoped under body.lp.
 */

.lp {
  --wrap: 1200px;
  --night: #0b0d2e;
  --night-2: #151862;
  --grad: linear-gradient(135deg, #2b41f5 0%, #3a38e0 45%, #5638cf 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(16, 18, 40, .05), 0 6px 18px -8px rgba(16, 18, 40, .14);
  --shadow-lg: 0 34px 70px -30px rgba(20, 24, 90, .38), 0 14px 28px -16px rgba(20, 24, 90, .22);
  overflow-x: clip;
}

html { scroll-padding-top: 96px; }

.lp .wrap { padding: 0 clamp(16px, 4vw, 32px); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: #16171d; padding: 10px 16px; border-radius: 10px;
  font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

/* .btn sets display, which would otherwise beat the [hidden] attribute — and site.js hides
   the App Store button that way until there is an iOS build. */
.lp [hidden] { display: none !important; }

.ico { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }

/* --- type & shared bits ----------------------------------------------------------- */

.display-2 {
  font-size: clamp(2.15rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hl-lime { color: var(--lime); }

/* A lime marker swipe behind the words, drawn in when the heading reveals. */
.hl-mark {
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--lime) 85%, transparent) 62%, color-mix(in srgb, var(--lime) 85%, transparent) 92%, transparent 92%) no-repeat;
  background-size: 100% 100%;
  transition: background-size 1s var(--ease) .3s;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.js .lp [data-reveal]:not(.is-in) .hl-mark { background-size: 0% 100%; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  padding: 7px 13px; margin: 0 0 20px;
  border-radius: var(--pill);
  background: color-mix(in srgb, var(--blue) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
}
.tag.is-dark { color: var(--lime); background: rgba(203, 242, 58, .08); border-color: rgba(203, 242, 58, .22); }
.tag .ico { font-size: 1rem; }

.sec-head { max-width: 62rem; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  flex-wrap: wrap;
}
.sec-head.split .sec-lead { max-width: 26rem; margin: 0; }

.sec-lead { font-size: 1.1rem; color: var(--fg-2); margin: 20px 0 0; max-width: 36rem; line-height: 1.6; }

.lp-sec { padding: clamp(80px, 11vw, 136px) 0; position: relative; }
.lp-alt { background: var(--page-alt); }

/* --- buttons ---------------------------------------------------------------------- */

.lp .btn { transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.lp .btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 28px; font-size: 1rem; }
.lp .btn-primary { box-shadow: 0 10px 30px -10px rgba(203, 242, 58, .7); }
.lp .btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(203, 242, 58, .85); }
.lp .btn-blue { box-shadow: 0 12px 30px -12px rgba(46, 68, 255, .7); }
.btn-glass {
  background: rgba(255, 255, 255, .1); color: #fff;
  border-color: rgba(255, 255, 255, .26);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-arrow { display: inline-flex; transition: transform .2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.lp .btn .ico { font-size: 1.05rem; }

/* --- reveal ----------------------------------------------------------------------- */

.js .lp [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .lp [data-reveal].is-in { opacity: 1; transform: none; }

/* --- nav -------------------------------------------------------------------------- */

.lp-nav {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  padding: 0 clamp(10px, 3vw, 24px);
  pointer-events: none;
}
.lp-nav-in, .lp-menu { pointer-events: auto; }

.lp-nav-in {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  height: 62px; padding: 0 8px 0 18px;
  border-radius: var(--pill);
  background: rgba(14, 16, 56, .42);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  color: #fff;
  transition: background .35s, box-shadow .35s, border-color .35s;
}
.lp-nav.is-scrolled .lp-nav-in, .lp-nav.is-open .lp-nav-in {
  background: rgba(11, 13, 46, .86);
  box-shadow: 0 18px 40px -18px rgba(5, 6, 30, .55);
}
.lp-brand { color: #fff; }
.lp-brand .mark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

.lp-links { display: flex; gap: 2px; margin: 0 auto; }
.lp-links a {
  padding: 9px 14px; border-radius: var(--pill);
  font-weight: 600; font-size: .9rem; text-decoration: none;
  color: rgba(255, 255, 255, .74);
  transition: color .2s, background .2s;
}
.lp-links a:hover, .lp-links a.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.lp-nav-cta { margin-left: auto; }
.lp-links + .lp-nav-cta { margin-left: 0; }

.lp-burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .1); cursor: pointer;
  place-items: center; align-content: center; gap: 4px;
}
.lp-burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.is-open .lp-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .lp-burger span:nth-child(2) { opacity: 0; }
.is-open .lp-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.lp-menu {
  display: none;
  max-width: var(--wrap); margin: 8px auto 0; padding: 10px;
  border-radius: 26px;
  background: rgba(11, 13, 46, .94);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(5, 6, 30, .6);
}
.lp-menu a:not(.btn) {
  display: block; padding: 14px 16px; border-radius: 14px;
  color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.2rem;
}
.lp-menu a:not(.btn):hover { background: rgba(255, 255, 255, .07); }
.lp-menu .btn { width: 100%; margin-top: 8px; }

@media (max-width: 1000px) {
  .lp-links { display: none; }
  .lp-links + .lp-nav-cta { margin-left: auto; }
  .lp-burger { display: grid; }
  .is-open .lp-menu { display: block; animation: menuIn .3s var(--ease); }
}
@media (max-width: 380px) { .lp-nav-cta { display: none; } .lp-burger { margin-left: auto; } }

@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* --- hero ------------------------------------------------------------------------- */

/* Night-blue stage, a glowing ribbon across it, editorial italic headline, and a 3D glass
   "U" app icon on the right. */
.lp-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(70% 60% at 75% 45%, #0d1260 0%, transparent 60%),
    linear-gradient(180deg, #03041a 0%, #05061f 60%, #070829 100%);
  color: #fff;
  padding: clamp(104px, 9vw, 124px) 0 clamp(120px, 11vw, 150px);
}
/* The ribbon flows left to right forever: the SVG is two screens wide and repeats every
   screen, so moving it from -50% to 0 and starting over has no seam. Only a transform
   animates, so the browser slides one pre-rendered layer — no per-frame blur work. */
.hero-wave { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-wave svg {
  position: absolute; top: 0; left: 0; width: 200%; height: 100%;
  animation: waveFlow 22s linear infinite;
  will-change: transform;
}
@keyframes waveFlow { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center;
}

.pill-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 15px 8px 12px; margin: 0 0 26px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .85);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(203, 242, 58, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(203, 242, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(203, 242, 58, 0); } }

.hero-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic; font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero-grad {
  background: linear-gradient(95deg, #cbf23a 0%, #e9ffa0 45%, #a6f0ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em; /* keeps the italic overhang inside the clipped gradient */
}

.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.65;
  color: rgba(255, 255, 255, .74);
  max-width: 33rem; margin: 26px 0 0;
}
.hero-lead b { color: #fff; }

/* Exams as the reference's white pills, each with a blue arrow disc. */
.hero-exams { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 12px; max-width: 40rem; }
.exam-pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 22px; border-radius: var(--pill);
  background: #fff; color: #0b0d2e; text-decoration: none;
  font-weight: 800; font-size: .95rem; letter-spacing: .01em;
  box-shadow: 0 10px 30px -14px rgba(46, 68, 255, .9);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.exam-pill-go {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem;
  color: #fff; background: #2e2bd8;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 0 0 2px #2e2bd8;
  transition: transform .3s var(--ease), background .25s;
}
.exam-pill:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(46, 68, 255, 1); }
.exam-pill:hover .exam-pill-go { transform: rotate(45deg); background: #4a3bff; }
.exam-pill:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.hero-ctas { margin-top: 34px; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.lp-hero .btn-ghost, .cta-panel .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .26); }
.lp .btn-store { padding: 9px 18px; }
.lp .btn-store .big { font-size: .86rem; }
.hero-note { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .55); }

/* The glass U, with a soft glow behind it. */
.hero-visual {
  --mx: 0; --my: 0;
  position: relative; display: grid; place-items: center;
  perspective: 1200px;
}
.hero-visual::before {
  content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 90, 255, .55), rgba(122, 92, 255, .2) 45%, transparent 70%);
  filter: blur(30px);
}
/* The resting tilt. On a mouse, landing.js eases this towards the pointer every frame. */
.hero-logo {
  position: relative; width: min(100%, 470px);
  transform: rotateY(-16deg) rotateX(8deg);
  will-change: transform;
}
.hero-visual { animation: logoIn 1.2s var(--ease) both; }
.glass-u {
  display: block; width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(0 30px 60px rgba(30, 40, 220, .55)) drop-shadow(0 0 30px rgba(90, 110, 255, .45));
  animation: logoFloat 7s ease-in-out infinite;
}
@keyframes logoIn { from { opacity: 0; transform: translateY(40px) scale(.92); } }
@keyframes logoFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes popIn { from { opacity: 0; scale: .85; } }

/* --- phone mockup ----------------------------------------------------------------- */

/* --pw sets the phone's width; the screen's font-size follows it, so a dummy screen
   (drawn in em) and a real screenshot both scale with the frame. */
.phone { --pw: 280px; width: var(--pw); flex: none; }
.phone-frame {
  position: relative;
  padding: calc(var(--pw) * .034);
  border-radius: calc(var(--pw) * .16);
  background: linear-gradient(150deg, #34374a, #0d0e16 55%, #1d1f2b);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    inset 0 0 0 4px #07080d,
    0 50px 90px -36px rgba(8, 10, 60, .7),
    0 20px 40px -20px rgba(8, 10, 60, .45);
}
.phone-island {
  position: absolute; z-index: 4; left: 50%; transform: translateX(-50%);
  top: calc(var(--pw) * .058);
  width: 30%; height: calc(var(--pw) * .068);
  border-radius: var(--pill); background: #07080d;
}
.phone-screen {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border-radius: calc(var(--pw) * .128);
  background: #f6f5f0;
  font-size: calc(var(--pw) / 28);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* clip children in Safari */
}

/* --- app screenshot (real image or dummy screen) ----------------------------------- */

.app-shot { position: absolute; inset: 0; overflow: hidden; color: #16171d; font-family: var(--ui); line-height: 1.3; }
.app-shot.is-flow { position: relative; inset: auto; }
.app-shot.is-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.app-shot.is-flow.is-image img { height: auto; }

/* Dummy screens — all sizes in em (1em = 10px on a 280px phone). */
.s { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f6f5f0; font-size: 1em; }
.s b { font-weight: 800; }
.s em { font-style: normal; }
.s .ico { width: 1.5em; height: 1.5em; }
.s-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5em 2.2em .4em 2.6em; font-size: 1.15em; font-weight: 800; color: #16171d;
}
.s-status.is-light { color: #fff; }
.s-status-r { display: flex; gap: .4em; align-items: center; }
.s-sig { width: 1.3em; height: .8em; background: linear-gradient(90deg, currentColor 20%, transparent 20% 27%, currentColor 27% 47%, transparent 47% 54%, currentColor 54% 74%, transparent 74% 81%, currentColor 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.s-bat { width: 1.8em; height: .85em; border-radius: .25em; border: .12em solid currentColor; position: relative; }
.s-bat::after { content: ''; position: absolute; inset: .1em; right: .45em; background: currentColor; border-radius: .1em; }

.s-hero {
  background: linear-gradient(150deg, #2b41f5, #5638cf);
  color: #fff; padding-bottom: 2.4em;
  border-radius: 0 0 2.4em 2.4em;
  position: relative; overflow: hidden;
}
.s-hero::after { content: ''; position: absolute; right: -4em; top: -4em; width: 14em; height: 14em; border-radius: 50%; background: radial-gradient(circle, rgba(203, 242, 58, .35), transparent 65%); }
.s-hello { display: flex; justify-content: space-between; align-items: center; padding: 1.2em 2em 0; position: relative; z-index: 1; }
.s-hello small { font-size: 1.15em; opacity: .8; display: block; }
.s-hello b { font-family: var(--display); font-size: 2em; letter-spacing: -.02em; }
.s-ava {
  width: 3.6em; height: 3.6em; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--lime); color: #16171d; font-weight: 800; font-size: 1.1em; font-style: normal;
}
.s-ava.is-rival { background: #ffc53d; }
.s-goal {
  display: flex; justify-content: space-between; margin: 1.4em 2em 0; padding: .9em 1.2em;
  border-radius: 1.2em; background: rgba(255, 255, 255, .14); font-size: 1.1em; position: relative; z-index: 1;
}
.s-goal span { display: flex; align-items: center; gap: .4em; }
.s-goal .ico { width: 1.2em; height: 1.2em; }

.s-body { padding: 1.4em 1.8em 7em; display: flex; flex-direction: column; gap: 1em; }
.s-hero + .s-body { margin-top: -1.2em; position: relative; z-index: 1; }
.s-card { background: #fff; border-radius: 1.6em; padding: 1.3em 1.4em; box-shadow: 0 .4em 1.4em -.6em rgba(20, 24, 90, .25); border: 1px solid #ece9e0; }
.s-continue { display: flex; align-items: center; gap: 1em; }
.s-grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3em; }
.s small { font-size: 1em; color: #7c7e8a; display: block; }
.s-continue b, .s-row b { font-size: 1.3em; }
.s em { font-size: 1em; color: #7c7e8a; }
.s-bar { display: block; height: .55em; border-radius: 1em; background: #ecebf4; overflow: hidden; }
.s-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2e44ff, #7a5cff); }
.s-bar.is-lime i { background: linear-gradient(90deg, #8fd400, #cbf23a); }
.s-ring {
  --p: 0; --c: #2e44ff;
  width: 4.8em; height: 4.8em; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(120, 120, 140, .18) 0);
}
.s-ring b { width: 3.8em; height: 3.8em; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 1.05em; color: #16171d; }

.s-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.s-tiles span {
  display: flex; flex-direction: column; align-items: center; gap: .5em; padding: 1.1em .2em;
  border-radius: 1.4em; background: #fff; border: 1px solid #ece9e0; font-size: 1em;
}
.s-tiles .ico { width: 2.4em; height: 2.4em; padding: .5em; border-radius: .9em; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.s-tiles b { font-size: 1em; }
.s-label { font-family: var(--mono); font-size: 1em; letter-spacing: .1em; text-transform: uppercase; color: #7c7e8a; margin-top: .4em; }
.s-row { display: flex; align-items: center; gap: 1em; }
.s-dot { width: 3.4em; height: 3.4em; border-radius: 1.1em; display: grid; place-items: center; flex: none; color: var(--c, #2e44ff); background: color-mix(in srgb, var(--c, #2e44ff) 14%, transparent); }
.s-dot .ico { width: 1.7em; height: 1.7em; }
.s-chev { color: #b4b5bf; }

.s-tabbar {
  position: absolute; left: 1.4em; right: 1.4em; bottom: 1.4em;
  display: flex; justify-content: space-around; padding: 1em .4em;
  border-radius: 2em; background: rgba(255, 255, 255, .94);
  box-shadow: 0 .6em 2em -.6em rgba(20, 24, 90, .3); border: 1px solid #ece9e0;
}
.s-tabbar span { display: flex; flex-direction: column; align-items: center; gap: .3em; color: #9a9ca8; }
.s-tabbar b { font-size: .9em; }
.s-tabbar .is-on { color: #2e44ff; }

.s-plain { padding-bottom: 1.6em; }
.s-plain > *:not(.s-status):not(.s-tabbar) { margin-left: 1.8em; margin-right: 1.8em; }
.s-title { margin-top: 1.6em; margin-bottom: 1.4em; }
.s-title b { display: block; font-family: var(--display); font-size: 2.2em; line-height: 1.1; letter-spacing: -.02em; margin-top: .2em; }
.s-search { display: flex; gap: .7em; align-items: center; padding: 1em 1.2em; border-radius: 1.3em; background: #fff; border: 1px solid #ece9e0; color: #9a9ca8; font-size: 1.1em; margin-bottom: 1.2em; }
.s-list { display: flex; flex-direction: column; gap: .7em; }
.s-pick { display: flex; align-items: center; gap: 1em; padding: 1em 1.2em; border-radius: 1.4em; background: #fff; border: 1.5px solid #ece9e0; }
.s-pick b { font-size: 1.25em; }
.s-pick.is-on { border-color: #2e44ff; background: #f1f3ff; box-shadow: 0 0 0 .3em rgba(46, 68, 255, .1); }
.s-radio { width: 1.8em; height: 1.8em; border-radius: 50%; border: .2em solid #d6d3c8; flex: none; }
.is-on > .s-radio { border: .55em solid #2e44ff; }
.s-compact .s-pick { padding: .85em 1.1em; }
.s-compact .s-pick b { font-size: 1.15em; }
.s-num { width: 2.4em; height: 2.4em; border-radius: .8em; display: grid; place-items: center; background: #f1f3ff; color: #2e44ff; font-weight: 800; flex: none; }
.s-cta {
  margin-top: auto !important; padding: 1.3em; text-align: center; border-radius: 1.6em;
  background: #2e44ff; color: #fff; font-weight: 800; font-size: 1.25em;
  box-shadow: 0 .4em 0 #1b2cc4;
}
.s-body > .s-cta { margin-top: .6em !important; }

.s-qhead { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2em; margin-bottom: 1em; }
.s-qhead b { font-size: 1.3em; }
.s-lang { display: flex; padding: .25em; border-radius: 1em; background: #ecebf4; }
.s-lang i { font-style: normal; font-weight: 800; font-size: 1em; padding: .3em .8em; border-radius: .8em; color: #7c7e8a; }
.s-lang i.is-on { background: #fff; color: #2e44ff; box-shadow: 0 .2em .6em -.2em rgba(0, 0, 0, .2); }
.s-qbar { margin-bottom: 1.6em; }
.s-q { font-family: var(--display); font-weight: 700; font-size: 1.75em; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 1.2em; }
.s-q b { color: #2e44ff; }
.s-q.is-dark { color: #fff; margin: 1.4em 1.8em 1.2em; }
.s-opts { display: flex; flex-direction: column; gap: .7em; }
.s-opt {
  display: flex; align-items: center; gap: .9em; padding: 1em 1.1em; border-radius: 1.3em;
  background: #fff; border: 1.5px solid #ece9e0; font-weight: 700; font-size: 1.2em;
}
.s-opt i { width: 2em; height: 2em; border-radius: .7em; display: grid; place-items: center; background: #f3f1ea; font-style: normal; font-size: .9em; color: #7c7e8a; flex: none; }
.s-opt.is-right { border-color: #12b886; background: #e8f8f2; }
.s-opt.is-right i { background: #12b886; color: #fff; }
.s-ok { margin-left: auto; color: #12b886; }
.s-explain { margin-top: 1.2em; margin-bottom: 1.2em; padding: 1.2em; border-radius: 1.4em; background: #f1f3ff; color: #3b3d4a; font-size: 1.1em; line-height: 1.4; }
.s-explain b { display: flex; align-items: center; gap: .4em; color: #2e44ff; margin-bottom: .3em; }

.s-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .7em; margin-bottom: 1.4em; }
.s-facts span { padding: 1.1em 1.2em; border-radius: 1.4em; background: #fff; border: 1px solid #ece9e0; }
.s-facts b { display: block; font-family: var(--display); font-size: 2em; letter-spacing: -.02em; }
.s-note { display: flex; gap: .6em; align-items: center; color: #7c7e8a; font-size: 1.05em; margin-top: 1.2em; margin-bottom: 1.2em; }
.s-plain .s-label { margin-bottom: .7em; }

.s-result .s-hero { padding-bottom: 3em; }
.s-rtitle { padding: 1.2em 2em 0; position: relative; z-index: 1; }
.s-rtitle small { color: rgba(255, 255, 255, .7); font-size: 1.1em; }
.s-rtitle b { font-family: var(--display); font-size: 2em; letter-spacing: -.02em; }
.s-score { display: flex; align-items: center; gap: 1.6em; padding: 1.6em 2em 0; position: relative; z-index: 1; }
.s-score .s-ring { width: 8.4em; height: 8.4em; }
.s-score .s-ring b { width: 4.2em; height: 4.2em; font-family: var(--display); font-size: 1.6em; background: #2f3ad6; color: #fff; }
.s-score div em { color: rgba(255, 255, 255, .7); display: block; font-size: 1.1em; }
.s-score div b { font-size: 1.9em; display: block; margin: .1em 0; }
.s-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.s-kpis span { background: #fff; border-radius: 1.3em; padding: 1em; text-align: center; border: 1px solid #ece9e0; }
.s-kpis b { display: block; font-size: 1.45em; }
.s-split { display: flex; height: .9em; border-radius: 1em; overflow: hidden; gap: .2em; margin-top: .4em; }
.s-legend { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.05em; color: #4a4c57; }
.s-sub { display: grid; grid-template-columns: 9em 1fr 3em; align-items: center; gap: .8em; font-size: 1.05em; }
.s-sub b { text-align: right; }

.s-due { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(140deg, #2b41f5, #5638cf); color: #fff; border: 0; margin-bottom: 1.2em; }
.s-due b { font-family: var(--display); font-size: 3.2em; line-height: 1; }
.s-due em { color: rgba(255, 255, 255, .75); display: block; font-size: 1.15em; }
.s-mini-cta { padding: .8em 1.4em; border-radius: 1em; background: var(--lime); color: #16171d; font-weight: 800; font-size: 1.15em; }
.s-curve { margin-bottom: 1.2em; padding: 1em 1.2em; border-radius: 1.4em; background: #fff; border: 1px solid #ece9e0; }
.s-curve svg { width: 100%; height: 5em; display: block; }
.s-tag { padding: .35em .8em; border-radius: 1em; font-weight: 800; font-size: .95em; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); white-space: nowrap; }

.s-flame { margin-top: 2em; margin-bottom: 1.6em; text-align: center; display: flex; flex-direction: column; align-items: center; }
.s-flame .ico { width: 6em; height: 6em; color: #ff8a00; fill: #ffc53d; filter: drop-shadow(0 .6em 1.2em rgba(255, 138, 0, .45)); }
.s-flame b { font-family: var(--display); font-size: 5em; line-height: 1; letter-spacing: -.04em; }
.s-flame em { font-size: 1.3em; }
.s-week { display: flex; justify-content: space-between; margin-bottom: 1.4em; }
.s-week span { display: flex; flex-direction: column; align-items: center; gap: .4em; }
.s-week i { width: 2.8em; height: 2.8em; border-radius: 50%; display: grid; place-items: center; background: #ecebf4; font-style: normal; font-weight: 800; color: #fff; }
.s-week .is-done i { background: #ff8a00; }
.s-week .is-today i { background: #fff; border: .2em dashed #ff8a00; }
.s-plain > .s-card { margin-bottom: .8em; }

.s-chips { display: flex; gap: .6em; margin-bottom: 1.2em; }
.s-chips span { padding: .6em 1.2em; border-radius: 1em; background: #fff; border: 1px solid #ece9e0; font-weight: 700; font-size: 1.05em; color: #4a4c57; }
.s-chips .is-on { background: #16171d; color: #fff; border-color: #16171d; }
.s-news { margin-bottom: .8em; padding: 1.2em 1.3em; border-radius: 1.5em; background: #fff; border: 1px solid #ece9e0; display: flex; flex-direction: column; align-items: flex-start; gap: .5em; }
.s-news b { font-size: 1.3em; line-height: 1.25; }

.s-battle { background: linear-gradient(160deg, #2b41f5, #5638cf 70%); color: #fff; }
.s-vs { display: flex; align-items: center; justify-content: space-around; padding: 2em 1.6em 1em; }
.s-vs span { display: flex; flex-direction: column; align-items: center; gap: .3em; }
.s-vs strong { font-family: var(--display); font-size: 2.6em; }
.s-vs > em { font-family: var(--display); font-weight: 800; font-size: 1.6em; color: var(--lime); }
.s-timer { margin: 0 1.8em; height: .6em; border-radius: 1em; background: rgba(255, 255, 255, .2); overflow: hidden; }
.s-timer i { display: block; height: 100%; background: var(--lime); }
.s-battle .s-opts { margin: 0 1.8em; }
.s-battle .s-opt { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff; }
.s-battle .s-opt i { background: rgba(255, 255, 255, .15); color: #fff; }
.s-battle .s-opt.is-right { background: #12b886; border-color: #12b886; }

/* --- stats ------------------------------------------------------------------------ */

.lp-stats { position: relative; z-index: 3; margin-top: -64px; }
.stats-bar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { padding: 28px 22px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--border); }
.stat-num {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -.035em;
  background: linear-gradient(135deg, #2b41f5, #7a5cff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }

/* --- marquee ---------------------------------------------------------------------- */

.marquee {
  margin: clamp(40px, 6vw, 64px) 0 0;
  background: var(--lime); color: #16171d;
  padding: 18px 0; overflow: hidden;
  rotate: -1.2deg; width: 104%; margin-left: -2%;
  box-shadow: 0 14px 30px -18px rgba(120, 160, 0, .6);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; flex: none; }
.marquee-set span { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.55rem); letter-spacing: -.02em; padding: 0 22px; white-space: nowrap; }
.marquee-set i { font-style: normal; color: #2e44ff; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- features bento --------------------------------------------------------------- */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.f-card {
  --accent: var(--blue);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 22px;
  min-height: 260px; padding: 28px;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.js .lp .f-card[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.f-card.span-2 { grid-column: span 2; }
.f-card.span-3 { grid-column: span 3; }
.f-card.span-3.has-visual, .f-card.span-2.has-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; }
.f-card.span-2.has-visual { grid-template-columns: minmax(0, 1fr); }
.f-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 45%);
  transition: opacity .4s;
}
.f-card:hover::before { opacity: 1; }
.lp .f-card:hover, .js .lp .f-card.is-in:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.f-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.45rem; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  transition: transform .45s var(--ease);
}
.f-card:hover .f-ico { transform: rotate(-8deg) scale(1.08); }
.f-card h3 { font-size: 1.32rem; margin-top: 22px; }
.f-card p { color: var(--fg-2); margin: 10px 0 0; font-size: .97rem; line-height: 1.55; max-width: 30rem; }
.f-card.is-dark {
  background: radial-gradient(120% 90% at 100% 0%, #2a2f9e 0%, var(--night) 60%);
  border-color: transparent; color: #fff;
}
.f-card.is-dark p { color: rgba(255, 255, 255, .72); }
.f-card.is-dark .f-ico { color: #16171d; background: var(--lime); }
.f-card[style*="#cbf23a"]:not(.is-dark) .f-ico, .f-card[style*="#ffc53d"] .f-ico { color: #8a6400; }

.fv-crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .8rem; font-weight: 700; color: var(--fg-3); margin-bottom: 14px; }
.fv-crumbs span { padding: 5px 10px; border-radius: var(--pill); background: var(--page); border: 1px solid var(--border); }
.fv-crumbs .is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.fv-papers { display: flex; flex-wrap: wrap; gap: 8px; }
.fv-papers span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 12px;
  background: var(--page); border: 1px solid var(--border);
  font-family: var(--mono); font-size: .75rem; color: var(--fg-2);
  transition: transform .4s var(--ease), background .3s, color .3s;
  transition-delay: calc(var(--i) * 30ms);
}
.fv-papers .ico { color: var(--blue); }
.f-card:hover .fv-papers span { transform: translateY(-3px); }
.f-card:hover .fv-papers span:nth-child(odd) { background: color-mix(in srgb, var(--blue) 10%, var(--page)); }

.fv-chart { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 10px; }
.fv-chart i {
  flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #7a5cff, #2e44ff);
  opacity: calc(.35 + var(--i) * .1);
  transform-origin: bottom; transform: scaleY(.25);
  transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms);
}
.is-in .fv-chart i, .no-reveal .fv-chart i { transform: none; }
.fv-chart i:last-of-type { background: linear-gradient(180deg, #cbf23a, #8fd400); opacity: 1; }
.fv-badge { position: absolute; top: 0; left: 0; padding: 6px 11px; border-radius: var(--pill); font-weight: 800; font-size: .78rem; background: #e8f8f2; color: #0b7a56; }

.fv-bi { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.fv-bi-card { padding: 16px; border-radius: 18px; background: var(--page); border: 1px solid var(--border); height: 100%; }
.fv-bi-card p { margin: 10px 0 12px; font-family: var(--display); font-weight: 700; font-size: 1.02rem; line-height: 1.3; color: var(--fg); }
.fv-bi-tag { font-family: var(--mono); font-size: .7rem; padding: 3px 9px; border-radius: var(--pill); background: #7a5cff; color: #fff; }
.fv-bi-ans { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; color: #0b7a56; background: #e8f8f2; padding: 5px 10px; border-radius: 10px; }
.fv-bi-swap { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #16171d; font-weight: 800; transition: transform .5s var(--ease); }
.f-card:hover .fv-bi-swap { transform: rotate(180deg); }

/* --- journey ---------------------------------------------------------------------- */

.lp-journey { background: var(--night); color: #fff; overflow: hidden; }
.journey-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(46, 68, 255, .5), transparent 70%),
    radial-gradient(30% 30% at 85% 15%, rgba(122, 92, 255, .35), transparent 70%),
    radial-gradient(25% 25% at 10% 30%, rgba(203, 242, 58, .12), transparent 70%);
}
.lp-journey .wrap { position: relative; }
.lp-journey .sec-lead { color: rgba(255, 255, 255, .72); }

.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
  position: relative;
}
.steps::before, .steps::after {
  content: ''; position: absolute; top: 26px; height: 2px; left: calc(100% / 12); border-radius: 2px;
}
.steps::before { right: calc(100% / 12); background: rgba(255, 255, 255, .14); }
.steps::after {
  width: calc((100% - 100% / 6) * var(--fill));
  background: linear-gradient(90deg, #7a5cff, var(--lime));
  transition: width .7s var(--ease);
  box-shadow: 0 0 14px rgba(203, 242, 58, .6);
}
[data-journey] { --fill: 0; }
[data-journey] .steps::after { width: calc((100% - 100% / 6) * var(--fill)); }
.step {
  position: relative; z-index: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit;
}
.step-dot {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1b1e55; border: 2px solid rgba(255, 255, 255, .16);
  transition: background .4s, border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.step-dot b { font-family: var(--display); font-size: 1.05rem; position: relative; z-index: 1; }
.step-ring {
  position: absolute; inset: -6px; border-radius: 50%; opacity: 0;
  background: conic-gradient(var(--lime) calc(var(--prog, 0) * 1%), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
.step-title { font-weight: 700; font-size: .95rem; color: rgba(255, 255, 255, .6); transition: color .3s; }
.step.is-done .step-dot { background: #7a5cff; border-color: #7a5cff; }
.step.is-on .step-dot { background: var(--lime); border-color: var(--lime); color: #16171d; transform: scale(1.1); box-shadow: 0 0 0 8px rgba(203, 242, 58, .14); }
.step.is-on .step-title { color: #fff; }
.step:hover .step-dot { transform: scale(1.08); }
.step:focus-visible { outline: none; }
.step:focus-visible .step-dot { box-shadow: 0 0 0 4px rgba(255, 255, 255, .5); }

@property --prog { syntax: '<number>'; inherits: false; initial-value: 0; }
.is-playing .step.is-on .step-ring { opacity: 1; animation: prog var(--step-ms, 3600ms) linear forwards; }
@keyframes prog { from { --prog: 0; } to { --prog: 100; } }

.journey-caption {
  max-width: 34rem; margin: 34px auto 0; min-height: 3.4em; text-align: center;
  color: rgba(255, 255, 255, .76); font-size: 1.05rem;
}
.journey-caption b { display: block; font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; font-weight: 500; }

/* The phone slider. Flat, like a filmstrip: the current step's phone is large in the
   middle, its neighbours sit smaller and paler either side, and every step the whole row
   slides one place to the right — a phone glides in from beyond the left edge of the
   screen while another glides out past the right edge. Each phone sits at the same anchor
   (centre of the stage) and data-pos moves it; far-left/far-right are just off screen. */
.journey-stage {
  --jw: 290px;          /* centre phone width */
  --j-side-x: 150%;     /* how far the side phones sit from the centre */
  --j-slide: cubic-bezier(.65, 0, .35, 1);
  position: relative;
  height: calc(var(--jw) * 2.1);
  margin-top: 48px;
}
.j-dev {
  position: absolute; top: 0; left: 50%;
  width: var(--jw); margin-left: calc(var(--jw) / -2);
  transition: transform 1s var(--j-slide), opacity 1s var(--j-slide), filter 1s var(--j-slide);
  will-change: transform, opacity;
}
.j-dev.no-anim, .j-dev.no-anim .phone-frame { transition: none; }
.j-dev .phone { --pw: var(--jw); }
.j-dev .phone-frame { transition: box-shadow 1s var(--j-slide); }
.j-dev[data-pos="center"] { z-index: 3; opacity: 1; transform: none; }
.j-dev[data-pos="center"] .phone-frame { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2), inset 0 0 0 4px #07080d, 0 0 0 10px rgba(203, 242, 58, .07), 0 60px 120px -30px rgba(46, 68, 255, .8); }
.j-dev[data-pos="left"], .j-dev[data-pos="right"],
.j-dev[data-pos="far-left"], .j-dev[data-pos="far-right"], .j-dev[data-pos="hidden"] {
  z-index: 2; opacity: .5; filter: saturate(.7);
}
.j-dev[data-pos="left"]      { transform: translateX(calc(var(--j-side-x) * -1)) scale(.82); }
.j-dev[data-pos="right"]     { transform: translateX(var(--j-side-x)) scale(.82); }
.j-dev[data-pos="far-left"]  { transform: translateX(calc(-50vw - var(--jw))) scale(.82); }
.j-dev[data-pos="far-right"] { transform: translateX(calc(50vw + var(--jw))) scale(.82); }
.j-dev[data-pos="hidden"]    { transform: translateX(calc(-50vw - var(--jw))) scale(.82); visibility: hidden; }

/* --- mock tests ------------------------------------------------------------------- */

.mock-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.checklist li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--border);
  font-weight: 700; font-size: .93rem;
  transition: transform .3s var(--ease), border-color .3s;
}
.checklist li:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--border)); transform: translateX(4px); }
.checklist li span { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, transparent); font-size: 1rem; }
.mock-visual { position: relative; }
.mock-hint { display: block; margin-top: 14px; text-align: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--fg-3); }

.browser {
  border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; background: #eceae1; border-bottom: 1px solid #e2dfd4; }
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1; max-width: 360px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 6px 14px; border-radius: 9px; background: #fff; font-size: .78rem; color: #7c7e8a;
}
.browser-url .ico { font-size: .8rem; }

/* The CBT demo. Light-only on purpose: it imitates the real exam screen. */
.cbt { color: #16171d; font-size: 14px; background: #fff; }
.cbt button { font: inherit; cursor: pointer; }
.cbt-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; background: linear-gradient(120deg, #1b2cc4, #2b41f5); color: #fff; flex-wrap: wrap; }
.cbt-top b { display: block; font-size: 1rem; }
.cbt-top em { font-style: normal; font-size: .75rem; opacity: .75; }
.cbt-tools { display: flex; align-items: center; gap: 10px; }
.cbt-lang { display: flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .15); }
.cbt-lang button { border: 0; background: none; color: rgba(255, 255, 255, .8); padding: 5px 11px; border-radius: 8px; font-weight: 800; font-size: .8rem; }
.cbt-lang .is-on { background: #fff; color: #1b2cc4; }
.cbt-timer { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; background: var(--lime); color: #16171d; font-family: var(--mono); font-size: .9rem; }
.cbt-timer b { font-weight: 500; font-variant-numeric: tabular-nums; }
.cbt-tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid #ece9e0; overflow-x: auto; scrollbar-width: none; }
.cbt-tabs button { border: 0; background: none; padding: 9px 14px; border-radius: 10px 10px 0 0; font-weight: 700; font-size: .82rem; color: #7c7e8a; white-space: nowrap; border-bottom: 2px solid transparent; }
.cbt-tabs .is-on { color: #2e44ff; border-bottom-color: #2e44ff; background: #f1f3ff; }
.cbt-main { display: grid; grid-template-columns: 1fr 230px; }
.cbt-q { padding: 20px 22px; border-right: 1px solid #ece9e0; display: flex; flex-direction: column; }
.cbt-qhead { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: #7c7e8a; padding-bottom: 12px; border-bottom: 1px dashed #e2dfd4; }
.cbt-qhead b { color: #16171d; font-size: .95rem; }
.cbt-qhead i { font-style: normal; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.cbt-qhead .pos { background: #e8f8f2; color: #0b7a56; }
.cbt-qhead .neg { background: #ffeae5; color: #ce3b1b; }
.cbt-text { font-size: 1.05rem; font-weight: 600; line-height: 1.5; margin: 16px 0; min-height: 3em; }
.cbt-opts { display: grid; gap: 8px; }
.cbt-opt {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid #ece9e0; background: #fff;
  font-weight: 600; color: #16171d; transition: border-color .2s, background .2s;
}
.cbt-opt:hover { border-color: #b9c1ff; }
.cbt-opt i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c9c6ba; flex: none; transition: border .2s; }
.cbt-opt.is-on { border-color: #2e44ff; background: #f1f3ff; }
.cbt-opt.is-on i { border: 5px solid #2e44ff; }
.cbt-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; }
.cbt-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid #e2dfd4; background: #fff; font-weight: 700; font-size: .8rem; color: #4a4c57; }
.cbt-btn.is-mark { border-color: #7a5cff; color: #5b3fe0; }
.cbt-btn.is-save { margin-left: auto; background: #2e44ff; border-color: #2e44ff; color: #fff; box-shadow: 0 3px 0 #1b2cc4; }
.cbt-btn:active { transform: translateY(2px); }
.cbt-side { padding: 16px; background: #faf9f5; display: flex; flex-direction: column; gap: 14px; }
.cbt-legend { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; font-size: .68rem; color: #4a4c57; }
.cbt-legend span { display: flex; align-items: center; gap: 5px; }
.cbt-legend i { width: 12px; height: 12px; border-radius: 4px; background: #e6e3d9; flex: none; }
.cbt-palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cbt-palette button { aspect-ratio: 1; border: 0; border-radius: 8px; background: #e6e3d9; color: #4a4c57; font-weight: 700; font-size: .72rem; transition: transform .15s; }
.cbt-palette button:hover { transform: scale(1.08); }
.cbt .is-ans { background: #12b886; color: #fff; }
.cbt .is-skip { background: #ff5a3c; color: #fff; }
.cbt .is-mark { background: #7a5cff; color: #fff; }
.cbt-palette .is-cur { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2e44ff; }
.cbt-legend i.is-ans { background: #12b886; }
.cbt-legend i.is-skip { background: #ff5a3c; }
.cbt-legend i.is-mark { background: #7a5cff; }
.cbt-submit { margin-top: auto; padding: 10px; border: 0; border-radius: 10px; background: #16171d; color: #fff; font-weight: 800; font-size: .82rem; }

/* --- your next move (#analytics) -------------------------------------------------- */

.lp-progress { overflow: hidden; }
.lp-progress::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 760px; height: 760px; right: -180px; top: 50%; translate: 0 -50%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 10%, transparent), transparent 62%);
}
.lp-progress { isolation: isolate; }

.pg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head visual" "insights visual" "cta visual";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(40px, 6vw, 88px);
}
.pg-head { grid-area: head; }
.pg-head .sec-lead { max-width: 30rem; }
.pg-visual { grid-area: visual; align-self: center; min-width: 0; }
.pg-insights { grid-area: insights; display: grid; gap: 10px; margin-top: 34px; }
.pg-cta { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; align-self: start; }

/* Insight blocks: icon, a line of copy, and a small ring. */
.pg-card {
  --tc: var(--blue); --tt: var(--blue);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.js .lp .pg-card[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.lp .pg-card:hover, .js .lp .pg-card.is-in:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--tc) 40%, var(--border)); }
.pg-card.tone-green { --tc: #12b886; --tt: #0b8a62; }
.pg-card.tone-coral { --tc: #ff5a3c; --tt: #ce3b1b; }
.pg-card.tone-blue  { --tc: #2e44ff; --tt: #2e44ff; }
.pg-ico {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.15rem;
  color: var(--tc); background: color-mix(in srgb, var(--tc) 13%, transparent);
}
.pg-body em {
  display: block; font-style: normal; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tt);
}
.pg-body b { display: block; font-family: var(--display); font-size: 1.08rem; letter-spacing: -.01em; margin-top: 2px; }
.pg-body p { margin: 3px 0 0; font-size: .88rem; line-height: 1.45; color: var(--fg-2); }

@property --pf { syntax: '<number>'; inherits: true; initial-value: 0; }
.pg-meter {
  --pf: 0;
  position: relative; width: 50px; height: 50px; display: grid; place-items: center; flex: none;
  transition: --pf 1.3s var(--ease) .35s;
}
.pg-card.is-in .pg-meter, html:not(.js) .pg-meter { --pf: var(--p); }
.pg-meter::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--tc) calc(var(--pf) * 1%), color-mix(in srgb, var(--fg) 9%, transparent) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}
.pg-meter b { position: relative; font-family: var(--display); font-size: .9rem; }
.pg-meter i { font-style: normal; font-size: .62rem; opacity: .7; }

/* The recommended action carries the weight, so it leads into the CTA. */
.pg-card.is-next {
  --tc: var(--lime); --tt: var(--lime);
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 22px 44px -24px rgba(46, 68, 255, .75);
}
.pg-card.is-next .pg-ico { color: #16171d; background: var(--lime); }
.pg-card.is-next .pg-body p { color: rgba(255, 255, 255, .8); }
.pg-card.is-next .pg-meter::before { background: conic-gradient(var(--lime) calc(var(--pf) * 1%), rgba(255, 255, 255, .2) 0); }
.lp .pg-card.is-next:hover, .js .lp .pg-card.is-next.is-in:hover { border-color: transparent; box-shadow: 0 26px 50px -22px rgba(46, 68, 255, .85); }

.pg-note { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: .8rem; color: var(--fg-3); }
.pg-note .ico { color: var(--blue); }

/* Showcase: one big device, its caption, and the thumbnails that drive it. --sc-pw is the
   phone width; the stage is sized from it so slides never change the section's height. */
.sc { --sc-pw: 252px; display: flex; flex-direction: column; align-items: center; }
.sc-stage { position: relative; width: 100%; height: calc(var(--sc-pw) * 2.1); display: grid; place-items: center; }
.sc-halo {
  position: absolute; width: calc(var(--sc-pw) * 1.6); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 242, 58, .35), rgba(46, 68, 255, .16) 45%, transparent 70%);
  filter: blur(8px);
}
.sc-preview { position: relative; z-index: 2; display: grid; place-items: center; width: 100%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sc-preview .phone { --pw: var(--sc-pw); }
.sc-preview .browser.is-fixed { width: min(100%, calc(var(--sc-pw) * 1.85)); }
.browser.is-fixed .browser-body { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.sc-preview.is-swap > * { animation: scIn .5s var(--ease) both; }
@keyframes scIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }

.sc-float { position: absolute; z-index: 3; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.sc-stage:not(.has-floats) .sc-float { opacity: 0; transform: translateY(8px) scale(.94); pointer-events: none; }
.sc-f1 { top: 30%; left: calc(50% - var(--sc-pw) * .5 - 96px); }
.sc-f2 { top: 44%; right: calc(50% - var(--sc-pw) * .5 - 84px); }
.sc-f3 { bottom: 13%; left: calc(50% - var(--sc-pw) * .5 - 58px); }
.sc-float-in {
  --tc: var(--blue);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px; white-space: nowrap;
  background: var(--card); color: var(--fg); border: 1px solid var(--border);
  box-shadow: 0 20px 40px -18px rgba(20, 24, 90, .38);
}
.sc-float-in.tone-green { --tc: #12b886; }
.sc-float-in.tone-lime { --tc: #6f9a00; }
.sc-float-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 1rem; color: var(--tc); background: color-mix(in srgb, var(--tc) 14%, transparent); }
.sc-float-in.tone-lime .sc-float-ico { color: #16171d; background: var(--lime); }
.sc-float-in em { display: block; font-style: normal; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.sc-float-in b { display: block; font-family: var(--display); font-size: 1.12rem; line-height: 1.15; }
.sc-float-in small { font-family: var(--ui); font-size: .72rem; font-weight: 700; color: var(--fg-3); }
.sc-float-in.tone-green small { color: #0b8a62; }

/* Entrance once the visual scrolls in, then a slow, small drift. */
.js .lp .pg-visual:not(.is-in) .sc-float-in { opacity: 0; }
.pg-visual.is-in .sc-float-in { animation: popIn .6s var(--ease) both, scBob 7s ease-in-out infinite; }
.pg-visual.is-in .sc-f1 .sc-float-in { animation-delay: .45s, .45s; }
.pg-visual.is-in .sc-f2 .sc-float-in { animation-delay: .6s, -2.3s; }
.pg-visual.is-in .sc-f3 .sc-float-in { animation-delay: .75s, -4.6s; }
@keyframes scBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.sc-caption { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 26rem; min-height: 7.4em; margin-top: 14px; text-align: center; }
.sc-count { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--blue); }
.sc-caption b { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.01em; }
.sc-caption p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--fg-2); }
.sc-sample { margin-top: 6px; padding: 2px 9px; border-radius: var(--pill); border: 1px dashed var(--border); font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }

.sc-nav { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 520px; margin-top: 10px; }
.sc-arrow {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--card); color: var(--fg); font-size: 1.1rem;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.sc-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.06); }
.sc-thumbs {
  flex: 1; min-width: 0; display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  padding: 8px 6px 6px; scrollbar-width: none;
}
.sc-thumbs::-webkit-scrollbar { display: none; }
.sc-thumb {
  flex: none; width: 54px; padding: 0; margin: 0; cursor: pointer; scroll-snap-align: center;
  border: 0; border-radius: 11px; background: none; opacity: .55;
  transition: opacity .25s, transform .3s var(--ease);
}
.sc-thumb.is-browser { width: 104px; }
.sc-thumb-screen {
  display: block; position: relative; overflow: hidden; aspect-ratio: 9 / 19.5;
  border-radius: 10px; background: #f6f5f0;
  font-size: 2px; /* a 54px thumbnail ≈ 26em wide, matching the full-size screens */
  box-shadow: 0 0 0 1px var(--border), 0 6px 14px -8px rgba(20, 24, 90, .35);
  transition: box-shadow .25s;
}
.sc-thumb.is-browser .sc-thumb-screen { aspect-ratio: 16 / 10; }
.sc-thumb:hover { opacity: .85; }
.sc-thumb[aria-selected="true"] { opacity: 1; transform: translateY(-3px); }
.sc-thumb[aria-selected="true"] .sc-thumb-screen { box-shadow: 0 0 0 2px var(--blue), 0 10px 18px -8px rgba(46, 68, 255, .55); }
.sc-thumb:focus-visible { outline: none; }
.sc-thumb:focus-visible .sc-thumb-screen { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--blue); }

/* Labelled stand-in for a slide with neither a screenshot nor a dummy screen. */
.shot-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5em; padding: 2em; text-align: center; color: #7c7e8a;
  background: repeating-linear-gradient(135deg, #f3f1ea 0 1.2em, #ecebe3 1.2em 2.4em);
}
.shot-ph::after { content: ''; position: absolute; inset: 1.2em; border: .15em dashed #cfcbbd; border-radius: 1.6em; }
.shot-ph .ico { width: 3em; height: 3em; color: #9a9ca8; }
.shot-ph b { font-size: 1.3em; color: #4a4c57; }
.shot-ph em { font-style: normal; font-size: 1.15em; }
.shot-ph small { font-family: var(--mono); font-size: .95em; }

/* --- AI tutor --------------------------------------------------------------------- */

.lp-ai { background: #090b26; color: #fff; overflow: hidden; }
.ai-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 75% 50%, rgba(122, 92, 255, .38), transparent 70%),
    radial-gradient(30% 40% at 90% 90%, rgba(46, 68, 255, .35), transparent 70%),
    radial-gradient(25% 30% at 15% 20%, rgba(203, 242, 58, .08), transparent 70%);
}
.ai-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.lp-ai .sec-lead { color: rgba(255, 255, 255, .72); }
.ai-points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; }
.ai-points li { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s, border-color .3s; }
.ai-points li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(203, 242, 58, .3); }
.ai-points li > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(203, 242, 58, .12); color: var(--lime); font-size: 1.1rem; }
.ai-points b { font-size: 1.02rem; }
.ai-points p { margin: 3px 0 0; color: rgba(255, 255, 255, .62); font-size: .92rem; }

.ai-window { position: relative; }
.ai-window::before {
  content: ''; position: absolute; inset: -1px; border-radius: 29px; z-index: 0;
  background: linear-gradient(140deg, rgba(203, 242, 58, .55), rgba(122, 92, 255, .4) 40%, rgba(255, 255, 255, .06) 70%);
}
.ai-chat {
  position: relative; z-index: 1; margin: 1px;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, #14174a, #0d0f33);
  box-shadow: 0 50px 100px -40px rgba(122, 92, 255, .6);
  font-size: 15px;
  color: #fff;
}
.ai-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ai-head b { display: block; font-size: 1rem; }
.ai-head em { font-style: normal; font-size: .78rem; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: 6px; }
.ai-ava { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--lime), #7a5cff); color: #0b0d2e; font-size: 1.2rem; }
.live { width: 7px; height: 7px; border-radius: 50%; background: #12b886; box-shadow: 0 0 8px #12b886; }
.ai-msgs { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ai-msg { max-width: 88%; border-radius: 20px; padding: 14px 16px; }
.ai-msg p { margin: 0; line-height: 1.55; }
.ai-msg.is-user { align-self: flex-end; background: #2e44ff; border-bottom-right-radius: 6px; }
.ai-msg.is-user p { margin-top: 8px; font-weight: 600; }
.ai-voice { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: rgba(255, 255, 255, .75); }
.ai-voice em { font-style: normal; font-family: var(--mono); }
.wave { display: flex; align-items: center; gap: 2px; height: 20px; }
.wave i { width: 3px; border-radius: 3px; background: var(--lime); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 100%; } }
.ai-msg.is-bot { align-self: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-bottom-left-radius: 6px; display: grid; gap: 10px; }
.ai-msg.is-bot b { color: var(--lime); }
.ai-msg.is-bot em { font-style: normal; text-decoration: underline; text-decoration-color: rgba(203, 242, 58, .5); }
.ai-trick { padding: 10px 12px; border-radius: 12px; background: rgba(203, 242, 58, .1); border: 1px dashed rgba(203, 242, 58, .35); font-size: .9rem; }
.ai-src { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-src span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; background: rgba(255, 255, 255, .07); font-size: .74rem; color: rgba(255, 255, 255, .75); }
.ai-typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); animation: dot 1.2s ease-in-out infinite; }
.ai-typing i:nth-child(2) { animation-delay: .15s; } .ai-typing i:nth-child(3) { animation-delay: .3s; }

/* Before the chat scrolls into view: typing dots only. Then the reply reads itself in. */
.js .lp .ai-window .ai-line { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(1.5s + var(--i) * .45s); }
.js .lp .ai-window.is-in .ai-line { opacity: 1; transform: none; }
.ai-typing { max-height: 24px; overflow: hidden; transition: max-height .3s 1.3s, opacity .3s 1.3s, padding .3s 1.3s, margin .3s 1.3s; }
.ai-window.is-in .ai-typing, html:not(.js) .ai-typing { max-height: 0; opacity: 0; padding: 0; margin-bottom: -10px; }

.ai-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; }
.ai-suggest span { padding: 7px 12px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .16); font-size: .78rem; color: rgba(255, 255, 255, .8); transition: background .2s, border-color .2s; cursor: default; }
.ai-suggest span:hover { background: rgba(203, 242, 58, .1); border-color: rgba(203, 242, 58, .4); }
.ai-input { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 8px 8px 8px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .45); font-size: .88rem; }
.ai-input span { flex: 1; }
.ai-mic { width: 44px; height: 44px; border-radius: 14px; border: 0; display: grid; place-items: center; background: var(--lime); color: #0b0d2e; font-size: 1.15rem; cursor: pointer; box-shadow: 0 0 0 0 rgba(203, 242, 58, .5); animation: pulse 2.4s infinite; }

/* --- battle ----------------------------------------------------------------------- */

.lp-battle { background: linear-gradient(135deg, #2b41f5 0%, #4535d8 50%, #5638cf 100%); color: #fff; overflow: hidden; }
.battle-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(35% 45% at 80% 30%, rgba(203, 242, 58, .22), transparent 70%),
    radial-gradient(30% 40% at 15% 90%, rgba(255, 90, 60, .25), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 26px);
}
.battle-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.lp-battle .sec-lead { color: rgba(255, 255, 255, .8); }
.battle-steps { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.battle-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-weight: 700; font-size: .92rem; }
.battle-steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #16171d; font-family: var(--mono); font-size: .72rem; }

.battle {
  position: relative;
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: 30px;
  background: rgba(9, 11, 38, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -40px rgba(5, 6, 30, .8);
}
.b-top { display: flex; align-items: center; gap: 10px; }
.b-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--pill); background: rgba(255, 90, 60, .2); color: #ffb3a3; font-weight: 800; font-size: .8rem; }
.b-round { margin-left: auto; font-family: var(--mono); font-size: .8rem; color: rgba(255, 255, 255, .7); }
.b-round b { color: #fff; font-weight: 500; }
.b-timer { position: relative; width: 46px; height: 46px; display: grid; place-items: center; }
.b-timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.b-timer circle { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 3.5; }
.b-timer .b-timer-fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.is-ticking .b-timer-fg { animation: timer 10s linear forwards; }
@keyframes timer { to { stroke-dashoffset: 1; } }
.b-timer b { font-family: var(--mono); font-weight: 500; font-size: .95rem; position: relative; }

.b-players { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 20px; }
.b-player { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 4px 10px; align-items: center; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.b-player.is-rival { direction: rtl; }
.b-player.is-rival > * { direction: ltr; }
.b-player.is-rival > div { text-align: right; }
.b-ava { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--lime), #8fd400); color: #16171d; }
.is-rival .b-ava { background: linear-gradient(135deg, #ffc53d, #ff5a3c); }
.b-player b { display: block; font-size: .98rem; }
.b-player em { font-style: normal; font-size: .74rem; color: rgba(255, 255, 255, .6); }
.b-score { grid-column: 1 / -1; font-family: var(--display); font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.is-rival .b-score { text-align: right; }
.b-score.is-pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.25); color: var(--lime); } }
.b-vs { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; background: var(--lime); color: #16171d; box-shadow: 0 0 0 6px rgba(203, 242, 58, .15), 0 0 30px rgba(203, 242, 58, .5); }
.b-race { display: flex; height: 6px; gap: 3px; margin-top: 14px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.b-race i { width: 50%; transition: width .6s var(--ease); }
.b-race i:first-child { background: var(--lime); }
.b-race i:last-child { background: #ff8a5c; }
.b-q { margin-top: 18px; padding: 18px; border-radius: 22px; background: #fff; color: #16171d; }
.b-q p { margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; min-height: 2.6em; }
.b-opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.b-opt { position: relative; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #ece9e0; background: #faf9f5; font-weight: 700; font-size: .9rem; transition: background .3s, border-color .3s, color .3s; }
.b-opt.is-right { background: #12b886; border-color: #12b886; color: #fff; }
.b-opt.is-wrong { background: #ff5a3c; border-color: #ff5a3c; color: #fff; }
.b-opt.by-you::after, .b-opt.by-rival::before {
  position: absolute; top: -9px; padding: 2px 7px; border-radius: 6px; font-size: .62rem; font-weight: 800;
  animation: popIn .3s var(--ease);
}
.b-opt.by-you::after { content: 'YOU'; right: 8px; background: var(--lime); color: #16171d; }
.b-opt.by-rival::before { content: 'ROHIT'; left: 8px; background: #ffc53d; color: #16171d; }
.b-toast {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  padding: 9px 16px; border-radius: var(--pill); background: #16171d; color: #fff; font-weight: 700; font-size: .82rem;
  white-space: nowrap; opacity: 0; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
}
.b-toast.is-on { animation: toast 1.8s var(--ease); }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 10px); } 15%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* --- freedom ---------------------------------------------------------------------- */

.freedom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.freedom-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.freedom-visual::before { content: ''; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--blue) 18%, transparent), transparent 65%); }
.fan { position: relative; display: flex; align-items: center; justify-content: center; }
.fan-l, .fan-r { --pw: 220px; position: relative; z-index: 1; transition: rotate .6s var(--ease), translate .6s var(--ease); }
.fan-l { rotate: -11deg; translate: 70px 30px; }
.fan-r { rotate: 11deg; translate: -70px 30px; }
.fan-c { --pw: 260px; position: relative; z-index: 2; }
.freedom-visual:hover .fan-l { rotate: -15deg; translate: 50px 36px; }
.freedom-visual:hover .fan-r { rotate: 15deg; translate: -50px 36px; }
.fan-chip {
  position: absolute; z-index: 3; padding: 10px 16px; border-radius: var(--pill);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-weight: 800; font-size: .88rem; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.fc-a { top: 8%; left: 4%; }
.fc-b { top: 40%; right: 0; background: var(--lime); color: #16171d; border-color: transparent; animation-delay: -2s; }
.fc-c { bottom: 8%; left: 12%; background: #16171d; color: #fff; border-color: transparent; animation-delay: -4s; }

.freedom-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.freedom-list li { display: flex; gap: 16px; padding: 16px 14px; border-radius: 18px; transition: background .3s; }
.freedom-list li:hover { background: var(--card); }
.fr-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; background: var(--grad); color: #fff; font-size: 1.15rem; box-shadow: 0 10px 20px -10px rgba(46, 68, 255, .6); }
.freedom-list b { font-size: 1.05rem; }
.freedom-list p { margin: 3px 0 0; color: var(--fg-2); font-size: .94rem; }

/* --- testimonials ----------------------------------------------------------------- */

.car-ctrl { display: flex; gap: 10px; }
.car-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--border); background: var(--card); color: var(--fg); font-size: 1.2rem; cursor: pointer;
  transition: background .2s, color .2s, transform .2s var(--ease), border-color .2s;
}
.car-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.06); }

.car-track {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 24px; margin: 0 -2px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 20px; }
.t-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  margin: 0; padding: 28px;
  border-radius: 26px; background: var(--card); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.t-card::after { content: '“'; position: absolute; right: 18px; top: -14px; font-family: var(--display); font-size: 8rem; line-height: 1; color: color-mix(in srgb, var(--blue) 9%, transparent); pointer-events: none; }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { display: flex; gap: 3px; }
.star { width: 18px; height: 18px; fill: color-mix(in srgb, var(--fg) 14%, transparent); }
.star.is-on { fill: #ffb800; }
.t-card blockquote { margin: 0; font-size: 1.06rem; line-height: 1.6; color: var(--fg); flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.t-ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden; background: var(--grad); color: #fff; font-weight: 800; }
.t-ava img { width: 100%; height: 100%; object-fit: cover; }
.t-card figcaption b { display: block; font-size: .98rem; }
.t-card figcaption em { font-style: normal; font-size: .82rem; color: var(--fg-3); }
.car-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.car-dots { display: flex; gap: 8px; }
.car-dots button { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; background: color-mix(in srgb, var(--fg) 18%, transparent); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.car-dots .is-on { width: 30px; background: var(--blue); }
.t-note { margin: 0; font-size: .8rem; color: var(--fg-3); }

/* --- exams ------------------------------------------------------------------------ */

.exam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.x-card {
  --accent: var(--blue);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 4px;
  min-height: 210px; padding: 22px;
  border-radius: 24px; background: var(--card); border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.js .lp .x-card[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .4s var(--ease), border-color .4s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
.x-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(300px circle at var(--mx, 80%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
  transition: opacity .4s;
}
.x-card:hover::before { opacity: 1; }
.lp .x-card:hover, .js .lp .x-card.is-in:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.x-ico {
  width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem;
  color: #fff; background: var(--accent); margin-bottom: auto;
  box-shadow: 0 12px 24px -12px var(--accent);
  transition: transform .45s var(--ease);
}
.x-card:hover .x-ico { transform: translateY(-3px) rotate(-6deg); }
.x-go {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--border); color: var(--fg-3);
  transition: background .3s, color .3s, transform .4s var(--ease), border-color .3s;
}
.x-card:hover .x-go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.x-name { font-family: var(--display); font-size: 1.55rem; letter-spacing: -.025em; line-height: 1.1; margin-top: 22px; }
.x-hi { font-size: .9rem; color: var(--fg-2); }
.x-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.x-meta em { font-style: normal; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-right: 4px; }
.x-meta i { font-style: normal; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: var(--pill); background: color-mix(in srgb, var(--accent) 11%, transparent); color: color-mix(in srgb, var(--accent) 80%, var(--fg)); }
.x-more { border-style: dashed; background: transparent; }
.x-more .x-ico { background: transparent; color: var(--blue); border: 1.5px dashed color-mix(in srgb, var(--blue) 40%, transparent); box-shadow: none; }
.x-more .x-name { font-size: 1.3rem; }

/* --- final CTA -------------------------------------------------------------------- */

.lp-cta { padding-top: 0; }
.lp-alt + .lp-cta { padding-top: clamp(48px, 6vw, 72px); }
#faq { padding-top: clamp(64px, 8vw, 96px); }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center;
  padding: clamp(36px, 6vw, 80px);
  border-radius: clamp(28px, 4vw, 44px);
  background: var(--grad); color: #fff;
  box-shadow: 0 60px 120px -50px rgba(46, 68, 255, .8);
}
.cta-panel::before { content: ''; position: absolute; z-index: -1; width: 600px; height: 600px; right: -150px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(203, 242, 58, .4), transparent 62%); }
.cta-panel::after { content: ''; position: absolute; z-index: -1; width: 500px; height: 500px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 60, .3), transparent 62%); }
.cta-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-grid-bg { z-index: -1; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 10%, transparent 75%); }
.cta-title { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: .95; letter-spacing: -.045em; }
.cta-lead { font-size: 1.12rem; line-height: 1.6; color: rgba(255, 255, 255, .84); max-width: 34rem; margin: 22px 0 0; }
.install-note {
  margin-top: 26px; max-width: 38rem; padding: 16px 18px; border-radius: 18px;
  background: rgba(9, 11, 38, .28); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem; line-height: 1.55; color: rgba(255, 255, 255, .78);
}
.install-note b { display: block; color: #fff; margin-bottom: 4px; }
.install-note strong { color: var(--lime); }
.cta-phone { justify-self: center; align-self: end; margin-bottom: calc(clamp(36px, 6vw, 80px) * -1 - 120px); }
.cta-phone .phone { --pw: 270px; rotate: 6deg; }

/* --- FAQ -------------------------------------------------------------------------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-contact { margin-top: 32px; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); }
.faq-contact b { font-family: var(--display); font-size: 1.2rem; }
.faq-contact p { margin: 4px 0 16px; color: var(--fg-2); font-size: .93rem; }
.faq-contact .btn { gap: 8px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 20px; background: var(--card); border: 1px solid var(--border); transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--blue) 35%, var(--border)); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 20px; }
.faq-plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--page); color: var(--fg); font-size: 1rem; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { padding: 0 22px 20px; color: var(--fg-2); line-height: 1.65; }
.faq-a p { margin: 0; }
.faq-a a { color: var(--blue); font-weight: 700; }
.faq-item[open] .faq-a { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* --- footer ----------------------------------------------------------------------- */

/* Black, editorial: contact on the left, three link columns on the right, a rule ending in
   a pill, the legal row, and a huge wordmark cut off by the bottom edge. */
.lp-foot {
  --foot-bg: #111214;
  position: relative; overflow: hidden;
  background: var(--foot-bg); color: #fff;
  padding: clamp(56px, 7vw, 88px) 0 0;
  font-size: .95rem;
}
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; }

.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); font-size: 1.05rem;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.foot-social a:hover { background: var(--lime); border-color: var(--lime); color: #16171d; transform: translateY(-2px); }
.foot-tagline { margin: 34px 0 0; font-size: 1.1rem; line-height: 1.4; }
.foot-mail { display: inline-block; margin-top: 16px; color: #fff; text-decoration: none; letter-spacing: .02em; transition: color .2s; }
.foot-mail:hover { color: var(--lime); }
.foot-meta { margin: 12px 0 0; color: rgba(255, 255, 255, .55); font-size: .88rem; }

.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp-foot nav { display: flex; flex-direction: column; gap: 12px; }
.lp-foot nav b { color: #fff; font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.foot-cols a { color: rgba(255, 255, 255, .82); text-decoration: none; width: fit-content; transition: color .2s; }
.foot-cols a:hover { color: var(--lime); }

/* The rule runs the full width and the pill sits on its right end. */
.foot-rule { position: relative; display: flex; justify-content: flex-end; align-items: center; margin-top: clamp(48px, 6vw, 72px); }
.foot-rule::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .45); }
.foot-pill {
  position: relative; padding: 8px 18px; border-radius: var(--pill);
  background: #fff; color: #16171d; font-weight: 600; font-size: .85rem; text-decoration: none;
  transition: background .2s, transform .2s var(--ease);
}
.foot-pill:hover { background: var(--lime); transform: translateY(-1px); }

.foot-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 48px; flex-wrap: wrap; margin-top: 26px; }
.foot-about { max-width: 22rem; }
.foot-about p { margin: 0; color: rgba(255, 255, 255, .62); font-size: .85rem; line-height: 1.7; }
.foot-about .foot-copy { margin-top: 14px; color: rgba(255, 255, 255, .45); font-size: .8rem; }
.lp-foot .foot-legal { flex-direction: row; gap: clamp(28px, 10vw, 144px); }
.foot-legal a { color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; font-size: .92rem; transition: color .2s; }
.foot-legal a:hover { color: var(--lime); }

/* Wordmark: roughly the top two-thirds of the letters show, the rest is cut off. */
/* Edge to edge: landing.js sizes the font so the word is exactly as wide as the footer
   (the 24vw here is the no-JS fallback). The box is shorter than the letters, so the bottom
   edge still crops them. */
.foot-mark {
  display: flex; justify-content: center;
  margin-top: clamp(24px, 4vw, 48px);
  font-size: 24vw;
  height: .62em;
  overflow: hidden;
}
.foot-mark span {
  flex: none; white-space: nowrap;
  font-family: var(--display); font-weight: 600;
  font-size: 1em; line-height: .78; letter-spacing: -.05em;
  color: #57585c;
}

/* --- dark mode: the light sections follow the page tokens; a few fixed tints adapt -- */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .lp .tag:not(.is-dark) { color: #9aa6ff; }
  :root:not([data-theme='light']) .lp .hl-mark { color: #16171d; padding: 0 .08em; background: linear-gradient(var(--lime), var(--lime)) no-repeat; background-size: 100% 100%; border-radius: .12em; }
  :root:not([data-theme='light']) .js .lp [data-reveal]:not(.is-in) .hl-mark { background-size: 0% 100%; }
  :root:not([data-theme='light']) .lp .fv-badge { background: rgba(18, 184, 134, .15); color: #5fe0b4; }
  :root:not([data-theme='light']) .lp .fv-bi-ans { background: rgba(18, 184, 134, .15); color: #5fe0b4; }
  :root:not([data-theme='light']) .lp .browser { border-color: #2a2c36; }
}

/* --- responsive ------------------------------------------------------------------- */


@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .store-row, .hero-exams { justify-content: center; }
  .hero-exams { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .hero-logo { width: min(64vw, 340px); }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .f-card.span-3 { grid-column: span 2; }
  .f-card.span-3.has-visual { grid-template-columns: minmax(0, 1fr); }

  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4)::before { display: none; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--border); }

  .mock-grid, .ai-grid, .battle-grid, .freedom-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .mock-copy { max-width: 40rem; }
  .freedom-visual { order: -1; min-height: 520px; }
  .faq-side { position: static; }


  .t-card { flex-basis: calc((100% - 18px) / 2); }

  .cta-panel { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .cta-panel .cta-row, .cta-panel .store-row { justify-content: center; }
  .cta-lead, .install-note { margin-left: auto; margin-right: auto; }
  .cta-phone { margin-bottom: calc(clamp(36px, 6vw, 80px) * -1 - 200px); }

  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}

@media (max-width: 760px) {
  .lp-sec { padding: 76px 0; }
  .sec-head.split { align-items: flex-start; }

  .hero-logo { width: min(62vw, 260px); }
  .hero-exams { gap: 8px; }
  .exam-pill { padding: 4px 4px 4px 16px; gap: 10px; font-size: .85rem; }
  .exam-pill-go { width: 30px; height: 30px; font-size: .85rem; }

  .lp-stats { margin-top: -48px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); border-radius: 22px; }
  .stat { padding: 22px 12px; }
  .stat::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat:nth-child(even) { border-left: 1px solid var(--border); }
  .stat:last-child { grid-column: 1 / -1; border-left: 0; }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .f-card.span-2, .f-card.span-3 { grid-column: auto; }
  .f-card { min-height: 0; padding: 24px; }
  .fv-bi { grid-template-columns: minmax(0, 1fr); }
  .fv-bi-swap { margin: -4px auto; transform: rotate(90deg); }
  .f-card:hover .fv-bi-swap { transform: rotate(270deg); }

  .step-title { font-size: .72rem; }
  .step-dot { width: 42px; height: 42px; }
  .steps::before, .steps::after { top: 20px; }
  .journey-caption { margin-top: 24px; }
  .journey-stage { --jw: 230px; --j-side-x: 112%; margin-top: 28px; }

  .checklist { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .checklist li { padding: 10px; font-size: .84rem; gap: 9px; }
  .cbt-main { grid-template-columns: minmax(0, 1fr); }
  .cbt-q { border-right: 0; padding: 16px; }
  .cbt-side { border-top: 1px solid #ece9e0; }
  .cbt-palette { grid-template-columns: repeat(10, 1fr); }
  .cbt-btn.is-save { margin-left: 0; }
  .cbt-actions .cbt-btn { flex: 1 1 auto; justify-content: center; }


  .b-player { padding: 10px; }
  .b-ava { width: 36px; height: 36px; border-radius: 12px; }
  .b-player em { display: none; }
  .b-score { font-size: 2rem; }
  .b-vs { width: 40px; height: 40px; font-size: .85rem; }
  .b-opts { grid-template-columns: minmax(0, 1fr); }

  .freedom-visual { min-height: 420px; }
  .fan-l, .fan-r { --pw: 150px; }
  .fan-l { translate: 56px 20px; } .fan-r { translate: -56px 20px; }
  .fan-c { --pw: 190px; }
  .fan-chip { font-size: .76rem; padding: 8px 12px; }

  .t-card { flex-basis: 86%; padding: 24px; }
  .car-ctrl { display: none; }

  .exam-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .x-card { min-height: 180px; padding: 16px; border-radius: 20px; }
  .x-ico { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 13px; }
  .x-go { width: 30px; height: 30px; top: 14px; right: 14px; }
  .x-name { font-size: 1.2rem; margin-top: 16px; }
  .x-hi { font-size: .8rem; }

  .cta-phone .phone { --pw: 210px; }

  .faq-item summary { font-size: 1rem; padding: 18px; }
  .faq-a { padding: 0 18px 18px; }

  .foot-cols { gap: 18px; }
  .lp-foot nav { gap: 10px; font-size: .9rem; }
  .foot-bottom { flex-direction: column; }
  .lp-foot .foot-legal { gap: 28px; }
}

@media (max-width: 560px) {
  .lp .cta-row .btn { width: 100%; }
  .lp .store-row { justify-content: center; }
  .marquee { padding: 14px 0; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 350px) {
  .exam-grid { grid-template-columns: minmax(0, 1fr); }
}


/* --- your next move: responsive -------------------------------------------------- */

@media (max-width: 1100px) {
  .sc { --sc-pw: 236px; }
}

/* Tablet keeps the two columns, just tighter. */
@media (max-width: 1000px) {
  .pg-grid { column-gap: 32px; }
  .sc { --sc-pw: 220px; }
  .sc-f1 { left: 0; }
  .sc-f2 { right: 0; }
  .sc-f3 { left: 4%; }
  .pg-card { grid-template-columns: auto minmax(0, 1fr); }
  .pg-meter { display: none; }
}

/* Phone: heading, then the preview, then the three insights and the CTA. */
@media (max-width: 760px) {
  .pg-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "visual" "insights" "cta"; grid-template-rows: none; }
  .pg-visual { margin-top: 28px; }
  .pg-insights { margin-top: 18px; }
  .sc { --sc-pw: 224px; }
  .sc-float-in { padding: 7px 11px 7px 7px; gap: 8px; border-radius: 13px; }
  .sc-float-ico { width: 28px; height: 28px; font-size: .85rem; border-radius: 9px; }
  .sc-float-in b { font-size: .95rem; }
  .sc-f1 { top: 12%; left: 0; }
  .sc-f2 { top: auto; bottom: 16%; right: 0; }
  .sc-f3 { display: none; }
  .sc-caption { min-height: 6.6em; }
  .sc-arrow { display: none; }
  .sc-thumb { width: 50px; }
  .sc-thumb-screen { font-size: 1.85px; }
  .pg-card { grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px; gap: 12px; }
  .pg-meter { display: grid; width: 44px; height: 44px; }
  .pg-body p { font-size: .84rem; }
  .pg-cta { margin-top: 20px; }
}

@media (max-width: 560px) {
  /* Keep the phone view short: title and ring carry the first two; the next move keeps its detail. */
  .pg-card:not(.is-next) .pg-body p { display: none; }
  .pg-cta .btn { width: 100%; }
  .pg-cta { justify-content: center; }
}

/* --- reduced motion: everything visible, nothing loops ---------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .lp [data-reveal] { opacity: 1; transform: none; transition: none; }
  .lp *, .lp *::before, .lp *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .marquee-track { animation: none; }
  .hero-wave svg { animation: none; transform: translateX(-25%); }
  .glass-u, .hero-visual { animation: none; }
  .wave i { height: 60%; }
  .lp .ai-line, .lp .ai-typing { transition: none !important; }
  .lp .pg-meter { transition: none; }
  .lp .j-dev, .lp .j-dev .phone-frame { transition: none; }
  .sc-preview.is-swap > * { animation: none; }
}
