/* ════════════════════════════════════════════════════════════════════
   JLEARN ONLINE — LANDING v3  ("Araw" design system)
   Self-contained, mobile-first. Every rule is scoped to #landing-page
   so legacy stylesheets cannot break the home page on any device.
   Motif: the Philippine sun — royal blue, sun gold, warm red.
   ════════════════════════════════════════════════════════════════════ */

#landing-page {
  --lp-bg: #f6f4ee;
  --lp-bg-2: #ece8dd;
  --lp-card: #ffffff;
  --lp-card-2: #faf9f5;
  --lp-ink: #0a0f24;
  --lp-ink-2: #363c5a;
  --lp-muted: #6a6f8c;
  --lp-line: rgba(10, 15, 36, 0.09);
  --lp-line-2: rgba(10, 15, 36, 0.16);
  --lp-blue: #2541e8;
  --lp-blue-2: #4f6bff;
  --lp-gold: #f5b301;
  --lp-red: #e63950;
  --lp-green: #0fb07a;
  --lp-violet: #7a5cff;
  --lp-glass: rgba(246, 244, 238, 0.72);
  --lp-shadow: 0 1px 2px rgba(10,15,36,.04), 0 8px 24px -8px rgba(10,15,36,.12);
  --lp-shadow-lg: 0 2px 4px rgba(10,15,36,.04), 0 24px 60px -16px rgba(10,15,36,.22);
  --lp-r: 18px;
  --lp-r-lg: 28px;
  --lp-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --lp-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --lp-ease: cubic-bezier(.16, 1, .3, 1);

  position: relative;
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

[data-theme="dark"] #landing-page,
body.dark-mode #landing-page {
  --lp-bg: #060916;
  --lp-bg-2: #0b1024;
  --lp-card: #0e1430;
  --lp-card-2: #111836;
  --lp-ink: #f3f4fb;
  --lp-ink-2: #c3c7dc;
  --lp-muted: #8a90ad;
  --lp-line: rgba(255, 255, 255, 0.08);
  --lp-line-2: rgba(255, 255, 255, 0.16);
  --lp-blue: #5b76ff;
  --lp-blue-2: #8297ff;
  --lp-glass: rgba(6, 9, 22, 0.66);
  --lp-shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
  --lp-shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 70px -20px rgba(0,0,0,.7);
}

#landing-page *, #landing-page *::before, #landing-page *::after { box-sizing: border-box; }
#landing-page img, #landing-page svg { max-width: 100%; }
#landing-page a { color: inherit; text-decoration: none; }
#landing-page h1, #landing-page h2, #landing-page h3, #landing-page h4, #landing-page p {
  margin: 0; padding: 0; border: 0; background: none; text-shadow: none;
  color: inherit; letter-spacing: normal; text-transform: none;
}
#landing-page button { font-family: inherit; }

/* Film grain (adds texture, kills the flat "template" look) */
#landing-page::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] #landing-page::before { opacity: .07; }

#landing-page .lp-wrap {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

/* ───────────────────────── Buttons ───────────────────────── */
#landing-page .lp-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: 0 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1 var(--lp-sans); letter-spacing: -.01em; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--lp-ease), box-shadow .35s var(--lp-ease), background .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent; overflow: hidden; isolation: isolate;
}
#landing-page .lp-btn i { font-size: 1rem; }
#landing-page .lp-btn:hover { transform: translateY(-2px); }
#landing-page .lp-btn:active { transform: translateY(0) scale(.97); }
#landing-page .lp-btn:focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 3px; }

#landing-page .lp-btn-primary {
  color: #fff; background: var(--lp-ink);
  box-shadow: 0 10px 30px -10px rgba(37, 65, 232, .55);
}
[data-theme="dark"] #landing-page .lp-btn-primary { background: #fff; color: #060916; }
#landing-page .lp-btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(110deg, var(--lp-blue), var(--lp-violet) 55%, var(--lp-red));
  transition: opacity .35s;
}
#landing-page .lp-btn-primary:hover { color: #fff; }
#landing-page .lp-btn-primary:hover::after { opacity: 1; }

#landing-page .lp-btn-ghost {
  color: var(--lp-ink); background: var(--lp-card); border-color: var(--lp-line-2); box-shadow: var(--lp-shadow);
}
#landing-page .lp-btn-ghost:hover { border-color: var(--lp-ink); }

#landing-page .lp-btn-gold { color: #1a1300; background: var(--lp-gold); box-shadow: 0 10px 30px -10px rgba(245,179,1,.7); }
#landing-page .lp-btn-gold:hover { background: #ffc61f; }

