/* ════════════════════════════════════
   HOMEPAGE (signed out)
   Cardly's own palette: night page, warm raised surfaces, bone text and paper, one flame accent.
   Paper index cards are the only light things on the page: they are what Cardly makes.
   Everything is scoped to .lp and every class starts with lp-, so none of it reaches the app.
════════════════════════════════════ */
.lp {
  --night: #0a0a0a;
  --slate: #151413;
  --slate-2: #1d1b1a;
  --slate-3: #262321;
  --seam: #2a2725;
  --seam-2: #383432;
  --bone: #f0ede8;
  --ash: #a09890;
  --dust: #6e6662;
  --flame: #ff4d00;
  --ember: #b83a00;
  --cinder: #7a2500;
  --paper: #f7f3ec;
  --paper-edge: #e6dfd3;
  --ink: #1d1a16;
  --ink-2: #6b635a;
  --right: #1f9d55;
  --right-soft: rgba(31, 157, 85, 0.12);
  --wrong: #d64545;
  --wrong-soft: rgba(214, 69, 69, 0.1);
  --page: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  background: var(--night);
  color: var(--bone);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
:where(.lp) a { color: inherit; }
:where(.lp) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(.lp) :focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
:where(.lp) [hidden] { display: none !important; }
:where(.lp) svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }
.lp-wrap { max-width: var(--page); margin: 0 auto; padding: 0 28px; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.lp-btn:active { transform: scale(.98); }
.lp-btn-flame { background: var(--flame); color: #fff; }
.lp-btn-flame:hover { background: #ff6a26; }
.lp-btn-line { border: 1px solid var(--seam-2); color: var(--bone); }
.lp-btn-line:hover { border-color: var(--ash); }
.lp-btn-small { height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }

/* type */
:where(.lp) :is(h1, h2, h3) { font-weight: 800; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
.lp-display { font-size: clamp(50px, 8.2vw, 108px); letter-spacing: -0.026em; line-height: .94; font-variation-settings: 'opsz' 96; text-wrap: wrap; }
:where(.lp) h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.022em; font-variation-settings: 'opsz' 96; }
:where(.lp) h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; font-weight: 700; }
.lp-lede { font-size: clamp(18px, 1.6vw, 20.5px); color: var(--ash); line-height: 1.55; max-width: 34em; }
.lp-lede strong { color: var(--bone); font-weight: 600; }
.lp-pro { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px 1px 5px; border-radius: 6px; background: rgba(255, 77, 0, 0.14); color: var(--flame); font-size: 12px; font-weight: 700; letter-spacing: 0; vertical-align: 2px; white-space: nowrap; }
.lp-pro svg.lucide { width: 11px; height: 11px; stroke-width: 2.6; }

:where(.lp) section { padding: 140px 0 0; }
.lp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.lp-split.lp-swap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-split.lp-swap > .lp-copy { order: 2; }
.lp-copy h2, .lp-practise-head h2, .lp-yours-head h2 { margin-bottom: 22px; }

/* ── hero ── */
.lp-hero { padding: 72px 0 0; }
.lp-hero .lp-split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; }
.lp-hero h1 { margin-bottom: 30px; }
.lp-hero .lp-lede { margin-bottom: 36px; }
.lp-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-fine { margin-top: 16px; font-size: 14px; color: var(--dust); }

.lp-proof { display: flex; align-items: center; gap: 10px; margin-top: 22px; min-height: 22px; font-size: 15px; color: var(--ash); line-height: 1.45; transition: opacity .4s; }
/* Its space is kept while it waits for the numbers (or when they are too small), so nothing below moves. */
.lp-proof-off { visibility: hidden; opacity: 0; }
.lp-proof b { color: var(--bone); font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-proof-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .14); }

