@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/manrope/v23/xn7gYHE41ni1AdIRggexSvfedN4.woff2") format("woff2");
}
/* Landing page frame. The screens inside .lp-x-win are the app's own components and keep
   the app's own styles; this file lays out the page around them. Colours come from the
   app's dark theme (ionik-cream.css .theme-dark). The page itself sits a shade darker
   than the app so each app window reads as a screen. Classes are lp- prefixed. */
:root { --lp-gutter: clamp(16px, 5vw, 64px); --lp-page: #0d0a06; --lp-nav-h: 64px; }
html { scroll-behavior: smooth; background: var(--lp-page); }
body { margin: 0; background: var(--lp-page); color: var(--ink); font-family: "Manrope", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lp-wrap { width: min(1240px, calc(100% - 2 * var(--lp-gutter))); margin-inline: auto; }
.lp-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-skip:focus { position: fixed; inset: 8px auto auto 8px; z-index: 40; padding: 10px 14px; border-radius: 6px; background: var(--ink); color: var(--bg); }
main, .lp-foot { position: relative; z-index: 1; }

/* Sections fade in when they reach the screen: their fx-* animation waits, paused on its
   first frame, until ionik-landing.js marks them .seen. */
[data-reveal]:not(.seen) { animation-play-state: paused !important; }

/* ── background lines (ionik-landing-paths.js) ──────────────────────── */
.lp-paths { position: fixed; inset: 0; z-index: 0; pointer-events: none; color: var(--ink); opacity: 0;
  transition: opacity var(--m-xslow) var(--ease-sharp); }
.lp-paths.on { opacity: calc(.28 + .72 * var(--lp-fade, 1)); }
.lp-paths svg { width: 100%; height: 100%; display: block; }
.lp-paths path { fill: none; stroke: currentColor; }
.lp-path-base { stroke-opacity: var(--o); }
.lp-path-run { stroke-opacity: var(--o); stroke-dasharray: .32 .68; stroke-linecap: round;
  animation: lp-path-run var(--d, 22s) linear var(--delay, 0s) infinite; }
@keyframes lp-path-run { to { stroke-dashoffset: -1; } }

/* ── top bar ────────────────────────────────────────────────────────── */
.lp-nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background var(--m-base) var(--ease-sharp); }
.lp-nav.scrolled { background: var(--lp-page); }
.lp-nav-in { display: flex; align-items: center; gap: 28px; min-height: var(--lp-nav-h); }
.lp-word { font-size: 1.25rem; font-weight: 600; transition: opacity var(--m-quick) var(--ease-sharp); }
.lp-word:hover { opacity: .75; }
.lp-links { display: flex; align-items: center; gap: 26px; margin-left: 18px; }
.lp-nav-r { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.lp-link { appearance: none; border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--ink-muted);
  font: 500 .95rem "Manrope", sans-serif; cursor: pointer; transition: color var(--m-quick) var(--ease-sharp), transform var(--m-quick) var(--spring-soft); }
.lp-link:hover, .lp-link[aria-expanded="true"] { color: var(--ink); transform: translateY(-2px); }
.lp-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--m-base) var(--spring-bouncy); }
.lp-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.lp-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: .95rem; font-weight: 500;
  transition: transform var(--m-quick) var(--spring-soft), opacity var(--m-quick) var(--ease-sharp); }
.lp-cta:hover { transform: translateY(-2px); opacity: .92; }
.lp-cta:active { transform: translateY(1px) scale(.97); }
/* Features dropdown: .menu / .mi springs come from ionik-motion.css. */
.lp-drop { position: relative; }
.lp-menu { position: absolute; top: calc(100% + 4px); left: -14px; min-width: 230px; padding: 8px; border-radius: 6px; background: var(--bg-2);
  box-shadow: 0 18px 40px -12px #000c; opacity: 0; visibility: hidden; transform-origin: top left; }
.lp-menu.open { opacity: 1; visibility: visible; }
.lp-menu .mi { display: block; padding: 9px 12px; color: var(--ink-soft); font-size: .92rem; }
.lp-menu .mi:hover { background: var(--bg-3); color: var(--ink); }

/* ── hero ───────────────────────────────────────────────────────────── */
.lp-hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3vh, 30px);
  padding: calc(var(--lp-nav-h) + 20px) var(--lp-gutter) 40px; box-sizing: border-box; text-align: center; }
.lp-name { margin: 0; display: flex; font-size: clamp(4.5rem, 16vw, 13rem); font-weight: 600; line-height: 1; letter-spacing: 0; }
.lp-name span { display: inline-block; }
.lp-lede { margin: 0; max-width: 34ch; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.45; }
.lp-down { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; margin-top: clamp(4px, 2vh, 16px); color: var(--ink-muted); font-size: .92rem; font-weight: 500;
  transition: color var(--m-quick) var(--ease-sharp), transform var(--m-quick) var(--spring-soft); }