/* Shine sweep */
#landing-page .lp-btn-shine::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: lp-shine 4.5s ease-in-out infinite;
}
@keyframes lp-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ───────────────────────── Navbar ───────────────────────── */
#landing-page .lp-nav {
  position: sticky; top: 0; z-index: 1000;
  padding-top: env(safe-area-inset-top);
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
#landing-page .lp-nav.is-scrolled {
  background: var(--lp-glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--lp-line);
}
#landing-page .lp-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
#landing-page .lp-brand { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; font: 800 1.12rem/1 var(--lp-display); letter-spacing: -.03em; color: var(--lp-ink); }
#landing-page .lp-brand-mark {
  position: relative; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: conic-gradient(from 210deg, var(--lp-blue), var(--lp-violet), var(--lp-red), var(--lp-gold), var(--lp-blue));
  color: #fff; font-size: .95rem; box-shadow: 0 6px 18px -6px rgba(37,65,232,.6);
}
#landing-page .lp-brand-mark::after { content: ""; position: absolute; inset: 2px; border-radius: 8px; background: var(--lp-ink); z-index: 0; }
#landing-page .lp-brand-mark i { position: relative; z-index: 1; color: var(--lp-gold); }
[data-theme="dark"] #landing-page .lp-brand-mark::after { background: #0b1024; }
#landing-page .lp-brand-tag { font: 700 .66rem/1 var(--lp-sans); padding: 4px 7px; border-radius: 999px; background: var(--lp-ink); color: var(--lp-bg); letter-spacing: .02em; }

#landing-page .lp-nav-links { display: none; align-items: center; gap: .25rem; }
#landing-page .lp-nav-links a {
  position: relative; padding: .5rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--lp-ink-2);
  transition: color .2s, background .2s;
}
#landing-page .lp-nav-links a:hover { color: var(--lp-ink); background: var(--lp-line); }

#landing-page .lp-nav-actions { display: flex; align-items: center; gap: .5rem; }
#landing-page .lp-icon-btn {
  width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--lp-line-2); background: var(--lp-card); color: var(--lp-ink); cursor: pointer; font-size: 1rem;
  transition: transform .3s var(--lp-ease), border-color .2s;
}
#landing-page .lp-icon-btn:hover { transform: translateY(-1px); border-color: var(--lp-ink); }
#landing-page .lp-nav-cta { display: none; min-height: 42px; padding: 0 1rem; font-size: .88rem; }

/* Hamburger (keeps id + class for existing JS) */
#landing-page #mobileMenuToggle.mobile-menu-toggle { display: grid !important; }

/* ───────────────────────── Mobile drawer ───────────────────────── */
#landing-page .mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 100000; background: rgba(6, 9, 22, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
#landing-page .mobile-menu-overlay.active { opacity: 1; visibility: visible; }
#landing-page .mobile-nav-drawer {
  position: fixed; top: 0; right: 0; left: auto; bottom: 0; z-index: 100001;
  width: min(86vw, 360px); height: 100dvh; max-width: none;
  padding: calc(env(safe-area-inset-top) + 18px) 18px calc(env(safe-area-inset-bottom) + 18px);
  background: var(--lp-bg); color: var(--lp-ink); border-left: 1px solid var(--lp-line);
  box-shadow: -30px 0 80px -20px rgba(0,0,0,.45);
  display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
  transform: translateX(105%); transition: transform .5s var(--lp-ease), visibility .5s;
  visibility: hidden; pointer-events: none;
}
#landing-page .mobile-nav-drawer.active { transform: translateX(0); visibility: visible; pointer-events: auto; }
#landing-page .mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--lp-line); }
#landing-page .mobile-nav-header .drawer-title { display: flex; align-items: center; gap: .55rem; font: 800 1.05rem/1 var(--lp-display); color: var(--lp-ink); }
#landing-page .mobile-nav-header .drawer-title i { color: var(--lp-blue); }
#landing-page .mobile-nav-close {
  width: 40px; height: 40px; min-height: 40px; border-radius: 12px; border: 1px solid var(--lp-line-2);
  background: var(--lp-card); color: var(--lp-ink); display: grid; place-items: center; cursor: pointer;
}
#landing-page .mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
#landing-page .mobile-nav-link {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 14px; border-radius: 14px;
  font-weight: 600; font-size: 1rem; color: var(--lp-ink-2); background: transparent;
  opacity: 0; transform: translateX(16px); transition: background .2s, color .2s, opacity .4s var(--lp-ease), transform .5s var(--lp-ease);
}
#landing-page .mobile-nav-drawer.active .mobile-nav-link { opacity: 1; transform: none; }
#landing-page .mobile-nav-drawer.active .mobile-nav-link:nth-child(2) { transition-delay: .04s; }
#landing-page .mobile-nav-drawer.active .mobile-nav-link:nth-child(3) { transition-delay: .08s; }
#landing-page .mobile-nav-drawer.active .mobile-nav-link:nth-child(4) { transition-delay: .12s; }
#landing-page .mobile-nav-drawer.active .mobile-nav-link:nth-child(5) { transition-delay: .16s; }
#landing-page .mobile-nav-drawer.active .mobile-nav-link:nth-child(6) { transition-delay: .2s; }
#landing-page .mobile-nav-drawer.active .mobile-nav-link:nth-child(7) { transition-delay: .24s; }
#landing-page .mobile-nav-drawer.active .mobile-nav-link:nth-child(8) { transition-delay: .28s; }
#landing-page .mobile-nav-link i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--lp-card); border: 1px solid var(--lp-line); color: var(--lp-blue); font-size: .95rem; flex-shrink: 0; }
#landing-page .mobile-nav-link:hover, #landing-page .mobile-nav-link.active { background: var(--lp-card); color: var(--lp-ink); }
#landing-page .lp-drawer-cta { margin-top: auto; display: grid; gap: 10px; }
#landing-page .lp-drawer-cta .lp-btn { width: 100%; }

