/* The public landing page (templates/pages/landing.html): the app's own colours and shapes (the dashboard banner,
   budget meters, plan cards, Migo), mobile first. Motion is in static/js/landing.js; the `lp-motion` class on <html>
   (set only without reduced motion) hides what it is about to bring in. */
/* Theme tokens. Light is the default; dark (`data-theme="dark"` on <html>, chosen with the header's toggle in
   landing.js) is built on the app's own header colour, #1E1E2D. Colours below always go through these tokens. */
.lp {
    --lp-ink: #1E2433; --lp-muted: #6B7287; --lp-faint: #A1A5B7; --lp-line: #E4E6EF; --lp-line-soft: #EEF0F5;
    --lp-page: #ffffff; --lp-wash: #F4F6FB; --lp-surface: #ffffff; --lp-track: #ECEEF5; --lp-star-off: #DADDE6; --lp-ghost-hover: #EDEFF5;
    --lp-blue: #3445E5; --lp-blue-dark: #2531B8; --lp-blue-light: #5868F2; --lp-accent: #3445E5;
    --lp-blue-wash: #ECEEFD; --lp-blue-tint: #F5F6FF; --lp-blue-line: #D5D9F8;
    --lp-good: #1E7F5C; --lp-good-wash: #E3F6EE; --lp-warn: #B26A00; --lp-bad: #B42338;
    --lp-amber-wash: #FFF4DE; --lp-amber-ink: #7A4B00; --lp-red-wash: #FFE2E5; --lp-sky-wash: #E1F5FE;
    --lp-teal-wash: #E0F7FA; --lp-purple-wash: #F3E8FF; --lp-yellow-wash: #FFF8DD; --lp-trust-ink: #3D4A45;
    --lp-nav-bg: rgba(255, 255, 255, .86); --lp-hero-glow: #EEF0FF; --lp-app-bar: #1E1E2D; --lp-app-bg: #F3F6F9;
    --lp-radius: 1rem; --lp-gradient: linear-gradient(115deg, #2531B8 0%, #3445E5 55%, #5868F2 100%);
    color-scheme: light;
    margin: 0; background: var(--lp-page); color: var(--lp-ink); font-family: Poppins, sans-serif; font-size: 16px;
    line-height: 1.6;
    /* The theme makes html and body one screen tall; the sticky header can't leave its parent, so the body grows
       with the page. `clip` hides sideways overflow without making the body a scroll box (`hidden` is the fallback). */
    height: auto; min-height: 100%; overflow-x: hidden; overflow-x: clip;
}
:root[data-theme="dark"] { background: #1E1E2D; }  /* behind the body when the page is overscrolled */
[data-theme="dark"] .lp {
    --lp-ink: #ECEDF6; --lp-muted: #A3A6BF; --lp-faint: #6F7291; --lp-line: #33344A; --lp-line-soft: #2C2D41;
    --lp-page: #1E1E2D; --lp-wash: #191926; --lp-surface: #262638; --lp-track: #36374E; --lp-star-off: #45465F; --lp-ghost-hover: #30314A;
    --lp-accent: #8C96FF; --lp-blue-wash: rgba(108, 122, 255, .18); --lp-blue-tint: rgba(108, 122, 255, .1);
    --lp-blue-line: rgba(140, 150, 255, .38);
    --lp-good: #4FD39C; --lp-good-wash: rgba(79, 211, 156, .14); --lp-warn: #FFB547; --lp-bad: #FF7B8B;
    --lp-amber-wash: rgba(255, 181, 71, .14); --lp-amber-ink: #FFCB7A; --lp-red-wash: rgba(255, 123, 139, .14);
    --lp-sky-wash: rgba(79, 195, 247, .14); --lp-teal-wash: rgba(77, 208, 225, .14); --lp-purple-wash: rgba(167, 139, 250, .16);
    --lp-yellow-wash: rgba(250, 204, 21, .13); --lp-trust-ink: #B8D8CB;
    --lp-nav-bg: rgba(30, 30, 45, .86); --lp-hero-glow: rgba(88, 104, 242, .2); --lp-app-bar: #151521; --lp-app-bg: #1B1B29;
    color-scheme: dark;
}
/* Dark: the coloured icons on their tints get lighter, so they stay readable */
[data-theme="dark"] .lp-tour__icon--dashboard, [data-theme="dark"] .lp-app__cat--fare, [data-theme="dark"] .lp-app__cat--move { color: #8C96FF; }
[data-theme="dark"] .lp-tour__icon--records, [data-theme="dark"] .lp-app__cat--pay { color: #4FD39C; }
[data-theme="dark"] .lp-tour__icon--budgets, [data-theme="dark"] .lp-app__cat--food { color: #FFB547; }
[data-theme="dark"] .lp-tour__icon--bills { color: #FF7B8B; }
[data-theme="dark"] .lp-tour__icon--tools { color: #B79CFF; }
[data-theme="dark"] .lp-tour__icon--migo, [data-theme="dark"] .lp-app__cat--load, [data-theme="dark"] .lp-app__cat--wifi { color: #6CC9F5; }
[data-theme="dark"] .lp-app__cat--bolt { color: #F5CF4B; }
[data-theme="dark"] .lp-app__cat--water { color: #5ED6E6; }
[data-theme="dark"] .lp-app__card, [data-theme="dark"] .lp-app__stat, [data-theme="dark"] .lp-app__rows { box-shadow: none; }
[data-theme="dark"] .lp-app { border-color: var(--lp-line); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
/* Dark: the shared plan cards (billing.css) take the page's tokens */
[data-theme="dark"] .lp .plans { --plan-ink: var(--lp-ink); --plan-muted: var(--lp-muted); --plan-line: var(--lp-line); --plan-accent: #8C96FF; }
[data-theme="dark"] .lp .plan-card { background: var(--lp-surface); box-shadow: none; }
[data-theme="dark"] .lp .plan-card--featured { border-color: #5868F2; background: linear-gradient(180deg, rgba(88, 104, 242, .18) 0%, var(--lp-surface) 45%); box-shadow: 0 12px 32px rgba(0, 0, 0, .3); }
[data-theme="dark"] .lp .plans__toggle { background: var(--lp-surface); }
[data-theme="dark"] .lp .plans__switch:not([aria-checked="true"]) { background: var(--lp-track); }
[data-theme="dark"] .lp .plan-card__detail { background: var(--lp-blue-wash); }
[data-theme="dark"] .lp .plan-card__savings, [data-theme="dark"] .lp .plan-card__features li.is-in i { color: var(--lp-good); }
[data-theme="dark"] .lp .plan-card__features li.is-out, [data-theme="dark"] .lp .plan-card__features li.is-out i { color: var(--lp-faint); }
[data-theme="dark"] .lp .plan-card .btn-light { border-color: transparent; background: var(--lp-ghost-hover); color: var(--lp-ink); }
[data-theme="dark"] .lp .plan-card .btn-light-primary { border-color: transparent; background: var(--lp-blue-wash); color: var(--lp-accent); }

/* The theme toggle (landing.js): a moon in light, a sun in dark */
.lp-theme {
    display: inline-grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; overflow: hidden;
    border: 1px solid var(--lp-line); border-radius: .75rem; background: var(--lp-surface); color: var(--lp-ink); cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.lp-theme:hover { background: var(--lp-ghost-hover); }
.lp-theme i { grid-area: 1 / 1; color: inherit; font-size: 1.05rem; }
.lp-theme__sun { display: none; color: #FFB547 !important; }
[data-theme="dark"] .lp-theme__sun { display: block; }
[data-theme="dark"] .lp-theme__moon { display: none; }
/* Switching without View Transitions: colours fade instead of snapping (on only for the moment of the switch) */
.lp-theming .lp, .lp-theming .lp *, .lp-theming .lp *::before {
    transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important;
}
/* With View Transitions the new theme spreads in a circle from the toggle (landing.js sets the circle) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); letter-spacing: -.02em; }
.lp a:focus-visible, .lp button:focus-visible { outline: 3px solid rgba(52, 69, 229, .4); outline-offset: 3px; border-radius: .5rem; }
/* The content column: wide enough to use a big screen, with side padding that grows with it. In px, because the
   theme's root font size is 13px (a rem here is 13px, not 16) */
.lp-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
/* Links to a section (#tour, #pricing…) land below the sticky header, not under it */
.lp { --lp-nav-height: 64px; scroll-padding-top: var(--lp-nav-height); }
.lp section[id] { scroll-margin-top: var(--lp-nav-height); }
/* A section takes focus when a link glides to it (landing.js), for keyboard users; no ring around the whole section */
.lp section[tabindex="-1"]:focus { outline: none; }
.lp-skip { position: absolute; left: -999px; top: .5rem; z-index: 100; padding: .5rem 1rem; border-radius: .5rem; background: var(--lp-ink); color: var(--lp-page); }
.lp-skip:focus { left: .5rem; color: var(--lp-page); }

/* Buttons: hover darkens the button's own colour */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.25rem;
    border: 1px solid transparent; border-radius: .75rem; font-weight: 600; font-size: 1rem; text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.lp-btn:hover { text-decoration: none; transform: translateY(-1px); }
.lp-btn:active { transform: translateY(0); }
.lp-btn--lg { min-height: 52px; padding: .8rem 1.6rem; font-size: 1.05rem; }
.lp-btn--primary { background: var(--lp-blue); color: #fff; box-shadow: 0 8px 20px rgba(52, 69, 229, .25); }
.lp-btn--primary:hover { background: var(--lp-blue-dark); color: #fff; }
.lp-btn--ghost { background: var(--lp-surface); border-color: var(--lp-line); color: var(--lp-ink); }
.lp-btn--ghost:hover { background: var(--lp-ghost-hover); color: var(--lp-ink); }
.lp-btn--light { background: #fff; color: var(--lp-blue-dark); }
.lp-btn--light:hover { background: #E4E7FB; color: var(--lp-blue-dark); }

/* ---- Header ---- */
.lp-nav { position: sticky; top: 0; z-index: 50; background: var(--lp-nav-bg); backdrop-filter: blur(10px); transition: box-shadow .25s ease; }
.lp-nav.is-scrolled { box-shadow: 0 1px 0 var(--lp-line), 0 8px 24px rgba(30, 36, 51, .05); }
.lp-nav__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--lp-nav-height); }
.lp-brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; color: var(--lp-ink); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.lp-brand:hover { color: var(--lp-ink); text-decoration: none; }
.lp-brand img { height: 38px; }
.lp-nav__links { display: none; }
.lp-nav__links a { color: var(--lp-muted); font-weight: 500; text-decoration: none; }
.lp-nav__links a:hover { color: var(--lp-ink); }
.lp-nav__cta { display: none; }
.lp-nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px;
    border: 1px solid var(--lp-line); border-radius: .75rem; background: var(--lp-surface); cursor: pointer;
}
.lp-nav__toggle span { display: block; height: 2px; border-radius: 2px; background: var(--lp-ink); transition: transform .25s ease, opacity .2s ease; }
.lp-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile menu: a panel under the bar */
.lp-nav.is-open .lp-nav__links {
    position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: .5rem 1rem 1rem;
    background: var(--lp-surface); box-shadow: 0 16px 30px rgba(30, 36, 51, .08);
}
.lp-nav.is-open .lp-nav__links a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--lp-wash); font-size: 1.05rem; }
@media (min-width: 768px) {
    .lp { --lp-nav-height: 76px; }
    .lp-brand { font-size: 1.25rem; }
    .lp-brand img { height: 42px; }
    .lp-nav__links, .lp-nav.is-open .lp-nav__links { position: static; display: flex; flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; box-shadow: none; background: none; }
    .lp-nav.is-open .lp-nav__links a { min-height: 0; border: 0; font-size: 1rem; }
    .lp-nav__cta { display: inline-flex; }
    .lp-nav__toggle { display: none; }
}

/* ---- Hero ---- */
.lp-hero { position: relative; padding: 2.5rem 0 3.5rem; background: radial-gradient(60rem 30rem at 85% 10%, var(--lp-hero-glow) 0%, transparent 60%), var(--lp-page); }
.lp-hero__inner { display: grid; gap: 2.5rem; align-items: center; }
.lp-hero__title { margin: 0; font-size: clamp(2.3rem, 7vw, 3.75rem); font-weight: 700; line-height: 1.08; }
.lp-hero__lead { margin: 1.1rem 0 0; max-width: 36rem; font-size: 1.12rem; color: var(--lp-muted); }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.lp-hero__points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--lp-muted); font-size: .95rem; }
.lp-hero__points i, .lp-list i { margin-right: .4rem; color: var(--lp-good); font-size: .85rem; }

/* The stage: the dashboard banner and budgets, with floating notes around them */
.lp-stage { position: relative; display: grid; gap: 1rem; max-width: 520px; width: 100%; margin: 0 auto; padding: 1rem 0 3.5rem; }
.lp-mock { position: relative; border-radius: var(--lp-radius); }
.lp-mock--hero { overflow: hidden; padding: 1.5rem 1.5rem 1.4rem; color: #fff; background: var(--lp-gradient); box-shadow: 0 18px 40px rgba(52, 69, 229, .25); }
.lp-mock__shape { position: absolute; right: -2rem; top: -2.5rem; width: 12rem; opacity: .22; pointer-events: none; animation: lp-drift 14s ease-in-out infinite; }
.lp-mock__greeting { position: relative; margin: 0; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.lp-mock__title { position: relative; max-width: 15rem; margin: .3rem 0 0; color: #fff; font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.lp-mock__title strong { font-variant-numeric: tabular-nums; }
.lp-mock__chips { position: relative; display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.lp-mock__chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 2rem; background: rgba(255, 255, 255, .16); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-mock__chips i { font-size: .75rem; color: inherit; }
.lp-mock__art { position: absolute; right: .75rem; bottom: .5rem; width: 8.5rem; transform-origin: 50% 100%; animation: lp-float 6s ease-in-out infinite; }
.lp-mock--budgets { padding: 1.25rem 1.4rem; background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: 0 18px 40px rgba(30, 36, 51, .08); }
.lp-mock__label { margin: 0 0 .5rem; font-weight: 600; }
.lp-meter { padding: .55rem 0; }
.lp-meter + .lp-meter { border-top: 1px dashed var(--lp-line); }
.lp-meter__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.lp-meter__row span:last-child { color: var(--lp-muted); font-variant-numeric: tabular-nums; }
.lp-meter__bar { height: .5rem; margin-top: .4rem; border-radius: 1rem; background: var(--lp-track); overflow: hidden; }
.lp-meter__bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--lp-blue); transform: scaleX(var(--fill)); transform-origin: left; }
.lp-meter__bar.is-near span { background: #E08A00; }
.lp-meter__kind { display: inline-block; margin-top: .35rem; padding: .05rem .5rem; border-radius: .4rem; background: var(--lp-blue-wash); color: var(--lp-accent); font-size: .75rem; font-weight: 600; }

.lp-float {
    position: absolute; display: inline-flex; align-items: center; gap: .55rem; max-width: 16rem; padding: .55rem .85rem;
    border-radius: .9rem; background: var(--lp-surface); box-shadow: 0 12px 30px rgba(30, 36, 51, .14); font-size: .88rem; font-weight: 500; line-height: 1.35;
}
.lp-float--voice { left: -.25rem; bottom: .25rem; animation: lp-bob 5s ease-in-out infinite; }
.lp-float--voice i { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; background: var(--lp-blue); color: #fff; font-size: .85rem; animation: lp-pulse 2.4s ease-out infinite; }
.lp-float--migo { right: -.25rem; bottom: -.5rem; animation: lp-bob 6s ease-in-out 1s infinite; }
.lp-float--migo img { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--lp-blue-wash); object-fit: cover; }
.lp-coin {
    position: absolute; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
    background: #FFD978; color: #8A5A00; font-weight: 700; font-size: .95rem; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); pointer-events: none;
    animation: lp-coin 9s ease-in-out infinite;
}
.lp-coin--1 { top: -.5rem; left: 8%; }
.lp-coin--2 { top: 38%; right: -.75rem; width: 1.6rem; height: 1.6rem; font-size: .8rem; animation-delay: -3s; }
.lp-coin--3 { bottom: 30%; left: -1rem; width: 1.4rem; height: 1.4rem; font-size: .7rem; animation-delay: -6s; }

@media (min-width: 992px) {
    .lp-hero { padding: 4.5rem 0 5.5rem; }
    .lp-hero__inner { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
    .lp-float--voice { left: -2.5rem; }
    .lp-float--migo { right: -2rem; }
}

/* ---- Sections ---- */
.lp-section { padding: 4rem 0; }
.lp-head { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; }
.lp-head--left { margin: 0; text-align: left; }
.lp-head h2 { margin: 0; font-size: clamp(1.75rem, 4.5vw, 2.5rem); font-weight: 700; line-height: 1.15; }
.lp-head p { margin: .9rem 0 0; color: var(--lp-muted); font-size: 1.08rem; }
.lp-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) {
    .lp-section { padding: 5.5rem 0; }
    .lp-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .lp-split--reverse > :first-child { order: 2; }
}
.lp-list { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.lp-list li { padding: .3rem 0; }

/* Budget kinds: like the Add Budget form's options */
.lp-sahod { background: var(--lp-wash); }
.lp-kinds { display: grid; gap: 1rem; }
@media (min-width: 768px) { .lp-kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-kind { padding: 1.5rem; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: var(--lp-surface); transition: transform .25s ease, box-shadow .25s ease; }
.lp-kind:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 36, 51, .08); }
.lp-kind--featured { border: 2px solid var(--lp-blue); box-shadow: 0 14px 30px rgba(52, 69, 229, .12); }
.lp-kind__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.lp-kind h3 { margin: 0; font-size: 1.3rem; font-weight: 700; }
.lp-kind p { margin: .4rem 0 1rem; color: var(--lp-muted); }
.lp-kind__dates { padding: .2rem .65rem; border-radius: 2rem; background: var(--lp-blue-wash); color: var(--lp-accent); font-size: .85rem; font-weight: 600; white-space: nowrap; }

/* Voice: the sentence, then the record it becomes */
.lp-voice__demo { padding: 1.5rem; border-radius: var(--lp-radius); background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: 0 18px 40px rgba(30, 36, 51, .08); }
.lp-voice__said { display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; border-radius: .85rem; background: var(--lp-wash); }
.lp-voice__mic { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--lp-blue); color: #fff; animation: lp-pulse 2.4s ease-out infinite; }
.lp-voice__mic i { color: inherit; }
.lp-voice__text { min-height: 1.6em; font-size: 1.08rem; font-weight: 500; }
.lp-voice__text.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.15em; background: var(--lp-blue); animation: lp-caret .8s steps(1) infinite; }
.lp-voice__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0 0; }
.lp-voice__fields div { padding: .7rem .85rem; border: 1px solid var(--lp-line); border-radius: .75rem; }
.lp-voice__fields div:last-child { grid-column: 1 / -1; }
.lp-voice__fields dt { color: var(--lp-muted); font-size: .8rem; font-weight: 500; }
.lp-voice__fields dd { margin: .15rem 0 0; font-weight: 600; }
.lp-tag { display: inline-block; padding: .05rem .55rem; border-radius: .4rem; font-size: .88rem; }
.lp-tag--out { background: var(--lp-red-wash); color: var(--lp-bad); }

/* Features */
.lp-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.lp-feature { padding: 1.5rem; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: var(--lp-surface); transition: border-color .25s ease, box-shadow .25s ease; }
.lp-feature:hover { border-color: var(--lp-blue-line); box-shadow: 0 14px 30px rgba(30, 36, 51, .07); }
.lp-feature__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: .85rem; background: var(--lp-blue-wash); color: var(--lp-accent); font-size: 1.2rem; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.lp-feature__icon i { color: inherit; }
.lp-feature:hover .lp-feature__icon { transform: rotate(-8deg) scale(1.08); }
.lp-feature h3 { margin: 1rem 0 .35rem; font-size: 1.15rem; font-weight: 600; }
.lp-feature p { margin: 0; color: var(--lp-muted); }

/* Migo: his video card, with the chat overlapping it (stacked on phones, side by side from 640px) */
.lp-migo { background: var(--lp-wash); }
.lp-migo__stage { position: relative; display: grid; justify-items: center; }
/* He stands on the section itself (his background is removed), in front of a soft glow in the app's blue */
.lp-migo__figure { position: relative; width: min(9.5rem, 45%); }
.lp-migo__figure::before {
    content: ""; position: absolute; left: 50%; top: 45%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%);
    border-radius: 50%; background: radial-gradient(circle, rgba(88, 104, 242, .22) 0%, rgba(88, 104, 242, .08) 45%, rgba(88, 104, 242, 0) 70%);
    pointer-events: none;
}
.lp-migo__figure img { position: relative; display: block; width: 100%; height: auto; }
.lp-migo__stage .lp-chat { position: relative; z-index: 1; width: 100%; margin-top: -1rem; }
@media (min-width: 640px) {
    .lp-migo__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; justify-items: stretch; }
    .lp-migo__figure { width: 100%; max-width: 11.5rem; justify-self: center; }
    .lp-migo__stage .lp-chat { margin: 2rem 0 0 -1.5rem; }
}

@media (min-width: 992px) { .lp-migo .lp-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; } }

/* Migo's chat */
.lp-chat { overflow: hidden; border-radius: 1.25rem; background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: 0 18px 40px rgba(30, 36, 51, .08); }
.lp-chat__head { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.25rem; color: #fff; background: var(--lp-gradient); }
.lp-chat__head strong { display: block; font-size: 1.05rem; }
.lp-chat__head span { font-size: .85rem; color: rgba(255, 255, 255, .8); }
.lp-chat__face { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: rgba(255, 255, 255, .18); object-fit: cover; animation: lp-breathe 4s ease-in-out infinite; }
.lp-chat__body { position: relative; display: flex; flex-direction: column; gap: .6rem; min-height: 20rem; padding: 1.25rem; }
.lp-bubble { align-self: flex-start; max-width: 85%; margin: 0; padding: .65rem .95rem; border-radius: 1rem 1rem 1rem .3rem; background: var(--lp-wash); overflow-wrap: anywhere; }
.lp-bubble--me { align-self: flex-end; border-radius: 1rem 1rem .3rem 1rem; background: var(--lp-blue); color: #fff; }
/* Out of the flow: it sits over the answer's reserved space (landing.js), so the chat never changes height */
.lp-chat__typing { position: absolute; left: 1.25rem; display: inline-flex; gap: .3rem; margin: 0; padding: .75rem .95rem; border-radius: 1rem; background: var(--lp-wash); }
.lp-chat__typing[hidden] { display: none; }
.lp-chat__typing span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--lp-faint); animation: lp-dot 1.2s ease-in-out infinite; }
.lp-chat__typing span:nth-child(2) { animation-delay: .15s; }
.lp-chat__typing span:nth-child(3) { animation-delay: .3s; }

/* ---- App tour (components/landing/tour.html): a mini sidebar of the app's screens beside a window showing one.
   Phones: the tabs are a 3 × 2 grid of chips above the window; tablets: one row of six; from 992px: the sidebar,
   with a card (the marker) that slides to the chosen tab (landing.js sets --y / --h). ---- */
.lp-tour__layout { display: grid; gap: 1rem; }
.lp-tour__tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.lp-tour__tab {
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; min-width: 0; min-height: 44px;
    padding: .7rem .35rem; overflow: hidden; border: 1px solid var(--lp-line); border-radius: .85rem; background: var(--lp-surface);
    color: var(--lp-muted); font: inherit; text-align: center; cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.lp-tour__tab:hover { color: var(--lp-ink); }
.lp-tour__tab[aria-selected="true"] { border-color: var(--lp-blue); background: var(--lp-blue-tint); color: var(--lp-accent); box-shadow: 0 8px 20px rgba(52, 69, 229, .12); }
.lp-tour__icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.3rem; height: 2.3rem; border-radius: .7rem; font-size: 1rem; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.lp-tour__icon i { color: inherit; }
.lp-tour__icon--dashboard { background: var(--lp-blue-wash); color: #3445E5; }
.lp-tour__icon--records { background: var(--lp-good-wash); color: #1E7F5C; }
.lp-tour__icon--budgets { background: var(--lp-amber-wash); color: #B26A00; }
.lp-tour__icon--bills { background: var(--lp-red-wash); color: #C4314B; }
.lp-tour__icon--tools { background: var(--lp-purple-wash); color: #7E3AF2; }
.lp-tour__icon--migo { background: var(--lp-sky-wash); color: #0277BD; }
.lp-tour__tab[aria-selected="true"] .lp-tour__icon { transform: scale(1.08) rotate(-6deg); }
.lp-tour__label { display: flex; flex-direction: column; min-width: 0; }
.lp-tour__label strong { font-size: .88rem; font-weight: 600; line-height: 1.25; }
.lp-tour__label small { display: none; }
.lp-tour__chevron { display: none; }
.lp-tour__marker { display: none; }
/* Autoplay: a line fills under the shown tab; when it's full, landing.js moves on. Hovering pauses it. */
.lp-tour__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--lp-blue); transform: scaleX(0); transform-origin: left; opacity: 0; }
.lp-tour__layout.is-playing .lp-tour__tab[aria-selected="true"] .lp-tour__progress { opacity: .85; animation: lp-tour-progress 6.5s linear forwards; }
.lp-tour__layout.is-playing:hover .lp-tour__tab[aria-selected="true"] .lp-tour__progress { animation-play-state: paused; }
@keyframes lp-tour-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 640px) { .lp-tour__tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 992px) {
    .lp-tour__layout { grid-template-columns: 16rem minmax(0, 1fr); gap: 2.5rem; align-items: center; }
    .lp-tour__tabs { grid-template-columns: 1fr; gap: .3rem; }
    .lp-tour__tab { flex-direction: row; gap: .9rem; padding: .8rem 1rem; border-color: transparent; background: transparent; text-align: left; }
    .lp-tour__tab[aria-selected="true"] { border-color: transparent; background: transparent; box-shadow: none; }
    .lp-tour__label { flex: 1 1 auto; }
    .lp-tour__label strong { font-size: 1rem; }
    .lp-tour__label small { display: block; margin-top: .1rem; color: var(--lp-muted); font-size: .8rem; }
    .lp-tour__chevron { display: inline; font-size: .75rem; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
    .lp-tour__tab[aria-selected="true"] .lp-tour__chevron { opacity: 1; transform: translateX(0); }
    .lp-tour__progress { left: 1rem; right: 1rem; bottom: .35rem; height: 2px; border-radius: 2px; }
    .lp-tour__marker {
        display: block; position: absolute; left: 0; right: 0; top: 0; height: var(--h, 0); transform: translateY(var(--y, 0));
        border: 1px solid var(--lp-blue-line); border-radius: .9rem; background: var(--lp-surface); box-shadow: 0 10px 26px rgba(52, 69, 229, .12);
        transition: transform .55s cubic-bezier(.16, 1, .3, 1), height .55s cubic-bezier(.16, 1, .3, 1);
    }
    .lp-tour__marker::before { content: ""; position: absolute; left: -1px; top: .7rem; bottom: .7rem; width: 3px; border-radius: 3px; background: var(--lp-blue); }
}

/* The app window: the app's dark header, the page title, then the screens stacked in one cell (the window is as
   tall as the tallest, so switching never makes the page jump) */
.lp-app { min-width: 0; overflow: hidden; border: 1px solid var(--lp-line); border-radius: 1.1rem; background: var(--lp-app-bg); box-shadow: 0 24px 60px rgba(30, 36, 51, .12); }
.lp-app__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; background: var(--lp-app-bar); color: #fff; }
.lp-app__brand { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; font-weight: 600; }
.lp-app__brand img { height: 22px; }
.lp-app__tools { display: inline-flex; align-items: center; gap: .75rem; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.lp-app__tools i { color: inherit; }
.lp-app__pro { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .6rem; border-radius: 2rem; background: var(--lp-blue); color: #fff; font-size: .72rem; font-weight: 600; }
.lp-app__me { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: .5rem; background: rgba(255, 255, 255, .15); color: #fff; font-size: .8rem; font-weight: 600; }
.lp-app__title { margin: 0; padding: .9rem 1rem .2rem; color: var(--lp-ink); font-size: 1.02rem; font-weight: 600; }
.lp-app__screens { display: grid; padding: .5rem 1rem 1rem; }
.lp-tour__panel { grid-area: 1 / 1; display: flex; flex-direction: column; gap: .75rem; min-width: 0; visibility: hidden; }
.lp-tour__panel.is-active, .lp-tour__panel.is-leaving { visibility: visible; }
.lp-tour__panel.is-leaving { opacity: 0; pointer-events: none; transition: opacity .2s ease-out; }
.lp-app__card { min-width: 0; padding: .9rem 1rem; border-radius: .85rem; background: var(--lp-surface); box-shadow: 0 1px 2px rgba(30, 36, 51, .05); }
.lp-app__card-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .75rem; margin: 0 0 .5rem; font-size: .95rem; font-weight: 600; }
.lp-app__card-title small { color: var(--lp-muted); font-size: .78rem; font-weight: 500; }
.lp-app .is-good { color: var(--lp-good); }
.lp-app .is-bad { color: var(--lp-bad); }

/* Dashboard */
.lp-app__banner { position: relative; overflow: hidden; padding: 1rem 1.1rem; border-radius: .85rem; background: var(--lp-gradient); color: #fff; }
.lp-app__banner img { position: absolute; right: .5rem; bottom: .2rem; width: 5.25rem; opacity: .95; }
.lp-app__hello { margin: 0; color: rgba(255, 255, 255, .8); font-size: .82rem; }
.lp-app__headline { max-width: 14rem; margin: .2rem 0 0; color: #fff; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.lp-app__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.25rem, 1fr)); gap: .6rem; }
.lp-app__stat { display: flex; flex-direction: column; min-width: 0; padding: .7rem .85rem; border-radius: .8rem; background: var(--lp-surface); box-shadow: 0 1px 2px rgba(30, 36, 51, .05); }
.lp-app__stat span { color: var(--lp-muted); font-size: .76rem; }
.lp-app__stat strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.lp-app__stat small { color: var(--lp-muted); font-size: .72rem; line-height: 1.35; }
.lp-app__chart { display: flex; align-items: flex-end; gap: .55rem; height: 6.5rem; padding-top: .25rem; }
.lp-app__chart--weeks { height: 4.25rem; }
.lp-app__month { display: flex; flex: 1 1 0; align-items: flex-end; justify-content: center; gap: .2rem; height: 100%; }
.lp-app__bar-in, .lp-app__bar-out { flex: 1 1 0; max-width: 1.4rem; height: calc(var(--h) * 100%); border-radius: .3rem .3rem .1rem .1rem; transform-origin: bottom; }
.lp-app__bar-in { background: var(--lp-blue); }
.lp-app__bar-out { background: #F27D8C; }
.lp-app__legend { display: flex; gap: 1rem; margin: .5rem 0 0; color: var(--lp-muted); font-size: .78rem; }
.lp-app__legend span::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .35rem; border-radius: 50%; background: var(--lp-blue); }
.lp-app__legend .is-out::before { background: #F27D8C; }

/* Records */
.lp-app__toolbar { display: flex; flex-wrap: wrap; gap: .5rem; }
.lp-app__search { display: inline-flex; flex: 1 1 9rem; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: .65rem; background: var(--lp-surface); color: var(--lp-faint); font-size: .85rem; }
.lp-app__search i { color: inherit; }
.lp-app__btn { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border-radius: .65rem; background: var(--lp-blue-wash); color: var(--lp-accent); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.lp-app__btn i { color: inherit; font-size: .8rem; }
.lp-app__btn--voice { background: var(--lp-blue); color: #fff; }
.lp-app__voice { margin: 0; padding: .6rem .85rem; border: 1px dashed var(--lp-blue-line); border-radius: .75rem; background: var(--lp-surface); font-size: .88rem; font-weight: 500; }
.lp-app__voice i { margin-right: .35rem; color: var(--lp-accent); }
.lp-app__voice span { display: block; margin-top: .1rem; color: var(--lp-good); font-size: .78rem; font-weight: 600; }
.lp-app__rows { margin: 0; padding: 0; list-style: none; border-radius: .85rem; background: var(--lp-surface); box-shadow: 0 1px 2px rgba(30, 36, 51, .05); }
.lp-app__rows li { display: flex; align-items: center; gap: .75rem; padding: .62rem .9rem; }
.lp-app__rows li + li { border-top: 1px solid var(--lp-line-soft); }
.lp-app__rows--plain { border-radius: 0; background: none; box-shadow: none; }
.lp-app__rows--plain li { padding: .55rem 0; }
.lp-app__cat { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.15rem; height: 2.15rem; border-radius: .6rem; font-size: .85rem; }
.lp-app__cat i { color: inherit; }
.lp-app__cat--fare, .lp-app__cat--move { background: var(--lp-blue-wash); color: #3445E5; }
.lp-app__cat--food { background: var(--lp-amber-wash); color: #B26A00; }
.lp-app__cat--pay { background: var(--lp-good-wash); color: #1E7F5C; }
.lp-app__cat--load, .lp-app__cat--wifi { background: var(--lp-sky-wash); color: #0277BD; }
.lp-app__cat--bolt { background: var(--lp-yellow-wash); color: #A07C00; }
.lp-app__cat--water { background: var(--lp-teal-wash); color: #00838F; }
.lp-app__what { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.lp-app__what strong, .lp-app__what small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-app__what strong { font-size: .9rem; font-weight: 600; }
.lp-app__what small { color: var(--lp-muted); font-size: .75rem; }
.lp-app__amount { flex: 0 0 auto; font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-app__amount.is-out { color: var(--lp-bad); }
.lp-app__amount.is-in { color: var(--lp-good); }

/* Budgets and bills */
.lp-app__note { margin: 0; padding: .65rem .85rem; border-radius: .75rem; background: var(--lp-amber-wash); color: var(--lp-amber-ink); font-size: .85rem; }
.lp-app__note i { margin-right: .35rem; color: inherit; }
.lp-app__due { flex: 0 0 auto; padding: .15rem .55rem; border-radius: 2rem; background: var(--lp-wash); color: var(--lp-muted); font-size: .72rem; font-weight: 600; white-space: nowrap; }
.lp-app__due.is-soon { background: var(--lp-amber-wash); color: var(--lp-warn); }
.lp-app__due.is-paid { background: var(--lp-good-wash); color: var(--lp-good); }
.lp-app__due i { color: inherit; font-size: .65rem; }
.lp-app__loan .lp-meter__bar { margin-top: 0; }
.lp-app__loan-left { margin: .5rem 0 0; color: var(--lp-muted); font-size: .8rem; }

/* Money tools */
.lp-app__tools-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) {
    .lp-app__tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-app__paluwagan { grid-column: 1 / -1; }
}
.lp-app__debt { display: flex; align-items: center; gap: .65rem; margin: .5rem 0 0; }
.lp-app__debt span:not(.lp-app__who) { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.lp-app__debt strong { font-size: .88rem; font-weight: 600; }
.lp-app__debt small { color: var(--lp-muted); font-size: .75rem; }
.lp-app__debt b { font-size: .95rem; font-variant-numeric: tabular-nums; }
.lp-app__who { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; background: var(--lp-blue-wash); color: var(--lp-accent); font-size: .8rem; font-weight: 700; }
.lp-app__who--alt { background: var(--lp-red-wash); color: var(--lp-bad); }
.lp-app__goal { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-app__goal .lp-app__card-title { align-self: stretch; }
.lp-app__goal small, .lp-app__paluwagan > small { color: var(--lp-muted); font-size: .78rem; }
.lp-app__ring {
    display: grid; place-items: center; width: 6rem; aspect-ratio: 1; margin: 0 0 .5rem; border-radius: 50%;
    background: radial-gradient(closest-side, var(--lp-surface) 74%, transparent 75% 100%), conic-gradient(var(--lp-blue) calc(var(--pct) * 1%), var(--lp-track) 0);
}
.lp-app__ring b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.lp-app__rounds { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .3rem; margin: .25rem 0 .5rem; padding: 0; list-style: none; }
.lp-app__rounds li { height: .55rem; border-radius: 1rem; background: var(--lp-track); }
.lp-app__rounds .is-done { background: var(--lp-blue); }
.lp-app__rounds .is-now { background: var(--lp-blue-light); animation: lp-breathe 2s ease-in-out infinite; }
.lp-app__rounds .is-mine { background: #F5B43C; }

/* Migo */
.lp-app__chat { display: flex; flex-direction: column; gap: .65rem; }
.lp-app .lp-bubble { background: var(--lp-surface); font-size: .92rem; }
.lp-app .lp-bubble--me { background: var(--lp-blue); }
.lp-app__answer { display: flex; align-items: flex-start; gap: .6rem; }
.lp-app__answer img { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--lp-blue-wash); object-fit: cover; }
.lp-app__answer > div { display: flex; flex-direction: column; gap: .5rem; min-width: 0; max-width: 92%; }
.lp-app__answer .lp-bubble { max-width: none; }
.lp-app__mini { padding: .75rem .9rem; }
.lp-app__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.lp-app__chips span { padding: .3rem .75rem; border: 1px solid var(--lp-blue-line); border-radius: 2rem; background: var(--lp-surface); color: var(--lp-accent); font-size: .78rem; font-weight: 500; }

/* ---- Reviews (components/landing/reviews.html) ---- */
.lp-head .lp-reviews__sample { display: inline-block; margin: 0 0 .9rem; padding: .25rem .8rem; border-radius: 2rem; background: var(--lp-amber-wash); color: var(--lp-amber-ink); font-size: .85rem; font-weight: 600; }
.lp-reviews__grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .lp-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .lp-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.lp-review {
    display: flex; flex-direction: column; gap: .9rem; margin: 0; padding: 1.5rem; border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius); background: var(--lp-surface); transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, border-color .25s ease;
}
.lp-review:hover { transform: translateY(-4px); border-color: var(--lp-blue-line); box-shadow: 0 16px 34px rgba(30, 36, 51, .08); }
.lp-review__stars { display: inline-flex; gap: .15rem; color: #F5A623; font-size: .9rem; }
.lp-review__stars i { color: inherit; }
.lp-review__stars .is-off { color: var(--lp-star-off); }
.lp-review__quote { flex: 1 1 auto; margin: 0; }
.lp-review__quote p { margin: 0; font-size: 1rem; line-height: 1.6; }
.lp-review__quote p::before { content: "\201C"; }
.lp-review__quote p::after { content: "\201D"; }
.lp-review__who { display: flex; align-items: center; gap: .75rem; }
.lp-review__who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.lp-review__who strong { font-size: .95rem; }
.lp-review__who small { color: var(--lp-muted); font-size: .82rem; }
.lp-review__initials { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border-radius: 50%; font-weight: 700; }
.lp-review__initials--a { background: var(--lp-blue-wash); color: var(--lp-accent); }
.lp-review__initials--b { background: var(--lp-good-wash); color: var(--lp-good); }
.lp-review__initials--c { background: var(--lp-amber-wash); color: var(--lp-warn); }

/* Pricing: the shared plan cards (billing.css), centred switch */
.lp-pricing .plans__bar { justify-content: center; }

/* Privacy */
.lp-trust { padding-top: 0; }
.lp-trust__inner { display: flex; flex-direction: column; gap: 1.25rem; padding: 2rem 1.5rem; border-radius: var(--lp-radius); background: var(--lp-good-wash); }
.lp-trust__icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: var(--lp-surface); color: var(--lp-good); font-size: 1.4rem; }
.lp-trust__icon i { color: inherit; }
.lp-trust h2 { margin: 0; font-size: 1.5rem; font-weight: 700; }
.lp-trust p { margin: .4rem 0 0; color: var(--lp-trust-ink); }
.lp-trust__links { display: flex; gap: 1.25rem; }
.lp-trust__links a { color: var(--lp-good); font-weight: 600; }
@media (min-width: 768px) { .lp-trust__inner { flex-direction: row; align-items: center; padding: 2rem 2.5rem; } }

/* Closing call */
.lp-cta { padding: 0 0 4rem; }
.lp-cta__inner { position: relative; overflow: hidden; padding: 3rem 1.5rem; border-radius: 1.5rem; text-align: center; color: #fff; background: var(--lp-gradient); }
.lp-cta__face { width: 5.5rem; height: 5.5rem; border-radius: 50%; background: rgba(255, 255, 255, .18); animation: lp-float 6s ease-in-out infinite; }
.lp-cta h2 { margin: 1rem 0 0; color: #fff; font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 700; }
.lp-cta p { margin: .5rem 0 1.5rem; color: rgba(255, 255, 255, .85); font-size: 1.08rem; }

/* Footer */
.lp-foot { padding: 1.5rem 0 2rem; border-top: 1px solid var(--lp-line); color: var(--lp-muted); font-size: .95rem; }
.lp-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.lp-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lp-muted); }
.lp-foot a:hover { color: var(--lp-ink); }

/* ---- Motion: what landing.js brings in starts hidden, only when it will run. Its fade is this transition (adding
   `lp-in`, with the timing landing.js sets); Motion moves it. ---- */
.lp-motion [data-reveal], .lp-motion [data-hero], .lp-motion [data-stage], .lp-motion [data-voice-field], .lp-motion [data-chat-line] {
    opacity: 0; transition: opacity var(--lp-fade, .3s) ease-out var(--lp-delay, 0s), box-shadow .25s ease, border-color .25s ease;
}
.lp-motion .lp-in { opacity: 1; }

@keyframes lp-float { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-7px) rotate(-1.2deg); } 60% { transform: translateY(-3px) rotate(.8deg); } }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lp-drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-10px, 8px) rotate(6deg); } }
@keyframes lp-coin { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(18deg); } }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 69, 229, .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(52, 69, 229, 0); } }
@keyframes lp-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes lp-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes lp-caret { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
}