.lp-down svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: lp-pulse-down 1.8s var(--ease-sharp) infinite; }
.lp-down:hover { color: var(--ink); transform: translateY(-2px); }
@keyframes lp-pulse-down { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(7px); opacity: 1; } }

/* The main button. */
.lp-go { display: inline-flex; align-items: center; gap: 14px; padding: 20px 44px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 500;
  transition: transform var(--m-quick) var(--spring-soft), opacity var(--m-quick) var(--ease-sharp); }
.lp-go svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--m-base) var(--spring-bouncy); }
.lp-go:hover { transform: translateY(-2px); opacity: .92; }
.lp-go:hover svg { transform: translateX(4px); }
.lp-go:active { transform: translateY(1px) scale(.97); }

/* ── scroll-expanding app screens ───────────────────────────────────────
   ionik-landing.js sets --e on each section, 0 → 1 over the first part of its scroll:
   the window grows from --s0 to full size, the title splits apart and fades, and the
   caption rises. At 1 the section gets .is-open and the window takes clicks.
   It stays pinned for the rest of the section, so there is time to use it. */
.lp-x { --e: 0; --s0: .44; position: relative; height: 185vh; }
.lp-x-short { height: 160vh; }
.lp-x-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--lp-nav-h) + 4px) var(--lp-gutter) 18px; box-sizing: border-box; overflow: hidden; }
.lp-x-title { position: absolute; z-index: 2; inset: 50% 0 auto; transform: translateY(-50%); margin: 0; display: flex; justify-content: center; gap: .28em;
  font-size: clamp(2.6rem, 7.4vw, 6.6rem); font-weight: 600; line-height: 1; letter-spacing: 0; pointer-events: none;
  opacity: clamp(0, calc(1 - var(--e) * 1.6), 1); }
.lp-x-title.join { gap: 0; }
.lp-x-title span { display: inline-block; text-shadow: 0 2px 30px #000a; }
.lp-x-title span:first-child { transform: translateX(calc(var(--e) * -46vw)); }
.lp-x-title span:last-child { transform: translateX(calc(var(--e) * 46vw)); }
.lp-x-frame { position: relative; z-index: 1; width: min(1280px, 100%); flex: 1 1 auto; min-height: 0;
  transform: scale(calc(var(--s0) + (1 - var(--s0)) * var(--e))); transform-origin: center center; will-change: transform; }
.lp-x-win { height: 100%; box-sizing: border-box; overflow: auto; overscroll-behavior: auto; padding: clamp(18px, 2.4vw, 34px); border-radius: 6px;
  background: var(--bg); text-align: left; pointer-events: none; scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent;
  box-shadow: 0 40px 90px -30px #000, 0 0 0 1px rgb(239 231 214 / 4%); filter: brightness(calc(.55 + .45 * var(--e))); }
.lp-x.is-open .lp-x-win { pointer-events: auto; filter: none; }
.lp-x-cap { position: relative; z-index: 1; max-width: 86ch; margin: 14px auto 0; text-align: center; color: var(--ink-soft); font-size: clamp(.95rem, 1.3vw, 1.08rem); line-height: 1.5;
  opacity: clamp(0, calc((var(--e) - .7) * 3.4), 1); transform: translateY(calc((1 - var(--e)) * 22px)); }
.lp-x-cap b { color: var(--ink); font-weight: 600; }
.lp-x-tech { display: block; margin-top: 6px; color: var(--ink-muted); font-size: .8rem; line-height: 1.5; }

/* Each screen arrives its own way (data-in on the section), driven by the same --e. */
.lp-x[data-in] .lp-x-frame { opacity: clamp(0, calc(var(--e) * 2.2), 1); }
.lp-x[data-in="left"] .lp-x-frame { transform: perspective(1600px) translateX(calc((1 - var(--e)) * -64vw)) rotateY(calc((1 - var(--e)) * 26deg)) scale(calc(.72 + .28 * var(--e))); }
.lp-x[data-in="right"] .lp-x-frame { transform: perspective(1600px) translateX(calc((1 - var(--e)) * 64vw)) rotateY(calc((1 - var(--e)) * -26deg)) scale(calc(.72 + .28 * var(--e))); }
.lp-x[data-in="tilt"] .lp-x-frame { transform: translateY(calc((1 - var(--e)) * 34vh)) rotate(calc((1 - var(--e)) * -10deg)) scale(calc(.55 + .45 * var(--e))); }
.lp-x[data-in="rise"] .lp-x-frame { transform: translateY(calc((1 - var(--e)) * 85vh)) scale(calc(.82 + .18 * var(--e))); }
.lp-x[data-in="flip"] .lp-x-frame { transform-origin: 50% 0; transform: perspective(1400px) rotateX(calc((1 - var(--e)) * 72deg)) scale(calc(.62 + .38 * var(--e))); }
.lp-x[data-in="iris"] .lp-x-frame { opacity: 1; transform: none; clip-path: circle(calc(6% + var(--e) * 84%) at 50% 50%); }
.lp-x[data-in="iris"].is-open .lp-x-frame { clip-path: none; }
.lp-x[data-in="spin"] .lp-x-frame { transform: perspective(1600px) rotateY(calc((1 - var(--e)) * -100deg)) scale(calc(.6 + .4 * var(--e))); }
.lp-x[data-in="drop"] .lp-x-frame { transform: translateY(calc((1 - var(--e)) * -72vh)) scale(calc(.76 + .24 * var(--e))); }
/* … and its title leaves its own way (data-title). */
.lp-x[data-title="rise"] .lp-x-title span:first-child { transform: translateY(calc(var(--e) * -38vh)); }
.lp-x[data-title="rise"] .lp-x-title span:last-child { transform: translateY(calc(var(--e) * 38vh)); }
.lp-x[data-title="zoom"] .lp-x-title { transform: translateY(-50%) scale(calc(1 + var(--e) * 1.8)); filter: blur(calc(var(--e) * 8px)); }
.lp-x[data-title="zoom"] .lp-x-title span { transform: none; }
.lp-wait { display: grid; place-items: center; min-height: 260px; height: 100%; }
.lp-err { margin: 40px auto; text-align: center; color: var(--ink-muted); }

/* ── dashboard window: the app frame (fluid rail + top strip) around the portal ─ */
.lp-app { position: relative; }
.lp-app .fluid-rail { position: absolute; top: 4px; left: 0; z-index: 30; }
.lp-app .top { padding: 0 0 0 48px; max-width: none; margin: 0 0 26px; position: relative; z-index: 25; }
.lp-app .lp-dash-in { padding-left: 48px; }
.lp-app .notif-panel, .lp-app .top .menu { z-index: 40; }
.lp-app .notif-panel .ni > span:last-child { width: 22px; }
.lp-dash .lp-dash-in { max-width: 1240px; margin: 0 auto; }
.lp-dash #lp-pred { overflow-x: auto; }

/* ── Question Maker window: the app's side-by-side layout ───────────── */
.lp-qm .q-main-area { display: flex; flex-direction: row; gap: 14px; align-items: stretch; }
.lp-qm .q-card, .lp-qm .answer-card { flex: 1 1 0; min-width: 0; margin: 0; min-height: 520px; }
.lp-qm .answer-card { display: flex; flex-direction: column; }
.lp-qm .lp-ans-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.lp-qm .lp-ans-body [hidden] { display: none; }
.lp-qm .ans-area { flex: 1; min-height: 300px; resize: none; width: 100%; box-sizing: border-box; }
.lp-qm .lp-qm-foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.lp-qm .lp-crit-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; color: var(--ink-muted); }
.lp-qm .lp-crit-list b { color: var(--ink-soft); font-weight: 600; }
.lp-qm .res-draw-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 12.5px; color: var(--ink-muted); cursor: pointer; background: none; border: 0; padding: 0; font-family: inherit;
  transition: color var(--m-quick) var(--ease-sharp), transform var(--m-quick) var(--spring-soft); }