/* ───────────────────────── Hero ───────────────────────── */
#landing-page .lp-hero { position: relative; padding: 28px 0 56px; overflow: hidden; }
#landing-page .lp-aurora { position: absolute; inset: -10% -20% auto; height: 760px; pointer-events: none; z-index: 0; filter: blur(70px); opacity: .55; }
[data-theme="dark"] #landing-page .lp-aurora { opacity: .7; }
#landing-page .lp-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: multiply; animation: lp-float 18s ease-in-out infinite; }
[data-theme="dark"] #landing-page .lp-aurora span { mix-blend-mode: screen; }
#landing-page .lp-aurora span:nth-child(1) { width: 46vw; height: 46vw; max-width: 560px; max-height: 560px; left: 8%; top: 4%; background: #8ea0ff; }
#landing-page .lp-aurora span:nth-child(2) { width: 38vw; height: 38vw; max-width: 460px; max-height: 460px; right: 6%; top: 0; background: #ffd36b; animation-delay: -6s; animation-duration: 22s; }
#landing-page .lp-aurora span:nth-child(3) { width: 34vw; height: 34vw; max-width: 420px; max-height: 420px; left: 40%; top: 30%; background: #ff8fa0; animation-delay: -11s; animation-duration: 26s; }
@keyframes lp-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6%, -8%) scale(1.08); }
  66% { transform: translate(-6%, 6%) scale(.94); }
}

/* Philippine sun rays rotating behind the headline */
#landing-page .lp-sun {
  position: absolute; left: 50%; top: 210px; width: 1100px; height: 1100px; margin-left: -550px; z-index: 0; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(245,179,1,.16) 0deg 4deg, transparent 4deg 22.5deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, transparent 62%); mask: radial-gradient(circle, #000 0 18%, transparent 62%);
  animation: lp-spin 90s linear infinite;
}
@keyframes lp-spin { to { transform: rotate(360deg); } }

/* Faint grid */
#landing-page .lp-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--lp-line) 1px, transparent 1px), linear-gradient(90deg, var(--lp-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%); mask: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
}

#landing-page .lp-hero-grid { position: relative; z-index: 2; display: grid; gap: 44px; align-items: center; }
#landing-page .lp-hero-copy { text-align: center; }

#landing-page .lp-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; max-width: 100%;
  padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--lp-line-2); background: var(--lp-card);
  font-size: .8rem; font-weight: 600; color: var(--lp-ink-2); box-shadow: var(--lp-shadow);
}
#landing-page .lp-eyebrow b { flex-shrink: 0; padding: 4px 9px; border-radius: 999px; background: var(--lp-ink); color: var(--lp-gold); font-size: .7rem; letter-spacing: .04em; }
#landing-page .lp-eyebrow span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#landing-page .lp-h1 {
  margin-top: 22px;
  font: 800 clamp(2.5rem, 10.5vw, 5.4rem)/0.98 var(--lp-display);
  letter-spacing: -.045em; color: var(--lp-ink);
}
#landing-page .lp-h1 .lp-rotator {
  display: inline-grid; vertical-align: bottom; position: relative;
}
#landing-page .lp-h1 .lp-rotator > span {
  grid-area: 1 / 1; white-space: nowrap;
  background: linear-gradient(100deg, var(--lp-blue) 0%, var(--lp-violet) 45%, var(--lp-red) 80%, var(--lp-gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  opacity: 0; transform: translateY(.45em) rotateX(-60deg); filter: blur(6px);
  transition: opacity .6s var(--lp-ease), transform .8s var(--lp-ease), filter .6s;
}
#landing-page .lp-h1 .lp-rotator > span.is-on { opacity: 1; transform: none; filter: none; }
#landing-page .lp-h1 .lp-rotator > span.is-out { opacity: 0; transform: translateY(-.45em) rotateX(60deg); filter: blur(6px); }
#landing-page .lp-squiggle { position: relative; white-space: nowrap; }
#landing-page .lp-squiggle svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
#landing-page .lp-squiggle path { fill: none; stroke: var(--lp-gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: lp-draw 1.6s .6s var(--lp-ease) forwards; }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }

#landing-page .lp-lead { margin: 20px auto 0; max-width: 600px; font-size: 1.06rem; line-height: 1.6; color: var(--lp-ink-2); }
#landing-page .lp-lead strong { color: var(--lp-ink); font-weight: 650; }

/* Join card */
#landing-page .lp-join {
  margin: 28px auto 0; max-width: 520px; padding: 8px; border-radius: 22px;
  background: var(--lp-card); border: 1px solid var(--lp-line-2); box-shadow: var(--lp-shadow-lg);
  display: grid; gap: 8px; position: relative;
}
#landing-page .lp-join::before {
  content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--lp-angle, 0deg), transparent 0 70%, var(--lp-blue), var(--lp-gold), var(--lp-red), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: lp-border 5s linear infinite;
}
@property --lp-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes lp-border { to { --lp-angle: 360deg; } }
#landing-page .lp-join-field { position: relative; display: flex; align-items: center; }
#landing-page .lp-join-field i { position: absolute; left: 16px; color: var(--lp-muted); pointer-events: none; }
#landing-page .lp-join input.jl-quick-join-input {
  width: 100%; height: 54px; min-height: 54px; padding: 0 16px 0 44px; border-radius: 15px; border: 1px solid transparent;
  background: var(--lp-card-2); color: var(--lp-ink); outline: none;
  font: 700 16px/1 var(--lp-sans) !important; letter-spacing: .14em; text-transform: uppercase; text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
