/* ══════════════════════════════════════════════════════════════════════
   PDGT Hub · Public landing page (index.html)
   Clean off-white / ink base; colour comes from the seven subject colours
   the app already uses. Light and dark themes; every animation is switched
   off under prefers-reduced-motion.
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --lp-bg: #FAFAF7;
  --lp-surface: #FFFFFF;
  --lp-ink: #0E0E12;
  --lp-ink2: #4A4A55;
  --lp-muted: #5E5E68;
  --lp-line: #ECECE6;
  --lp-chip: #EFEFEA;
  --lp-soft: #F3F3EF;
  --lp-btn: #0E0E12;
  --lp-btn-ink: #FFFFFF;
  --lp-band: #0E0E12;
  --lp-band-ink: #FAFAF7;
  --lp-band-muted: #B9B9C2;
  --lp-band-chip: #1E1E25;
  --lp-shadow: 0 30px 60px rgba(20, 20, 40, 0.16);
  --lp-ok: #0E6B58;
  --lp-ok-bg: #E3F6F0;
  --lp-bad: #B8400C;
  --lp-bad-bg: #FFEDE6;
  --lp-head: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --lp-body: Inter, system-ui, -apple-system, sans-serif;
  --lp-ease: cubic-bezier(.2, .8, .2, 1);
}
[data-theme="dark"] {
  --lp-bg: #0E1024;
  --lp-surface: #171A30;
  --lp-ink: #F4F4F0;
  --lp-ink2: #C9C9D1;
  --lp-muted: #A3A3AD;
  --lp-line: #272B45;
  --lp-chip: #1F2239;
  --lp-soft: #1C1F36;
  --lp-btn: #F4F4F0;
  --lp-btn-ink: #0E1024;
  --lp-band: #13152D;
  --lp-band-ink: #F4F4F0;
  --lp-band-muted: #B9B9C2;
  --lp-band-chip: #23264A;
  --lp-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  --lp-ok: #5FD6B5;
  --lp-ok-bg: rgba(22, 168, 137, 0.16);
  --lp-bad: #FF9B6E;
  --lp-bad-bg: rgba(217, 72, 15, 0.16);
}

html:has(body.lp2) { background: var(--lp-bg); }
/* Dark mode: a deep navy gradient with soft colour glows instead of flat black.
   It sits on a fixed layer so it stays smooth while scrolling (iOS ignores
   background-attachment: fixed). */
[data-theme="dark"] body.lp2 { background: transparent; }
[data-theme="dark"] body.lp2::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 8% 0%, rgba(91, 107, 240, 0.30), rgba(91, 107, 240, 0) 70%),
    radial-gradient(45% 40% at 96% 8%, rgba(176, 79, 232, 0.22), rgba(176, 79, 232, 0) 70%),
    radial-gradient(55% 45% at 75% 100%, rgba(22, 168, 137, 0.16), rgba(22, 168, 137, 0) 70%),
    linear-gradient(180deg, #12143A 0%, #0E1024 45%, #0B0C1C 100%);
}
/* tahoe-ds.css locks <html> to one screen on phones (≤768px) for the app
   shell, which scrolls inside its own panel. The landing page is a normal
   long page, so undo that lock or it cannot be scrolled at all. */
html[data-page="landing"] {
  height: auto;
  min-height: 0;
  overflow: visible;
  overflow-x: hidden;
  overflow-x: clip;
}
body.lp2 {
  margin: 0;
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-body);
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden would make <body> its own scroll box, and the
     sticky header would stop sticking. Older browsers fall back to hidden. */
  overflow-x: hidden;
  overflow-x: clip;
}
body.lp2 * { box-sizing: border-box; }
body.lp2 a { color: inherit; }
.lp2-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.lp2-wrap--hero { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

/* ── shared bits ── */
.lp2-h2 {
  margin: 0;
  font: 800 clamp(32px, 4.4vw, 52px)/1.05 var(--lp-head);
  letter-spacing: -0.04em;
}
.lp2-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-muted); }
.lp2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 99px;
  background: var(--lp-btn); color: var(--lp-btn-ink) !important;
  font: 600 16px var(--lp-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.lp2-btn:hover { transform: translateY(-2px); }
.lp2-btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; box-shadow: 0 10px 24px rgba(14, 14, 18, 0.18); }
.lp2-btn--ghost { background: transparent; color: var(--lp-ink) !important; box-shadow: inset 0 0 0 1.5px var(--lp-line); }
.lp2-arrow { display: inline-block; transition: transform .2s ease; }
.lp2-btn:hover .lp2-arrow { transform: translateX(4px); }
.lp2-btn:focus-visible, .lp2-chipbtn:focus-visible, .lp2-opt:focus-visible, .lp2-subj:focus-visible, .lp2-flip:focus-visible, .lp2-faq summary:focus-visible {
  outline: 3px solid #5B6BF0; outline-offset: 3px;
}