.lp-back:hover { color: var(--ink); transform: translateX(-2px); }
.lp-back svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── mock exam window ───────────────────────────────────────────────── */
.lp-build .setup-title { text-align: left; }
.lp-build .setup-card { margin-bottom: 14px; }
.lp-build .mock-split { grid-template-rows: 1fr; opacity: 1; transform: none; margin-top: 14px; }
.lp-split-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: var(--ink-muted); }
.lp-split-row i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--c); }
.lp-build .paper-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lp-build .paper-card[hidden] { display: none; }
/* The generated paper on a laptop: the lid swings open, the paper rises onto the screen. */
.lp-leave { animation: lp-leave var(--m-base) var(--ease-sharp) forwards !important; }
@keyframes lp-leave { to { opacity: 0; transform: translateY(-18px) scale(.97); filter: blur(4px); } }
.lp-lap-view { display: flex; flex-direction: column; gap: 14px; height: calc(100% - 30px); min-height: 0; }
.lp-lap-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.lp-lap-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lp-lap-info .paper-split { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--ink-muted); }
.lp-lap-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lp-lap-tabs { display: flex; gap: 2px; margin-right: 6px; }
.lp-lap-tabs button { appearance: none; border: 0; border-radius: 6px; background: none; padding: 8px 11px; font: 500 13px "Manrope", sans-serif; color: var(--ink-muted); cursor: pointer;
  transition: transform var(--m-quick) var(--spring-bouncy), color var(--m-quick) var(--ease-sharp), background var(--m-quick) var(--ease-sharp); }
.lp-lap-tabs button:hover { color: var(--ink); transform: translateY(-2px); }
.lp-lap-tabs button:active { transform: translateY(1px) scale(.97); }
.lp-lap-tabs button[aria-selected="true"] { color: var(--ink); background: var(--bg-3); animation: lp-tap var(--m-base) var(--spring-bouncy); }
.lp-laptop { flex: 1 1 auto; min-height: 0; display: flex; align-items: flex-end; justify-content: center; perspective: 2000px; }
.lp-lap-in { display: flex; flex-direction: column; align-items: center; }
.lp-lid { position: relative; box-sizing: border-box; padding: 2.2% 1.8% 2.6%; border-radius: 16px 16px 4px 4px; background: #0b0b0c;
  box-shadow: 0 0 0 1.5px #3c3c40, 0 0 0 3px #1a1a1c, 0 -10px 60px -30px rgb(130 182 236 / 35%);
  transform-origin: 50% 100%; animation: lp-lid-open 1.15s cubic-bezier(.2, .9, .25, 1.04) .12s both; }