#landing-page .lp-join input.jl-quick-join-input::placeholder { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--lp-muted); }
#landing-page .lp-join input.jl-quick-join-input:focus { border-color: var(--lp-blue); box-shadow: 0 0 0 4px rgba(37,65,232,.15); }
#landing-page .lp-join .lp-btn { width: 100%; min-height: 54px; border-radius: 15px; }
#landing-page .lp-join-hint { margin-top: 10px; font-size: .8rem; color: var(--lp-muted); }

#landing-page .lp-hero-ctas { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin-left: auto; margin-right: auto; }
#landing-page .lp-hero-ctas .lp-btn { width: 100%; padding: 0 .9rem; font-size: .93rem; }
#landing-page .lp-hero-ctas .lp-btn-apk { grid-column: 1 / -1; }

#landing-page .lp-trust { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: .8rem; color: var(--lp-muted); }
#landing-page .lp-trust span { display: inline-flex; align-items: center; gap: 6px; }
#landing-page .lp-trust i { color: var(--lp-green); }

/* Product stack mock */
#landing-page .lp-stage { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / 0.92; perspective: 1400px; }
#landing-page .lp-stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--lp-ease); }
#landing-page .lp-mock {
  position: absolute; border-radius: 20px; background: var(--lp-card); border: 1px solid var(--lp-line-2);
  box-shadow: var(--lp-shadow-lg); padding: 14px; overflow: hidden; font-size: 12px; color: var(--lp-ink);
}
#landing-page .lp-mock-exam { left: 0; top: 6%; width: 72%; animation: lp-bob 7s ease-in-out infinite; z-index: 3; }
#landing-page .lp-mock-slide { right: 0; top: 0; width: 52%; aspect-ratio: 16 / 10.5; padding: 0; animation: lp-bob 8s -2s ease-in-out infinite; z-index: 2; }
#landing-page .lp-mock-chart { right: 2%; bottom: 0; width: 56%; animation: lp-bob 9s -4s ease-in-out infinite; z-index: 4; }
@keyframes lp-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

#landing-page .lp-mock-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
#landing-page .lp-mock-title { font-weight: 700; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#landing-page .lp-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
#landing-page .lp-pill-green { background: rgba(15,176,122,.13); color: var(--lp-green); }
#landing-page .lp-pill-red { background: rgba(230,57,80,.12); color: var(--lp-red); }
#landing-page .lp-pill-blue { background: rgba(37,65,232,.12); color: var(--lp-blue); }
#landing-page .lp-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: lp-pulse 1.6s infinite; }
@keyframes lp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
#landing-page .lp-progress { height: 5px; border-radius: 9px; background: var(--lp-line); overflow: hidden; margin-bottom: 10px; }
#landing-page .lp-progress i { display: block; height: 100%; width: 62%; border-radius: 9px; background: linear-gradient(90deg, var(--lp-blue), var(--lp-violet)); animation: lp-grow 2.4s var(--lp-ease) both; }
@keyframes lp-grow { from { width: 0; } }
#landing-page .lp-q { font-weight: 650; font-size: 12.5px; line-height: 1.35; margin-bottom: 9px; }
#landing-page .lp-opt { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 10px; border: 1px solid var(--lp-line); margin-top: 6px; font-size: 11.5px; color: var(--lp-ink-2); }
#landing-page .lp-opt b { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; background: var(--lp-line); font-size: 10px; color: var(--lp-ink); flex-shrink: 0; }
#landing-page .lp-opt.is-picked { border-color: var(--lp-blue); background: rgba(37,65,232,.07); color: var(--lp-ink); }
#landing-page .lp-opt.is-picked b { background: var(--lp-blue); color: #fff; }

#landing-page .lp-slide { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, #ff6b81 0%, transparent 45%), linear-gradient(135deg, #2541e8, #121a4d); }
#landing-page .lp-slide small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; font-weight: 700; }
#landing-page .lp-slide strong { display: block; font: 800 17px/1.05 var(--lp-display); letter-spacing: -.02em; margin-top: 4px; }
#landing-page .lp-slide-lines i { display: block; height: 5px; border-radius: 5px; background: rgba(255,255,255,.55); margin-top: 5px; }
#landing-page .lp-slide-lines i:nth-child(2) { width: 78%; opacity: .7; }
#landing-page .lp-slide-lines i:nth-child(3) { width: 56%; opacity: .5; }
#landing-page .lp-slide-badge { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 6px; background: var(--lp-gold); color: #1a1300; font-size: 9px; font-weight: 800; }