/* The stack: three cards, like the logo. The top card is dealt through the four things Cardly does. */
.lp-stage { position: relative; }
.lp-stack { position: relative; height: 470px; perspective: 1600px; }
.lp-ghost { position: absolute; inset: 22px 10px 0 34px; border-radius: 20px; }
.lp-ghost.g2 { background: var(--cinder); transform: translate(26px, 26px) rotate(3deg); }
.lp-ghost.g1 { background: var(--ember); transform: translate(13px, 13px) rotate(1.5deg); }
.lp-layer { position: absolute; inset: 22px 10px 0 34px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--paper-edge) inset, 0 30px 60px -20px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(34px) rotate(2.5deg) scale(.96); transition: transform .8s var(--ease), opacity .55s ease; pointer-events: none; overflow: hidden; }
.lp-layer.on { opacity: 1; transform: none; pointer-events: auto; z-index: 2; }
.lp-layer.gone { opacity: 0; transform: translate(-46px, -26px) rotate(-7deg) scale(.95); }
.lp-layer .lp-rule { position: absolute; left: 0; right: 0; top: 58px; height: 2px; background: var(--flame); opacity: .75; }
.lp-layer .lp-tag { position: absolute; top: 20px; left: 26px; display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.lp-layer .lp-tag svg.lucide { width: 15px; height: 15px; color: var(--flame); }
.lp-layer .lp-corner { position: absolute; top: 20px; right: 24px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lp-layer .lp-body { position: absolute; inset: 84px 28px 26px; display: flex; flex-direction: column; }
.lp-layer .lp-body.lp-hand { bottom: 0; }

/* notes */
.lp-hand { font-family: 'Caveat', cursive; font-size: 27px; line-height: 34px; color: #263042; font-weight: 500; margin: 0 -28px; padding: 0 28px; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 33px, rgba(91, 132, 196, .26) 33px, rgba(91, 132, 196, .26) 34px); }
.lp-hand p { white-space: nowrap; }
.lp-hand b { font-weight: 600; }
.lp-mark { background-image: linear-gradient(transparent 58%, rgba(255, 196, 0, .55) 58%, rgba(255, 196, 0, .55) 90%, transparent 90%); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size .9s var(--ease); }
.lp-layer.on .lp-mark { background-size: 100% 100%; }
.lp-layer.on .lp-mark.m2 { transition-delay: .5s; }
.lp-layer.on .lp-mark.m3 { transition-delay: 1s; }
.lp-files { position: absolute; right: 24px; bottom: 24px; display: grid; gap: 8px; }
.lp-file { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--paper-edge); border-radius: 11px; padding: 8px 12px 8px 10px; font-size: 13.5px; font-weight: 600; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
.lp-file small { display: block; font-weight: 500; color: var(--ink-2); font-size: 12px; line-height: 1.2; }
.lp-file svg.lucide { color: var(--flame); width: 20px; height: 20px; }
.lp-layer.on .lp-file { opacity: 1; transform: none; }
.lp-layer.on .lp-file:nth-child(2) { transition-delay: .25s; }

/* flashcard */
.lp-flip { position: absolute; inset: 0; transform-style: preserve-3d; }
.lp-flip .lp-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; background: var(--paper); }
.lp-flip .lp-back { transform: rotateY(180deg); }
.lp-layer.on .lp-flip { animation: lpFlipOnce 4.2s var(--ease) forwards; }
@keyframes lpFlipOnce { 0%, 38% { transform: rotateY(0); } 52%, 100% { transform: rotateY(180deg); } }
.lp-q-text { font-size: clamp(22px, 2.3vw, 28px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.lp-q-small { font-size: 15px; color: var(--ink-2); line-height: 1.4; margin-bottom: 10px; }
.lp-a-text { font-size: clamp(24px, 2.5vw, 31px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: var(--flame); }
.lp-why { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--paper-edge); font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.lp-why b { color: var(--ink); }
.lp-src { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.lp-src svg.lucide { width: 14px; height: 14px; }

/* quiz layer */
.lp-opts { display: grid; gap: 9px; margin-top: 20px; }
.lp-opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1.5px solid var(--paper-edge); border-radius: 13px; font-weight: 600; font-size: 16px; background: #fff; transition: border-color .3s, background .3s; }
.lp-opt .lp-key { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #cfc6b8; display: grid; place-items: center; font-size: 12px; color: var(--ink-2); flex-shrink: 0; transition: background .3s, border-color .3s, color .3s; }
.lp-opt .lp-key svg.lucide { width: 14px; height: 14px; stroke-width: 3; }
.lp-layer.on .lp-opt.pick { animation: lpPick 4.2s forwards; }
.lp-layer.on .lp-opt.pick .lp-key { animation: lpPickKey 4.2s forwards; }
@keyframes lpPick { 0%, 30% { border-color: var(--paper-edge); background: #fff; } 34%, 100% { border-color: var(--right); background: var(--right-soft); } }
@keyframes lpPickKey { 0%, 30% { background: transparent; border-color: #cfc6b8; color: var(--ink-2); } 34%, 100% { background: var(--right); border-color: var(--right); color: #fff; } }
.lp-verdict { display: flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; color: var(--right); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.lp-layer.on .lp-verdict { opacity: 1; transform: none; transition-delay: 1.5s; }
.lp-verdict span { color: var(--ink-2); font-weight: 500; font-size: 14.5px; }

/* progress layer */
.lp-prog { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.lp-ring { width: 150px; height: 150px; position: relative; }
.lp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke-width: 12; }
.lp-ring .lp-track { stroke: #e7dfd2; }
.lp-ring .lp-fill { stroke: var(--right); stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.lp-layer.on .lp-ring .lp-fill { stroke-dashoffset: 37.7; }
.lp-ring .lp-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 29px; letter-spacing: -0.04em; line-height: 1; }
.lp-ring .lp-num small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin-top: 4px; }
.lp-prog h3 { font-size: 26px; letter-spacing: -0.03em; margin-bottom: 6px; }
.lp-prog p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.lp-retry { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 8px 13px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 700; }
.lp-retry svg.lucide { width: 15px; height: 15px; color: var(--flame); }
.lp-streak { margin-top: auto; display: flex; align-items: center; gap: 18px; padding-top: 18px; border-top: 1px solid var(--paper-edge); }
.lp-flame-num { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 30px; letter-spacing: -0.03em; }
.lp-flame-num svg.lucide { width: 28px; height: 28px; color: var(--flame); fill: var(--flame); }
.lp-flame-num span { font-size: 13px; font-weight: 600; line-height: 1.1; color: var(--ink-2); letter-spacing: 0; }
.lp-week { display: flex; gap: 8px; margin-left: auto; }
.lp-day { display: grid; justify-items: center; gap: 4px; font-size: 11.5px; color: var(--ink-2); }
.lp-day i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #cfc6b8; display: grid; place-items: center; }
.lp-day.on i { background: var(--flame); border-color: var(--flame); }
.lp-day.on i svg.lucide { width: 10px; height: 10px; color: #fff; stroke-width: 3.5; }
.lp-day.today i { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px rgba(255, 77, 0, .55); }

/* stage tabs: four steps with a bar that fills while each one shows */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 34px 10px 0 34px; }
.lp-step { text-align: left; padding-top: 12px; position: relative; font-size: 14px; font-weight: 600; color: var(--dust); transition: color .3s; }
.lp-step::before, .lp-step i { content: ''; position: absolute; top: 0; left: 0; height: 3px; border-radius: 2px; }
.lp-step::before { right: 0; background: var(--seam); }
.lp-step i { width: 0; background: var(--flame); }
.lp-step.on { color: var(--bone); }
.lp-step.on i { animation: lpFillBar var(--dwell, 4.6s) linear forwards; }
.lp-step.done i { width: 100%; }
.lp-stage.paused .lp-step.on i, .lp-stage.still .lp-step.on i { animation: none; width: 100%; }
@keyframes lpFillBar { to { width: 100%; } }

/* ── materials: the generator demo ── */
.lp-facts { display: grid; gap: 14px; margin-top: 34px; }
.lp-fact { display: flex; gap: 14px; align-items: flex-start; color: var(--ash); font-size: 16px; line-height: 1.5; }
.lp-fact > svg.lucide { color: var(--flame); margin-top: 3px; }
.lp-fact b { color: var(--bone); font-weight: 600; }

/* ── practise: two demos ── */
.lp-practise-head { max-width: 860px; margin-bottom: 56px; }
.lp-demos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lp-demo { display: flex; flex-direction: column; }
.lp-demo-card { position: relative; min-height: 360px; border-radius: 20px; background: var(--paper); color: var(--ink); overflow: hidden; }
.lp-demo-card .lp-rule { position: absolute; left: 0; right: 0; top: 58px; height: 2px; background: var(--flame); opacity: .75; }
.lp-demo-head { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 24px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.lp-demo-head span { display: flex; align-items: center; gap: 7px; }
.lp-demo-head svg.lucide { width: 15px; height: 15px; color: var(--flame); }
.lp-demo-head em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.lp-demo-body { padding: 26px 26px 24px; display: flex; flex-direction: column; min-height: 300px; }
.lp-demo-note { margin-top: 16px; color: var(--ash); font-size: 15px; line-height: 1.5; }

/* flashcard demo */
.lp-fc { perspective: 1600px; cursor: pointer; text-align: left; width: 100%; }
.lp-fc .lp-flip { position: relative; min-height: 360px; transition: transform .7s var(--ease); }
.lp-fc[aria-pressed="true"] .lp-flip { transform: rotateY(180deg); }
.lp-fc .lp-face { position: absolute; inset: 0; }
.lp-fc .lp-face .lp-demo-body { min-height: 300px; }
.lp-tap { margin-top: auto; display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); }
.lp-tap svg.lucide { width: 15px; height: 15px; }
.lp-rate { display: flex; gap: 8px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.lp-rate[hidden] { display: none; }
.lp-rate .lp-label { color: var(--ash); font-size: 14.5px; margin-right: 4px; }
.lp-rate button { padding: 8px 15px; border-radius: 10px; border: 1px solid var(--seam-2); font-size: 14.5px; font-weight: 600; transition: border-color .15s, background .15s; }
.lp-rate button:hover { border-color: var(--ash); }
.lp-rate [data-level="easy"] { color: #6fe39b; }
.lp-rate [data-level="okay"] { color: #f5cd4b; }
.lp-rate [data-level="hard"] { color: #ff8a80; }
.lp-done-note { margin-top: 14px; display: flex; align-items: center; gap: 10px; color: var(--ash); font-size: 15px; }
.lp-done-note[hidden] { display: none; }
.lp-link-btn { color: var(--flame); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* quiz demo */
.lp-qbar { display: flex; gap: 4px; padding: 0 24px; margin-top: 14px; }
.lp-qbar i { flex: 1; height: 5px; border-radius: 3px; background: #e2d9cb; transition: background .3s; }
.lp-qbar i.now { background: #b9ae9f; }
.lp-qbar i.right { background: var(--right); }
.lp-qbar i.wrong { background: var(--wrong); }
.lp-qkind { font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.lp-qkind svg.lucide { width: 15px; height: 15px; color: var(--flame); }
.lp-qopts { display: grid; gap: 8px; margin-top: 16px; }
.lp-qopts.two { grid-template-columns: 1fr 1fr; }
.lp-qopt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1.5px solid var(--paper-edge); border-radius: 13px; background: #fff; font-weight: 600; font-size: 15.5px; text-align: left; color: var(--ink); transition: border-color .2s, background .2s; }
.lp-qopt:hover:not(:disabled) { border-color: #c7bba9; }
.lp-qopt .lp-key { width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid #cfc6b8; display: grid; place-items: center; font-size: 12px; color: var(--ink-2); flex-shrink: 0; }
.lp-qopts.round .lp-qopt .lp-key { border-radius: 50%; }
.lp-qopt .lp-key svg.lucide { width: 14px; height: 14px; stroke-width: 3; }
.lp-qopt.sel { border-color: var(--ink); }
.lp-qopt.sel .lp-key { background: var(--ink); border-color: var(--ink); color: #fff; }
.lp-qopt.right { border-color: var(--right); background: var(--right-soft); }
.lp-qopt.right .lp-key { background: var(--right); border-color: var(--right); color: #fff; }
.lp-qopt.wrong { border-color: var(--wrong); background: var(--wrong-soft); }
.lp-qopt.wrong .lp-key { background: var(--wrong); border-color: var(--wrong); color: #fff; }
.lp-qopt.missed { border-style: dashed; border-color: var(--right); }
.lp-qopt:disabled { cursor: default; }
.lp-feedback { margin-top: 16px; padding: 13px 15px; border-radius: 13px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.lp-feedback b { display: flex; align-items: center; gap: 7px; font-size: 15.5px; margin-bottom: 2px; }
.lp-feedback.ok { background: var(--right-soft); }
.lp-feedback.ok b { color: var(--right); }
.lp-feedback.no { background: var(--wrong-soft); }
.lp-feedback.no b { color: var(--wrong); }
.lp-feedback .lp-src { margin-top: 6px; }
.lp-qactions { display: flex; gap: 10px; margin-top: auto; padding-top: 18px; }
.lp-qbtn { height: 42px; padding: 0 18px; border-radius: 11px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 7px; }
.lp-qbtn:disabled { opacity: .35; cursor: default; }
.lp-qbtn.lp-ghost { background: transparent; color: var(--ink-2); padding: 0 6px; }
.lp-qscore { display: flex; align-items: center; gap: 20px; }
.lp-qscore .lp-ring { width: 112px; height: 112px; }
.lp-qscore .lp-ring .lp-num { font-size: 22px; }
.lp-qscore .lp-ring .lp-fill { transition: stroke-dashoffset 1s var(--ease) .1s; }
.lp-types { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ash); font-size: 15.5px; }
.lp-types b { color: var(--bone); font-weight: 600; flex-basis: 100%; }
.lp-types span { display: inline-flex; align-items: center; gap: 8px; }
.lp-types svg.lucide { width: 16px; height: 16px; color: var(--flame); }

/* ── progress composite ── */
.lp-board { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; background: var(--slate); border: 1px solid var(--seam); border-radius: 24px; overflow: hidden; }
.lp-board > div { padding: 28px; }
.lp-board > div + div { border-left: 1px solid var(--seam); }
.lp-board h3 { font-size: 16px; color: var(--ash); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; }
.lp-board .lp-ring .lp-track { stroke: var(--seam-2); }
.lp-board .lp-ring .lp-num small { color: var(--ash); }
.lp-board .lp-ring .lp-fill { stroke-dashoffset: 75.4; transition: none; }
.lp-score-row { display: flex; align-items: center; gap: 20px; }
.lp-score-row .lp-ring { width: 92px; height: 92px; flex-shrink: 0; }
.lp-score-row .lp-ring .lp-num { font-size: 18px; }
.lp-score-row .lp-ring .lp-num small { font-size: 11.5px; margin-top: 3px; }
.lp-mini-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--seam-2); font-size: 14px; font-weight: 600; }
.lp-mini-btn svg.lucide { width: 15px; height: 15px; color: var(--flame); }
.lp-score-row p { color: var(--ash); font-size: 14.5px; line-height: 1.45; margin-bottom: 10px; }
.lp-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 3px; margin-bottom: 14px; }
.lp-bar i { display: block; }
.lp-legend { display: flex; gap: 18px; font-size: 14px; color: var(--ash); margin-bottom: 18px; }
.lp-legend span { display: flex; align-items: center; gap: 7px; }
.lp-legend i { width: 9px; height: 9px; border-radius: 50%; }
.lp-legend b { color: var(--bone); font-weight: 700; }
.lp-week.dark .lp-day { color: var(--dust); }
.lp-week.dark .lp-day i { border-color: var(--seam-2); }
.lp-week.dark .lp-day.today { color: var(--bone); }
.lp-week.dark .lp-day.today i { box-shadow: 0 0 0 2px var(--slate), 0 0 0 3.5px rgba(255, 77, 0, .55); }
.lp-flame-big { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 46px; letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; }
.lp-flame-big svg.lucide { width: 38px; height: 38px; color: var(--flame); fill: var(--flame); }
.lp-flame-big span { font-size: 14px; font-weight: 600; color: var(--ash); letter-spacing: 0; line-height: 1.15; }
.lp-board .lp-week { margin-left: 0; }

/* ── make it yours ── */
.lp-yours-head { max-width: 720px; margin-bottom: 52px; }


/* ── short point lists (sharing, phone apps) ── */
.lp-points { display: grid; gap: 24px; margin-top: 36px; }
.lp-point { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.lp-point > svg.lucide { width: 22px; height: 22px; color: var(--flame); margin-top: 2px; }
.lp-point h3 { margin-bottom: 4px; }
.lp-point p { color: var(--ash); font-size: 16px; line-height: 1.5; }

/* ── daily review: the Today card, an exam plan and when a card comes back ── */
.lp-today { background: var(--slate); border: 1px solid var(--seam); border-radius: 26px; overflow: hidden; max-width: 580px; justify-self: end; width: 100%; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.lp-today-main { display: flex; align-items: center; gap: 18px; padding: 24px; background: radial-gradient(90% 140% at 0% 0%, rgba(255, 77, 0, .14), transparent 60%); }
.lp-today-ring { position: relative; width: 68px; height: 68px; flex-shrink: 0; display: grid; place-items: center; }
.lp-today-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-today-ring circle { fill: none; stroke-width: 5; }
.lp-today-ring .lp-ring-t { stroke: var(--seam-2); }
.lp-today-ring .lp-ring-f { stroke: var(--flame); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 96; }
.lp-today-ring b { position: relative; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.lp-today-text { min-width: 0; flex: 1; }
.lp-today-kicker { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--flame); }
.lp-today-kicker svg.lucide { width: 15px; height: 15px; }
.lp-today-title { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 3px 0 3px; }
.lp-today small { display: block; font-size: 14.5px; color: var(--ash); line-height: 1.45; }
.lp-today-exam { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-top: 1px solid var(--seam); }
.lp-today-ico { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 77, 0, .14); color: var(--flame); display: grid; place-items: center; flex-shrink: 0; }
.lp-today-ico svg.lucide { width: 18px; height: 18px; }
.lp-today-exam b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.lp-today-exam small { font-size: 13.5px; color: var(--dust); }
.lp-today-exam em { font-style: normal; font-weight: 700; color: var(--flame); }
.lp-today-bar { display: block; height: 5px; max-width: 220px; border-radius: 99px; background: var(--seam-2); overflow: hidden; margin-top: 8px; }
.lp-today-bar i { display: block; width: 64%; height: 100%; border-radius: 99px; background: var(--flame); }
.lp-today-chip { font-size: 13px; font-weight: 700; color: var(--ash); border: 1px solid var(--seam-2); background: var(--slate-2); border-radius: 99px; padding: 5px 11px; white-space: nowrap; flex-shrink: 0; }
.lp-gaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 24px 24px; border-top: 1px solid var(--seam); }
.lp-gaps p { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: var(--ash); margin-bottom: 2px; }
.lp-gaps span { display: grid; justify-items: center; gap: 2px; padding: 12px 6px 11px; border-radius: 14px; border: 1px solid var(--seam-2); background: var(--slate-2); font-size: 13.5px; color: var(--dust); font-variant-numeric: tabular-nums; }
.lp-gaps b { display: flex; align-items: center; gap: 7px; font-size: 15.5px; font-weight: 700; color: var(--bone); }
.lp-gaps b i { width: 8px; height: 8px; border-radius: 50%; }
.lp-gap-hard b i { background: #f87171; }
.lp-gap-okay b i { background: #facc15; }
.lp-gap-easy b i { background: #4ade80; }

/* ── sharing: a group chat with the link preview ── */
.lp-chat { background: var(--slate); border: 1px solid var(--seam); border-radius: 26px; padding: 0 22px 24px; display: grid; gap: 12px; max-width: 560px; justify-self: end; width: 100%; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.lp-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 0 14px; margin: 0 -22px 6px; padding-left: 22px; padding-right: 22px; border-bottom: 1px solid var(--seam); }
.lp-chat-head b { display: block; font-size: 15.5px; line-height: 1.2; }
.lp-chat-head small { font-size: 13px; color: var(--dust); }
.lp-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--slate-2); border: 1px solid var(--seam-2); display: grid; place-items: center; font-weight: 800; color: var(--flame); flex-shrink: 0; }
.lp-bubble { max-width: 84%; border-radius: 20px; padding: 10px 14px; font-size: 15.5px; line-height: 1.45; }
.lp-bubble.them { background: var(--slate-2); border-bottom-left-radius: 6px; color: var(--bone); justify-self: start; }
.lp-bubble.them b { display: block; font-size: 12.5px; color: var(--dust); font-weight: 600; margin-bottom: 1px; }
.lp-bubble.me { background: var(--flame); color: #fff; justify-self: end; border-bottom-right-radius: 6px; max-width: 88%; }
.lp-link-line { display: block; margin-top: 4px; font-size: 14px; text-decoration: underline; text-underline-offset: 2px; opacity: .92; overflow-wrap: anywhere; }
.lp-preview { margin-top: 8px; border-radius: 14px; overflow: hidden; background: var(--night); color: var(--bone); }
.lp-pv-img { height: 118px; display: grid; place-items: center; background: radial-gradient(120% 120% at 20% 0%, #2a1408 0%, #0d0907 70%); }
.lp-pv-body { padding: 10px 12px 12px; }
.lp-pv-body b { display: block; font-size: 14.5px; line-height: 1.3; }
.lp-pv-body p { font-size: 13px; color: var(--ash); line-height: 1.4; margin: 3px 0 4px; }
.lp-pv-body small { font-size: 12px; color: var(--dust); }
.lp-seen { justify-self: end; display: inline-flex; align-items: center; gap: 7px; margin-top: 2px; font-size: 13px; color: var(--dust); }
.lp-seen svg.lucide { width: 14px; height: 14px; color: var(--flame); }

/* ── phone apps ── */
.lp-phone-wrap { display: grid; place-items: center; }
.lp-phone { width: 300px; height: 610px; border-radius: 52px; padding: 12px; background: #1b1b1b; box-shadow: inset 0 0 0 2px #2d2d2d, 0 40px 80px -40px rgba(0, 0, 0, .9); }
.lp-screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; background: radial-gradient(120% 60% at 50% -10%, rgba(255, 77, 0, .2), transparent 60%), var(--night); padding: 54px 16px 0; display: flex; flex-direction: column; }
.lp-screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.lp-scr-top { display: flex; align-items: center; justify-content: space-between; }
.lp-scr-top b { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; }
.lp-scr-streak { display: flex; align-items: center; gap: 4px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--slate-2); border: 1px solid var(--seam); font-weight: 800; font-size: 14px; }
.lp-scr-streak svg.lucide { width: 15px; height: 15px; color: var(--flame); fill: var(--flame); }
.lp-scr-hello { font-size: 14px; color: var(--ash); margin: 2px 0 12px; }
.lp-scr-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 12px; }
.lp-scr-quick span { display: grid; justify-items: center; gap: 4px; padding: 9px 0 8px; border-radius: 13px; background: var(--slate); border: 1px solid var(--seam); font-size: 11.5px; font-weight: 600; color: var(--ash); }
.lp-scr-quick svg.lucide { width: 17px; height: 17px; color: var(--flame); }
.lp-scr-row { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 15px; background: var(--slate); border: 1px solid var(--seam); margin-bottom: 7px; }
.lp-scr-row .lp-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--slate-2); display: grid; place-items: center; flex-shrink: 0; }
.lp-scr-row .lp-ico svg.lucide { width: 17px; height: 17px; color: var(--flame); }
.lp-scr-row b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.lp-scr-row small { font-size: 11.5px; color: var(--dust); }
.lp-scr-q { display: inline-block; font-size: 9.5px; font-weight: 800; color: var(--flame); background: rgba(255, 77, 0, .14); border-radius: 4px; padding: 0 5px; margin-right: 4px; vertical-align: 1px; }
.lp-tabbar { margin: auto -16px 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 14px 24px; border-top: 1px solid var(--seam); background: rgba(21, 20, 19, .92); }
.lp-tabbar span { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--dust); }
.lp-tabbar span.on { color: var(--flame); }
.lp-tabbar svg.lucide { width: 20px; height: 20px; }
.lp-soon { display: inline-flex; align-items: center; gap: 9px; margin-top: 34px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--seam-2); font-size: 15px; font-weight: 600; color: var(--bone); }
.lp-soon svg.lucide { color: var(--flame); }

/* ── plans ── */
.lp-plans-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
/* Monthly or yearly (the same switch as the app's .billing-switch, in the homepage's own classes). */
.lp-billing { display: inline-flex; gap: 4px; padding: 4px; margin-top: 26px; border-radius: 12px; background: var(--night); border: 1px solid var(--seam-2); }
.lp-billing button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; color: var(--ash); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.lp-billing button[aria-checked="true"] { background: var(--slate-2); color: var(--bone); box-shadow: 0 0 0 1px var(--seam-2) inset; }
.lp-billing button:focus-visible { outline: 2px solid var(--flame); outline-offset: 2px; }
.lp-save { font-size: 12px; font-weight: 700; color: var(--flame); background: rgba(255, 77, 0, .14); border-radius: 6px; padding: 2px 7px; }
.lp-plans-head .lp-lede { margin: 0 auto; text-wrap: balance; }
.lp-plans-head h2 { margin-bottom: 18px; }
.lp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.lp-plan { border: 1px solid var(--seam); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; }
.lp-plan.lp-pro-plan { background: linear-gradient(180deg, rgba(255, 77, 0, .09), rgba(255, 77, 0, 0) 55%), var(--slate); border-color: rgba(255, 77, 0, .45); }
.lp-plan h3 { font-size: 22px; margin-bottom: 6px; }
.lp-price { font-size: 54px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin: 12px 0 4px; }
.lp-price span { font-size: 16px; color: var(--ash); font-weight: 500; letter-spacing: 0; }
.lp-plan .lp-for { color: var(--ash); font-size: 15px; margin-bottom: 24px; }
.lp-plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; }
.lp-plan li { display: flex; gap: 11px; font-size: 15.5px; line-height: 1.45; }
.lp-plan li svg.lucide { width: 17px; height: 17px; color: var(--flame); margin-top: 3px; }
.lp-plan .lp-btn { margin-top: auto; }

/* Every feature, side by side. Closed until asked for, so the plans stay short. */
.lp-compare { max-width: 920px; margin: 22px auto 0; }
.lp-compare-toggle { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 56px; border: 1px solid var(--seam); border-radius: 16px; font-weight: 600; font-size: 15.5px; transition: border-color .2s, background .2s; }
.lp-compare-toggle:hover { border-color: var(--seam-2); background: var(--slate); }
.lp-compare-toggle svg.lucide { color: var(--ash); transition: transform .4s var(--ease); }
.lp-compare-toggle[aria-expanded="true"] svg.lucide { transform: rotate(180deg); }
.lp-compare-body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s linear .55s; }
.lp-compare.open .lp-compare-body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease), visibility 0s; }
.lp-compare-inner { position: relative; overflow: hidden; min-height: 0; }
.lp-table { width: 100%; border-collapse: collapse; margin: 14px 0 4px; font-size: 15.5px; }
.lp-table th, .lp-table td { padding: 13px 0; border-bottom: 1px solid var(--seam); text-align: left; font-weight: 500; vertical-align: middle; }
.lp-table thead th { padding: 18px 0 12px; font-size: 15px; font-weight: 700; color: var(--bone); border-bottom-color: var(--seam-2); }
.lp-table thead th.lp-col-pro { color: var(--flame); }
.lp-table td, .lp-table thead th.lp-col { width: 150px; text-align: center; }
.lp-table tbody th { color: var(--bone); padding-right: 16px; line-height: 1.4; }
.lp-table tbody th small { display: block; color: var(--dust); font-size: 13px; font-weight: 400; margin-top: 2px; }
.lp-table td { color: var(--bone); font-size: 14.5px; }
.lp-table td svg.lucide { width: 18px; height: 18px; vertical-align: -4px; }
.lp-table td.lp-yes svg.lucide { color: var(--flame); stroke-width: 2.6; }
.lp-table td.lp-nope svg.lucide { color: var(--seam-2); }
.lp-table tr.lp-group th { padding: 30px 0 10px; font-size: 13.5px; font-weight: 700; color: var(--ash); letter-spacing: .02em; border-bottom-color: var(--seam-2); }
.lp-table tbody tr:not(.lp-group):hover { background: rgba(255, 255, 255, .015); }
.lp-compare-foot { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 26px 0 6px; }
.lp-qscore .lp-score-note { margin-top: 6px; color: var(--ink-2); }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ── questions ── */
.lp-faq { max-width: 800px; margin: 0 auto; }
.lp-faq h2 { text-align: center; margin-bottom: 36px; }
.lp-qa { border-bottom: 1px solid var(--seam); }
.lp-qa:first-of-type { border-top: 1px solid var(--seam); }
.lp-qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; font-weight: 700; font-size: 18.5px; letter-spacing: -0.015em; line-height: 1.3; }
.lp-qa summary::-webkit-details-marker { display: none; }
.lp-qa summary svg.lucide { color: var(--ash); transition: transform .3s var(--ease); }
.lp-qa[open] summary svg.lucide { transform: rotate(45deg); color: var(--flame); }
.lp-qa summary:hover svg.lucide { color: var(--bone); }
.lp-qa p { color: var(--ash); font-size: 16.5px; line-height: 1.6; padding: 0 44px 24px 0; }
.lp-qa p + p { margin-top: -12px; }

/* ── closing ── */
.lp-closing { padding: 160px 0 120px; text-align: center; }
.lp-closing h2 { font-size: clamp(48px, 7.6vw, 104px); letter-spacing: -0.03em; line-height: .92; margin-bottom: 26px; }
.lp-closing .lp-lede { margin: 0 auto 36px; }
.lp-closing .lp-actions { justify-content: center; }

/* ── footer ── */
.lp-footer { border-top: 1px solid var(--seam); padding: 56px 0 36px; text-align: left; font-size: 15px; color: var(--ash); background: var(--night); }
.lp-foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr); gap: 48px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--bone); text-decoration: none; }
.lp-foot-brand p { margin: 14px 0 10px; max-width: 300px; line-height: 1.55; }
.lp-foot-brand a.lp-foot-mail { color: var(--bone); text-decoration: none; font-weight: 600; }
.lp-foot-brand a.lp-foot-mail:hover { color: var(--flame); }
.lp-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lp-social-item { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--seam); color: var(--ash); text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.lp-social-item svg { width: 16px; height: 16px; fill: currentColor; display: block; }
a.lp-social-item:hover, a.lp-social-item:focus-visible { color: var(--flame); border-color: var(--flame); background: rgba(255,77,0,.1); outline: none; }
.lp-social-soon { opacity: .45; cursor: default; }
.lp-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lp-foot-cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.lp-foot-title { font-size: 13px; font-weight: 700; color: var(--dust); letter-spacing: .02em; margin-bottom: 4px; }
.lp-foot-cols a, .lp-foot-cols button { color: var(--ash); text-decoration: none; font-size: 15px; text-align: left; padding: 0; transition: color .15s; }
.lp-foot-cols a:hover, .lp-foot-cols button:hover { color: var(--bone); }
.lp-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--seam); font-size: 13.5px; color: var(--dust); }

/* ── works from: the strip under the hero ── */
.lp-from { padding-top: 64px; }
/* one row on computers: the two groups fill the box edge to edge; they stack from 1140px down (labels lined up) */
.lp-from-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid var(--seam); border-radius: 18px; background: linear-gradient(180deg, var(--slate), rgba(21, 20, 19, .4)); }
.lp-from-group { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lp-from-group > b { font-size: 14px; color: var(--dust); font-weight: 600; white-space: nowrap; }
.lp-from-chips { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.lp-from-group:first-child, .lp-from-group:first-child .lp-from-chips { flex: 1; justify-content: space-between; }
.lp-from-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--slate-2); border: 1px solid var(--seam); font-size: 14px; font-weight: 600; white-space: nowrap; }
.lp-from-chip svg.lucide { width: 15px; height: 15px; color: var(--flame); }
.lp-from-sep { width: 1px; height: 22px; background: var(--seam-2); flex-shrink: 0; }
.lp-from-end { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 14px 0 0; font-size: 14px; color: var(--ash); }
.lp-from-end span { display: inline-flex; align-items: center; gap: 6px; }
.lp-from-end svg.lucide { width: 15px; height: 15px; }

/* ── toggles shared by the demos ── */
.lp-toggle { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--slate-2); border: 1px solid var(--seam); }
.lp-toggle button { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ash); display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s; }
.lp-toggle button:hover { color: var(--bone); }
.lp-toggle button svg.lucide { width: 14px; height: 14px; }
.lp-toggle button[aria-pressed="true"] { background: var(--slate-3); color: var(--bone); box-shadow: 0 0 0 1px var(--seam-2) inset; }
.lp-meter { height: 4px; border-radius: 4px; background: var(--seam); overflow: hidden; }
.lp-meter i { display: block; height: 100%; width: 0; background: var(--flame); border-radius: 4px; transition: width .35s var(--ease); }

/* ── generator ── */
.lp-src-tabs { display: grid; gap: 10px; margin-top: 30px; }
.lp-src-tab { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; text-align: left; padding: 13px 16px; border-radius: 16px; border: 1px solid var(--seam); background: var(--slate); transition: border-color .25s, background .25s; }
.lp-src-tab:hover { border-color: var(--seam-2); }
.lp-src-tab[aria-selected="true"] { border-color: rgba(255, 77, 0, .55); background: linear-gradient(100deg, rgba(255, 77, 0, .12), var(--slate) 70%); }
.lp-src-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--slate-2); color: var(--flame); }
.lp-src-tab b { display: block; font-size: 16px; line-height: 1.3; }
.lp-src-tab small { display: block; color: var(--ash); font-size: 14px; line-height: 1.35; }
.lp-src-tab em { font-style: normal; font-size: 12.5px; color: var(--dust); }
.lp-src-tab[aria-selected="true"] em { color: var(--flame); }
#materials .lp-facts { margin-top: 26px; }
.lp-gen { position: relative; border-radius: 26px; background: var(--slate); border: 1px solid var(--seam); padding: 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85); overflow: hidden; }
.lp-gen::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 70%; background: radial-gradient(closest-side, rgba(255, 77, 0, .16), transparent); pointer-events: none; }
.lp-gen-grid { position: relative; display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 20px; min-height: 430px; }
.lp-material { position: relative; align-self: start; border-radius: 12px; overflow: hidden; background: var(--paper); color: var(--ink); aspect-ratio: 3 / 4; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .8); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.lp-material.photo { transform: rotate(2.5deg); background: #eef0f3; }
.lp-material-inner { position: absolute; inset: 0; padding: 16px 14px; font-size: 9.5px; line-height: 1.45; }
.lp-material .m-title { font-weight: 800; font-size: 13px; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.2; }
.lp-material .m-bar { height: 3px; width: 34px; background: var(--flame); border-radius: 2px; margin-bottom: 10px; }
.lp-material .m-line { height: 5px; border-radius: 3px; background: #ddd5c8; margin-bottom: 6px; }
.lp-material .m-bul { display: flex; gap: 6px; align-items: center; color: var(--ink-2); margin-bottom: 4px; }
.lp-material .m-bul::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--flame); flex-shrink: 0; }
.lp-material .m-hand { font-family: 'Caveat', cursive; font-size: 17px; line-height: 20px; color: #22304a; background-image: repeating-linear-gradient(to bottom, transparent 0 19px, rgba(91, 132, 196, .3) 19px 20px); }
.lp-material .m-hand u { text-decoration: none; background: linear-gradient(transparent 60%, rgba(255, 196, 0, .55) 60% 92%, transparent 92%); }
.lp-material .m-typed { font-size: 10.5px; line-height: 1.5; }
.lp-material .m-typed p { margin-bottom: 6px; }
.lp-material .m-foot { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--ink-2); background: rgba(255, 255, 255, .85); border-radius: 8px; padding: 5px 8px; }
.lp-material .m-foot svg.lucide { width: 12px; height: 12px; color: var(--flame); }
.lp-scan { position: absolute; left: 0; right: 0; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, rgba(255, 77, 0, .22) 70%, rgba(255, 77, 0, .9) 96%, transparent); pointer-events: none; opacity: 0; }
.lp-gen.reading .lp-scan { opacity: 1; animation: lpScan 1.5s var(--ease) infinite; }
@keyframes lpScan { from { top: -60px; } to { top: 100%; } }
.lp-out { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lp-out-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-gen-status { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ash); min-height: 24px; }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); animation: lpPulse 1.4s infinite; }
.lp-gen-status.done { color: var(--bone); }
.lp-gen-status.done .lp-dot { background: #4ade80; animation: none; }
@keyframes lpPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 0, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 77, 0, 0); } }
.lp-cards { display: grid; gap: 9px; }
.lp-mini { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 13px; background: var(--paper); color: var(--ink); transition: opacity .4s, transform .5s var(--ease); }
.lp-mini.wait { opacity: 0; transform: translateY(10px) scale(.98); }
.lp-mini > span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(255, 77, 0, .12); color: var(--flame); font-variant-numeric: tabular-nums; }
.lp-mini b { display: block; font-size: 15px; line-height: 1.3; letter-spacing: -0.01em; }
.lp-mini p { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; margin-top: 3px; }
.lp-mini-opts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.lp-mini-opts i { font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--paper-edge); background: #fff; color: var(--ink-2); }
.lp-mini-opts i.ok { border-color: var(--right); background: var(--right-soft); color: var(--right); }
.lp-mini.skel b, .lp-mini.skel p { color: transparent; background: linear-gradient(90deg, #ebe4d8, #f4efe6, #ebe4d8); background-size: 200% 100%; animation: lpShim 1.1s linear infinite; border-radius: 5px; }
@keyframes lpShim { to { background-position: -200% 0; } }
.lp-more { font-size: 13.5px; color: var(--dust); padding-left: 4px; line-height: 1.45; transition: opacity .4s; }
.lp-more.wait { opacity: 0; }

/* ── explain ── */
.lp-explain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.lp-ex-card { border-radius: 20px; background: var(--paper); color: var(--ink); padding-bottom: 22px; overflow: hidden; }
.lp-ex-head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 22px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); border-bottom: 2px solid rgba(255, 77, 0, .75); }
.lp-ex-head span { display: flex; align-items: center; gap: 7px; }
.lp-ex-head em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.lp-ex-head svg.lucide { width: 15px; height: 15px; color: var(--flame); }
.lp-ex-q { padding: 22px 22px 0; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.lp-ex-a { padding: 6px 22px 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.025em; color: var(--flame); line-height: 1.15; }
.lp-ex-rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 22px 22px 0; }
.lp-ex-rates span { text-align: center; font-size: 13px; font-weight: 700; padding: 8px 0; border-radius: 10px; border: 1px solid var(--paper-edge); background: #fff; color: var(--ink-2); }
.lp-ex-btn { margin: 16px 22px 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 700; transition: background .2s; }
.lp-ex-btn:hover { background: #2d2823; }
.lp-ex-btn svg.lucide { width: 16px; height: 16px; color: var(--flame); }
.lp-ex-btn[disabled] { opacity: .5; cursor: default; }
.lp-ex-chat { min-height: 380px; border-radius: 20px; background: var(--slate); border: 1px solid var(--seam); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.lp-ex-chat-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--flame); }
.lp-ex-chat-head svg.lucide { width: 16px; height: 16px; }
.lp-ex-empty { margin: auto; display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--dust); font-size: 14.5px; max-width: 22em; }
.lp-ex-empty b { color: var(--bone); font-weight: 600; }
.lp-ex-empty svg.lucide { width: 28px; height: 28px; color: var(--seam-2); }
.lp-ex-log { display: grid; gap: 12px; }
.lp-ex-log:empty { display: none; }
.lp-ex-msg { font-size: 15.5px; line-height: 1.55; }
.lp-ex-msg p + p { margin-top: 8px; }
.lp-ex-msg b { color: #ffb38f; font-weight: 600; }
.lp-ex-you { justify-self: end; max-width: 85%; padding: 8px 13px; border-radius: 14px 14px 4px 14px; background: rgba(255, 77, 0, .16); border: 1px solid rgba(255, 77, 0, .3); font-size: 14.5px; font-weight: 600; }
.lp-caret::after { content: ''; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--flame); border-radius: 1px; animation: lpBlink .9s steps(1) infinite; }
@keyframes lpBlink { 50% { opacity: 0; } }
.lp-ex-ask { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 44px; padding: 0 6px 0 14px; margin-top: auto; border-radius: 12px; border: 1px solid var(--seam-2); background: var(--night); color: var(--dust); font-size: 14.5px; }
.lp-ex-ask span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-ex-ask span.lp-typed { color: var(--bone); }
.lp-ex-ask svg.lucide { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--flame); color: #fff; }
.lp-ex-ask + .lp-ex-sugs { margin-top: 0; }
.lp-ex-sugs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.lp-ex-sug { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--seam-2); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: border-color .2s, background .2s; }
.lp-ex-sug:hover { border-color: var(--flame); background: rgba(255, 77, 0, .08); }
.lp-ex-sug svg.lucide { width: 14px; height: 14px; color: var(--flame); }
.lp-ex-foot { font-size: 13px; color: var(--dust); }
.lp-ex-foot b { color: var(--flame); font-weight: 600; }

