/* Kernuli's landing page (lib/landing.js), loaded only with it. After Grok Bot and Muse, but in Kernuli's own light:
   warm paper, white cards that float, Fredoka headings, colour kept for the bloom behind the app and the characters.
   Tokens come from styles.css (--canvas, --ink, --shadow, --float, --bloom, --display…). */

.kn-auth .lp { visibility: hidden; }
.lp { --lp-w: 1120px; --gut: max(20px, calc((100% - var(--lp-w)) / 2)); position: relative; isolation: isolate; overflow-x: clip;
  min-height: 100vh; font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--grain), linear-gradient(180deg, #eef0f6 0, #f3f1f2 520px, var(--canvas) 1100px); background-repeat: repeat, no-repeat; }
.lp h1, .lp h2, .lp h3 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); }
.lp p { margin: 0; }
.lp .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp a:focus-visible, .lp summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
.lp .btn.lg { height: 52px; padding: 0 28px; font-size: 16.5px; }
.lp .btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.lp .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* ── the bar: clear at the top, frosted glass once the page moves ── */
.lp-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gut) 12px; transition: background .3s, box-shadow .3s; }
.lp-nav.stuck { background: rgba(250, 248, 245, .78); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(70, 50, 30, .07); }
.lp-brand { display: inline-flex; align-items: center; gap: 8px; font: 600 19px/1 var(--display); color: var(--ink); }
.lp-brand img { width: 32px; height: 32px; object-fit: contain; }
.lp-links { display: flex; gap: 4px; margin-inline-end: auto; }
.lp-links a { padding: 7px 12px; border-radius: var(--r-p); font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.lp-nav-end { display: flex; gap: 8px; }
.lp-login { background: transparent; box-shadow: none; }
@media (hover: hover) {
  .lp-links a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
  .lp-login:hover { background: rgba(255, 255, 255, .7); }
}

/* ── the hero: a pill, the ghost inside the headline, and the real app under it on the bloom ── */
.lp-hero { display: grid; justify-items: center; text-align: center; padding: 56px var(--gut) 0; }
.lp-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 14px; border-radius: var(--r-p); background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 500; color: var(--ink-2); animation: lp-rise .7s var(--ease) both; }
.lp-pill > span:last-child { color: var(--ink-3); transition: transform .25s var(--ease); }
@media (hover: hover) { .lp-pill:hover > span:last-child { transform: translateX(-3px); } }
.lp-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-moss); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-moss) 20%, transparent); }
.lp-hero h1 { margin-top: 26px; font-size: clamp(42px, 7.2vw, 92px); line-height: 1.04; letter-spacing: -.02em; animation: lp-rise .8s var(--ease) .08s both; }
.lp-h1-a { display: block; }
.lp-h1-b { display: inline; padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(90deg, rgba(255, 201, 168, .75), rgba(247, 184, 220, .75) 50%, rgba(195, 182, 255, .75)) no-repeat right bottom .04em / 100% .26em;
  animation: lp-mark 1s var(--ease) .7s both; }
.lp-h1-ghost { display: inline-block; width: 1.08em; height: 1.08em; margin: 0 .04em -.2em; object-fit: contain; cursor: pointer;
  filter: drop-shadow(0 10px 14px rgba(80, 60, 140, .22)); animation: lp-bob 3.6s ease-in-out 1s infinite; transform-origin: 50% 90%; }
.lp-h1-ghost.boop, .lp-end-ghost.boop { animation: ghost-boop .65s var(--ease), lp-bob 3.6s ease-in-out .65s infinite; }
.lp-lede { max-width: 620px; margin-top: 22px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--ink-2); animation: lp-rise .8s var(--ease) .16s both; }
.lp-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; animation: lp-rise .8s var(--ease) .24s both; }
.lp-ghost-btn { background: rgba(255, 255, 255, .8); }
.lp-fine { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); animation: lp-rise .8s var(--ease) .3s both; }

.lp-hero-shot { position: relative; width: 100%; max-width: 1040px; margin: 56px 0 0; animation: lp-rise 1s var(--ease) .38s both; }
.lp-on-phone { display: none; }
@media (max-width: 680px) { .lp-on-pc { display: none; } .lp-on-phone { display: block; } }
.lp-bloom { position: absolute; z-index: -1; inset: 8% 4% -6%; border-radius: 50%; background: var(--bloom); filter: blur(70px) saturate(1.2); opacity: .55;
  animation: lp-spin 24s linear infinite; }