#landing-page .lp-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; padding-top: 6px; }
#landing-page .lp-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--lp-blue-2), var(--lp-blue)); transform-origin: bottom; animation: lp-bar 1.4s var(--lp-ease) both; }
#landing-page .lp-bars i:nth-child(2) { animation-delay: .1s; background: linear-gradient(180deg, #ffd36b, var(--lp-gold)); }
#landing-page .lp-bars i:nth-child(3) { animation-delay: .2s; }
#landing-page .lp-bars i:nth-child(4) { animation-delay: .3s; background: linear-gradient(180deg, #ff8fa0, var(--lp-red)); }
#landing-page .lp-bars i:nth-child(5) { animation-delay: .4s; }
#landing-page .lp-bars i:nth-child(6) { animation-delay: .5s; background: linear-gradient(180deg, #5ee0b0, var(--lp-green)); }
@keyframes lp-bar { from { transform: scaleY(0); } }
#landing-page .lp-chart-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--lp-muted); }
#landing-page .lp-chart-foot b { color: var(--lp-green); }

#landing-page .lp-toast {
  position: absolute; left: 6%; bottom: 8%; z-index: 5; display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 14px; background: var(--lp-ink); color: var(--lp-bg); font-size: 11.5px; font-weight: 600;
  box-shadow: var(--lp-shadow-lg); animation: lp-toast 6s 1.5s var(--lp-ease) infinite;
}
#landing-page .lp-toast i { color: var(--lp-gold); }
@keyframes lp-toast { 0%, 8% { opacity: 0; transform: translateY(14px) scale(.96); } 14%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(-8px); } }

/* ───────────────────────── Marquee ───────────────────────── */
#landing-page .lp-marquee {
  position: relative; z-index: 2; border-block: 1px solid var(--lp-line); background: var(--lp-card-2);
  overflow: hidden; padding: 16px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
#landing-page .lp-marquee-track { display: flex; width: max-content; gap: 36px; animation: lp-marquee 38s linear infinite; }
#landing-page .lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
#landing-page .lp-marquee-track span { display: inline-flex; align-items: center; gap: 36px; font: 700 1.05rem/1 var(--lp-display); letter-spacing: -.01em; color: var(--lp-ink-2); white-space: nowrap; }
#landing-page .lp-marquee-track span::after { content: "✦"; color: var(--lp-gold); font-size: .9rem; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ───────────────────────── Sections ───────────────────────── */
#landing-page .lp-section { position: relative; z-index: 2; padding: 72px 0; }
#landing-page .lp-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
#landing-page .lp-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-blue); }
#landing-page .lp-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--lp-gold); }
#landing-page .lp-h2 { margin-top: 12px; font: 800 clamp(1.9rem, 6.6vw, 3.2rem)/1.04 var(--lp-display); letter-spacing: -.04em; color: var(--lp-ink); }
#landing-page .lp-h2 em { font-style: normal; background: linear-gradient(100deg, var(--lp-blue), var(--lp-violet) 60%, var(--lp-red)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
#landing-page .lp-sub { margin-top: 14px; font-size: 1.02rem; color: var(--lp-ink-2); line-height: 1.6; }

/* ───────────────────────── Bento ───────────────────────── */
#landing-page .lp-bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
#landing-page .lp-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 24px; border-radius: var(--lp-r-lg); background: var(--lp-card); border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow); display: flex; flex-direction: column; gap: 10px; min-width: 0;
  transition: transform .5s var(--lp-ease), box-shadow .5s var(--lp-ease), border-color .3s;
}
#landing-page .lp-card::before { /* spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(37,65,232,.12), transparent 60%);
}
#landing-page .lp-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-lg); border-color: var(--lp-line-2); }
#landing-page .lp-card:hover::before { opacity: 1; }
#landing-page .lp-card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; color: #fff; flex-shrink: 0; }
#landing-page .lp-ic-blue { background: linear-gradient(135deg, var(--lp-blue-2), var(--lp-blue)); box-shadow: 0 10px 24px -10px var(--lp-blue); }
#landing-page .lp-ic-gold { background: linear-gradient(135deg, #ffd24d, #e09c00); box-shadow: 0 10px 24px -10px var(--lp-gold); color: #241900; }
#landing-page .lp-ic-red { background: linear-gradient(135deg, #ff7189, var(--lp-red)); box-shadow: 0 10px 24px -10px var(--lp-red); }
#landing-page .lp-ic-green { background: linear-gradient(135deg, #39d7a0, var(--lp-green)); box-shadow: 0 10px 24px -10px var(--lp-green); }
#landing-page .lp-ic-violet { background: linear-gradient(135deg, #9d85ff, var(--lp-violet)); box-shadow: 0 10px 24px -10px var(--lp-violet); }
#landing-page .lp-ic-ink { background: var(--lp-ink); color: var(--lp-gold); }
#landing-page .lp-card h3 { margin-top: 6px; font: 750 1.28rem/1.15 var(--lp-display); letter-spacing: -.025em; color: var(--lp-ink); }
#landing-page .lp-card p { font-size: .94rem; color: var(--lp-ink-2); line-height: 1.55; }
#landing-page .lp-card-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--lp-blue); }
#landing-page .lp-card-link i { transition: transform .3s var(--lp-ease); }
#landing-page .lp-card:hover .lp-card-link i { transform: translateX(4px); }

#landing-page .lp-checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
#landing-page .lp-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--lp-ink-2); line-height: 1.45; }
#landing-page .lp-checks li i { margin-top: 3px; color: var(--lp-green); font-size: .85rem; }