/* ── exam ── */
.lp-exam { border-radius: 26px; background: var(--slate); border: 1px solid var(--seam); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85); }
.lp-exam-top { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: radial-gradient(90% 160% at 0% 0%, rgba(255, 77, 0, .14), transparent 60%); border-bottom: 1px solid var(--seam); }
.lp-exam-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 77, 0, .14); color: var(--flame); flex-shrink: 0; }
.lp-exam-name { min-width: 0; }
.lp-exam-name b { display: block; font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }
.lp-exam-name small { color: var(--ash); font-size: 14px; }
.lp-exam-name em { font-style: normal; color: var(--flame); font-weight: 700; }
.lp-exam-top .lp-btn { margin-left: auto; }
.lp-exam-body { padding: 22px; min-height: 330px; display: flex; flex-direction: column; }
.lp-exam-cap { font-size: 14px; color: var(--ash); font-weight: 600; }
.lp-pace { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; height: 170px; margin-top: 12px; }
.lp-pace > div { display: flex; flex-direction: column; align-items: stretch; gap: 8px; height: 100%; justify-content: flex-end; text-align: center; }
.lp-pace i { position: relative; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 9px 9px 4px 4px; overflow: visible; transition: height .9s var(--ease); }
.lp-pace i s { display: block; background: linear-gradient(180deg, var(--flame), var(--ember)); border-radius: 9px 9px 0 0; }
.lp-pace i u { display: block; background: #4a4440; border-radius: 0 0 4px 4px; }
.lp-pace i s + u { border-radius: 0 0 4px 4px; }
.lp-pace b { position: absolute; top: -22px; left: 0; right: 0; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.lp-pace span { font-size: 12.5px; color: var(--ash); font-weight: 600; }
.lp-pace .lp-pace-exam span { color: var(--flame); }
.lp-pace-legend { display: flex; gap: 8px 18px; margin-top: 18px; font-size: 13.5px; color: var(--ash); flex-wrap: wrap; }
.lp-pace-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lp-pace-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--flame); }
.lp-pace-legend i.rev { background: #4a4440; }
.lp-pace-legend .lp-pace-note { margin-left: auto; }
.lp-mx-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13.5px; color: var(--ash); font-variant-numeric: tabular-nums; }
.lp-mx-bar .lp-meter { flex: 1; }
.lp-timer { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--bone); }
.lp-timer svg.lucide { width: 15px; height: 15px; color: var(--flame); }
.lp-mx-q { font-size: clamp(19px, 2vw, 23px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.lp-mx-deck { font-size: 13px; color: var(--dust); margin: 4px 0 14px; display: flex; gap: 6px; align-items: center; }
.lp-mx-deck svg.lucide { width: 13px; height: 13px; }
.lp-mx-opts { display: grid; gap: 8px; }
.lp-mx-opt { display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--seam-2); background: var(--slate-2); font-weight: 600; font-size: 15.5px; transition: border-color .2s, background .2s; }
.lp-mx-opt:hover { border-color: var(--ash); }
.lp-mx-opt .lp-k { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--seam-2); display: grid; place-items: center; font-size: 12px; color: var(--ash); flex-shrink: 0; }
.lp-mx-opt.right { border-color: #4ade80; background: rgba(74, 222, 128, .08); }
.lp-mx-opt.wrong { border-color: #f87171; background: rgba(248, 113, 113, .08); }
.lp-res { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; }
.lp-res-ring { width: 128px; height: 128px; position: relative; }
.lp-res-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-res-ring circle { fill: none; stroke-width: 11; }
.lp-res-ring .lp-res-t { stroke: var(--seam); }
.lp-res-ring .lp-res-f { stroke: #4ade80; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.2s var(--ease) .15s; }
.lp-res-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.lp-res-ring small { display: block; font-size: 12.5px; color: var(--ash); font-weight: 600; letter-spacing: 0; margin-top: 4px; }
.lp-res-decks { display: grid; gap: 12px; }
.lp-res-deck { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; font-size: 14.5px; font-weight: 600; }
.lp-res-deck em { font-style: normal; color: var(--ash); font-variant-numeric: tabular-nums; }
.lp-res-deck .lp-meter { grid-column: 1 / -1; height: 6px; }
.lp-res-deck .lp-meter i { background: #4ade80; }
.lp-res-deck.weak .lp-meter i { background: #fbbf24; }
.lp-res-back { margin-top: 20px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--slate-2); border: 1px solid var(--seam); font-size: 14.5px; color: var(--ash); }
.lp-res-back svg.lucide { color: var(--flame); }
.lp-res-back b { color: var(--bone); font-weight: 600; }
.lp-mx-again { display: inline-flex; align-items: center; gap: 6px; color: var(--flame); font-weight: 700; font-size: 14.5px; margin-top: 14px; align-self: flex-start; }
.lp-mx-again svg.lucide { width: 15px; height: 15px; }

/* ── make it yours: tiles ── */
.lp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.lp-tile { grid-column: span 2; border-radius: 22px; background: var(--slate); border: 1px solid var(--seam); padding: 22px; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.lp-tile.lp-w3 { grid-column: span 3; }
.lp-tile h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.lp-tile > p { color: var(--ash); font-size: 15.5px; line-height: 1.5; max-width: 34em; }
.lp-tile-demo { margin-top: auto; padding-top: 22px; }
.lp-style-row { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.lp-style-label { font-size: 12.5px; color: var(--dust); font-weight: 600; display: block; margin-bottom: 5px; }
.lp-style-card { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 15.5px; line-height: 1.3; letter-spacing: -0.01em; min-height: 96px; transition: opacity .2s; }
.lp-style-card small { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink-2); margin-top: 6px; letter-spacing: 0; line-height: 1.45; }
.lp-reword { position: relative; height: 132px; }
.lp-reword > div { position: absolute; inset: 0; padding: 16px; border-radius: 14px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; transition: opacity .6s, transform .7s var(--ease), filter .6s; }
.lp-reword > div small { position: absolute; left: 16px; bottom: 13px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); display: flex; gap: 5px; align-items: center; letter-spacing: 0; }
.lp-reword > div small svg.lucide { width: 13px; height: 13px; color: var(--flame); }
.lp-reword > div.out, .lp-reword > div.wait { opacity: 0; filter: blur(4px); }
.lp-reword > div.out { transform: translateY(-10px); }
.lp-reword > div.wait { transform: translateY(12px); }
.lp-import { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); gap: 10px; align-items: center; }
.lp-import > svg.lucide { color: var(--flame); }
.lp-import-text { font: 500 12.5px/1.75 'JetBrains Mono', ui-monospace, Menlo, monospace; color: var(--ash); background: var(--night); border: 1px solid var(--seam); border-radius: 12px; padding: 12px; white-space: pre; overflow: hidden; min-height: 118px; }
.lp-import-text span { color: var(--flame); }
.lp-import-cards { display: grid; gap: 6px; }
.lp-import-cards div { padding: 7px 10px; border-radius: 9px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.3; transition: opacity .35s, transform .45s var(--ease); }
.lp-import-cards div small { display: block; font-weight: 500; color: var(--ink-2); font-size: 12px; }
.lp-import-cards div.wait { opacity: 0; transform: translateX(-8px); }
.lp-write { padding: 14px 16px; border-radius: 14px; background: var(--paper); color: var(--ink); }
.lp-write small { font-size: 12px; font-weight: 700; color: var(--ink-2); display: block; }
.lp-write div { font-size: 15.5px; font-weight: 700; min-height: 24px; letter-spacing: -0.01em; line-height: 1.35; }
.lp-write div + small { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--paper-edge); }
.lp-write .lp-caret::after { background: var(--ink); }
.lp-files-list, .lp-folders, .lp-langs { display: grid; gap: 7px; }
.lp-frow, .lp-fold { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px; background: var(--slate-2); border: 1px solid var(--seam); font-size: 14px; font-weight: 600; min-width: 0; }
.lp-frow span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-frow svg.lucide { color: var(--flame); width: 17px; height: 17px; }
.lp-frow small { margin-left: auto; color: var(--dust); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.lp-store { margin-top: 12px; font-size: 13px; color: var(--ash); }
.lp-fold { transition: border-color .3s, transform .3s var(--ease); }
.lp-fold svg.lucide { width: 17px; height: 17px; color: var(--ash); }
.lp-fold em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--dust); font-variant-numeric: tabular-nums; }
.lp-fold.on { border-color: rgba(255, 77, 0, .5); transform: translateX(4px); }
.lp-fold.on svg.lucide { color: var(--flame); }
.lp-langs div { padding: 8px 12px; border-radius: 11px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700; transition: opacity .4s, transform .4s var(--ease); }
.lp-langs div small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.lp-langs div.dim { opacity: .45; transform: scale(.98); }

/* Sections rise a little as they scroll in. Everything is readable before that (no hidden content). */
.lp-rise { transition: transform .8s var(--ease), opacity .8s; }
.lp-rise.lp-low { transform: translateY(18px); opacity: .4; }

/* ── smaller screens ── */
/* The signed-out header keeps Features, Pricing and About when space runs short (under 769px the menu takes over). */
@media (max-width: 1200px) {
  .lp-foot-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 1140px) {
  .lp-from-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .lp-from-group:first-child .lp-from-chips { justify-content: flex-start; }
  .lp-from-group > b { width: 82px; flex-shrink: 0; }
  .lp-from-sep { width: auto; height: 1px; }
}
@media (max-width: 1060px) { #headerNav .lp-nav-wide { display: none; } }
@media (max-width: 1020px) {
  .lp-split, .lp-split.lp-swap, .lp-hero .lp-split { grid-template-columns: 1fr; gap: 52px; }
  .lp-split.lp-swap > .lp-copy { order: 0; }
  .lp-demos { grid-template-columns: 1fr; }
  .lp-board { grid-template-columns: 1fr 1fr; }
  .lp-board > div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--seam); }
  .lp-stack { max-width: 560px; }
  .lp-steps { max-width: 516px; }
  .lp-chat, .lp-today { justify-self: start; }
  .lp-explain { grid-template-columns: 1fr; }
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-tile, .lp-tile.lp-w3 { grid-column: span 1; }
  .lp-foot-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  :where(.lp) section { padding-top: 104px; }
  .lp-hero { padding-top: 36px; }
  .lp-board { grid-template-columns: 1fr; }
  .lp-board > div + div { border-left: 0; border-top: 1px solid var(--seam); }
  .lp-board > div:last-child { grid-column: auto; }
  .lp-score-row .lp-ring { width: 104px; height: 104px; }
  .lp-score-row .lp-ring .lp-num { font-size: 21px; }
  .lp-score-row .lp-ring .lp-num small { font-size: 13px; margin-top: 4px; }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-table td, .lp-table thead th.lp-col { width: 84px; }
  .lp-table { font-size: 15px; }
  .lp-table td { font-size: 13.5px; }
}
@media (max-width: 560px) {
  .lp-wrap { padding: 0 18px; }
  .lp { font-size: 16px; }
  .lp-stack { height: 430px; }
  .lp-ghost, .lp-layer { inset: 18px 14px 0 4px; }
  .lp-ghost.g2 { transform: translate(14px, 14px) rotate(2.5deg); }
  .lp-ghost.g1 { transform: translate(7px, 7px) rotate(1.2deg); }
  .lp-steps { margin: 26px 0 0; gap: 8px; }
  .lp-step { font-size: 12.5px; }
  .lp-layer .lp-body { inset: 80px 20px 20px; }
  .lp-hand { font-size: 23px; line-height: 34px; }
  .lp-files { right: 16px; bottom: 16px; }
  .lp-prog { grid-template-columns: 1fr; gap: 14px; }
  .lp-prog .lp-ring { width: 116px; height: 116px; }
  .lp-prog .lp-ring .lp-num { font-size: 24px; }
  .lp-week { gap: 5px; }
  .lp-demo-body { padding: 22px 20px 20px; }
  .lp-from { padding-top: 44px; }
  .lp-from-row { padding: 14px; gap: 14px; }
  .lp-from-group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lp-from-group > b { width: auto; }
  .lp-from-chips { gap: 8px; }
  .lp-from-end { justify-content: flex-start; padding-left: 4px; }
  .lp-gen { padding: 14px; border-radius: 22px; }
  .lp-gen-grid { grid-template-columns: 1fr; min-height: 0; }
  .lp-material { width: 100%; max-width: 300px; aspect-ratio: 4 / 3; justify-self: center; transform: rotate(-1deg); }
  .lp-material.photo { transform: rotate(1.2deg); }
  .lp-src-tab { grid-template-columns: 36px minmax(0, 1fr); padding: 12px; gap: 12px; }
  .lp-src-tab em { display: none; }
  .lp-src-ico { width: 36px; height: 36px; }
  .lp-ex-chat { min-height: 300px; padding: 16px; }
  .lp-exam-top { flex-wrap: wrap; padding: 18px; }
  .lp-exam-top .lp-btn { margin-left: 0; width: 100%; }
  .lp-exam-body { padding: 18px; }
  .lp-pace { gap: 6px; }
  .lp-pace-legend .lp-pace-note { margin-left: 0; }
  .lp-res { grid-template-columns: 1fr; justify-items: center; }
  .lp-res-decks { width: 100%; }
  .lp-tile { padding: 18px; }
  .lp-import { grid-template-columns: 1fr; }
  .lp-import > svg.lucide { transform: rotate(90deg); justify-self: center; }
  .lp-qopts.two { grid-template-columns: 1fr; }
  .lp-chat { padding: 0 14px 18px; border-radius: 22px; }
  .lp-today { border-radius: 22px; }
  .lp-today-main { padding: 18px; gap: 14px; }
  .lp-today-ring { width: 58px; height: 58px; }
  .lp-today-title { font-size: 19px; }
  .lp-today-exam { padding: 14px 18px; flex-wrap: wrap; }
  .lp-today-exam .lp-today-text { flex: 1 1 calc(100% - 52px); }
  .lp-today-chip { margin-left: 52px; }
  .lp-gaps { padding: 14px 18px 18px; gap: 6px; }
  .lp-chat-head { margin: 0 -14px 6px; padding-left: 14px; padding-right: 14px; }
  .lp-bubble { font-size: 15px; }
  .lp-phone { transform: scale(.9); transform-origin: top center; margin-bottom: -61px; }
  .lp-plan { padding: 26px; }
  .lp-compare-toggle { height: 52px; font-size: 15px; }
  .lp-table td, .lp-table thead th.lp-col { width: clamp(62px, 21vw, 84px); }
  .lp-btn { padding: 0 18px; }
  .lp-table tbody th { font-size: 14.5px; padding-right: 10px; }
  .lp-table td { font-size: 13px; }
  .lp-table tbody th small { font-size: 12.5px; }
  .lp-qa summary { font-size: 17px; padding: 19px 0; }
  .lp-qa p { padding-right: 0; font-size: 15.5px; }
  .lp-closing { padding: 120px 0 90px; }
  .lp-foot-cols { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .lp-foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .lp-rise.lp-low { transform: none; opacity: 1; }
}

/* ════════════════════════════════════
   LIGHT, DEPTH AND RHYTHM (Nov 2026)
   The same sections, copy and demos. The flame light at the top of the page (base.css) shows behind the
   hero, panels get a thin line of light on their top edge, each section is named by a small label, the
   questions sit beside their heading on a computer, and phones get a shorter page with the main button
   always in reach.
════════════════════════════════════ */
.lp { background: transparent; }

/* buttons */
.lp-btn { height: 50px; border-radius: 13px; }
.lp-btn.lp-btn-small { height: 38px; border-radius: 10px; }
.lp-btn-flame { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 28px -12px rgba(255, 77, 0, .8); }
.lp-btn-flame:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 34px -12px rgba(255, 77, 0, .9); }
.lp-btn-flame:active { transform: scale(.98); }
.lp-btn-line { background: rgba(255, 255, 255, .03); }
.lp-btn-line:hover { background: rgba(255, 255, 255, .06); }