/* ── menu bar ── */
.lp2-top {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--lp-bg) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.lp2-top.is-scrolled { border-bottom-color: var(--lp-line); }
.lp2-top-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.lp2-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px var(--lp-head); letter-spacing: -0.02em; margin-right: auto; white-space: nowrap; }
.lp2-logo { display: block; width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 4px 10px rgba(45, 40, 132, 0.25); }
.lp2-nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.lp2-nav a { text-decoration: none; color: var(--lp-ink2); }
.lp2-nav a:hover { color: var(--lp-ink); }
.lp2-top .tb-right { display: flex; align-items: center; gap: 8px; }
.lp2-icon {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent;
  color: var(--lp-ink2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.lp2-icon:hover { background: var(--lp-chip); color: var(--lp-ink); }
.lp2-signin { padding: 10px 12px; font-weight: 600; font-size: 15px; text-decoration: none; }
@media (max-width: 860px) { .lp2-nav { display: none; } }
@media (max-width: 520px) {
  .lp2-signin { display: none; }
  .lp2-top-in { gap: 6px; }
  .lp2-top .lp2-btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .lp2-brand { font-size: 17px; gap: 8px; }
}

/* ── hero ── */
.lp2-hero { position: relative; overflow: hidden; }
.lp2-hero-in { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 48px; }
.lp2-hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.lp2-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 99px; background: var(--lp-surface);
  box-shadow: inset 0 0 0 1px var(--lp-line); font-size: 14px; font-weight: 600; color: var(--lp-ink2);
}
.lp2-h1 {
  margin: 0; font: 800 clamp(42px, 6.4vw, 80px)/1.02 var(--lp-head); letter-spacing: -0.045em;
}
.lp2-w { display: inline-block; }
.lp2-hl { position: relative; color: #0E8F73; }
[data-theme="dark"] .lp2-hl { color: #5FD6B5; }
.lp2-hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .11em; border-radius: 99px;
  background: #16A889; transform-origin: left; transform: scaleX(1);
}
.lp2-lead { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--lp-ink2); }
.lp2-cta-row { display: flex; gap: 12px 16px; flex-wrap: wrap; align-items: center; }
.lp2-note { font-size: 14px; color: var(--lp-muted); }
.lp2-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 4px; }
.lp2-stats b { display: block; font: 800 34px var(--lp-head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp2-stats span { font-size: 14px; color: var(--lp-muted); }
.lp2-shape { position: absolute; opacity: .5; pointer-events: none; }

/* quiz card */
.lp2-stage { flex: 1 1 400px; min-width: 0; position: relative; padding: 18px 8px 8px; }
.lp2-back { position: absolute; border-radius: 28px; }
.lp2-back--1 { left: 4%; right: 14%; top: 34px; bottom: 30px; background: #F2683F; opacity: .9; --r: -7deg; transform: rotate(-7deg); }
.lp2-back--2 { left: 12%; right: 2%; top: 20px; bottom: 40px; background: #5B6BF0; --r: 5deg; transform: rotate(5deg); }
.lp2-card {
  position: relative; border-radius: 28px; background: var(--lp-surface); box-shadow: var(--lp-shadow);
  padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 440px;
}
.lp2-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lp2-qchip { padding: 6px 12px; border-radius: 99px; font-weight: 700; font-size: 13px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--ink); }
[data-theme="dark"] .lp2-qchip { color: color-mix(in srgb, var(--c) 55%, #fff); }
.lp2-pills { display: flex; gap: 8px; font-size: 13px; font-weight: 700; }
.lp2-pill { display: inline-block; padding: 6px 10px; border-radius: 99px; }
.lp2-pill--streak { background: #FFF4E5; color: #8A4B00; }
.lp2-pill--xp { background: #EEF0FF; color: #3A459A; }
[data-theme="dark"] .lp2-pill--streak { background: rgba(245, 158, 66, .16); color: #FBC48A; }
[data-theme="dark"] .lp2-pill--xp { background: rgba(91, 107, 240, .2); color: #B8C0FF; }
.lp2-prog { display: flex; gap: 6px; }
.lp2-prog i { height: 6px; flex: 1; border-radius: 99px; background: var(--lp-chip); transition: background .3s ease; }
.lp2-q { margin: 0; font: 700 21px/1.3 var(--lp-head); letter-spacing: -0.01em; }
.lp2-opts { display: flex; flex-direction: column; gap: 10px; }
.lp2-opt {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px; border: 0; border-radius: 16px;
  background: var(--lp-bg); box-shadow: inset 0 0 0 1.5px var(--lp-line); color: var(--lp-ink);
  font: 500 16px var(--lp-body); text-align: left; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.lp2-opt:hover:not([disabled]) { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--lp-muted); }
.lp2-opt[disabled] { cursor: default; }
.lp2-opt b {
  flex: none; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--lp-surface); box-shadow: inset 0 0 0 1px var(--lp-line); font-size: 14px;
}
.lp2-opt span { flex: 1; }
.lp2-opt em { font-style: normal; font-size: 13px; font-weight: 700; }
.lp2-opt.is-ok { background: var(--lp-ok-bg); box-shadow: inset 0 0 0 1.5px #16A889; }
.lp2-opt.is-ok b { background: #0E6B58; color: #fff; box-shadow: none; }
.lp2-opt.is-ok em { color: var(--lp-ok); }
.lp2-opt.is-bad { background: var(--lp-bad-bg); box-shadow: inset 0 0 0 1.5px #D9480F; }
.lp2-opt.is-bad b { background: #B8400C; color: #fff; box-shadow: none; }
.lp2-opt.is-bad em { color: var(--lp-bad); }
.lp2-fb { margin: 0; padding: 14px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.lp2-fb.is-ok { background: var(--lp-ok-bg); color: var(--lp-ink); }
.lp2-fb.is-bad { background: var(--lp-bad-bg); color: var(--lp-ink); }
.lp2-fb b { color: var(--lp-ok); }
.lp2-fb.is-bad b { color: var(--lp-bad); }
.lp2-next { align-self: flex-end; }
.lp2-xp {
  position: absolute; right: 26px; top: 60px; padding: 8px 14px; border-radius: 99px;
  background: #0E6B58; color: #fff; font: 800 18px var(--lp-head); pointer-events: none; opacity: 0;
}
.lp2-burst { position: absolute; left: 50%; top: 45%; width: 0; height: 0; pointer-events: none; }
.lp2-burst i { position: absolute; left: 0; top: 0; }

/* ── subject marquee ── */
.lp2-marquee { border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); overflow: hidden; background: var(--lp-surface); }
.lp2-marquee-track { display: flex; gap: 36px; width: max-content; padding: 16px 0; font: 700 18px var(--lp-head); white-space: nowrap; }
.lp2-marquee-track span { display: inline-flex; align-items: center; gap: 10px; }
.lp2-marquee-track i { width: 10px; height: 10px; border-radius: 50%; }
.lp2-marquee-track small { font: 500 16px var(--lp-body); color: var(--lp-muted); }

/* ── sections ── */
.lp2-sec { padding: 88px 0; }
.lp2-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.lp2-seg { display: flex; padding: 4px; border-radius: 99px; background: var(--lp-chip); }
.lp2-chipbtn {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 99px; background: transparent;
  color: var(--lp-muted); font: 600 15px var(--lp-body); cursor: pointer; transition: background .2s ease, color .2s ease;
}
.lp2-chipbtn[aria-pressed="true"] { background: var(--lp-surface); color: var(--lp-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }

/* subject explorer */
.lp2-explore { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.lp2-subjlist { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lp2-subj {
  display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 18px 12px 12px; border: 0; border-radius: 20px;
  background: var(--lp-surface); box-shadow: inset 0 0 0 1px var(--lp-line); cursor: pointer; text-align: left; color: var(--lp-ink);
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.lp2-subj:hover { transform: translateY(-1px); }
.lp2-subj i { flex: none; width: 14px; height: 44px; border-radius: 99px; background: var(--c); }
.lp2-subj span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.lp2-subj strong { font: 700 16px var(--lp-head); color: var(--ink); }
[data-theme="dark"] .lp2-subj strong { color: color-mix(in srgb, var(--c) 55%, #fff); }
.lp2-subj small { font-size: 15px; color: var(--lp-ink2); }
.lp2-subj[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 10%, var(--lp-surface)); box-shadow: inset 0 0 0 2px var(--c); }
.lp2-panel {
  flex: 999 1 420px; min-width: 0; border-radius: 28px; padding: 30px; color: #fff; background: var(--ink);
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 50px color-mix(in srgb, var(--c) 30%, transparent);
}
.lp2-panel-code { font: 800 clamp(40px, 6vw, 68px)/1 var(--lp-head); letter-spacing: -0.04em; }
.lp2-panel-name { font-size: 22px; font-weight: 600; line-height: 1.3; }
.lp2-panel-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.lp2-panel-stats div { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .14); }
.lp2-panel-stats b { display: block; font: 800 32px var(--lp-head); }
.lp2-panel-stats span, .lp2-panel-foot { font-size: 14px; }
.lp2-panel-foot { opacity: .92; }
.lp2-empty { padding: 48px 28px; border-radius: 28px; background: var(--lp-surface); box-shadow: inset 0 0 0 1px var(--lp-line); text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.lp2-empty b { font: 800 26px var(--lp-head); }
.lp2-empty span { font-size: 16px; color: var(--lp-muted); }

/* three ways */
.lp2-band { background: var(--lp-band); color: var(--lp-band-ink); }
[data-theme="dark"] .lp2-band { border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp2-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.lp2-tab {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--lp-band-chip);
  color: #D6D6DE; font: 600 15px var(--lp-body); cursor: pointer; transition: background .2s ease, color .2s ease;
}
.lp2-tab[aria-selected="true"] { background: #FAFAF7; color: #0E0E12; }
.lp2-pane { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.lp2-pane[hidden] { display: none; }
.lp2-pane-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.lp2-pane-copy b { font: 800 28px var(--lp-head); letter-spacing: -0.02em; }
.lp2-pane-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--lp-band-muted); }
.lp2-notecard { flex: 999 1 520px; min-width: 0; border-radius: 24px; background: #FFFFFF; color: #0E0E12; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.lp2-notecard .lp2-eyebrow { color: #5E5E68; }
.lp2-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp2-tiles div { padding: 14px; border-radius: 16px; background: #F3F3EF; font-size: 13px; }
.lp2-tiles div:first-child { background: #DDF4EE; }
.lp2-tiles b { display: block; font: 800 30px var(--lp-head); color: #0E6B58; }
.lp2-map { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.lp2-map span { padding: 10px 14px; border-radius: 14px; background: #F3F3EF; }
.lp2-map span:first-child { background: #0E6B58; color: #fff; font-weight: 700; }
.lp2-map .hot { background: #FFF1E2; box-shadow: inset 0 0 0 1.5px #F5B26B; }
.lp2-map em { font-style: normal; color: #6E6E78; }
.lp2-flip { flex: 999 1 420px; min-width: 0; height: 280px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1200px; text-align: left; font-family: var(--lp-body); }
.lp2-flip-in { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--lp-ease); }
.lp2-flip.is-flipped .lp2-flip-in { transform: rotateY(180deg); }
.lp2-face {
  position: absolute; inset: 0; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .3);
}
.lp2-face--front { background: #FFFFFF; color: #0E0E12; }
.lp2-face--back { background: #0E6B58; color: #FFFFFF; transform: rotateY(180deg); }
.lp2-face small { font-size: 12px; font-weight: 700; letter-spacing: .1em; opacity: .75; }
.lp2-face strong { font: 800 28px/1.2 var(--lp-head); letter-spacing: -0.02em; }
.lp2-face--back strong { font-size: 34px; }
.lp2-face span { font-size: 14px; opacity: .8; }
.lp2-games { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; width: 100%; }
.lp2-game {
  min-height: 124px; padding: 18px; border-radius: 22px; color: #FFFFFF; background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lp2-game:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.lp2-game b { font: 800 18px var(--lp-head); }
.lp2-game span { font-size: 14px; opacity: .92; line-height: 1.4; }

/* pricing + faq */
.lp2-price-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.lp2-price {
  flex: 1 1 380px; min-width: 0; border-radius: 32px; background: var(--lp-surface);
  box-shadow: 0 24px 50px rgba(20, 20, 40, .08), inset 0 0 0 1px var(--lp-line);
  padding: 34px; display: flex; flex-direction: column; gap: 18px;
}
.lp2-price-n { margin: 0; font: 800 72px/1 var(--lp-head); letter-spacing: -0.05em; }
.lp2-price ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.lp2-price li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.lp2-price li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-ok-bg); color: var(--lp-ok);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.lp2-price-foot { margin: 0; font-size: 13px; line-height: 1.5; color: var(--lp-muted); }
.lp2-faqcol { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lp2-faqcol h2 { margin: 0 0 10px; font: 800 clamp(28px, 3.6vw, 40px) var(--lp-head); letter-spacing: -0.035em; }
.lp2-faq { border-radius: 20px; background: var(--lp-surface); box-shadow: inset 0 0 0 1px var(--lp-line); overflow: hidden; }
.lp2-faq summary {
  min-height: 60px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer;
  font-weight: 600; font-size: 16px;
}
.lp2-faq summary::-webkit-details-marker { display: none; }
.lp2-faq summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--lp-muted); transition: transform .2s ease; }
.lp2-faq[open] summary::after { transform: rotate(45deg); }
.lp2-faq p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--lp-ink2); }

/* footer */
.lp2-foot { border-top: 1px solid var(--lp-line); padding: 40px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
.lp2-foot-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.lp2-foot-grid > div { min-width: 180px; }
.lp2-foot p { margin: 10px 0 0; max-width: 360px; font-size: 14px; line-height: 1.55; color: var(--lp-muted); }
.lp2-foot h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-muted); }
.lp2-foot ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.lp2-foot li a { display: inline-block; padding: 6px 0; font-size: 15px; text-decoration: none; color: var(--lp-ink2); }
.lp2-foot li a:hover { color: var(--lp-ink); }
.lp2-foot-for { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--lp-muted); }
.lp2-foot .lp2-disclaimer {
  margin: 28px 0 0; max-width: none; padding: 14px 16px; border-radius: 14px;
  background: var(--lp-soft); box-shadow: inset 0 0 0 1px var(--lp-line);
  font-size: 13px; line-height: 1.6; color: var(--lp-ink2);
}
.lp2-disclaimer b { color: var(--lp-ink); font-weight: 600; }
.lp2-disclaimer + .lp2-foot-bar { margin-top: 18px; }
.lp2-foot-bar { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--lp-line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: var(--lp-muted); }

/* sticky phone CTA, shown once the hero is gone */
.lp2-ctabar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: none; gap: 8px; padding: 8px; border-radius: 99px;
  background: color-mix(in srgb, var(--lp-surface) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18), inset 0 0 0 1px var(--lp-line);
  transform: translateY(140%); transition: transform .3s var(--lp-ease);
}
.lp2-ctabar .lp2-btn { flex: 1; }
.lp2-ctabar.is-on { transform: none; }
@media (max-width: 700px) {
  .lp2-ctabar { display: flex; }
  .lp2-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* phones */
@media (max-width: 640px) {
  .lp2-hero-in { padding-top: 32px; padding-bottom: 36px; gap: 36px; }
  .lp2-shape { display: none; }
  .lp2-sec { padding: 64px 0; }
  .lp2-card { padding: 18px; min-height: 0; }
  .lp2-q { font-size: 19px; }
  .lp2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp2-tiles div:last-child { display: none; }
  .lp2-price { padding: 26px; }
  .lp2-price-n { font-size: 60px; }
  .lp2-stats { gap: 22px; }
  .lp2-stats b { font-size: 30px; }
}
@media (orientation: landscape) {
  .lp2-wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}

/* ══ Motion ══ */
@keyframes lp2Word { from { opacity: 0; transform: translateY(.45em) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes lp2Under { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lp2In { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lp2CardIn { from { opacity: 0; transform: translateY(40px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes lp2Float { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-8px) rotate(var(--r)); } }
@keyframes lp2Drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)); } }
@keyframes lp2Marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lp2Shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes lp2Pop { 0% { transform: scale(1); } 40% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes lp2Bump { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes lp2Xp { 0% { opacity: 0; transform: translateY(10px) scale(.8); } 20% { opacity: 1; transform: translateY(0) scale(1.08); } 80% { opacity: 1; transform: translateY(-14px); } 100% { opacity: 0; transform: translateY(-26px); } }
@keyframes lp2Confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--rot)) scale(.5); } }
@keyframes lp2Reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .lp2-motion .lp2-w { opacity: 0; animation: lp2Word .7s var(--lp-ease) forwards; }
  .lp2-motion .lp2-hl::after { transform: scaleX(0); animation: lp2Under .6s 1.1s var(--lp-ease) forwards; }
  .lp2-motion .lp2-in { animation: lp2In .5s var(--lp-ease) both; }
  .lp2-motion .lp2-stage { animation: lp2CardIn .9s .35s var(--lp-ease) both; }
  .lp2-back { animation: lp2Float 6s ease-in-out infinite; }
  .lp2-back--2 { animation-delay: -2s; }
  .lp2-shape { animation: lp2Drift 12s ease-in-out infinite; }
  .lp2-marquee-track { animation: lp2Marquee 32s linear infinite; }
  .lp2-marquee:hover .lp2-marquee-track { animation-play-state: paused; }
  .lp2-anim-in { animation: lp2In .45s var(--lp-ease) both; }
  .lp2-opt.is-ok { animation: lp2Pop .45s ease; }
  .lp2-opt.is-bad { animation: lp2Shake .45s ease; }
  .lp2-bump { animation: lp2Bump .45s ease; }
  .lp2-xp.is-on { animation: lp2Xp 1.4s ease forwards; }
  .lp2-burst i { animation: lp2Confetti .9s cubic-bezier(.2, .7, .3, 1) forwards; }
  .lp2-motion .lp2-reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s var(--lp-ease), transform .7s var(--lp-ease); }
  .lp2-motion .lp2-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp2-burst, .lp2-xp, .lp2-shape { display: none; }
  .lp2-flip-in { transition: none; }
}

/* ══ Hero quiz card: idle life + "try me" cue ══ */
.lp2-tilt { transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.lp2-hint {
  position: absolute; left: 50%; top: -16px; z-index: 3; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px;
  background: var(--lp-btn); color: var(--lp-btn-ink); font: 700 13px var(--lp-body); white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18); pointer-events: none; transition: opacity .3s ease;
}
.lp2-hint::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px;
  background: inherit; transform: rotate(45deg); border-radius: 2px;
}
.lp2-card.is-touched .lp2-hint { opacity: 0; }
.lp2-prog i.is-cur { position: relative; overflow: hidden; }
@keyframes lp2CardBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lp2HintBounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
@keyframes lp2Glow { 0%, 100% { box-shadow: inset 0 0 0 1.5px var(--lp-line); } 50% { box-shadow: inset 0 0 0 2px #5B6BF0, 0 8px 22px rgba(91, 107, 240, .22); } }
@keyframes lp2Shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: no-preference) {
  .lp2-bob { animation: lp2CardBob 6s ease-in-out infinite; }
  .lp2-hint { animation: lp2HintBounce 1.6s ease-in-out infinite; }
  .lp2-card:not(.is-touched) .lp2-opt { animation: lp2Glow 3.6s ease-in-out infinite; }
  .lp2-card:not(.is-touched) .lp2-opt:nth-child(2) { animation-delay: 1.2s; }
  .lp2-card:not(.is-touched) .lp2-opt:nth-child(3) { animation-delay: 2.4s; }
  .lp2-prog i.is-cur::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(91, 107, 240, .55), transparent);
    animation: lp2Shimmer 1.6s ease-in-out infinite;
  }
}
@media (prefers-reduced-motion: reduce) { .lp2-hint { display: none; } }

/* OUM logo: always on a white chip so the navy mark stays readable in dark mode.
   If img/oum-logo.png is missing, the plain "OUM" text shows instead. */
.oum-mark {
  display: inline-flex; align-items: center; flex: none;
  padding: 3px 7px; border-radius: 7px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(27, 74, 156, 0.14);
}
.oum-mark img { display: block; height: 20px; width: auto; }
.oum-mark b { display: none; font: 800 13px/20px var(--lp-body); letter-spacing: .04em; color: #1B4A9C; }
.oum-mark.is-text img { display: none; }
.oum-mark.is-text b { display: block; }
.lp2-foot-for .oum-mark { padding: 4px 9px; }
.lp2-foot-for .oum-mark img { height: 26px; }
.lp2-foot-for .oum-mark b { font-size: 16px; line-height: 26px; }
.lp2-badge .oum-mark { margin: -2px -6px -2px 0; }