/* a window of the app on a computer */
.lp-win { overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(70, 50, 30, .07), 0 30px 80px -24px rgba(60, 40, 90, .35), 0 8px 24px -10px rgba(60, 40, 30, .18); }
.lp-win-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; direction: ltr; background: #fbfaf8; border-bottom: 1px solid var(--sep); }
.lp-win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lp-win-bar i:nth-child(2) { background: #febc2e; } .lp-win-bar i:nth-child(3) { background: #28c840; }
.lp-win-bar span { position: absolute; inset-inline: 0; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--ink-3); pointer-events: none; direction: rtl; }
.lp-clip { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #fbfaf8; }

/* ── the institutions, sliding by ── */
.lp-logos { padding: 72px 0 0; text-align: center; }
.lp-logos p { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.lp-marquee { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lp-marquee-in { display: flex; width: max-content; animation: lp-marquee 40s linear infinite; }
.lp-marquee:hover .lp-marquee-in { animation-play-state: paused; }
.lp-marquee-set { display: flex; align-items: center; gap: 56px; padding-inline-end: 56px; }
.lp-marquee img { display: block; height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
@media (hover: hover) { .lp-marquee a:hover img { filter: none; opacity: 1; } }

/* ── a section ── */
.lp-sec { padding: 140px var(--gut) 0; }
.lp-sec h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.015em; }
.lp-center { text-align: center; }
.lp-sub { margin-top: 14px !important; color: var(--ink-2); font-size: 17px; }
.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.lp-two-p { display: grid; gap: 14px; padding-top: 8px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); }
/* sections rise in as they come (only when app.js is there to show them) */
.lp-js .lp-sec, .lp-js .lp-end, .lp-js .lp-logos { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.lp-js .in { opacity: 1 !important; transform: none !important; }

/* ── the team: a row of course Kernulis, like teammates ── */
.lp-crew { list-style: none; margin: 64px 0 0; padding: 0; display: flex; justify-content: space-between; gap: 12px; }
.lp-crew li { display: grid; justify-items: center; gap: 10px; flex: 1; min-width: 0; }
.lp-face { position: relative; display: grid; place-items: center; width: clamp(64px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 22%, #fff), color-mix(in srgb, var(--c) 48%, #fff));
  box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--c) 70%, transparent), inset 0 -6px 14px color-mix(in srgb, var(--c) 20%, transparent);
  animation: lp-bob 4s ease-in-out calc(var(--i) * -.45s) infinite; }
.lp-crew li:nth-child(even) .lp-face { width: clamp(56px, 7.6vw, 96px); margin-top: 18px; }
.lp-face img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(40, 30, 60, .16)); transition: transform .35s var(--spring); }
.lp-face-badge { position: absolute; bottom: -2px; inset-inline-end: -2px; display: grid; place-items: center; width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow); font-family: var(--emoji); font-size: clamp(13px, 1.7vw, 19px); }
.lp-face-name { font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (hover: hover) { .lp-crew li:hover img { transform: scale(1.1) rotate(-6deg); } }

.lp-stage { margin: 72px 0 0; display: grid; gap: 22px; }
.lp-stage .lp-win { border-radius: 26px; }
.lp-stage figcaption { display: grid; gap: 4px; justify-items: center; text-align: center; }
.lp-stage figcaption b { font: 600 22px/1.3 var(--display); }
.lp-stage figcaption span { color: var(--ink-2); }

/* ── the bento: each card a thing Kernuli does, with the thing itself in it ── */
.lp-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
/* no box in box: a card is a soft tinted backdrop, and the thing on it (a clip, a widget) is the one white surface */
.lp-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 28px 0; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--tint) 16%, transparent), transparent 70%), color-mix(in srgb, var(--tint) 7%, #f7f4ef); }
.lp-card:nth-child(1) { --tint: #7f6cf0; } .lp-card:nth-child(2) { --tint: #f0975a; } .lp-card:nth-child(3) { --tint: #4b8fe0; }
.lp-card:nth-child(4) { --tint: #3f9d6b; } .lp-card:nth-child(5) { --tint: #e5534b; }
.lp-card.wide { grid-column: span 2; }
.lp-card h3 { font-size: 23px; line-height: 1.25; }
.lp-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 520px; }
.lp-card-media { margin: 18px -28px 0; flex: 1; display: flex; align-items: flex-end; min-height: 250px; }
.lp-card.wide .lp-card-media { padding: 0 28px; }
.lp-card.wide .lp-clip { border-radius: 16px 16px 0 0; box-shadow: 0 0 0 1px rgba(70, 50, 30, .08), 0 -10px 30px -16px rgba(60, 40, 30, .25); }
.lp-card-media.w-pad { justify-content: center; align-items: center; padding: 20px 24px 28px; }

/* the small widgets: the app's own cards, drawn here so they're light, sharp and read by search engines */
.w { position: relative; width: 100%; max-width: 360px; display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--float); font-size: 14px; line-height: 1.5; text-align: start; }
.w-h { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--sep); }
.w-ic { flex: none; width: 24px; text-align: center; font-family: var(--emoji); font-size: 18px; line-height: 1; }
.w-h-t { display: grid; line-height: 1.35; }
.w-h-t small { color: var(--ink-3); font-size: 12.5px; }
/* the summary goes into the course Kernuli's brain: a flat last line, its face and the course */
.w-brain { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--sep); font-size: 13px; color: var(--ink-2); }
.w-brain img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.w-brain span { flex: 1; }
.w-brain span b { white-space: nowrap; }
.w-brain i { font-style: normal; font-family: var(--emoji); }
.in .w-brain { animation: w-up .6s var(--ease) 1.6s both; }
.in .w-brain i { display: inline-block; animation: w-pop .5s var(--spring) 2.1s both; }
.w-note p { position: relative; padding-inline-start: 14px; }
.w-note p::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.w-note mark { color: inherit; font-weight: 600; border-radius: 5px; background: linear-gradient(#ffe39a, #ffe39a) no-repeat right center / 0% 85%; }
.in .w-note mark { animation: w-hl .8s var(--ease) .7s forwards; }
.w-ts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.w-ts { gap: 4px 14px; padding-top: 10px; border-top: 1px solid var(--sep); }
.w-ts span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.w-ts b { color: var(--accent); margin-inline-end: 4px; font-variant-numeric: tabular-nums; }
.w-sticker { position: absolute; top: -14px; inset-inline-end: -10px; padding: 6px 12px; border-radius: 14px; background: #fff0e4; color: #c2410c; font-size: 13px; font-weight: 700; box-shadow: var(--float); rotate: -6deg; }
.in .w-sticker { animation: w-pop .6s var(--spring) 1.2s both; }

.w-feed { gap: 0; padding: 6px 16px; }
.w-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.w-row + .w-row { border-top: 1px solid var(--sep); }
.w-row > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.w-row b { font-weight: 600; font-size: 14px; }
.w-row small { color: var(--ink-3); font-size: 12.5px; }
.w-row i { font-style: normal; color: var(--accent); font-size: 12.5px; font-weight: 600; }
.w-row.new b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 6px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.w-score { color: var(--c-moss); font: 600 18px var(--display) !important; }
.in .w-feed .w-row { animation: w-up .6s var(--ease) both; }
.in .w-feed .w-row:nth-child(2) { animation-delay: .15s; } .in .w-feed .w-row:nth-child(3) { animation-delay: .3s; }

.w-grades { gap: 12px; }
.w-g { display: grid; grid-template-columns: 30px 1fr 1fr 30px; align-items: center; gap: 10px; }
.w-g-t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-bar { height: 8px; border-radius: 8px; background: var(--fill); overflow: hidden; }
.w-bar i { display: block; height: 100%; width: var(--v); border-radius: 8px; background: var(--c); transform-origin: right; }
.in .w-bar i { animation: w-grow 1.1s var(--ease) .3s both; }
.w-g b { font: 600 16px var(--display); text-align: end; font-variant-numeric: tabular-nums; }
.w-goal { margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--sep); color: #9a5a12; font-size: 13.5px; }
.w-goal b { font-size: 15px; }

.w-exam { grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
.w-date { display: grid; place-items: center; width: 56px; padding-inline-end: 14px; border-inline-end: 1px solid var(--sep); color: var(--today); line-height: 1.1; }
.w-date small { font-size: 12px; font-weight: 600; }
.w-date b { font: 600 28px var(--display); }
.w-exam-b { display: grid; }
.w-exam-b small { color: var(--ink-3); }
.w-count { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.w-plan { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid var(--sep); }
.w-plan { gap: 6px 14px; }
.w-plan span { color: #4057b8; font-size: 13px; font-weight: 600; }
.w-plan span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 6px; border-radius: 50%; background: #8fa2f0; vertical-align: middle; }
.in .w-plan span { animation: w-pop .5s var(--spring) calc(.4s + var(--i) * .14s) both; }

/* ── a phone beside the words, and the words beside an approval card ── */
.lp-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.lp-split.rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.lp-split-t { display: grid; gap: 18px; }
.lp-split-t > p { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 520px; }
.lp-ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.lp-ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.lp-ticks li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--c-moss) 15%, #fff); color: var(--c-moss); font-size: 13px; font-weight: 700; }

.lp-phone { justify-self: center; position: relative; width: min(330px, 78vw); padding: 11px; border-radius: 52px; background: #1d1b1a;
  box-shadow: inset 0 0 0 2px #3a3634, 0 40px 80px -30px rgba(60, 40, 90, .45), 0 10px 30px -12px rgba(0, 0, 0, .3); }
.lp-phone::before { content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; width: 90px; height: 26px; margin-left: -45px; border-radius: 20px; background: #1d1b1a; }
.lp-phone::after { content: ""; position: absolute; z-index: -1; inset: 10% -30%; border-radius: 50%; background: var(--bloom); filter: blur(60px); opacity: .35; }
.lp-phone-in { overflow: hidden; padding-top: 40px; border-radius: 42px; background: #f6f3ee; }   /* the top is the phone's status bar, under the island */
.lp-phone .lp-clip { aspect-ratio: 390 / 844; }

.lp-ok { position: relative; display: grid; gap: 14px; justify-items: end; padding: 40px 28px; border-radius: 32px;
  background: radial-gradient(120% 90% at 20% 0%, #efeafd, transparent 60%), radial-gradient(100% 80% at 100% 100%, #fdeee4, transparent 60%), #f8f6f3; box-shadow: inset 0 0 0 1px rgba(70, 50, 30, .05); }
.w-ask { max-width: 86%; display: grid; gap: 6px; justify-items: start; padding: 12px 16px; border-radius: 22px 22px 6px 22px; background: #ece8e2; font-size: 15px; justify-self: start; }
.w-file { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.w-act { max-width: 100%; justify-self: stretch; gap: 14px; }
.w-act-h { display: flex; align-items: center; gap: 10px; }
.w-act-h > span:last-child { display: grid; }
.w-act-h small { color: var(--accent); font-weight: 600; font-size: 12.5px; }
.w-act-h b { font-size: 16px; }
.w-hand { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 12px 0; border-block: 1px solid var(--sep); font-size: 13.5px; }
.w-hand span { color: var(--ink-3); }
.w-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.w-checks { gap: 4px 14px; }
.w-checks span { color: #2f7a52; font-size: 13px; font-weight: 600; }
.in .w-checks span { animation: w-pop .5s var(--spring) both; }
.in .w-checks span:nth-child(2) { animation-delay: .2s; } .in .w-checks span:nth-child(3) { animation-delay: .4s; }
.w-btns { display: flex; gap: 8px; }
.w-btns { gap: 18px; justify-content: flex-end; }
.w-btn { font-weight: 600; font-size: 14.5px; color: var(--ink-3); }
.w-btn.primary { color: var(--accent); }
.w-btn.primary::after { content: " ←"; }

/* ── how it works ── */
.lp-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.lp-steps li { display: grid; gap: 6px; align-content: start; padding: 28px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); }
.lp-steps b { font: 600 21px/1.3 var(--display); }
.lp-steps span:last-child { color: var(--ink-2); }
.lp-num { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; border-radius: 50%; background: var(--press-ink); color: #fff; font: 600 17px var(--display); }

/* ── the institutions ── */
.lp-uni-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.lp-uni-grid a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s var(--ease); }
.lp-uni-grid a > span:last-child { display: grid; min-width: 0; }
.lp-uni-grid b { font-weight: 600; }
.lp-uni-grid small { color: var(--ink-3); font-size: 13px; }
.lp-uni-logo { display: grid; place-items: center; flex: none; width: 40px; height: 40px; font-family: var(--emoji); font-size: 22px; }
.lp-uni-logo img { max-width: 34px; max-height: 34px; object-fit: contain; }
@media (hover: hover) { .lp-uni-grid a:hover { box-shadow: var(--lift); transform: translateY(-2px); } }
.lp-more { margin-top: 22px !important; }
.lp-more a { color: var(--accent); font-weight: 500; }

/* ── questions: the title on one side, the answers on the other (Grok Bot) ── */
.lp-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.lp-faq-list details { border-bottom: 1px solid var(--sep-2); }
.lp-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 17.5px; font-weight: 500; }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after { content: "+"; flex: none; font: 300 26px/1 var(--sans); color: var(--ink-3); transition: transform .3s var(--ease); }
.lp-faq-list details[open] summary::after { transform: rotate(45deg); }
.lp-faq-list details p { padding: 0 0 20px; color: var(--ink-2); max-width: 620px; }

/* ── the end: the party ghost on the bloom, one button ── */
.lp-end { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 22px; text-align: center;
  margin: 140px var(--gut) 0; padding: 72px 20px 80px; border-radius: 36px; background: #fffdfa; box-shadow: var(--lift); }
.lp-end .lp-bloom { inset: 30% 10% -40%; opacity: .45; }
.lp-end-ghost { width: 120px; height: 120px; object-fit: contain; cursor: pointer; filter: drop-shadow(0 12px 18px rgba(140, 70, 40, .2)); animation: lp-bob 3.6s ease-in-out infinite; }
.lp-end h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -.015em; }

.lp-foot { display: grid; gap: 14px; padding: 56px var(--gut) calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--ink-3); font-size: 13.5px; }
.lp-foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lp-foot .lp-brand { font-size: 17px; color: var(--ink-2); }
.lp-foot .lp-brand img { width: 28px; height: 28px; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--sep-2); }
.lp-foot nav b { color: var(--ink-2); font-weight: 600; }
.lp-foot nav a { color: var(--ink-2); }
@media (hover: hover) { .lp-foot nav a:hover { color: var(--ink); } }

@keyframes lp-mark { from { background-size: 0% .26em; } }
@keyframes lp-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes lp-bob { 50% { transform: translateY(-6px) rotate(-2deg); } }
@keyframes lp-spin { to { rotate: 360deg; } }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
@keyframes w-hl { to { background-size: 100% 85%; } }
@keyframes w-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes w-up { from { opacity: 0; transform: translateY(12px); } }
@keyframes w-grow { from { transform: scaleX(0); } }

/* ── smaller screens ── */
@media (max-width: 980px) {
  .lp-links { display: none; }
  .lp-nav-end { margin-inline-start: auto; }
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-card.wide { grid-column: 1 / -1; }
  .lp-split, .lp-split.rev { grid-template-columns: 1fr; gap: 48px; }
  .lp-split.rev .lp-split-t { order: -1; }
  .lp-split:not(.rev) .lp-split-t { order: -1; }
  .lp-faq { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 680px) {
  .lp { font-size: 15.5px; }
  .lp-nav { gap: 10px; padding-inline: 16px; }
  .lp-nav-end .lp-login { display: none; }
  .lp-hero { padding: 36px 16px 0; }
  .lp-hero h1 { font-size: clamp(34px, 10vw, 52px); text-wrap: balance; }
  .lp-cta { width: 100%; display: grid; }
  .lp-hero-shot { margin-top: 40px; }
  .lp-win { border-radius: 14px; }
  .lp-win-bar { height: 28px; padding: 0 10px; gap: 5px; }
  .lp-win-bar i { width: 8px; height: 8px; }
  .lp-win-bar span { font-size: 11px; }
  .lp-sec { padding: 96px 16px 0; }
  .lp-two { grid-template-columns: 1fr; gap: 16px; }
  .lp-crew { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 22px; margin-top: 40px; }
  .lp-crew li:nth-child(even) .lp-face { margin-top: 0; }
  .lp-face, .lp-crew li:nth-child(even) .lp-face { width: 84px; }
  .lp-stage { margin-top: 48px; }
  .lp-bento { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .lp-card { padding: 24px 20px 0; border-radius: 24px; }
  .lp-card-media { margin-inline: -20px; min-height: 0; }
  .lp-card.wide .lp-card-media { padding: 0 16px; }
  .lp-card-media.w-pad { padding: 16px 16px 24px; }
  .lp-ok { padding: 28px 16px; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-end { margin: 96px 12px 0; padding: 56px 16px 64px; border-radius: 28px; }
  .lp-logos { padding-top: 56px; }
  .lp-marquee-set { gap: 36px; padding-inline-end: 36px; }
  .lp-marquee img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .lp-js .lp-sec, .lp-js .lp-end, .lp-js .lp-logos { opacity: 1; transform: none; }
  .w-note mark { background-size: 100% 85%; }
}
.lp-on-phone .lp-phone { margin: 0 auto; }

/* ── start free now: after the features and after the steps, and on a phone a button that stays at the bottom ── */
.lp-mid-cta { display: grid; justify-items: center; gap: 12px; margin-top: 44px; text-align: center; }
.lp-mid-cta span { font-size: 14px; color: var(--ink-3); }
.lp-sticky { display: none; }
@media (max-width: 680px) {
  .lp-sticky { position: fixed; z-index: 40; inset-inline: 0; bottom: 0; display: grid; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(246, 243, 238, 0), rgba(246, 243, 238, .92) 40%); pointer-events: none;
    transform: translateY(110%); transition: transform .4s var(--ease); }
  .lp-sticky .btn { pointer-events: auto; width: 100%; box-shadow: 0 10px 30px -10px rgba(40, 30, 20, .5); }
  .lp-sticky.on { transform: none; }
  .lp-mid-cta .btn { width: 100%; }
}