/* hero: warm light behind the stack */
.lp-stage { isolation: isolate; }
.lp-stage::before { content: ''; position: absolute; inset: -6% 0 4% 0; background: radial-gradient(closest-side, rgba(255, 77, 0, .2), rgba(255, 77, 0, .06) 58%, transparent 78%); pointer-events: none; z-index: -1; }
.lp-layer { box-shadow: 0 1px 0 var(--paper-edge) inset, 0 40px 70px -24px rgba(0, 0, 0, .8); }

/* a small label over each section's heading */
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 13px 7px 11px; border-radius: 999px; border: 1px solid rgba(255, 77, 0, .28); background: rgba(255, 77, 0, .08); color: var(--flame); font-size: 13.5px; font-weight: 700; line-height: 1; }
.lp-kicker svg.lucide { width: 14px; height: 14px; }

/* panels: a line of light on the top edge, a deeper shadow under them */
.lp-gen, .lp-today, .lp-exam, .lp-board, .lp-chat, .lp-ex-chat, .lp-tile, .lp-from-row { background-image: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 110px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 80px -48px rgba(0, 0, 0, .9); }
.lp-demo-card, .lp-ex-card { box-shadow: 0 1px 0 var(--paper-edge) inset, 0 34px 64px -30px rgba(0, 0, 0, .8); }
.lp-tile { transition: transform .35s var(--ease), border-color .25s, opacity .8s; }
@media (hover: hover) { .lp-tile:hover { transform: translateY(-3px); border-color: var(--seam-2); } }