@keyframes lp-lid-open { 0% { transform: rotateX(-91deg); } 72% { transform: rotateX(3deg); } 100% { transform: rotateX(0); } }
.lp-bezel { position: relative; height: 100%; }
.lp-cam { position: absolute; top: -1.6%; left: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #1c1d22; box-shadow: inset 0 0 0 1.5px #2a2c33; }
.lp-screen { height: 100%; display: flex; flex-direction: column; border-radius: 3px; overflow: hidden; background: #2b2b2f;
  animation: lp-screen-on .9s var(--ease-decel) .75s both; }
@keyframes lp-screen-on { from { filter: brightness(0); } to { filter: brightness(1); } }
.lp-vbar { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 26px; padding: 0 12px; background: #1f1f22; color: #b9b9be; font-size: 11px; }
.lp-vb-dots { display: flex; gap: 6px; }
.lp-vb-dots i { width: 9px; height: 9px; border-radius: 50%; background: #3d3d42; }
.lp-vb-name { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-vb-pg { justify-self: end; font-variant-numeric: tabular-nums; color: #8e8e94; }
.lp-screen-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 0; scrollbar-width: thin; scrollbar-color: #4a4a50 transparent; outline: none; }
.lp-screen-scroll .lp-wait { min-height: 0; }
.lp-paper-in { animation: lp-paper-in .9s cubic-bezier(.2, .9, .25, 1.1) both; }
@keyframes lp-paper-in { from { opacity: 0; transform: translateY(90px) scale(.96); } to { opacity: 1; transform: none; } }
.lp-base { position: relative; height: 16px; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #d8d8dc 0%, #ababb0 55%, #7e7e84 100%);
  box-shadow: 0 26px 40px -20px #000, inset 0 1px 0 #f1f1f4; }
.lp-base span { display: block; width: 15%; height: 6px; margin: 0 auto; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #8c8c92, #a9a9ae); }
.lp-exam { display: flex; flex-direction: column; min-height: 100%; }
.lp-exam .exam-layout { flex: 1; }
.lp-exam-acts { display: flex; gap: 10px; align-items: center; }
.lp-prog { font-size: 12px; color: var(--ink-muted); }
.lp-exam .exam-sidebar-toggle { cursor: default; }
.lp-exam .lp-ans { width: 100%; min-height: 120px; margin-top: 18px; box-sizing: border-box; }
.lp-exam-nav { display: flex; justify-content: space-between; margin-top: 16px; }

/* ── printed paper window: the title card beside the live PDF ───────── */
.lp-pdfwin { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 22px; }
.lp-pdf-card { align-self: start; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 6px; background: var(--bg-2); }
.lp-pdf-card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.lp-pdf-card label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink-muted); }
.lp-input { min-height: 40px; padding: 0 12px; border-radius: 6px; border: 0; background: var(--bg); color: var(--ink); font: 400 14px "Manrope", sans-serif; }
.lp-input:focus { outline: 2px solid var(--ink-muted); outline-offset: 0; }
.lp-pdf-tabs { display: flex; flex-direction: column; gap: 4px; }
.lp-pdf-tabs button { appearance: none; border: 0; border-radius: 6px; background: none; padding: 9px 10px; text-align: left; font: 500 13.5px "Manrope", sans-serif; color: var(--ink-muted); cursor: pointer;
  transition: color var(--m-quick) var(--ease-sharp), background var(--m-quick) var(--ease-sharp), transform var(--m-quick) var(--spring-soft); }
.lp-pdf-tabs button:hover { color: var(--ink); transform: translateX(3px); }
.lp-pdf-tabs button[aria-selected="true"] { color: var(--ink); background: var(--bg-3); }
.lp-pdf-meta { font-size: 12px; color: var(--ink-muted); }
.lp-pdf-scroll { height: 100%; min-height: 0; overflow-y: auto; border-radius: 6px; background: var(--bg-3); padding: 12px 0; }
.lp-pdf-sizer { margin: 0 auto; overflow: hidden; }
.lp-pdf-sizer[hidden] { display: none; }
.lp-pdf-sizer iframe { transform-origin: top left; margin: 0 !important; }

/* ── widget details ─────────────────────────────────────────────────── */
.lp-x-win .q-card { margin: 0; }
.lp-x-win .lp-submit { margin-top: 16px; }
.lp-x-win .ionik-result { background: var(--bg-2); border-radius: 6px; padding: clamp(16px, 2.4vw, 28px); }
.lp-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.lp-name-row .lp-input { flex: 1 1 220px; }
.lp-verdict { margin: 16px 0 0; font-size: 14px; }
.lp-verdict.ok { color: var(--r-green); }
.lp-verdict.no { color: var(--r-amber); }
.lp-res { margin-top: 16px; }
.lp-res .res-model-panel, .lp-res .res-criteria-panel { margin-top: 12px; }
.lp-fcwin { display: grid; place-items: center; }
.lp-fc { width: min(720px, 100%); }

/* Diagram gallery: kinds and tiles down the left, the open question on the right. */
.lp-lab { display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: 22px; height: 100%; min-height: 0; }
.lp-lab-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.lp-lab-groups { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.lp-lab-groups button { appearance: none; border: 0; border-radius: 6px; background: none; padding: 8px 10px; font: 500 13.5px "Manrope", sans-serif; color: var(--ink-muted); cursor: pointer;
  display: inline-flex; align-items: baseline; gap: 6px; transition: transform var(--m-quick) var(--spring-bouncy), color var(--m-quick) var(--ease-sharp), background var(--m-quick) var(--ease-sharp); }
.lp-lab-groups button span { font-size: 11.5px; font-weight: 400; color: var(--ink-faint, var(--ink-muted)); font-variant-numeric: tabular-nums; }
.lp-lab-groups button:hover { color: var(--ink); transform: translateY(-2px); }
.lp-lab-groups button:active { transform: translateY(1px) scale(.97); }
.lp-lab-groups button[aria-selected="true"] { color: var(--ink); background: var(--bg-3); }
.lp-lab-thumbs { flex: 1 1 auto; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 10px;
  padding: 4px 4px 12px 0; scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent; }
.lp-thumb { appearance: none; border: 0; border-radius: 6px; background: var(--bg-2); padding: 10px; display: flex; flex-direction: column; gap: 7px; cursor: pointer; text-align: left; color: var(--ink-muted);
  transition: transform var(--m-base) var(--spring-bouncy), background var(--m-quick) var(--ease-sharp), color var(--m-quick) var(--ease-sharp), box-shadow var(--m-base) var(--spring-soft); }
.lp-thumb:hover { transform: translateY(-3px); background: var(--bg-3); color: var(--ink); box-shadow: 0 14px 30px -18px #000; }
.lp-thumb:active { transform: translateY(1px) scale(.97); }
.lp-thumb[aria-pressed="true"] { background: var(--bg-3); color: var(--ink); }
.lp-thumb-fig { display: block; height: 96px; overflow: hidden; pointer-events: none; transform-origin: center;
  transition: transform var(--m-slow) var(--spring-bouncy); }
.lp-thumb:hover .lp-thumb-fig { transform: scale(1.06); }
.lp-thumb-fig svg { width: 100%; height: 100%; }
.lp-thumb-fig table { font-size: 10px; }
.lp-thumb-fig.is-zoomed > span { display: block; width: 200%; height: 200%; transform: scale(.5); transform-origin: 0 0; }
.lp-thumb-fig.is-zoomed .spectro-canvas { height: 192px !important; }
.lp-x-win .spectro-canvas, .lp-x-win .spectro-card { background: transparent; border: 0; }
.lp-thumb-lbl { font: 500 12.5px "Manrope", sans-serif; line-height: 1.3; }
.lp-lab-stage { min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent; padding-right: 4px; }
.lp-stage-card { margin: 0; }
.lp-lab-stage .lp-stage-fig, .lp-lab-stage .lp-model { max-width: 680px; margin: 14px auto 0; }
.lp-lab-stage .lp-stage-fig canvas { animation: lp-wipe var(--m-slow) var(--ease-decel) both; }
.lp-lab-stage .lp-reveal { margin-top: 16px; }
.lp-structs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 8px; }
.lp-structs figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.lp-structs figcaption { font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* Curves trace themselves in when a figure opens (ionik-landing.js traceIn). */
.lp-trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lp-trace 1.5s cubic-bezier(.65, 0, .35, 1) calc(min(var(--i, 0), 10) * 90ms) forwards; }
@keyframes lp-trace { to { stroke-dashoffset: 0; } }
@keyframes lp-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Taps that answer back: a picked option springs, a revealed answer settles in. */
@keyframes lp-tap { 0% { transform: scale(1); } 40% { transform: scale(.97); } 75% { transform: scale(1.015); } 100% { transform: scale(1); } }
.lp-x-win .q-mcq-opt { transition: transform var(--m-quick) var(--spring-soft), background var(--m-quick) var(--ease-sharp); }
.lp-x-win .q-mcq-opt:hover { transform: translateX(3px); }
.lp-x-win .q-mcq-opt.selected,
.lp-x-win :is(.ms-chip, .mock-marks-chip, .mock-time-chip, .vp-pill, .nt-tile, .ans-tabs button).on,
.lp-x-win .nr-circle.active,
.lp-thumb[aria-pressed="true"],
.lp-lab-groups button[aria-selected="true"] { animation: lp-tap var(--m-base) var(--spring-bouncy); }

/* Syllabus Journey note cards: copied from Syllabus Journey/index.html, scoped to the window. */
.lp-sj .lc-meta { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.lp-sj .lc-title { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.025em; font-weight: 600; margin: 0 0 26px; line-height: 1.2; max-width: 840px; }
.lp-sj .notes-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lp-sj .nh-count { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.lp-sj .nh-stat { font-size: 12px; color: var(--ink-muted); }
.lp-sj .note-card { background: var(--bg-2); border: 1px solid var(--rule-soft); border-radius: var(--r-lg); padding: 36px 40px 28px; width: 100%; box-sizing: border-box; transition: background 350ms var(--ease), border-color 350ms var(--ease); position: relative; }
.lp-sj .note-card.tint-r { background: color-mix(in srgb, var(--r-red) 9%, var(--bg-2)); border-color: color-mix(in srgb, var(--r-red) 28%, var(--rule-soft)); }
.lp-sj .note-card.tint-y { background: color-mix(in srgb, var(--r-amber) 9%, var(--bg-2)); border-color: color-mix(in srgb, var(--r-amber) 28%, var(--rule-soft)); }
.lp-sj .note-card.tint-g { background: color-mix(in srgb, var(--r-green) 9%, var(--bg-2)); border-color: color-mix(in srgb, var(--r-green) 28%, var(--rule-soft)); }
.lp-sj .nc-title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 18px; }
.lp-sj .nc-body { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.lp-sj .nc-body p { margin: 0 0 14px; }
.lp-sj .nc-body p:last-child { margin-bottom: 0; }
.lp-sj .nc-body .hl { color: var(--accent); }
.lp-sj .nc-body .hl2 { color: #a06040; }
.lp-sj .nc-body b { color: var(--ink); font-weight: 600; }
.lp-sj .nc-body h4.nc-h { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; margin: 24px 0 10px; }
.lp-sj .nc-body h4.nc-h:first-child { margin-top: 0; }
.lp-sj .nc-body span.nc-h { color: var(--accent); font-weight: 600; }
.lp-sj .nc-rating { display: flex; align-items: center; gap: 14px; padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--rule-soft); flex-wrap: wrap; }
.lp-sj .nr-label { font-size: 12px; color: var(--ink-muted); flex: 1; min-width: 180px; }
.lp-sj .nr-item { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.lp-sj .nr-item span { font-size: 12px; color: var(--ink-muted); }
.lp-sj .nr-circle { width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid var(--rule); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform 160ms var(--ease), box-shadow 160ms var(--ease); flex-shrink: 0; }
.lp-sj .nr-circle:hover { transform: scale(1.12); }
.lp-sj .nr-circle.nr-r { background: var(--r-red); border-color: var(--r-red); }
.lp-sj .nr-circle.nr-y { background: var(--r-amber); border-color: var(--r-amber); }
.lp-sj .nr-circle.nr-g { background: var(--r-green); border-color: var(--r-green); }
.lp-sj .nr-circle.active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.lp-sj .notes-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.lp-sj .nav-circ { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--rule-soft); background: var(--bg-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-soft); transition: background 140ms var(--ease), transform 180ms var(--spring-soft); }
.lp-sj .nav-circ:hover { background: var(--bg-3); transform: scale(1.1); }
.lp-sj .notes-nav-hint { font-size: 11.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; min-width: 60px; text-align: center; }
.lp-sj .note-tiles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.lp-sj .nt-tile { width: 26px; height: 26px; border-radius: var(--r-sm); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; border: 1.5px solid transparent; box-sizing: border-box; background: var(--bg-3); color: var(--ink-muted); transition: transform 200ms var(--spring-bouncy), background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.lp-sj .nt-tile:hover { transform: translateY(-2px) scale(1.06); }
.lp-sj .nt-tile.is-r { background: color-mix(in srgb, var(--r-red) 26%, var(--bg-2)); color: var(--r-red); }
.lp-sj .nt-tile.is-y { background: color-mix(in srgb, var(--r-amber) 28%, var(--bg-2)); color: var(--r-amber); }
.lp-sj .nt-tile.is-g { background: color-mix(in srgb, var(--r-green) 26%, var(--bg-2)); color: var(--r-green); }
.lp-sj .nt-tile.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--bg), 0 2px 8px color-mix(in srgb, var(--ink) 14%, transparent); }

/* ── sections after the screens ─────────────────────────────────────── */
.lp-sec { padding: clamp(80px, 11vw, 150px) var(--lp-gutter) 0; text-align: center; }
.lp-h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; line-height: 1.12; letter-spacing: 0; }
.lp-sub { max-width: 58ch; margin: 16px auto 0; color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.6; }

.lp-rows { max-width: 760px; margin: 44px auto 0; display: grid; gap: 34px; }
.lp-row h3 { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; }
.lp-row p { max-width: 54ch; margin: 8px auto 0; color: var(--ink-muted); font-size: 1rem; line-height: 1.6; }

/* Carousel: what sets it apart. The centred slide is full size; its neighbours sit back. */
.lp-car { margin: 44px calc(var(--lp-gutter) * -1) 0; }
.lp-car-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 20px calc(50% - min(270px, 41vw)); outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.lp-car-track::-webkit-scrollbar { display: none; }
.lp-slide { flex: 0 0 min(540px, 82vw); scroll-snap-align: center; box-sizing: border-box; padding: 34px 34px 36px; border-radius: 6px; background: var(--bg-2); text-align: left;
  opacity: .4; transform: scale(.9); filter: blur(1px);
  transition: opacity var(--m-slow) var(--ease-sharp), transform var(--m-slow) var(--spring-soft), filter var(--m-slow) var(--ease-sharp), box-shadow var(--m-slow) var(--spring-soft); }
.lp-slide.on { opacity: 1; transform: none; filter: none; box-shadow: 0 30px 70px -40px #000; }
.lp-slide:not(.on) { cursor: pointer; }
.lp-slide:not(.on):hover { opacity: .65; transform: scale(.92); }
.lp-slide-n { display: block; font-size: 13px; font-weight: 500; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.lp-slide h3 { margin: 26px 0 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.15; }
.lp-slide p { margin: 12px 0 0; color: var(--ink-muted); font-size: 1rem; line-height: 1.6; }
.lp-slide.on h3 { animation: ionik-fade-rise var(--m-base) var(--ease-decel) both; }
.lp-slide.on p { animation: ionik-fade-rise var(--m-base) var(--ease-decel) 90ms both; }
.lp-car-ctl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.lp-car-btn { appearance: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--ink-soft); display: grid; place-items: center; cursor: pointer;
  transition: transform var(--m-quick) var(--spring-bouncy), background var(--m-quick) var(--ease-sharp), color var(--m-quick) var(--ease-sharp); }
.lp-car-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-car-btn:hover { transform: scale(1.1); background: var(--bg-3); color: var(--ink); }
.lp-car-btn:active { transform: scale(.94); }
.lp-car-dots { display: flex; gap: 8px; }
.lp-car-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--bg-3); transition: width var(--m-base) var(--spring-bouncy), background var(--m-quick) var(--ease-sharp); }
.lp-car-dots i.on { width: 22px; background: var(--ink-soft); }

.lp-note { max-width: 640px; margin: 36px auto 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; }
.lp-note p { margin: 0 0 18px; }
.lp-note .lp-note-by { margin: 0; color: var(--ink-muted); font-size: .95rem; }
.lp-pull { margin: 56px auto 0; max-width: 22ch; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.2; }
.lp-made { max-width: 52ch; margin: 30px auto 0; color: var(--ink); font-size: clamp(1rem, 1.4vw, 1.1rem); }

.lp-bank { padding: clamp(90px, 12vw, 160px) var(--lp-gutter) 0; text-align: center; }
.lp-big { margin: 0; font-size: clamp(4rem, 12vw, 9rem); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }

/* Pricing: the Billing page's two plan cards, with Pro tinted and the launch offer on it. */
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; margin: 44px auto 0; text-align: left; align-items: stretch; }
.lp-plan { animation-fill-mode: backwards !important; display: flex; flex-direction: column; gap: 18px; padding: 28px 28px 26px; border-radius: 6px; background: var(--bg-2); }
.lp-plan:not(.lp-pro) { transition: transform var(--m-base) var(--spring-soft), box-shadow var(--m-base) var(--spring-soft); }
.lp-plan:not(.lp-pro):hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px #000; }
.lp-plan h3 { margin: 0; font-size: 18px; font-weight: 600; }
.lp-tag { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-muted); }
.lp-price b { font-size: 40px; font-weight: 600; line-height: 1; }
.lp-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; flex: 1; align-content: start; }
.lp-feats li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 13.5px; color: var(--ink-soft); align-items: start; }
.lp-feats li.off { color: var(--ink-faint); }
.lp-feats svg { width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-feats li.on svg { color: var(--r-green); }
.lp-plan-go { justify-content: center; min-height: 46px; border-radius: 6px; font-size: 14.5px; }
.lp-plan-note { margin: -8px 0 0; font-size: 12.5px; color: var(--ink-muted); text-align: center; }
.lp-pro { background: color-mix(in srgb, #2a5e8a 30%, var(--bg-2)); box-shadow: 0 30px 70px -36px color-mix(in srgb, #2a5e8a 80%, transparent);
  transition: transform var(--m-base) var(--spring-soft), box-shadow var(--m-base) var(--spring-soft); }
.lp-pro:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -36px color-mix(in srgb, #2a5e8a 95%, transparent); }
.lp-pro .lp-tag, .lp-pro .lp-plan-note, .lp-pro .lp-offer-l { color: var(--ink-soft); }
.lp-pro .lp-feats li { color: var(--ink); }
.lp-offer[hidden] { display: none; }
.lp-offer-l { margin: 10px 0 8px; font-size: 13px; }
.lp-timer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lp-timer div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 6px; background: rgb(0 0 0 / 22%); }
.lp-timer b { font-size: 24px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lp-timer span { font-size: 11px; color: var(--ink-soft); }
.lp-timer b { display: inline-block; }
.lp-flip { animation: lp-flip var(--m-base) var(--spring-snappy); }
@keyframes lp-flip { 0% { transform: translateY(-40%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

.lp-faq { max-width: 720px; margin: 40px auto 0; text-align: left; }
.lp-faq details { padding: 4px 0; }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; cursor: pointer; list-style: none; font-size: 1.05rem; font-weight: 500;
  transition: color var(--m-quick) var(--ease-sharp), transform var(--m-quick) var(--spring-soft); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 400; color: var(--ink-muted); transition: transform var(--m-base) var(--spring-bouncy); }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq summary:hover { transform: translateX(3px); }
.lp-faq details p { margin: 0 0 16px; color: var(--ink-muted); line-height: 1.65; animation: ionik-fade-rise var(--m-base) var(--ease-decel) both; }

.lp-finish { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: clamp(100px, 12vw, 170px) var(--lp-gutter) clamp(70px, 9vw, 120px); text-align: center; }
.lp-fine { margin: 0; color: var(--ink-muted); font-size: .95rem; }

/* ── footer ─────────────────────────────────────────────────────────── */
.lp-foot { padding: 40px 0 48px; color: var(--ink-muted); font-size: .88rem; }
.lp-foot-in { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.lp-foot p { margin: 0; }
.lp-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.lp-foot nav a { display: inline-flex; align-items: center; min-height: 40px; transition: color var(--m-quick) var(--ease-sharp), transform var(--m-quick) var(--spring-soft); }
.lp-foot nav a:hover { color: var(--ink); transform: translateY(-2px); }

/* ── smaller screens: no pinning, every window full size in the page ── */
@media (max-width: 900px), (max-height: 560px) {
  .lp-x, .lp-x-short { height: auto; --e: 1; }
  .lp-x-pin { position: static; height: auto; overflow: visible; padding: 72px var(--lp-gutter) 0; }
  .lp-x-title { position: static; transform: none; opacity: 1; margin-bottom: 20px; font-size: clamp(2rem, 9vw, 3rem); }
  .lp-x-title span:first-child, .lp-x-title span:last-child { transform: none; }
  .lp-x-frame, .lp-x[data-in] .lp-x-frame { transform: none; flex: none; width: 100%; opacity: 1; clip-path: none; }
  .lp-x[data-title] .lp-x-title, .lp-x[data-title] .lp-x-title span,
  .lp-x[data-title] .lp-x-title span:first-child, .lp-x[data-title] .lp-x-title span:last-child { transform: none; filter: none; }
  .lp-x-win { height: auto; max-height: none; overflow: visible; pointer-events: auto; filter: none; }
  .lp-x-cap { opacity: 1; transform: none; }
  .lp-links { display: none; }
  .lp-qm .q-main-area { flex-direction: column; }
  .lp-qm .q-card, .lp-qm .answer-card { flex: none; min-height: 0; }
  .lp-pdfwin { grid-template-columns: 1fr; grid-template-rows: auto; }
  .lp-pdf-scroll { height: 70vh; }
  .lp-lab { grid-template-columns: minmax(0, 1fr); height: auto; }
  .lp-lab-side { min-width: 0; }
  .lp-lab-thumbs { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 168px; overflow-x: auto; overflow-y: hidden; padding-bottom: 8px; }
  .lp-lab-stage { overflow: visible; }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-exam .exam-sidebar { display: none; }
  .lp-lap-view { height: auto; }
  .lp-laptop { flex: none; }
  .lp-qm .res-draw-figs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-nav-r { gap: 14px; }
  .lp-signin { display: none; }
  .lp-go { width: 100%; justify-content: center; box-sizing: border-box; padding: 18px 24px; }
  .lp-fc .fc-card { padding: 36px 22px; min-height: 280px; }
  .lp-fc .fc-actions { flex-wrap: wrap; gap: 10px; }
  .lp-sj .note-card { padding: 24px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-down svg, .lp-path-run, .lp-lab-stage .lp-stage-fig canvas { animation: none; }
  .lp-x-win .q-mcq-opt.selected, .lp-x-win :is(.ms-chip, .mock-marks-chip, .mock-time-chip, .vp-pill, .nt-tile, .ans-tabs button).on,
  .lp-x-win .nr-circle.active, .lp-thumb[aria-pressed="true"], .lp-lab-groups button[aria-selected="true"] { animation: none; }
  .lp-trace { animation: none; stroke-dashoffset: 0; }
  .lp-lid, .lp-screen, .lp-paper-in, .lp-leave { animation: none !important; }
  .lp-plan:hover, .lp-row:hover { transform: none; }
  .lp-x { --e: 1; }
  .lp-x[data-in] .lp-x-frame { transform: none; clip-path: none; opacity: 1; }
  .lp-slide, .lp-slide.on h3, .lp-slide.on p { transition: none; animation: none; }
}