/* Bento visuals */
#landing-page .lp-vis { margin-top: 8px; border-radius: 16px; background: var(--lp-card-2); border: 1px solid var(--lp-line); padding: 14px; }
#landing-page .lp-alerts { display: grid; gap: 8px; }
#landing-page .lp-alert { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--lp-card); border: 1px solid var(--lp-line); font-size: .84rem; }
#landing-page .lp-alert span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
#landing-page .lp-alert span em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#landing-page .lp-meter { display: flex; gap: 3px; flex-shrink: 0; }
#landing-page .lp-meter i { width: 8px; height: 14px; border-radius: 3px; background: var(--lp-line-2); }
#landing-page .lp-meter i.on { background: var(--lp-red); }

#landing-page .lp-ilaw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
#landing-page .lp-ilaw div { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; text-align: center; padding: 6px; background: var(--lp-card); border: 1px solid var(--lp-line); transition: transform .4s var(--lp-ease); }
#landing-page .lp-card:hover .lp-ilaw div { transform: translateY(-4px); }
#landing-page .lp-card:hover .lp-ilaw div:nth-child(2) { transition-delay: .05s; }
#landing-page .lp-card:hover .lp-ilaw div:nth-child(3) { transition-delay: .1s; }
#landing-page .lp-card:hover .lp-ilaw div:nth-child(4) { transition-delay: .15s; }
#landing-page .lp-ilaw b { display: block; font: 800 1.5rem/1 var(--lp-display); }
#landing-page .lp-ilaw small { display: block; margin-top: 4px; font-size: .62rem; font-weight: 600; color: var(--lp-muted); line-height: 1.15; }
#landing-page .lp-ilaw div:nth-child(1) b { color: var(--lp-blue); }
#landing-page .lp-ilaw div:nth-child(2) b { color: var(--lp-gold); }
#landing-page .lp-ilaw div:nth-child(3) b { color: var(--lp-red); }
#landing-page .lp-ilaw div:nth-child(4) b { color: var(--lp-green); }

#landing-page .lp-fan { position: relative; height: 120px; }
#landing-page .lp-fan i { position: absolute; left: 50%; top: 10px; width: 46%; aspect-ratio: 16/10; margin-left: -23%; border-radius: 10px; border: 1px solid var(--lp-line-2); box-shadow: var(--lp-shadow); transition: transform .6s var(--lp-ease); }
#landing-page .lp-fan i:nth-child(1) { background: linear-gradient(135deg, #ffd24d, #f08c00); transform: rotate(-12deg) translateX(-38%); }
#landing-page .lp-fan i:nth-child(2) { background: linear-gradient(135deg, #ff7189, #b5179e); transform: rotate(10deg) translateX(38%); }
#landing-page .lp-fan i:nth-child(3) { background: linear-gradient(135deg, #4f6bff, #121a4d); z-index: 2; }
#landing-page .lp-card:hover .lp-fan i:nth-child(1) { transform: rotate(-18deg) translateX(-55%); }
#landing-page .lp-card:hover .lp-fan i:nth-child(2) { transform: rotate(16deg) translateX(55%); }
#landing-page .lp-card:hover .lp-fan i:nth-child(3) { transform: translateY(-6px); }

#landing-page .lp-table { display: grid; gap: 8px; font-size: .8rem; }
#landing-page .lp-row { display: grid; grid-template-columns: 34px 1fr 54px; align-items: center; gap: 10px; }
#landing-page .lp-row b { color: var(--lp-muted); font-weight: 700; }
#landing-page .lp-row .lp-track { height: 8px; border-radius: 8px; background: var(--lp-line); overflow: hidden; }
#landing-page .lp-row .lp-track i { display: block; height: 100%; border-radius: 8px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--lp-ease); }
#landing-page .is-in .lp-row .lp-track i, #landing-page .lp-row .lp-track i.is-in { transform: scaleX(1); }
#landing-page .lp-row em { font-style: normal; font-weight: 700; text-align: right; font-size: .74rem; }

#landing-page .lp-devices { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 0; }
#landing-page .lp-devices > i { font-size: 2rem; color: var(--lp-ink); }
#landing-page .lp-path { position: relative; flex: 1; max-width: 120px; height: 2px; background: repeating-linear-gradient(90deg, var(--lp-line-2) 0 6px, transparent 6px 12px); }
#landing-page .lp-path::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--lp-gold); box-shadow: 0 0 0 4px rgba(245,179,1,.25); animation: lp-travel 2.4s var(--lp-ease) infinite; }
@keyframes lp-travel { from { left: 0; } to { left: calc(100% - 10px); } }

/* ───────────────────────── Stats band ───────────────────────── */
#landing-page .lp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: var(--lp-r-lg); overflow: hidden; background: var(--lp-line); border: 1px solid var(--lp-line); }
#landing-page .lp-stat { padding: 22px 16px; background: var(--lp-card); text-align: center; }
#landing-page .lp-stat b { display: block; font: 800 clamp(2.1rem, 9vw, 3.4rem)/1 var(--lp-display); letter-spacing: -.05em; background: linear-gradient(180deg, var(--lp-ink), var(--lp-ink-2)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
#landing-page .lp-stat span { display: block; margin-top: 6px; font-size: .82rem; color: var(--lp-muted); font-weight: 600; }

