.public-shell { width: min(1120px, 100%); margin-inline: auto; padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.public-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 4px 28px; }
.public-header .pill { min-height: 44px; padding-inline: 22px; font-size: 14px; }
.public-eyebrow { color: var(--violet-deep); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.public-note { margin-block: 24px; max-width: 78ch; color: var(--muted); font-size: 14px; line-height: 1.7; }
.public-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 13px; }
.public-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.public-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.public-footer a:hover { color: var(--violet-deep); }
.policy { max-width: 720px; margin: 24px auto 64px; overflow-wrap: anywhere; }
.policy h1 { margin: 14px 0; font-size: clamp(36px, 8vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.policy-date { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.policy-intro { padding: 24px; border-radius: 24px; background: var(--lilac-1); font-size: 17px; }
.policy section { margin-top: 32px; }
.policy h2 { margin-bottom: 10px; font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.policy p, .policy li { color: var(--ink-soft); line-height: 1.8; }
.policy p + p { margin-top: 12px; }
.policy ul { padding-left: 24px; list-style: disc; }
.policy li + li { margin-top: 8px; }
.policy a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .public-header { padding-bottom: 20px; }
  .public-header .hub-brand { font-size: 18px; }
  .public-footer { align-items: flex-start; flex-direction: column; }
  .policy { margin-top: 16px; }
}

/* Landing page: welcome.html at / and /welcome. Rules below are scoped to .landing or lp- classes, so the
   policy pages keep the shell above. The art is inline HTML and SVG because only this stylesheet and a few
   shared assets are public before sign-in, and nothing relies on inline styles or scripts. */
.hub.landing { background: var(--surface); }
.landing .public-shell { width: min(1184px, 100%); }
:root:has(.lp-dock) { scroll-padding-bottom: 104px; }
.lp-header-actions { display: flex; align-items: center; gap: 8px; }
.lp-header-start { display: none; }
.lp-go .i { transition: transform .2s ease; }
@media (hover: hover) { .lp-go:hover .i { transform: translateX(3px); } }

/* Hero: the catchphrase, one clear action and a glimpse of the product. */
/* Keep the floating action below the initial viewport, including on tall desktop windows. */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; min-height: calc(100vh - 128px); min-height: calc(100svh - 128px); padding-top: 8px; }
.lp-hero-copy { container: lp-hero / inline-size; min-width: 0; }
.lp-onair { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 15px 0 12px; border-radius: 999px; background: var(--row); color: var(--ink-soft); font-size: 13px; font-weight: 600; line-height: 1.2; }
.lp-onair-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.lp-onair-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(22, 128, 90, .32); opacity: 0; }
/* Sized from the copy column so "doomscrolling," always fits its line: four lines in narrow columns, two in wide ones. */
.lp-title { margin-top: 18px; font-size: clamp(36px, 11.6vw, 72px); font-size: clamp(34px, 13.6cqi, 84px); font-weight: 700; line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
@container lp-hero (min-width: 560px) { .lp-title { font-size: min(10.2cqi, 96px); } }
.lp-title-line { display: block; }
.lp-strike, .lp-mark { position: relative; display: inline-block; }
.lp-strike { color: var(--muted); }
.lp-strike::after { --r: -3deg; content: ""; position: absolute; top: 50%; left: -.03em; right: -.03em; height: .08em; border-radius: 99px; background: var(--violet); transform: rotate(var(--r)) scaleX(1); transform-origin: 0 50%; }
.lp-mark { z-index: 0; }
.lp-mark::before { --r: -1deg; content: ""; position: absolute; z-index: -1; left: -.05em; right: -.07em; bottom: .12em; height: .34em; border-radius: .14em; background: var(--butter-2); transform: rotate(var(--r)) scaleX(1); transform-origin: 0 50%; }
.lp-lede { max-width: 30em; margin-top: 22px; color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lp-actions .pill { min-height: 56px; padding-inline: 28px; }
.lp-actions-note { margin-top: 14px; color: var(--muted); font-size: 13.5px; }

/* Product glimpse: a phone styled like the real player, sized from --pw so every detail scales together.
   Tilted lilac and butter cards behind it echo the brand mark. */
.lp-stage { --pw: clamp(216px, 62vw, 276px); --lp-loop: 14s; position: relative; isolation: isolate; display: grid; place-items: center; padding: 34px 0 42px; border-radius: 32px; overflow: hidden; background: radial-gradient(80% 55% at 50% 104%, #e4ddff 0%, rgba(228, 221, 255, 0) 72%), radial-gradient(60% 45% at 0% 0%, #fff4cb 0%, rgba(255, 244, 203, 0) 72%), linear-gradient(180deg, #fbfaff, #f1effa); }
.lp-stage-art { position: relative; display: grid; place-items: center; width: 100%; }
.lp-device { position: relative; width: var(--pw); }
.lp-backcard { position: absolute; inset: 5% 3%; border-radius: calc(var(--pw) * .15); }
.lp-backcard--lilac { background: linear-gradient(165deg, #ddd7ff, #c6befa); transform: translateX(-19%) rotate(-11deg); }
.lp-backcard--butter { background: linear-gradient(165deg, #fff3c4, #fbe08a); transform: translateX(18%) rotate(8deg); }
.lp-phone { position: relative; height: calc(var(--pw) * 2.04); padding: calc(var(--pw) * .03); border-radius: calc(var(--pw) * .16); background: var(--ink); box-shadow: inset 0 0 0 1.5px #35353d, 0 46px 70px -36px rgba(36, 28, 92, .62), 0 16px 28px -18px rgba(19, 19, 22, .5); }
.lp-screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .13); background: var(--surface); color: var(--ink); font-size: calc(var(--pw) / 22); line-height: 1.3; }
.lp-screen::before { content: ""; position: absolute; z-index: 4; top: .6em; left: 50%; width: 30%; height: 1.4em; border-radius: 99px; background: #000; transform: translateX(-50%); }
.lp-bar { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; align-items: center; gap: .55em; height: 5em; padding: 1.8em .8em 0; background: var(--ink); color: #fff; }
.lp-bar-back { display: grid; place-items: center; flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.lp-bar-back svg { width: 1.15em; height: 1.15em; }
.lp-bar-title { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.lp-bar-title b { font-size: 1em; letter-spacing: -.02em; }
.lp-bar-title span { overflow: hidden; color: rgba(255, 255, 255, .72); font-size: .72em; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.lp-bar-pill { flex: none; padding: .5em .85em; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: .74em; font-weight: 600; }
.lp-feed { position: absolute; inset: 5em 0 0; overflow: hidden; }
.lp-strip { height: 400%; }
.lp-frame { position: relative; height: 25%; overflow: hidden; }
/* Frame 1: an animated lesson reel with the player's floating controls. */
.lp-reel { color: #fff; background: radial-gradient(120% 60% at 100% 0%, #2d2577 0%, rgba(45, 37, 119, 0) 62%), radial-gradient(100% 50% at 0% 100%, #1b3c35 0%, rgba(27, 60, 53, 0) 62%), #121118; }
.lp-lesson { padding: 1.3em 1.1em 0; }
.lp-lesson-title { font-size: 1.3em; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.lp-chart { width: 100%; height: auto; margin-top: .8em; overflow: visible; }
.lp-chart-grid { fill: none; stroke: rgba(255, 255, 255, .1); stroke-dasharray: 2 5; stroke-linecap: round; }
.lp-chart-line { fill: none; stroke: #a99dff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lp-chart-dot { fill: #fff; stroke: #a99dff; stroke-width: 3; }
.lp-chart-label { fill: rgba(255, 255, 255, .82); font-size: 12px; font-weight: 700; }
.lp-chart-end, .lp-coin { transform-box: fill-box; transform-origin: 50% 50%; }
.lp-coin circle { fill: var(--butter-2); }
.lp-coin text { fill: var(--ink); font-size: 11px; font-weight: 700; }
.lp-formula { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1em .5em; margin-top: .8em; padding: .7em .9em; border-radius: 1em; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.lp-formula span { color: rgba(255, 255, 255, .88); font-size: .9em; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-formula b { display: inline-block; color: var(--butter-2); font-size: 1.45em; line-height: 1.1; letter-spacing: -.03em; }
.lp-takeaway { position: absolute; right: 1em; bottom: 7.2em; left: 1em; font-size: 1.12em; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.lp-takeaway span { color: var(--butter-2); }
.lp-reel-ui { position: absolute; right: .8em; bottom: .9em; left: .8em; display: grid; grid-template-columns: auto auto auto minmax(0, 1fr); align-items: center; gap: .55em .4em; }
.lp-ctrl { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.lp-ctrl svg { width: 1.15em; height: 1.15em; }
.lp-ctrl--speed { width: auto; padding: 0 .75em; border-radius: 99px; }
.lp-ctrl--speed b { color: var(--butter-2); font-size: .85em; font-variant-numeric: tabular-nums; }
.lp-next { position: relative; justify-self: end; display: inline-flex; align-items: center; gap: .2em; height: 2.6em; padding: 0 .7em 0 1em; border-radius: 1.3em; background: var(--violet); box-shadow: 0 .6em 1.2em -.6em rgba(30, 20, 110, .9); }
.lp-next > span:first-child { font-size: .8em; font-weight: 700; white-space: nowrap; }
.lp-next svg { width: 1.1em; height: 1.1em; }
.lp-seek { position: relative; grid-column: 1 / -1; height: 2.3em; border-radius: 99px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.lp-seek::before, .lp-seek-fill { content: ""; position: absolute; top: 50%; right: 1em; left: 1em; height: .24em; margin-top: -.12em; border-radius: 99px; background: rgba(255, 255, 255, .26); }
.lp-seek-fill { background: #a99dff; transform: scaleX(.64); transform-origin: 0 50%; }
.lp-tap { position: absolute; top: 50%; left: 50%; width: 2.6em; height: 2.6em; margin: -1.3em 0 0 -1.3em; border-radius: 50%; background: rgba(255, 255, 255, .55); opacity: 0; }

/* Frame 2: a quick check, matching the app's answer rows and letter chips. */
.lp-quiz-frame { padding: 1.4em 1.2em 0; }
.lp-q-kicker { color: var(--violet-deep); font-size: .88em; font-weight: 700; }
.lp-q-section { margin-top: .1em; color: var(--muted); font-size: .8em; }
.lp-q-prompt { margin-top: .75em; font-size: 1.22em; line-height: 1.3; letter-spacing: -.015em; }
.lp-q-prompt b { font-weight: 700; }
.lp-q-opts { display: grid; gap: .55em; margin-top: 1.15em; }
.lp-q-opt { position: relative; display: flex; align-items: center; gap: .75em; height: 3.5em; padding: 0 .75em; overflow: hidden; border-radius: 1.1em; background: var(--row); box-shadow: inset 0 0 0 .1em rgba(22, 128, 90, 0); font-weight: 600; }
.lp-q-letter { display: grid; place-items: center; flex: none; width: 2.1em; height: 2.1em; border-radius: .65em; background: #fff; color: var(--ink); font-size: .88em; font-weight: 700; box-shadow: 0 1px 2px rgba(19, 19, 22, .1); }
.lp-q-tick { display: grid; place-items: center; width: 1.9em; height: 1.9em; margin-left: auto; border-radius: 50%; background: var(--success); color: #fff; }
.lp-q-tick svg { width: 1.15em; height: 1.15em; }
.lp-q-pick { background: var(--success-soft); box-shadow: inset 0 0 0 .1em var(--success); }
.lp-q-pick .lp-q-letter { background: var(--success); color: #fff; }
.lp-q-pick .lp-tap { left: 30%; background: rgba(90, 73, 214, .3); }
.lp-q-go { position: absolute; right: 1.2em; bottom: 1.3em; display: inline-flex; align-items: center; gap: .45em; height: 3em; padding: 0 1.15em; border-radius: 99px; background: var(--ink); color: #fff; font-size: .95em; font-weight: 600; }
.lp-q-go svg { width: 1.1em; height: 1.1em; }

/* Frame 3: the result and saved progress. */
.lp-done { display: flex; flex-direction: column; align-items: center; padding: 3em 1.2em 1.3em; text-align: center; }
.lp-done-mark { display: grid; place-items: center; width: 5.4em; height: 5.4em; border-radius: 50%; background: var(--success-soft); color: var(--success); box-shadow: 0 0 0 .6em rgba(220, 242, 232, .55); }
.lp-done-mark svg { width: 2.5em; height: 2.5em; }
.lp-done-title { margin-top: 1.1em; font-size: 1.9em; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.lp-done-copy { margin-top: .35em; color: var(--muted); font-size: .9em; }
.lp-done-card { width: 100%; margin-top: 1.5em; padding: .95em 1em 1em; border-radius: 1.2em; background: var(--row); text-align: left; }
.lp-done-row { display: flex; align-items: baseline; justify-content: space-between; gap: .5em; font-size: .85em; }
.lp-done-row span { color: var(--success); font-weight: 700; }
.lp-segs { display: flex; gap: .25em; margin-top: .65em; }
.lp-segs > span { flex: 1; height: .5em; border-radius: 99px; background: #e1e1e8; }
.lp-segs .is-done, .lp-segs .is-new { background: var(--violet); }
.lp-done-sync { display: flex; align-items: center; gap: .35em; margin-top: .75em; color: var(--ink-soft); font-size: .78em; font-weight: 600; }
.lp-done-sync svg { width: 1.2em; height: 1.2em; color: var(--success); }
.lp-upnext { margin-top: auto; color: var(--muted); font-size: .8em; font-weight: 600; }
.lp-upnext span { display: block; width: 6em; height: .32em; margin: .5em auto 0; border-radius: 99px; background: var(--violet); transform-origin: 0 50%; }

/* Floating cards beside the phone (wider screens only) and the pause control for the loop. */
.lp-chip { position: absolute; z-index: 2; display: none; align-items: center; gap: 11px; padding: 9px 16px 9px 9px; border-radius: 20px; background: rgba(255, 255, 255, .92); box-shadow: 0 24px 40px -24px rgba(36, 28, 92, .5), 0 2px 8px rgba(19, 19, 22, .06); white-space: nowrap; -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.lp-chip--level { top: 13%; left: max(16px, calc(50% - var(--pw) / 2 - 140px)); }
.lp-chip--saved { right: max(16px, calc(50% - var(--pw) / 2 - 140px)); bottom: 12%; }
.lp-chip-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; }
.lp-chip-icon svg { width: 20px; height: 20px; }
.lp-chip-icon--mint { background: var(--success-soft); color: var(--success); }
.lp-chip-text { display: grid; line-height: 1.25; }
.lp-chip-text > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.lp-chip-text b { font-size: 14.5px; letter-spacing: -.01em; }
.lp-pause-input, .lp-pause { position: absolute; bottom: 14px; left: 14px; display: none; width: 44px; height: 44px; }
.lp-pause-input { z-index: 6; margin: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.lp-pause { z-index: 5; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .86); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(19, 19, 22, .08), 0 10px 20px -12px rgba(36, 28, 92, .5); transition: background-color .2s ease; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lp-pause svg { width: 18px; height: 18px; }
.lp-pause-input:hover + .lp-pause { background: #fff; }
.lp-pause-input:focus-visible + .lp-pause { outline: 3px solid var(--violet); outline-offset: 3px; }
.lp-pause-play, .lp-pause-input:checked + .lp-pause .lp-pause-bars { display: none; }
.lp-pause-input:checked + .lp-pause .lp-pause-play { display: block; }

/* Sections */
.lp-section { margin-top: clamp(84px, 11vw, 136px); }
.lp-head { max-width: 44rem; }
.lp-h2 { margin-top: 14px; font-size: clamp(31px, 6vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.lp-sub { max-width: 34em; margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* How it works: three tinted steps, each with a small code-drawn illustration. */
.lp-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 36px; }
.lp-step { display: grid; align-content: start; padding: 14px 14px 26px; border-radius: 30px; }
.lp-step--watch { background: radial-gradient(110% 80% at 100% 0%, #fbfaff 0%, rgba(251, 250, 255, 0) 60%), var(--lilac-1); }
.lp-step--check { background: radial-gradient(110% 80% at 100% 0%, #fffdf3 0%, rgba(255, 253, 243, 0) 60%), var(--butter-1); }
.lp-step--keep { background: radial-gradient(110% 80% at 100% 0%, #f6fffa 0%, rgba(246, 255, 250, 0) 60%), var(--mint-1); }
.lp-step-art { position: relative; height: 180px; margin-bottom: 22px; overflow: hidden; border-radius: 22px; background: rgba(255, 255, 255, .6); }
.lp-step-body { padding-inline: 8px; }
.lp-step-num { color: var(--ink-soft); font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.lp-step-title { margin-top: 8px; font-size: 22px; line-height: 1.15; letter-spacing: -.025em; }
.lp-step-copy { margin-top: 8px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.lp-mini-reel { position: absolute; top: 50%; left: 50%; width: 80px; height: 116px; margin: -60px 0 0 -40px; border-radius: 22px; }
.lp-mini-reel--a { background: #c6befa; transform: translateX(-50px) rotate(-12deg); }
.lp-mini-reel--b { background: #fbe08a; transform: translateX(48px) rotate(10deg); }
.lp-mini-reel--c { display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 18px 28px -16px rgba(19, 19, 22, .65); }
.lp-mini-reel--c svg { width: 28px; height: 28px; margin-left: 4px; }
.lp-mini-reel--c::after { content: ""; position: absolute; right: 12px; bottom: 13px; left: 12px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, #a99dff 0 58%, rgba(255, 255, 255, .26) 58% 100%); }
.lp-mini-speed { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: baseline; gap: 5px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: rgba(255, 255, 255, .86); font-size: 12px; font-weight: 600; }
.lp-mini-speed b { color: var(--butter-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.lp-art-check { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 20px; }
.lp-mini-opt { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 10px; border-radius: 15px; background: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 1px 2px rgba(19, 19, 22, .06); }
.lp-mini-letter { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--row); font-size: 13px; font-weight: 700; }
.lp-mini-opt.is-right { background: var(--success-soft); box-shadow: inset 0 0 0 1.5px var(--success); }
.lp-mini-opt.is-right .lp-mini-letter { background: var(--success); color: #fff; }
.lp-mini-opt svg { width: 22px; height: 22px; margin-left: auto; color: var(--success); }
.lp-mini-solution { align-self: flex-start; display: inline-flex; align-items: center; min-height: 30px; margin-top: 4px; padding: 0 14px; border-radius: 999px; background: var(--lilac-1); color: var(--violet-deep); font-size: 12.5px; font-weight: 700; }
.lp-mini-laptop { position: absolute; top: 24px; left: 50%; width: 156px; margin-left: -104px; }
.lp-mini-screen { display: grid; align-content: center; gap: 9px; height: 96px; padding: 0 16px; border: 3px solid var(--ink); border-bottom-width: 4px; border-radius: 12px 12px 4px 4px; background: #fff; }
.lp-mini-laptop::after { content: ""; display: block; height: 9px; margin: 0 -16px; border-radius: 2px 2px 9px 9px; background: var(--ink); }
.lp-mini-phone { position: absolute; top: 42px; left: 50%; display: grid; align-content: center; gap: 8px; width: 58px; height: 100px; margin-left: 40px; padding: 0 8px; border: 3px solid var(--ink); border-radius: 15px; background: #fff; box-shadow: -10px 10px 0 -4px rgba(19, 19, 22, .06); }
.lp-mini-line { display: block; width: 62%; height: 6px; border-radius: 99px; background: #dcdce4; }
.lp-mini-segs { display: flex; gap: 3px; }
.lp-mini-segs > span { flex: 1; height: 6px; border-radius: 99px; background: #e4e4ea; }
.lp-mini-segs > span:nth-child(-n + 3) { background: var(--violet); }
.lp-mini-sync { position: absolute; bottom: 14px; left: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 9px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 10px 20px -14px rgba(19, 19, 22, .45); }
.lp-mini-sync svg { width: 18px; height: 18px; color: var(--success); }

/* Try a quick check: native radios; each answer's feedback sits inside its own label and shows once chosen. */
.lp-try-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 30px 14px 22px; border-radius: 32px; background: radial-gradient(120% 90% at 100% 0%, #fbfaff 0%, rgba(251, 250, 255, 0) 55%), linear-gradient(165deg, var(--lilac-1), #dcd4fd); }
.lp-try-copy { padding-inline: 8px; }
.lp-try .lp-sub { color: var(--ink-soft); }
.lp-try-cta { justify-self: start; margin-inline: 8px; }
.lp-quiz { min-width: 0; padding: 20px 16px 16px; border-radius: 28px; background: var(--surface); box-shadow: 0 34px 60px -38px rgba(36, 28, 92, .5), 0 2px 6px rgba(36, 28, 92, .05); }
.lp-quiz-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding-inline: 4px; }
.lp-quiz-kicker { color: var(--violet-deep); font-size: 13px; font-weight: 700; }
.lp-quiz-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--row); color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.lp-quiz-set { min-width: 0; margin: 14px 0 0; padding: 0; border: 0; }
.lp-quiz-prompt { float: none; width: 100%; padding: 0 4px; font-size: clamp(19px, 5.2vw, 23px); line-height: 1.34; letter-spacing: -.015em; }
.lp-quiz-prompt b { font-weight: 700; }
.lp-quiz-options { display: grid; gap: 10px; margin-top: 18px; }
.lp-opt { position: relative; display: block; }
.lp-opt-input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.lp-opt-card { display: block; border-radius: 18px; background: var(--row); box-shadow: inset 0 0 0 1.5px transparent; transition: background-color .18s ease, box-shadow .18s ease; }
.lp-opt-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; }
.lp-opt-letter { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--surface); font-size: 14px; font-weight: 700; box-shadow: 0 1px 2px rgba(19, 19, 22, .1); transition: background-color .18s ease, color .18s ease; }
.lp-opt-text { flex: 1; min-width: 0; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-opt-mark { display: none; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; color: #fff; }
.lp-opt-mark svg { width: 16px; height: 16px; }
.lp-opt-fb { display: none; padding: 0 16px 16px 58px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.lp-opt-fb strong { color: var(--ink); }
.lp-opt-input:checked + .lp-opt-card .lp-opt-mark { display: grid; }
.lp-opt-input:checked + .lp-opt-card .lp-opt-fb { display: block; }
.lp-opt--right .lp-opt-input:checked + .lp-opt-card { background: var(--success-soft); box-shadow: inset 0 0 0 1.5px var(--success); }
.lp-opt--right .lp-opt-input:checked + .lp-opt-card .lp-opt-letter, .lp-opt--right .lp-opt-mark { background: var(--success); color: #fff; }
.lp-opt--wrong .lp-opt-input:checked + .lp-opt-card { background: var(--danger-soft); box-shadow: inset 0 0 0 1.5px #e3a3b0; }
.lp-opt--wrong .lp-opt-input:checked + .lp-opt-card .lp-opt-letter, .lp-opt--wrong .lp-opt-mark { background: #b4233c; color: #fff; }
.lp-opt-input:focus-visible + .lp-opt-card { outline: 3px solid var(--violet); outline-offset: 3px; }
@media (hover: hover) { .lp-opt-input:hover:not(:checked) + .lp-opt-card { background: var(--row-hover); } }

/* Study levels: what is available now and what is still being built. */
.lp-levels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.lp-levels-note { display: flex; gap: 10px; max-width: 34em; margin-top: 22px; padding: 14px 16px; border-radius: 18px; background: var(--butter-1); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.lp-levels-note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: #8a6400; }
.lp-levels-list { display: grid; gap: 10px; }
.lp-level { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "icon text" "icon tag"; align-items: center; gap: 6px 14px; min-height: 78px; padding: 14px 16px 14px 14px; border-radius: 22px; background: var(--row); }
.lp-level-icon { grid-area: icon; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--ink); }
.lp-level-icon.tone-ink { color: #fff; }
.lp-level-icon svg { width: 22px; height: 22px; }
.lp-level-text { grid-area: text; min-width: 0; }
.lp-level-name { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.lp-level-hint { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.lp-level .tag { grid-area: tag; }
.lp-level.is-live { background: var(--lilac-1); box-shadow: inset 0 0 0 2px var(--violet); }

/* Closing band. The floating dock below parks in its bottom padding, so the band needs no second button. */
.lp-final { margin-top: clamp(84px, 11vw, 136px); padding: 40px 22px 104px; border-radius: 32px 32px 0 0; background: radial-gradient(90% 70% at 50% 0%, #2b2462 0%, rgba(43, 36, 98, 0) 72%), var(--ink); color: #fff; text-align: center; }
.lp-final-art { display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto 26px; border-radius: 32px; background: linear-gradient(150deg, var(--butter-1), var(--butter-2)); box-shadow: 0 24px 44px -26px rgba(248, 218, 110, .55); }
.lp-final-art img { width: 82%; height: auto; filter: drop-shadow(0 10px 12px rgba(40, 30, 10, .22)); }
.lp-final-title { font-size: clamp(34px, 7.4vw, 64px); font-weight: 700; line-height: 1.03; letter-spacing: -.04em; text-wrap: balance; }
.lp-final-title span { color: var(--butter-2); }
.lp-final-copy { max-width: 34em; margin: 16px auto 0; color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 1.55; }
.lp-final-foot { padding: 20px 22px 32px; border-radius: 0 0 32px 32px; background: var(--ink); color: rgba(255, 255, 255, .74); font-size: 14.5px; text-align: center; }
.lp-final-foot a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 4px; }
.lp-final-foot a:hover { text-decoration-color: currentColor; }
.lp-final-foot a:focus-visible { outline-color: #b4a9ff; }

/* Start dock: a zero-height sticky line at the end of .lp-flow. It cannot rise above the flow's top, so it
   slides in once the hero has passed, floats like the app's bottom bar, then parks inside the closing band. */
.lp-dock { position: sticky; z-index: 20; bottom: calc(12px + env(safe-area-inset-bottom)); height: 0; }
.lp-dock-bar { position: absolute; bottom: 0; left: 50%; display: flex; align-items: center; gap: 10px; width: min(calc(100% - 28px), 460px); padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .88); box-shadow: inset 0 0 0 1px rgba(19, 19, 22, .06), 0 16px 36px -16px rgba(36, 28, 92, .42), 0 2px 6px rgba(19, 19, 22, .06); transform: translateX(-50%); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .lp-dock-bar { background: rgba(255, 255, 255, .97); } }
.lp-dock-text { display: none; }
.lp-dock-cta { flex: 1; }
.lp-note { margin-top: 32px; }

/* Larger phones, tablets and desktop */
@media (max-width: 519px) {
  .lp-actions .pill { flex: 1 1 auto; }
}
@media (min-width: 480px) {
  .lp-level { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "icon text tag"; }
}
@media (min-width: 520px) {
  .lp-dock-text { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding-left: 8px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
  .lp-dock-text img { flex: none; width: 28px; height: 28px; }
  .lp-dock-cta { flex: none; }
}
@media (min-width: 600px) {
  .lp-header-start { display: inline-flex; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .lp-step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; column-gap: 22px; padding-bottom: 14px; }
  .lp-step-art { margin-bottom: 0; }
}
@media (min-width: 700px) {
  .landing .public-shell { padding-right: max(32px, env(safe-area-inset-right)); padding-left: max(32px, env(safe-area-inset-left)); }
  .lp-stage { padding-block: 46px 54px; border-radius: 40px; }
  .lp-quiz { padding: 26px 24px 22px; }
  .lp-final { padding: 64px 48px 112px; border-radius: 40px 40px 0 0; }
  .lp-final-foot { padding-bottom: 40px; border-radius: 0 0 40px 40px; }
  .lp-final-art { width: 136px; height: 136px; border-radius: 36px; }
}
@media (min-width: 720px) {
  .lp-chip { display: flex; }
}
@media (min-width: 900px) {
  .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .lp-try-panel { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "copy quiz" "cta quiz"; column-gap: 56px; row-gap: 28px; padding: 64px; border-radius: 40px; }
  .lp-try-copy { grid-area: copy; align-self: end; padding: 0; }
  .lp-quiz { grid-area: quiz; align-self: center; }
  .lp-try-cta { grid-area: cta; align-self: start; margin: 0; }
  .lp-levels { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 56px; }
}
@media (min-width: 1024px) {
  .lp-hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 48px; padding-top: 16px; }
  .lp-stage { --pw: clamp(248px, 21vw, 280px); }
}
/* Motion. Without it, every element rests in its finished state and the phone shows the complete reel frame.
   One 14s loop: reel (0-30%), swipe, quick check (35-65%), swipe, saved progress (70-95%), then a swipe to a copy
   of the reel so the loop restarts seamlessly. Each frame resets while it is off screen. */
@keyframes lp-draw-x { from { transform: rotate(var(--r)) scaleX(0); } }
@keyframes lp-ping { 0% { opacity: .9; transform: scale(.5); } 80%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes lp-swipe { 0%, 30% { transform: translateY(0); } 35%, 65% { transform: translateY(-25%); } 70%, 95% { transform: translateY(-50%); } 100% { transform: translateY(-75%); } }
@keyframes lp-seek { 0% { transform: scaleX(0); } 30%, 36% { transform: scaleX(1); } 37%, 100% { transform: scaleX(0); } }
@keyframes lp-line { 0%, 3% { stroke-dashoffset: 1; } 13%, 36% { stroke-dashoffset: 0; } 37%, 100% { stroke-dashoffset: 1; } }
@keyframes lp-end { 0%, 12% { opacity: 0; transform: scale(.3); } 14%, 36% { opacity: 1; transform: none; } 37%, 100% { opacity: 0; transform: scale(.3); } }
@keyframes lp-coin { 0%, 14% { opacity: 0; transform: translateY(-16px) scale(.6); } 17%, 36% { opacity: 1; transform: none; } 37%, 100% { opacity: 0; transform: translateY(-16px) scale(.6); } }
@keyframes lp-formula { 0%, 17% { opacity: 0; transform: translateY(.6em); } 20%, 36% { opacity: 1; transform: none; } 37%, 100% { opacity: 0; transform: translateY(.6em); } }
@keyframes lp-result { 0%, 20% { opacity: 0; transform: scale(.5); } 23%, 36% { opacity: 1; transform: none; } 37%, 100% { opacity: 0; transform: scale(.5); } }
@keyframes lp-takeaway { 0%, 22% { opacity: 0; transform: translateY(.5em); } 25%, 36% { opacity: 1; transform: none; } 37%, 100% { opacity: 0; transform: translateY(.5em); } }
@keyframes lp-press { 0%, 27.5% { transform: none; } 28.5% { transform: scale(.92); } 29.5%, 100% { transform: none; } }
@keyframes lp-tap { 0%, 27.5% { opacity: 0; transform: scale(.3); } 28% { opacity: .7; transform: scale(.6); } 30%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes lp-tap-pick { 0%, 43.5% { opacity: 0; transform: scale(.3); } 44% { opacity: .8; transform: scale(.6); } 46.5%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes lp-pick { 0%, 43.5%, 71%, 100% { background-color: var(--row); box-shadow: inset 0 0 0 .1em rgba(22, 128, 90, 0); } 44.5%, 46% { background-color: var(--lilac-1); box-shadow: inset 0 0 0 .1em var(--violet-soft); } 47%, 70% { background-color: var(--success-soft); box-shadow: inset 0 0 0 .1em var(--success); } }
@keyframes lp-pick-letter { 0%, 43.5%, 71%, 100% { background-color: #fff; color: var(--ink); } 44.5%, 46% { background-color: var(--violet); color: #fff; } 47%, 70% { background-color: var(--success); color: #fff; } }
@keyframes lp-tick { 0%, 46.5%, 71%, 100% { opacity: 0; transform: scale(.4); } 48.5%, 70% { opacity: 1; transform: none; } }
@keyframes lp-go { 0%, 49%, 71%, 100% { opacity: 0; transform: translateY(.6em); } 52%, 62.5% { opacity: 1; transform: none; } 63.5% { opacity: 1; transform: scale(.94); } 64.5%, 70% { opacity: 1; transform: none; } }
@keyframes lp-reward { 0%, 70.5% { opacity: 0; transform: scale(.65) rotate(-9deg); } 73.5%, 100% { opacity: 1; transform: none; } }
@keyframes lp-rise-1 { 0%, 72.5% { opacity: 0; transform: translateY(.6em); } 75.5%, 100% { opacity: 1; transform: none; } }
@keyframes lp-rise-2 { 0%, 74.5% { opacity: 0; transform: translateY(.6em); } 77.5%, 100% { opacity: 1; transform: none; } }
@keyframes lp-seg-in { 0%, 79% { background-color: #e1e1e8; } 81.5%, 100% { background-color: var(--violet); } }
@keyframes lp-upnext { 0%, 81% { transform: scaleX(0); } 95%, 100% { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  :root:has(.landing) { scroll-behavior: smooth; }
  .lp-pause-input { display: block; }
  .lp-pause { display: grid; }
  .lp-strike::after { animation: lp-draw-x .6s cubic-bezier(.65, 0, .35, 1) .5s both; }
  .lp-mark::before { animation: lp-draw-x .7s cubic-bezier(.65, 0, .35, 1) 1.05s both; }
  .lp-onair-dot::after { animation: lp-ping 2.4s cubic-bezier(0, 0, .2, 1) .8s 2; }
  .lp-strip { animation: lp-swipe var(--lp-loop) cubic-bezier(.7, 0, .2, 1) infinite; }
  .lp-seek-fill { animation: lp-seek var(--lp-loop) linear infinite; }
  .lp-chart-line { animation: lp-line var(--lp-loop) cubic-bezier(.45, 0, .2, 1) infinite; }
  .lp-chart-end { animation: lp-end var(--lp-loop) cubic-bezier(.3, 1.5, .5, 1) infinite; }
  .lp-coin { animation: lp-coin var(--lp-loop) cubic-bezier(.3, 1.4, .5, 1) infinite; }
  .lp-formula { animation: lp-formula var(--lp-loop) cubic-bezier(.2, .7, .2, 1) infinite; }
  .lp-formula b { animation: lp-result var(--lp-loop) cubic-bezier(.3, 1.5, .5, 1) infinite; }
  .lp-takeaway { animation: lp-takeaway var(--lp-loop) cubic-bezier(.2, .7, .2, 1) infinite; }
  .lp-next { animation: lp-press var(--lp-loop) ease infinite; }
  .lp-next .lp-tap { animation: lp-tap var(--lp-loop) ease-out infinite; }
  .lp-q-pick { animation: lp-pick var(--lp-loop) ease infinite; }
  .lp-q-pick .lp-q-letter { animation: lp-pick-letter var(--lp-loop) ease infinite; }
  .lp-q-pick .lp-tap { animation: lp-tap-pick var(--lp-loop) ease-out infinite; }
  .lp-q-tick { animation: lp-tick var(--lp-loop) cubic-bezier(.3, 1.5, .5, 1) infinite; }
  .lp-q-go { animation: lp-go var(--lp-loop) cubic-bezier(.2, .7, .2, 1) infinite; }
  .lp-done-mark { animation: lp-reward var(--lp-loop) cubic-bezier(.22, .9, .32, 1.2) infinite; }
  .lp-done-title, .lp-done-copy { animation: lp-rise-1 var(--lp-loop) cubic-bezier(.2, .7, .2, 1) infinite; }
  .lp-done-card { animation: lp-rise-2 var(--lp-loop) cubic-bezier(.2, .7, .2, 1) infinite; }
  .lp-segs .is-new { animation: lp-seg-in var(--lp-loop) ease infinite; }
  .lp-upnext span { animation: lp-upnext var(--lp-loop) linear infinite; }
  /* animation-play-state does not inherit, so the pause control reaches every animated element directly. */
  .lp-pause-input:checked ~ .lp-stage-art * { animation-play-state: paused; }
}
@media (forced-colors: active) {
  .lp-opt-input:checked + .lp-opt-card, .lp-level.is-live { outline: 2px solid CanvasText; outline-offset: 2px; }
  .lp-opt-input:focus-visible + .lp-opt-card, .lp-pause-input:focus-visible + .lp-pause { outline: 3px solid Highlight; }
  .lp-dock-bar { border: 1px solid CanvasText; }
}
@media print {
  .lp-stage, .lp-dock { display: none; }
  .lp-final, .lp-final-foot { background: none; color: var(--ink); }
  .lp-final-copy, .lp-final-foot { color: var(--ink-soft); }
  .lp-final-title span { color: var(--violet-deep); }
}