/* plans */
.lp-plan { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0) 40%), var(--slate); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.lp-plan.lp-pro-plan { background: linear-gradient(180deg, rgba(255, 77, 0, .12), rgba(255, 77, 0, 0) 55%), var(--slate); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 90px -50px rgba(255, 77, 0, .6); }

/* closing: the light comes back for the last line */
.lp-closing .lp-wrap { position: relative; isolation: isolate; }
.lp-closing .lp-wrap::before { content: ''; position: absolute; left: 50%; top: -70px; width: min(820px, 94%); height: 460px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 77, 0, .2), rgba(255, 77, 0, .05) 60%, transparent 78%); pointer-events: none; z-index: -1; }

/* questions: the heading stays beside them on a computer */
@media (min-width: 1021px) {
  .lp-faq { max-width: var(--page); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  .lp-faq h2 { grid-column: 1; grid-row: 1 / span 24; text-align: left; margin-bottom: 0; position: sticky; top: 104px; }
  .lp-faq .lp-qa { grid-column: 2; }
}

/* phones: a shorter page */
@media (max-width: 560px) {
  :where(.lp) section { padding-top: 84px; }
  .lp-closing { padding: 104px 0 84px; }
  .lp-kicker { margin-bottom: 14px; }
  .lp-practise-head { margin-bottom: 36px; }
}

/* Phones, signed out: the main button stays in reach once the hero's buttons have scrolled away
   (landing.js: lpCtaBar). It sits outside .lp, so it uses the site's own tokens. */
.lp-cta-bar { display: none; }
#landingView:not(.active) ~ .lp-cta-bar, body.signed-in .lp-cta-bar { display: none !important; }
@media (max-width: 768px) {
  .lp-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(12, 11, 11, .9); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-top: 1px solid var(--hairline); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .lp-cta-bar.on { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .lp-cta-bar button { flex: 1; height: 50px; border: 0; border-radius: 13px; background: var(--accent); color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: var(--flame-shadow); }
  .lp-cta-bar button:active { transform: scale(.98); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-cta-bar, .lp-cta-bar.on { transition: none; }
  .lp-tile:hover, .lp-btn-flame:hover { transform: none; }
}