/* ───────────────────────── How it works ───────────────────────── */
#landing-page .lp-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--lp-card); border: 1px solid var(--lp-line-2); box-shadow: var(--lp-shadow); margin: 0 auto 28px; }
#landing-page .lp-switch button { position: relative; z-index: 1; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--lp-ink-2); font-weight: 700; font-size: .92rem; cursor: pointer; transition: color .3s; }
#landing-page .lp-switch button.is-on { color: var(--lp-bg); }
#landing-page .lp-switch-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--lp-ink); transition: transform .5s var(--lp-ease); }
#landing-page .lp-switch[data-role="student"] .lp-switch-pill { transform: translateX(100%); }
#landing-page .lp-switch-wrap { text-align: center; }
#landing-page .lp-steps { display: none; gap: 14px; grid-template-columns: 1fr; counter-reset: step; }
#landing-page .lp-steps.is-on { display: grid; animation: lp-fade-up .6s var(--lp-ease); }
@keyframes lp-fade-up { from { opacity: 0; transform: translateY(14px); } }
#landing-page .lp-step { position: relative; padding: 22px 22px 22px 76px; border-radius: var(--lp-r); background: var(--lp-card); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow); }
#landing-page .lp-step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font: 800 .95rem/1 var(--lp-display); color: var(--lp-gold); background: var(--lp-ink);
}
#landing-page .lp-step h4 { font: 750 1.08rem/1.2 var(--lp-display); letter-spacing: -.02em; color: var(--lp-ink); }
#landing-page .lp-step p { margin-top: 6px; font-size: .92rem; color: var(--lp-ink-2); }

/* Modes */
#landing-page .lp-modes { margin-top: 14px; display: grid; gap: 14px; grid-template-columns: 1fr; }
#landing-page .lp-mode { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--lp-r); border: 1px dashed var(--lp-line-2); background: transparent; }
#landing-page .lp-mode i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lp-card); border: 1px solid var(--lp-line); color: var(--lp-blue); flex-shrink: 0; }
#landing-page .lp-mode h4 { font: 750 1rem/1.2 var(--lp-display); color: var(--lp-ink); }
#landing-page .lp-mode p { margin-top: 4px; font-size: .88rem; color: var(--lp-ink-2); }

/* ───────────────────────── Tools ───────────────────────── */
#landing-page .lp-tools { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#landing-page .lp-tool {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; min-width: 0;
  border-radius: var(--lp-r); background: var(--lp-card); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow);
  transition: transform .45s var(--lp-ease), border-color .3s, box-shadow .45s var(--lp-ease);
}
#landing-page .lp-tool:hover { transform: translateY(-4px); border-color: var(--lp-ink); box-shadow: var(--lp-shadow-lg); }
#landing-page .lp-tool .lp-card-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
#landing-page .lp-tool h4 { font: 750 .98rem/1.2 var(--lp-display); letter-spacing: -.015em; color: var(--lp-ink); }
#landing-page .lp-tool p { font-size: .8rem; color: var(--lp-muted); line-height: 1.4; }
#landing-page .lp-tool .lp-arrow { position: absolute; top: 16px; right: 16px; color: var(--lp-muted); font-size: .8rem; transition: transform .35s var(--lp-ease), color .2s; }
#landing-page .lp-tool:hover .lp-arrow { transform: translate(3px, -3px) rotate(-45deg); color: var(--lp-ink); }

/* ───────────────────────── Install ───────────────────────── */
#landing-page .lp-install { display: grid; gap: 14px; grid-template-columns: 1fr; }
#landing-page .lp-plat { padding: 22px; border-radius: var(--lp-r-lg); background: var(--lp-card); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow); display: flex; flex-direction: column; gap: 10px; }
#landing-page .lp-plat-top { display: flex; align-items: center; gap: 12px; }
#landing-page .lp-plat-top i { font-size: 1.6rem; }
#landing-page .lp-plat h4 { font: 750 1.1rem/1.2 var(--lp-display); color: var(--lp-ink); }
#landing-page .lp-plat ol { margin: 0; padding-left: 1.2rem; font-size: .9rem; color: var(--lp-ink-2); display: grid; gap: 4px; }
#landing-page .lp-plat .lp-btn { margin-top: auto; width: 100%; }

/* ───────────────────────── Final CTA ───────────────────────── */
#landing-page .lp-final {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  padding: 56px 22px; border-radius: 32px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(230,57,80,.55), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(245,179,1,.35), transparent 55%), linear-gradient(135deg, #1a2fd1, #0a0f24 70%);
  box-shadow: var(--lp-shadow-lg);
}
#landing-page .lp-final::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; z-index: -1; opacity: .35;
  background: repeating-conic-gradient(rgba(255,255,255,.18) 0deg 3deg, transparent 3deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 0 10%, transparent 60%); mask: radial-gradient(circle, #000 0 10%, transparent 60%);
  animation: lp-spin 80s linear infinite;
}
#landing-page .lp-final h2 { font: 800 clamp(2rem, 7.5vw, 3.6rem)/1.02 var(--lp-display); letter-spacing: -.045em; color: #fff; }
#landing-page .lp-final p { margin: 14px auto 0; max-width: 520px; color: rgba(255,255,255,.8); font-size: 1.02rem; }
#landing-page .lp-final-ctas { margin-top: 26px; display: grid; gap: 10px; max-width: 420px; margin-left: auto; margin-right: auto; }
#landing-page .lp-final .lp-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); box-shadow: none; }
#landing-page .lp-final .lp-btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

/* ───────────────────────── Footer ───────────────────────── */
#landing-page .lp-footer { position: relative; z-index: 2; padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--lp-line); margin-top: 72px; }
#landing-page .lp-foot-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
#landing-page .lp-foot-brand { grid-column: 1 / -1; }
#landing-page .lp-foot-brand p { margin-top: 12px; max-width: 340px; font-size: .9rem; color: var(--lp-muted); }
#landing-page .lp-foot-col h5 { margin: 0 0 12px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink); }
#landing-page .lp-foot-col a { display: block; padding: 5px 0; font-size: .9rem; color: var(--lp-ink-2); transition: color .2s; }
#landing-page .lp-foot-col a:hover { color: var(--lp-blue); }
#landing-page .lp-foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--lp-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--lp-muted); }
#landing-page .lp-foot-word { margin-top: 30px; font: 800 clamp(3.4rem, 19vw, 13rem)/.8 var(--lp-display); letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px var(--lp-line-2); user-select: none; }

/* Suppress legacy fixed bottom floating footer while landing page is visible */
body:has(#landing-page.active) #site-footer,
body:has(#landing-page:not([style*="display: none"])) #site-footer,
#site-footer.lp-suppressed {
  display: none !important;
}

/* ───────────────────────── Reveal on scroll ───────────────────────── */
.lp-js #landing-page [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity .9s var(--lp-ease), transform 1s var(--lp-ease), filter .9s var(--lp-ease); transition-delay: var(--d, 0s); }
.lp-js #landing-page [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ═════════════════════════ Breakpoints ═════════════════════════ */
@media (max-width: 380px) {
  #landing-page .lp-hero-ctas { grid-template-columns: 1fr; }
  #landing-page .lp-eyebrow span { max-width: 210px; }
  #landing-page .lp-tools { grid-template-columns: 1fr; }
  #landing-page .lp-mock { font-size: 11px; padding: 11px; }
}

@media (min-width: 640px) {
  #landing-page .lp-wrap { padding-left: 32px; padding-right: 32px; }
  #landing-page .lp-hero-ctas { grid-template-columns: 1fr 1fr 1fr; }
  #landing-page .lp-hero-ctas .lp-btn-apk { grid-column: auto; }
  #landing-page .lp-join { grid-template-columns: 1fr auto; border-radius: 999px; padding: 7px; }
  #landing-page .lp-join::before { border-radius: 999px; }
  #landing-page .lp-join input.jl-quick-join-input { border-radius: 999px; }
  #landing-page .lp-join .lp-btn { width: auto; border-radius: 999px; padding: 0 1.5rem; }
  #landing-page .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #landing-page .lp-stats { grid-template-columns: repeat(4, 1fr); }
  #landing-page .lp-steps { grid-template-columns: repeat(3, 1fr); }
  #landing-page .lp-step { padding: 76px 22px 22px; }
  #landing-page .lp-modes { grid-template-columns: repeat(3, 1fr); }
  #landing-page .lp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  #landing-page .lp-install { grid-template-columns: repeat(3, 1fr); }
  #landing-page .lp-final { padding: 80px 40px; }
  #landing-page .lp-final-ctas { grid-template-columns: 1fr 1fr; max-width: 480px; }
  #landing-page .lp-foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  #landing-page .lp-foot-brand { grid-column: auto; }
}

@media (min-width: 900px) {
  #landing-page .lp-nav-links { display: flex; }
  #landing-page .lp-nav-cta { display: inline-flex; }
  #landing-page #mobileMenuToggle.mobile-menu-toggle { display: none !important; }
  #landing-page .lp-nav-inner { height: 72px; }
  #landing-page .lp-hero { padding: 56px 0 96px; }
  #landing-page .lp-hero-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; }
  #landing-page .lp-hero-copy { text-align: left; }
  #landing-page .lp-lead, #landing-page .lp-join, #landing-page .lp-hero-ctas { margin-left: 0; }
  #landing-page .lp-trust { justify-content: flex-start; }
  #landing-page .lp-sun { left: 72%; top: 330px; }
  #landing-page .lp-section { padding: 110px 0; }
  #landing-page .lp-head { margin-bottom: 52px; }
  #landing-page .lp-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 16px; }
  #landing-page .lp-span-2 { grid-column: span 2; }
  #landing-page .lp-row-2 { grid-row: span 2; }
  #landing-page .lp-card { padding: 28px; }
  #landing-page .lp-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #landing-page .lp-tool { padding: 20px; }
}

@media (hover: none) {
  #landing-page .lp-card:hover, #landing-page .lp-tool:hover, #landing-page .lp-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  #landing-page *, #landing-page *::before, #landing-page *::after { animation: none !important; transition-duration: .01ms !important; }
  .lp-js #landing-page [data-reveal] { opacity: 1; transform: none; filter: none; }
  #landing-page .lp-squiggle path { stroke-dashoffset: 0; }
}
