/* ==========================================================
   Landing page ("/", resources/views/welcome.blade.php)
   Loaded only on that page. Every class starts with "lp-".
   Uses the colour variables from public/css/app/01-base.css (--blue, --green …).
   ========================================================== */

body.lp { background: #fff; }
body.lp::before, body.lp::after { display: none; }          /* no app background mesh here */
.lp { --ink: #0b1b33; --ink-2: #44546a; --line: #e6ebf2; --lp-grad: linear-gradient(120deg, #0866ff 0%, #1877f2 40%, #00a3ff 100%); color: var(--ink); }
.lp .mono { font-family: var(--mono); }
.lp-grad { background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s; white-space: nowrap; }
.lp-btn-sm { height: 38px; padding: 0 1rem; font-size: .9rem; border-radius: 10px; }
.lp-btn-lg { height: 52px; padding: 0 1.5rem; font-size: 1rem; }
.lp-btn-primary { background: var(--lp-grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(24, 119, 242, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lp-btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(24, 119, 242, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lp-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(11, 27, 51, .05); }
.lp-btn-ghost:hover { color: var(--blue); border-color: #bcd6fb; background: #f7fbff; }
.lp-btn-white { background: #fff; color: var(--blue); }
.lp-btn-white:hover { color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); }
.lp-btn-outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.lp-btn-outline:hover { color: #fff; background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- nav ---------- */
.lp-nav { position: sticky; top: 0; z-index: 50; padding: .8rem 0; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); border-bottom: 1px solid rgba(230, 235, 242, .8); }
.lp-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.lp-brand:hover { color: var(--ink); }
.lp-brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--lp-grad); color: #fff; font-size: 1rem; box-shadow: 0 6px 14px -6px rgba(24, 119, 242, .8); }
.lp-brand-mark.sm { width: 26px; height: 26px; border-radius: 8px; font-size: .8rem; }
.lp-links { display: flex; gap: .25rem; margin-left: 1.5rem; }
@media (max-width: 1399.98px) { .lp-links { margin-left: .5rem; } .lp-links .lp-xl { display: none; } }   /* laptops: two links fewer so the bar fits */
.lp-links a { padding: .4rem .7rem; white-space: nowrap; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; }
.lp-links a:hover { color: var(--ink); background: #f2f5f9; }

/* ---------- hero ---------- */
.lp-hero { position: relative; overflow: hidden; padding: 5.5rem 0 6rem; background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%); }
.lp-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(24, 119, 242, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 119, 242, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); }
.lp-hero-bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.lp-hero-bg .b1 { width: 460px; height: 460px; right: -80px; top: -120px; background: #9cc8ff; }
.lp-hero-bg .b2 { width: 380px; height: 380px; right: 28%; bottom: -160px; background: #b9e6ff; }
.lp-hero-bg .b3 { width: 300px; height: 300px; left: -120px; top: 20%; background: #dcd0ff; opacity: .4; }

.lp-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem .35rem .6rem; border-radius: 99px; background: #fff; border: 1px solid #d5e5fb; color: var(--blue); font-weight: 600; font-size: .85rem; box-shadow: 0 4px 14px -8px rgba(24, 119, 242, .5); }
.lp-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(66, 183, 42, .18); }
.lp-title { margin: 1.4rem 0 0; font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; color: var(--ink); }
.lp-lead { margin: 1.4rem 0 0; font-size: 1.12rem; line-height: 1.65; color: var(--ink-2); max-width: 540px; }
.lp-checks { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 0; margin: 1.8rem 0 0; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.lp-checks i { color: var(--green); margin-right: .3rem; }

/* product preview */
.lp-stage { position: relative; padding: 1.5rem 0 2rem; }
.lp-window { position: relative; border-radius: 18px; background: #fff; border: 1px solid #dfe7f2; box-shadow: 0 50px 90px -40px rgba(16, 60, 140, .45), 0 18px 36px -24px rgba(16, 60, 140, .3); overflow: hidden; transform: perspective(1800px) rotateY(-7deg) rotateX(3deg); transform-origin: left center; animation: lpRise .9s cubic-bezier(.2, .8, .2, 1) both; }
.lp-window-bar { display: flex; align-items: center; gap: 6px; padding: .65rem .9rem; background: #f6f8fb; border-bottom: 1px solid var(--line); }
.lp-window-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #e1e5ec; }
.lp-window-bar > span:nth-child(1) { background: #ff6159; } .lp-window-bar > span:nth-child(2) { background: #ffbd2e; } .lp-window-bar > span:nth-child(3) { background: #28c941; }
.lp-url { margin: 0 auto; padding: .2rem .9rem; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: .72rem; color: var(--subtle); }
.lp-url i { color: var(--green); margin-right: .2rem; }
.lp-app { display: flex; min-height: 330px; }
.lp-app-rail { width: 52px; flex: none; display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: .9rem 0; border-right: 1px solid var(--line); background: #fbfcfe; }
.lp-app-rail i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #f0f3f7; color: var(--subtle); font-size: .9rem; }
.lp-app-rail i.on { background: var(--blue); color: #fff; box-shadow: 0 6px 12px -6px var(--blue); }
.lp-app-main { flex: 1; min-width: 0; padding: 1rem 1.1rem 1.1rem; background: #f7f9fc; }
.lp-app-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .85rem; }
.lp-app-head small { display: block; font-size: .68rem; color: var(--subtle); font-weight: 600; }
.lp-app-head b { font-size: .98rem; letter-spacing: -.01em; }
.lp-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 99px; font-size: .7rem; font-weight: 700; }
.lp-tag.ok { background: var(--green-soft); color: #2e8b1e; }
.lp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.lp-kpi { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: .6rem .65rem; min-width: 0; }
.lp-kpi small { display: block; font-size: .64rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-kpi b { display: block; margin-top: .25rem; font-family: var(--mono); font-size: .8rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-kpi span { display: inline-block; margin-top: .25rem; font-size: .6rem; font-weight: 700; }
.lp-kpi .up { color: #2e8b1e; } .lp-kpi .down { color: #c27c00; }
.c-blue { color: var(--blue); } .c-green { color: var(--green); } .c-amber { color: #d99a00; } .c-violet { color: var(--violet); }
.lp-chart { margin-top: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: .7rem .8rem .5rem; }
.lp-chart-h { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .72rem; }
.lp-chart-h span { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink-2); font-size: .64rem; }
.lp-chart-h .dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.lp-chart-h .dot.in, .lp-bar-pair .in { background: var(--blue); }
.lp-chart-h .dot.ex, .lp-bar-pair .ex { background: #ffb547; }
.lp-chart-h .dot.ex { margin-left: .4rem; }
.lp-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; height: 130px; margin-top: .55rem; background: repeating-linear-gradient(0deg, transparent 0 31px, #eef1f5 31px 32px); }
.lp-bar-col { display: flex; flex-direction: column; align-items: center; gap: .25rem; min-width: 0; }
.lp-bar-pair { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.lp-bar-pair span { width: 34%; max-width: 14px; border-radius: 4px 4px 0 0; transform-origin: bottom; animation: lpGrow .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.35s + var(--d)); }
.lp-bar-col small { font-size: .6rem; color: var(--subtle); }

.lp-float { position: absolute; display: flex; align-items: center; gap: .65rem; padding: .7rem .95rem .7rem .7rem; border-radius: 14px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #e4ebf5; box-shadow: 0 20px 40px -18px rgba(16, 60, 140, .45); font-size: .8rem; white-space: nowrap; animation: lpFloat 6s ease-in-out infinite; z-index: 2; }
.lp-float b { display: block; font-size: .82rem; }
.lp-float small { color: var(--ink-2); font-size: .72rem; }
.lp-float .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; }
.lp-float .ic.g { background: var(--green-soft); color: var(--green); }
.lp-float .ic.b { background: var(--blue-soft); color: var(--blue); }
.lp-float .ic.v { background: var(--violet-soft); color: var(--violet); }
.lp-float.f1 { left: -40px; bottom: 96px; }
.lp-float.f2 { right: -14px; top: -6px; animation-delay: -2s; }
.lp-float.f3 { right: 28px; bottom: -22px; animation-delay: -4s; }

@keyframes lpRise { from { opacity: 0; transform: perspective(1800px) rotateY(-7deg) rotateX(3deg) translateY(30px); } }
@keyframes lpGrow { from { transform: scaleY(0); } }
@keyframes lpFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- strip of numbers ---------- */
.lp-strip { padding: 0 0 1rem; margin-top: -2.5rem; position: relative; z-index: 3; }
.lp-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 50px -32px rgba(16, 60, 140, .35); }
.lp-strip-grid > div { padding: 1.5rem 1.6rem; border-left: 1px solid var(--line); }
.lp-strip-grid > div:first-child { border-left: 0; }
.lp-strip-grid b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-strip-grid span { color: var(--ink-2); font-size: .88rem; }

/* ---------- sections ---------- */
.lp-section { padding: 6rem 0; }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.lp-head h2, .lp-reports h2, .lp-cta h2 { font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.lp-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: .9rem 0 0; }
.lp-head p { margin: 1rem 0 0; color: var(--ink-2); font-size: 1.05rem; }
.lp-kicker { display: inline-block; padding: .3rem .8rem; border-radius: 99px; background: var(--blue-soft); color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lp-kicker.light { background: rgba(255, 255, 255, .14); color: #fff; }


/* reports band */
.lp-reports { position: relative; overflow: hidden; padding: 3.5rem; border-radius: 28px; background: radial-gradient(circle at 85% 0%, #2f8cff 0%, transparent 45%), linear-gradient(135deg, #0a2a66 0%, #0f4fc4 60%, #1877f2 100%); color: #fff; }
.lp-reports::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.lp-reports h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: .9rem 0 0; }
.lp-reports p { margin: 1rem 0 0; color: rgba(255, 255, 255, .8); font-size: 1.02rem; }
.lp-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.lp-chips span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .82rem; font-weight: 600; }
.lp-sheet { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: 18px; padding: 1.3rem 1.4rem; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); }
.lp-sheet-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.lp-sheet-h b { display: block; font-size: 1.02rem; }
.lp-sheet-h small { color: var(--subtle); font-size: .76rem; }
.lp-mini { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #f2f5f9; color: var(--ink-2); font-size: .85rem; }
.lp-sheet table { width: 100%; margin-top: .4rem; font-size: .86rem; }
.lp-sheet td { padding: .42rem 0; }
.lp-sheet td:last-child { text-align: right; font-family: var(--mono); font-size: .82rem; }
.lp-sheet tr:not(.grp):not(.sub):not(.net) td:first-child { padding-left: 1rem; color: var(--ink-2); }
.lp-sheet .grp td { padding-top: .8rem; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--subtle); }
.lp-sheet .sub td { font-weight: 700; border-top: 1px solid var(--line); }
.lp-sheet .net td { font-weight: 800; padding: .7rem .8rem; background: var(--green-soft); color: #2e7d1b; }
.lp-sheet .net td:first-child { border-radius: 10px 0 0 10px; }
.lp-sheet .net td:last-child { border-radius: 0 10px 10px 0; font-size: .92rem; }


/* call to action: chalk ticks, a hand-drawn ring round the button, a paper plane on a dashed trail */
.lp-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.2rem 3.5rem; border-radius: 28px; color: #fff;
    background: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 30px 30px, linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 30px 30px, var(--lp-grad); }
.lp-cta::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.lp-cta > * { position: relative; z-index: 1; }
.lp-cta h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lp-cta p { margin: .5rem 0 0; color: rgba(255, 255, 255, .85); }
.lp-cta-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin: 1rem 0 0; padding: 0; font-size: .9rem; font-weight: 600; }
.lp-cta-ticks li { display: inline-flex; align-items: center; gap: .3rem; }
.lp-cta-ticks .check { position: static; width: 20px; height: 20px; color: #c7f9d4; }
.lp-cta-act { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.lp-cta-ring { position: relative; display: inline-block; }
.lp-cta-ring .circle { position: absolute; left: -16px; top: -14px; width: calc(100% + 32px); height: calc(100% + 28px); color: rgba(255, 255, 255, .85); }
.lp-cta-ring .circle path { stroke-width: 2.4; }
.lp-note.cta-note { left: -10.5rem; top: -3.6rem; color: #fff6c9; font-size: 1.2rem; align-items: flex-start; transform: rotate(-6deg); }
.lp-note.cta-note .arrow { width: 50px; height: 40px; color: #fff6c9; transform: scaleX(-1) rotate(-60deg); margin-top: .6rem; }
.lp-cta-plane { position: absolute !important; z-index: 0 !important; left: 38%; top: 8px; width: 46%; height: 120px; pointer-events: none; }
.lp-cta-plane .trail { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 2; stroke-dasharray: 6 8; stroke-linecap: round; }
.lp-cta-plane .plane path { fill: rgba(255, 255, 255, .9); stroke: rgba(255, 255, 255, .9); stroke-width: 1.5; stroke-linejoin: round; }
.lp-reveal.in .lp-cta-plane .trail { animation: lpTrail 1.6s ease-out both; }
.lp-reveal.in .lp-cta-plane .plane { animation: lpFade .4s ease 1.3s both; }
@keyframes lpTrail { from { stroke-dashoffset: 400; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@media (max-width: 1199.98px) { .lp-note.cta-note, .lp-cta-plane { display: none; } }

/* ---------- announcement bar ---------- */
.lp-announce { position: relative; padding: .5rem 0; background: linear-gradient(90deg, #0a2a66, #1877f2); color: #fff; font-size: .84rem; }
.lp-announce .container { position: relative; padding-right: 2.5rem; flex-wrap: wrap; text-align: center; }
.lp-announce-tag { padding: .1rem .5rem; border-radius: 99px; background: rgba(255, 255, 255, .18); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lp-announce-link { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lp-announce-link:hover { color: #fff; text-decoration: underline; }
.lp-announce-x { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .8); }
.lp-announce-x:hover { background: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- nav, refreshed: shrinks with a shadow on scroll, a Product mega-menu, the section on screen highlighted ---------- */
.lp-nav { transition: padding .2s, box-shadow .2s, background .2s; }
.lp-nav.scrolled { padding: .5rem 0; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px -18px rgba(16, 40, 90, .35); }
.lp-links { align-items: center; }
.lp-links a.on { color: var(--blue); background: var(--blue-soft); }
.lp-link-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .8rem; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.lp-link-btn .bi { font-size: .7rem; transition: transform .2s; }
.lp-mega-wrap { position: relative; }
.lp-mega-wrap:hover .lp-link-btn, .lp-mega-wrap:focus-within .lp-link-btn { color: var(--ink); background: #f2f5f9; }
.lp-mega-wrap:hover .lp-link-btn .bi, .lp-mega-wrap:focus-within .lp-link-btn .bi { transform: rotate(180deg); }
.lp-mega { position: absolute; left: -1rem; top: calc(100% + .6rem); width: 560px; padding: .7rem; border-radius: 18px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 30px 60px -25px rgba(16, 40, 90, .4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.lp-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem; }   /* keeps the hover while moving down */
.lp-mega-wrap:hover .lp-mega, .lp-mega-wrap:focus-within .lp-mega { opacity: 1; visibility: visible; transform: none; }
.lp-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.lp-links .lp-mega-item { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem; border-radius: 12px; background: none; }
.lp-links .lp-mega-item:hover { background: #f5f8fc; }
.lp-mega-item .ic, .lp-mobile-item .ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--s); color: var(--c); font-size: 1rem; }
.lp-mega-item b { display: block; color: var(--ink); font-size: .9rem; }
.lp-mega-item small { display: block; color: var(--ink-2); font-size: .78rem; font-weight: 500; }
.lp-mega-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .4rem; padding: .7rem .8rem .3rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
.lp-mega-foot .bi-stars { color: var(--violet); }
.lp-links .lp-mega-foot a { padding: 0; color: var(--blue); font-weight: 700; background: none; }
.lp-burger { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.3rem; display: grid; place-items: center; }
.lp-mobile { border-top: 1px solid var(--line); background: #fff; padding: .8rem 0 1.2rem; max-height: calc(100vh - 70px); overflow-y: auto; }
.lp-mobile-item { display: flex; align-items: center; gap: .75rem; padding: .55rem .4rem; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.lp-mobile-item:hover { background: #f5f8fc; color: var(--ink); }
.lp-mobile-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.lp-mobile-links a { padding: .4rem .8rem; border-radius: 99px; background: #f2f5f9; color: var(--ink-2); font-weight: 600; font-size: .86rem; text-decoration: none; }

/* ---------- reveal on scroll ---------- */
.lp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.lp-reveal.in { opacity: 1; transform: none; }

/* ---------- workflow: tabs + a voucher with its entry ---------- */
.lp-flow { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.lp-tabs { display: grid; gap: .6rem; }
.lp-tab { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: #fff; text-align: left; transition: border-color .2s, box-shadow .2s, transform .2s; }
.lp-tab .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--s); color: var(--c); font-size: 1.15rem; }
.lp-tab b { display: block; color: var(--ink); font-size: .98rem; }
.lp-tab small { display: block; color: var(--ink-2); font-size: .8rem; }
.lp-tab:hover { border-color: #cfe0f7; transform: translateX(3px); }
.lp-tab.on { border-color: var(--c); box-shadow: 0 0 0 3px var(--s), 0 18px 34px -24px rgba(16, 40, 90, .45); }
.lp-panel[hidden], .lp-mobile[hidden], .lp-announce[hidden] { display: none !important; }
.lp-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.6rem; border-radius: 22px;
    background: linear-gradient(140deg, var(--s), #fff 60%); border: 1px solid var(--line); animation: lpFade .45s ease both; }
.lp-voucher { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 1.2rem; box-shadow: 0 26px 50px -32px rgba(16, 40, 90, .45); }
.lp-voucher-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
.lp-voucher-h small { display: block; color: var(--ink-2); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.lp-voucher-h b { font-family: var(--mono); font-size: .95rem; color: var(--c); }
.lp-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 99px; background: var(--green-soft); color: #2e7d1b; font-size: .72rem; font-weight: 700; }
.lp-voucher-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: .9rem 0; }
.lp-voucher-meta small { display: block; color: var(--subtle); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lp-voucher-meta span { font-size: .84rem; font-weight: 600; }
.lp-entry { width: 100%; font-size: .82rem; border-collapse: collapse; }
.lp-entry th { padding: .45rem .6rem; background: #f5f7fa; color: var(--ink-2); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; text-align: right; }
.lp-entry th:first-child, .lp-entry td:first-child { text-align: left; }
.lp-entry td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); text-align: right; font-family: var(--mono); font-size: .78rem; }
.lp-entry td:first-child { font-family: var(--font); font-size: .82rem; }
.lp-panel-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.lp-panel-points li { display: flex; gap: .55rem; align-items: flex-start; color: var(--ink-2); font-size: .94rem; }
.lp-panel-points .bi { color: var(--green); margin-top: .15rem; }

/* ---------- import & export: in → every row checked → out ---------- */
.lp-io2 { padding: 2.6rem; border-radius: 28px; background: radial-gradient(circle at 100% 0%, rgba(24, 119, 242, .07), transparent 45%), #f6f9fe; border: 1px solid var(--line); }
.lp-io2-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: end; margin-bottom: 2.2rem; }
.lp-io2 h2 { margin: .9rem 0 0; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.lp-pipe { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1.25fr) 54px minmax(0, 1fr); align-items: center; }
.lp-pipe-col { position: relative; display: grid; gap: .6rem; }
.lp-pipe-h { display: flex; align-items: center; gap: .5rem; margin-bottom: .2rem; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.lp-pipe-h .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .72rem; letter-spacing: 0; }
.lp-pipe-arrow { display: grid; place-items: center; color: var(--blue); padding-top: 1.6rem; }
.lp-pipe-arrow .lp-scribble { position: static; width: 46px; height: 22px; }
.lp-pipe-arrow .lp-scribble path { stroke-width: 2.4; }
.lp-file2 { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 28px -24px rgba(16, 40, 90, .5); transition: transform .2s, border-color .2s; }
.lp-file2:hover { transform: translateX(3px); border-color: #cfe0f7; }
.lp-file2 > .bi:first-child { font-size: 1.45rem; flex: none; }
.lp-file2.x > .bi:first-child { color: #1f9d55; }
.lp-file2.c > .bi:first-child { color: var(--blue); }
.lp-file2.p > .bi:first-child { color: var(--red); }
.lp-file2 b { display: block; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-file2 small { display: block; color: var(--ink-2); font-size: .72rem; }
.lp-file2 > span { min-width: 0; }
.lp-file2 .dl { margin-left: auto; color: var(--subtle); font-size: .9rem; }
.lp-note.pipe-note { left: 1.4rem; bottom: -1.9rem; transform: rotate(-3deg); font-size: 1rem; }

/* the check: a mini import preview */
.lp-check { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 26px 50px -34px rgba(16, 40, 90, .5); overflow: hidden; }
.lp-check-h { display: flex; justify-content: space-between; align-items: center; padding: .75rem .9rem; font-size: .82rem; font-weight: 700; }
.lp-check-h .bi { color: #1f9d55; margin-right: .3rem; }
.lp-check-h .mono { color: var(--ink-2); font-size: .74rem; }
.lp-check-bar { height: 3px; background: #eef2f7; }
.lp-check-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); transform-origin: left; }
.lp-reveal.in .lp-check-bar i { animation: lpGrowX 1.4s cubic-bezier(.4, 0, .2, 1) .3s both; }
@keyframes lpGrowX { from { transform: scaleX(0); } }
.lp-check ul { list-style: none; margin: 0; padding: .4rem; display: grid; gap: .2rem; }
.lp-check li { display: flex; align-items: center; gap: .55rem; padding: .45rem .55rem; border-radius: 9px; font-size: .78rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.lp-check li .rn { flex: none; padding: .05rem .4rem; border-radius: 6px; background: #f2f5f9; font: 700 .68rem var(--mono); color: var(--ink-2); }
.lp-check li > .bi { margin-left: auto; flex: none; }
.lp-check li.ok > .bi { color: var(--green); }
.lp-check li.bad { background: var(--red-soft); color: #a3122b; font-weight: 600; }
.lp-check li.bad .rn { background: #fff; color: #a3122b; }
.lp-check li.bad > .bi { color: var(--red); }
.lp-reveal.in .lp-check li { animation: lpFade .4s ease both; }
.lp-reveal.in .lp-check li:nth-child(2) { animation-delay: .5s; } .lp-reveal.in .lp-check li:nth-child(3) { animation-delay: .8s; } .lp-reveal.in .lp-check li:nth-child(4) { animation-delay: 1.1s; }
.lp-reveal.in .lp-check li:nth-child(1) { animation-delay: .3s; }
.lp-check-foot { display: flex; align-items: center; gap: .45rem; padding: .65rem .9rem; border-top: 1px solid var(--line); background: #fafcff; color: var(--ink-2); font-size: .76rem; }
.lp-check-foot .bi { color: var(--blue); }

@media (max-width: 1199.98px) { .lp-note.pipe-note { display: none; } }
@media (max-width: 991.98px) {
    .lp-io2 { padding: 2rem 1.4rem; }
    .lp-io2-top { grid-template-columns: 1fr; gap: 1.4rem; }
    .lp-pipe { grid-template-columns: 1fr; gap: .4rem; }
    .lp-pipe-arrow { padding: 0; transform: rotate(90deg); height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .lp-reveal.in .lp-check li, .lp-reveal.in .lp-check-bar i { animation: none; } }

/* ---------- security: chalk on a blueprint; a sketched padlock, chalk-outlined points ---------- */
.lp-trust { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 2.5rem; align-items: center; padding: 3rem; border-radius: 28px; color: #fff;
    background: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px,
        radial-gradient(circle at 0% 0%, rgba(47, 140, 255, .35), transparent 45%), linear-gradient(135deg, #0b1b33, #10294f); }
.lp-trust h2 { margin: .9rem 0 0; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; }
.lp-mark.chalk { color: rgba(255, 255, 255, .85); }
.lp-mark.chalk .underline path { stroke-width: 3.4; }
.lp-trust-head p { margin: .8rem 0 0; color: rgba(255, 255, 255, .75); }
.lp-lock { position: relative; margin-top: 1.6rem; width: 120px; height: 130px; }
.lp-lock-svg { position: static; width: 100%; height: 100%; color: rgba(255, 255, 255, .8); }
.lp-lock-svg path { stroke-width: 3; }
.lp-note.lock-note { left: 132px; top: 46px; transform: rotate(-6deg); color: #ffd28a; font-size: 1.2rem; white-space: nowrap; }
.lp-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lp-trust-item { position: relative; padding: 1.2rem 1.25rem; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1.5px dashed rgba(255, 255, 255, .22); transition: background .2s, border-color .2s, transform .2s; }
.lp-trust-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .4); transform: translateY(-3px); }
.lp-trust-item .ic { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; color: #9ccaff; font-size: 1.15rem; }
.lp-trust-item .ic .circle { position: absolute; left: 0; top: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .55); }
.lp-trust-item .ic .circle path { stroke-width: 2.2; }
.lp-trust-item b { display: flex; align-items: center; gap: .35rem; margin-top: .7rem; }
.lp-trust-item b .check { position: static; width: 20px; height: 20px; color: #7ee39a; }
.lp-trust-item > span:last-child { display: block; margin-top: .2rem; color: rgba(255, 255, 255, .7); font-size: .86rem; }
.lp-draw .lp-reveal.in .lp-trust-item .lp-scribble path { animation-delay: var(--d, .4s); }
@media (max-width: 1199.98px) { .lp-note.lock-note { left: auto; right: -0.5rem; top: -1.4rem; } }
@media (max-width: 991.98px) { .lp-lock { display: none; } }

/* ---------- FAQ: handwritten Q numbers, a highlighter on the open question, a sketched plus, a sticky note ---------- */
.lp-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 3rem; }
.lp-faq-side { position: relative; }
.lp-faq-side h2 { margin: .9rem 0 0; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; }
.lp-faq-side > p { margin: .8rem 0 1rem; color: var(--ink-2); }
.lp-sticky { position: relative; margin-top: 2.4rem; max-width: 300px; padding: 1.3rem 1.2rem 1.1rem; background: #fff6c9; border-radius: 4px; transform: rotate(-2.5deg);
    box-shadow: 0 2px 0 #f1e3a0, 0 22px 34px -24px rgba(90, 70, 0, .45); }
.lp-sticky .tape { position: absolute; top: -11px; left: 50%; width: 80px; height: 22px; margin-left: -40px; transform: rotate(3deg); background: rgba(200, 220, 255, .7); border-radius: 3px; }
.lp-sticky b { display: block; font-family: var(--hand); font-size: 1.35rem; color: #7a5b00; }
.lp-sticky p { margin: .3rem 0 0; font-family: var(--hand); font-size: 1.05rem; line-height: 1.4; color: #6b5200; }
.lp-sticky u { text-decoration-color: #e0a100; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lp-note.faq-note { right: -1.5rem; top: 8.6rem; align-items: center; gap: .3rem; transform: rotate(-4deg); font-size: 1.15rem; }
.lp-note.faq-note .arrow-right { position: static; width: 54px; height: 24px; }

.lp-faq-list { display: grid; gap: .7rem; }
.lp-q { border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.lp-q[open] { border-color: #cfe0f7; box-shadow: 0 18px 36px -28px rgba(16, 40, 90, .45); }
.lp-q summary { display: flex; align-items: center; gap: .9rem; padding: 1.05rem 1.2rem; font-weight: 700; cursor: pointer; list-style: none; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q .qn { flex: none; width: 2.2rem; font-family: var(--hand); font-size: 1.2rem; font-weight: 400; color: var(--marker); }
.lp-q .qt { flex: 1; min-width: 0; }
/* the highlighter: a soft yellow stroke behind the question when it is open */
.lp-q .hl { background: linear-gradient(transparent 58%, rgba(255, 214, 102, .55) 58%, rgba(255, 214, 102, .55) 92%, transparent 92%) no-repeat; background-size: 0 100%; transition: background-size .5s ease; }
.lp-q[open] .hl { background-size: 100% 100%; }
.lp-q .qx { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), stroke .2s; }
.lp-q[open] .qx { transform: rotate(45deg); stroke: var(--marker); }
.lp-q summary:hover .qx { stroke: var(--blue); }
.lp-q .qa { display: flex; gap: .9rem; padding: 0 1.2rem 1.15rem; }
.lp-q .an { flex: none; width: 2.2rem; font-family: var(--hand); font-size: 1.2rem; color: var(--green); }
.lp-q .qa p { margin: 0; padding-left: .9rem; border-left: 2px dashed #d5dfec; color: var(--ink-2); line-height: 1.65; }
.lp-q[open] .qa { animation: lpFade .35s ease both; }
@media (max-width: 1199.98px) { .lp-note.faq-note { display: none; } }
@media (max-width: 991.98px) { .lp-sticky { margin-top: 1.4rem; } }

/* ---------- footer: four columns and a bottom bar ---------- */
.lp-footer { padding: 4rem 0 1.5rem; background: #0b1b33; color: rgba(255, 255, 255, .72); }
.lp-foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.lp-footer .lp-brand { color: #fff; font-size: 1.15rem; }
.lp-foot-brand p { margin: 1rem 0; max-width: 360px; font-size: .9rem; line-height: 1.65; }
.lp-foot-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.lp-foot-badges span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: .76rem; }
.lp-footer h4 { margin: 0 0 1rem; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lp-foot-grid > div > a:not(.lp-brand) { display: block; padding: .3rem 0; color: rgba(255, 255, 255, .72); font-size: .9rem; text-decoration: none; transition: color .15s, transform .15s; }
.lp-foot-grid > div > a:not(.lp-brand):hover { color: #fff; transform: translateX(3px); }
.lp-foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }
.lp-foot-made { margin-left: auto; color: rgba(255, 255, 255, .5); }
.lp-top { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.lp-top:hover { background: var(--blue); color: #fff; }

/* ---------- smaller screens ---------- */
@media (max-width: 1199.98px) {
    .lp-float.f1 { left: -10px; }
}
@media (max-width: 1199.98px) {
    .lp-flow { grid-template-columns: 1fr; }
    .lp-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lp-tab { flex-direction: column; text-align: center; gap: .5rem; padding: .9rem .6rem; }
    .lp-tab small { display: none; }
}
@media (max-width: 991.98px) {
    .lp-panel, .lp-trust, .lp-faq { grid-template-columns: 1fr; }
    .lp-trust { padding: 2rem 1.5rem; gap: 2rem; }
    .lp-faq { gap: 1.5rem; }
    .lp-foot-grid { grid-template-columns: 1fr 1fr; }
    .lp-foot-brand { grid-column: 1 / -1; }
    .lp-hero { padding: 4rem 0 5rem; }
    .lp-window { transform: none; animation-name: lpFade; }
    .lp-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-strip-grid > div:nth-child(3) { border-left: 0; }
    .lp-strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .lp-reports { padding: 2.5rem 1.75rem; }
}
@media (max-width: 767.98px) {
    .lp-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-voucher-meta { grid-template-columns: 1fr 1fr; }
    .lp-trust-grid { grid-template-columns: 1fr; }
    .lp-announce { font-size: .78rem; }
    .lp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-app-rail { display: none; }
    .lp-float.f2, .lp-float.f3 { display: none; }
    .lp-float.f1 { left: 8px; bottom: -8px; }
    .lp-section { padding: 4rem 0; }
    .lp-cta { padding: 2.2rem 1.5rem; }
}
@media (max-width: 479.98px) {
    .lp-strip-grid { grid-template-columns: 1fr; }
    .lp-strip-grid > div { border-left: 0 !important; }
    .lp-strip-grid > div + div { border-top: 1px solid var(--line); }
    .lp-btn-lg { width: 100%; }
}
@keyframes lpFade { from { opacity: 0; transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) {
    .lp-window, .lp-bar-pair span, .lp-float, .lp-panel { animation: none !important; }
    .lp-reveal { opacity: 1; transform: none; transition: none; }
}

/* jumping to a section from the nav: stop below the sticky nav */
html:has(body.lp) { scroll-behavior: smooth; }
.lp section[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html:has(body.lp) { scroll-behavior: auto; } }

/* ---------- hand-drawn accents (partials/lp-scribble): they draw themselves when their section shows ---------- */
.lp { --marker: #ff9f43; --hand: 'Bradley Hand', 'Segoe Print', 'Chalkboard SE', 'Comic Sans MS', cursive; }
.lp-mark { position: relative; display: inline-block; white-space: nowrap; }
.lp-mark > .lp-grad { position: relative; z-index: 1; }
.lp-scribble { position: absolute; pointer-events: none; overflow: visible; }
.lp-scribble path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* drawing in: the page script measures each line (--len) and adds .lp-draw; without the script the lines simply show */
.lp-draw .lp-scribble path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.lp-draw .lp-hero .lp-scribble path, .lp-draw .lp-reveal.in .lp-scribble path { animation: lpDraw .9s cubic-bezier(.6, .1, .3, 1) .35s forwards; }
.lp-scribble path + path { animation-delay: .75s !important; }
@keyframes lpDraw { to { stroke-dashoffset: 0; } }
.lp-mark.warm { color: var(--marker); }
.lp-mark.light { color: rgba(255, 255, 255, .85); }
.lp-mark .underline { left: -2%; width: 104%; bottom: -.16em; height: .34em; }
.lp-mark.ring .circle { left: -9%; top: -22%; width: 118%; height: 145%; }
.lp-mark.ring .circle path { stroke-width: 2.6; }
.lp-mark.spark { color: var(--marker); }
.lp-mark .sparkle { right: -.85em; top: -.55em; width: .8em; height: .7em; }
.lp-mark.spark .sparkle path { stroke-width: 3; }

/* handwritten notes with a sketched arrow */
.lp-note { position: absolute; display: flex; align-items: flex-start; gap: .1rem; font-family: var(--hand); color: #e07b1a; font-size: 1.15rem; line-height: 1.15; pointer-events: none; }
.lp-note .arrow { position: static; width: 64px; height: 48px; color: #e07b1a; flex: none; }
.lp-cta-row { position: relative; }
.lp-note.hero-note { left: 2.2rem; top: calc(100% + .3rem); transform: rotate(-4deg); white-space: nowrap; align-items: center; }   /* under the main button */
.lp-note.hero-note .arrow { transform: scaleY(-1) rotate(-12deg); width: 46px; height: 40px; margin-right: .2rem; }   /* points up at the button */
.lp-note > span { white-space: nowrap; }
@media (min-width: 1200px) { .lp-hero .lp-checks { margin-top: 3.4rem; } }   /* room for the note */
.lp-panels { position: relative; }
.lp-note.panel-note { right: -.5rem; top: -3.2rem; transform: rotate(4deg); z-index: 2; }
.lp-note.panel-note .arrow { transform: rotate(20deg); margin-top: .9rem; }
.lp-reveal .lp-note > span, .lp-hero .lp-note > span { opacity: 0; transition: opacity .6s 1s; }
.lp-reveal.in .lp-note > span, .lp-hero .lp-note > span { opacity: 1; }

/* ---------- ticker: what's inside, moving slowly (pauses on hover) ---------- */
.lp-ticker { position: relative; overflow: hidden; padding: 1.2rem 0 .4rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lp-ticker-track { display: flex; gap: .7rem; width: max-content; animation: lpTicker 50s linear infinite; }
.lp-ticker:hover .lp-ticker-track { animation-play-state: paused; }
.lp-ticker span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.lp-ticker .bi { color: var(--blue); }
@keyframes lpTicker { to { transform: translateX(calc(-50% - .35rem)); } }

/* ---------- finishing touches ---------- */
.lp-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .55 0 0 0 0 .65 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }   /* a faint grain, like printed paper */
.lp-head h2, .lp-title { text-wrap: balance; }
.lp-head p, .lp-lead { text-wrap: pretty; }
::selection { background: rgba(24, 119, 242, .18); }

@media (max-width: 1199.98px) {
    .lp-note.hero-note, .lp-note.panel-note { display: none; }
}
@media (max-width: 575.98px) {
    .lp-mark { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-scribble path { stroke-dashoffset: 0 !important; animation: none !important; }
    .lp-ticker-track { animation: none; }
    .lp-note > span { opacity: 1 !important; }
}

/* ---------- scroll progress bar (bottom edge of the nav) ---------- */
.lp-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.lp-progress i { display: block; height: 100%; width: 0; background: var(--lp-grad); border-radius: 0 2px 2px 0; transition: width .08s linear; }

/* ---------- rotating word in the hero ---------- */
.lp-rotate { display: inline-block; color: var(--blue); font-weight: 700; transition: opacity .25s, transform .25s; }
.lp-rotate.out { opacity: 0; transform: translateY(-6px); }

/* ---------- a soft light that follows the mouse over cards (.lp-spot; the page script sets --mx / --my) ---------- */
.lp-spot { background-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(24, 119, 242, .09), transparent 65%); background-repeat: no-repeat; background-size: 0 0; }
.lp-spot:hover { background-size: 100% 100%; }

/* ---------- report sheet tabs ---------- */
.lp-sheet-tabs { display: flex; gap: .3rem; margin: -.3rem 0 1rem; padding: .25rem; border-radius: 12px; background: #f2f5f9; }
.lp-sheet-tabs button { flex: 1; border: 0; padding: .45rem .5rem; border-radius: 9px; background: transparent; color: var(--ink-2); font-size: .8rem; font-weight: 700; transition: background .15s, color .15s, box-shadow .15s; }
.lp-sheet-tabs button:hover { color: var(--ink); }
.lp-sheet-tabs button.on { background: #fff; color: var(--blue); box-shadow: 0 2px 8px -3px rgba(16, 40, 90, .3); }
.lp-sheet table[hidden] { display: none; }
.lp-sheet table { animation: lpFade .35s ease both; }
.lp-sheet table.tb3 td:nth-child(2), .lp-sheet table.tb3 td:nth-child(3) { text-align: right; font-family: var(--mono); font-size: .8rem; width: 28%; }
.lp-sheet table.tb3 tr.grp td { font-family: var(--font); }
.lp-sheet table.tb3 tr:not(.grp):not(.net) td:first-child { padding-left: 0; color: var(--ink); }
.lp-sheet table.tb3 tr:not(.grp):not(.net) td { padding-top: .32rem; padding-bottom: .32rem; border-bottom: 1px solid #f0f3f7; }

/* ---------- spreadsheets vs the app: two sketched notes; the old answers get struck through, the new ones ticked ---------- */
.lp-vs { display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); align-items: center; max-width: 1040px; margin: 0 auto; }
.lp-vs-card { position: relative; padding: 1.6rem 1.7rem 1.4rem; border-radius: 18px; }
.lp-vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.lp-vs-card small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--subtle); }
.lp-vs-h { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; font-weight: 800; font-size: 1.05rem; }

/* old: lined paper, a strip of tape, tilted, faded */
.lp-vs-card.old { transform: rotate(-1.6deg); color: var(--ink-2);
    background: repeating-linear-gradient(#fbfaf6 0 31px, #e9eef5 31px 32px), #fbfaf6; border: 1px solid #e8e4d8; box-shadow: 0 18px 36px -28px rgba(60, 50, 20, .35); }
.lp-vs-card.old::before { content: ""; position: absolute; left: 2.6rem; top: 0; bottom: 0; border-left: 1.5px solid rgba(228, 30, 63, .25); }   /* margin line */
.lp-vs-card.old .lp-vs-h { color: var(--ink-2); padding-left: 1.4rem; }
.lp-vs-card.old .lp-vs-h .bi { color: #1f9d55; }
.lp-vs-card.old li { padding-left: 1.4rem; }
.lp-vs-tape { position: absolute; top: -12px; left: 50%; width: 92px; height: 24px; margin-left: -46px; transform: rotate(-4deg); background: rgba(255, 214, 140, .65); border-radius: 3px; }
.lp-struck { position: relative; display: inline-block; font-size: .98rem; color: #8a94a6; }
.lp-struck .strike { left: -4%; top: 50%; width: 108%; height: 12px; margin-top: -5px; color: rgba(228, 30, 63, .75); }
.lp-struck .strike path { stroke-width: 2.4; }

/* new: crisp card, tilted the other way, ticked */
.lp-vs-card.new { transform: rotate(1.2deg); background: #fff; border: 1.5px solid #cfe0f7; box-shadow: 0 34px 70px -40px rgba(16, 60, 140, .55), 0 0 0 6px rgba(24, 119, 242, .05); }
.lp-vs-card.new .lp-vs-h { color: var(--blue); }
.lp-ticked { display: inline-flex; align-items: center; gap: .45rem; font-size: 1rem; font-weight: 700; color: var(--ink); }
.lp-ticked .check { position: static; flex: none; width: 22px; height: 22px; color: var(--green); }
.lp-ticked .check path { stroke-width: 3; }
.lp-note.vs-note { right: -1rem; bottom: -2.2rem; transform: rotate(-5deg); font-size: 1.15rem; }

/* the middle: a handwritten "vs" and an arrow */
.lp-vs-mid { display: grid; justify-items: center; gap: .2rem; color: var(--marker); }
.lp-vs-mid .vs { font-family: var(--hand); font-size: 2.4rem; line-height: 1; transform: rotate(-8deg); }
.lp-vs-mid .lp-scribble { position: static; width: 64px; height: 28px; }

/* drawing in: each strike / tick after the one before (--d) */
.lp-draw .lp-reveal.in .lp-vs .lp-scribble path { animation-delay: calc(.4s + var(--d, 0s)); }
.lp-draw .lp-reveal.in .lp-vs-mid .lp-scribble path { animation-delay: 1s; }

@media (max-width: 1199.98px) { .lp-note.vs-note { display: none; } }
@media (max-width: 767.98px) {
    .lp-vs { grid-template-columns: 1fr; gap: .4rem; }
    .lp-vs-card.old, .lp-vs-card.new { transform: none; }
    .lp-vs-mid { padding: .4rem 0; }
    .lp-vs-mid .lp-scribble { transform: rotate(90deg); }
    .lp-vs-card { padding: 1.3rem 1.2rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-rotate, .lp-sheet table { transition: none; animation: none; }
}

/* ---------- Try it: post an entry, a balance scale settles (welcome.blade.php #try) ---------- */
.lp-play { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 1.4rem; padding: 1.4rem; border-radius: 28px;
    background: radial-gradient(circle at 100% 0%, rgba(24, 119, 242, .08), transparent 50%), #f6f9fe; border: 1px solid var(--line); }
.lp-play-ctrl, .lp-play-view { padding: 1.2rem 1.3rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.lp-play-ctrl { display: flex; flex-direction: column; }
.lp-play-view { display: flex; flex-direction: column; justify-content: center; }   /* the scale side sits in the middle when the controls are taller */
/* step titles: a numbered circle, the question, sometimes a value on the right */
.lp-play-step { display: flex; align-items: center; gap: .55rem; margin-bottom: .55rem; color: var(--ink); font-size: .92rem; font-weight: 700; }
.lp-play-step .n { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 800; }
.lp-play-step output { font-size: 1.1rem; font-weight: 700; color: var(--blue); letter-spacing: -.01em; }
/* what happened */
.lp-scen { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.lp-scen button { position: relative; display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .84rem; font-weight: 600; text-align: left; transition: border-color .15s, box-shadow .15s, background .15s, transform .15s; }
.lp-scen button > .bi:first-child { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--s); color: var(--c); transition: background .15s, color .15s; }
.lp-scen button:hover { border-color: #cfe0f7; transform: translateY(-1px); }
.lp-scen button.on { border-color: var(--c); background: var(--s); box-shadow: 0 0 0 3px var(--s); }
.lp-scen button.on > .bi:first-child { background: var(--c); color: #fff; }   /* the chosen one: solid icon */
.lp-scen .tick { margin-left: auto; font-style: normal; color: var(--c); opacity: 0; transform: scale(.5); transition: opacity .15s, transform .2s; }
.lp-scen button.on .tick { opacity: 1; transform: none; }
.lp-scen button:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* how much: a slider whose filled part follows the value (--p, set by JS), and quick amounts */
.lp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none; cursor: pointer;
    background: linear-gradient(90deg, #0866ff, #00a3ff) 0 / var(--p, 24%) 100% no-repeat, #e8eef7; }
.lp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 10px -2px rgba(24, 119, 242, .5); transition: transform .15s; }
.lp-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 10px -2px rgba(24, 119, 242, .5); }
.lp-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.lp-range:focus-visible { box-shadow: 0 0 0 4px rgba(24, 119, 242, .18); }
.lp-quick { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .65rem; }
.lp-quick button { flex: 1; min-width: 0; padding: .25rem .4rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: 600 .76rem var(--mono); transition: all .15s; }
.lp-quick button:hover { border-color: #bcd6fb; color: var(--blue); }
.lp-quick button.on { background: var(--blue-soft); border-color: #9cc8ff; color: var(--blue); }
/* the entry it makes: a small journal voucher on lined paper */
.lp-jv { border-radius: 12px; border: 1px solid #e3e9f2; background: #fff; overflow: hidden; box-shadow: 0 14px 28px -22px rgba(16, 60, 140, .45); }
.lp-jv-h { display: flex; justify-content: space-between; align-items: center; padding: .35rem .8rem; background: #f6f9fe; border-bottom: 1px dashed #d5dfec; font-size: .74rem; color: var(--subtle); }
.lp-jv-code { color: var(--subtle); font-size: .74rem; font-weight: 500; }
.lp-jv-code b { font-family: var(--mono); color: var(--blue); font-size: .78rem; }
.lp-post { height: 46px; font-size: .98rem; }
.lp-jv-line { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: .4rem .8rem; font-size: .86rem; }
.lp-jv-line + .lp-jv-line { border-top: 1px solid #f1f5fb; }
.lp-jv-line .side { font: 800 .68rem var(--mono); text-align: center; padding: .12rem 0; border-radius: 6px; }
.lp-jv-line.dr .side { background: var(--blue-soft); color: var(--blue); }
.lp-jv-line.cr .side { background: var(--green-soft); color: #2e8b1d; }
.lp-jv-line b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.lp-jv-line.cr b { padding-left: 1.2rem; font-weight: 600; }   /* "To …" is indented, as in a journal */
.lp-jv-line.cr b i { color: var(--subtle); font-family: var(--hand); font-size: .95rem; }
.lp-jv-line .amt { font-size: .84rem; font-weight: 700; color: var(--ink); }
.lp-jv-line.cr .amt { padding-left: 1.5rem; }   /* credit column sits a step to the right */
.lp-jv-f { display: flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-top: 1px dashed #d5dfec; background: #f4fbf2; color: #2e7d1b; font-size: .76rem; font-weight: 600; }
.lp-jv-f .mono { font-size: .74rem; }
/* posted entries */
.lp-play-posted { flex: 1; display: flex; flex-direction: column; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.lp-play-posted-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: .45rem; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.lp-play-posted-h em { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: .3rem; padding: 0 .35rem; border-radius: 99px; background: var(--blue-soft); color: var(--blue); font-size: .7rem; letter-spacing: 0; }
.lp-play-posted-h button { border: 0; background: none; color: var(--subtle); font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.lp-play-posted-h button:hover { color: var(--blue); }
.lp-play-log { flex: 1; display: grid; align-content: start; gap: .35rem; min-height: 4.4rem; }   /* room for the 2 latest entries, so the card keeps its height */
.lp-play-log .empty { min-height: 4.4rem; }
.lp-play-log .empty { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .55rem .8rem; border-radius: 12px; border: 1.5px dashed #dbe3ee; background: #fbfcfe; color: var(--subtle); font-size: .82rem; line-height: 1.45; }
.lp-play-log .empty > i { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); font-size: .95rem; }
.lp-play-log .empty b { color: var(--ink-2); }
.lp-play-log > .row-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .35rem .7rem; border-radius: 11px; background: #fff; border: 1px solid #edf1f7; font-size: .8rem; animation: lpFade .35s ease both; }
.lp-play-log > .row-in:first-child { border-color: #bfe6b5; background: #f6fcf4; }
.lp-play-log .code { font: 700 .7rem var(--mono); color: var(--blue); padding: .15rem .4rem; border-radius: 6px; background: var(--blue-soft); }
.lp-play-log .what { min-width: 0; display: flex; align-items: baseline; gap: .35rem; white-space: nowrap; overflow: hidden; }
.lp-play-log .what b, .lp-play-log .what small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-play-log .what b { font-size: .8rem; color: var(--ink); }
.lp-play-log .what small { color: var(--subtle); font-size: .74rem; }

/* the scale: the beam turns around its pivot (JS sets rotate); a springy settle. Pans hold the trial balance totals. */
.lp-scale-wrap { position: relative; max-width: 380px; width: 100%; margin: 0 auto; }
.lp-scale { display: block; width: 100%; overflow: visible; }
.lp-scale .sh { fill: rgba(16, 40, 90, .08); }
.lp-scale .base { fill: #2b3654; }
.lp-scale .beam { transform-box: view-box; transform-origin: 170px 44px; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.lp-scale .pan { transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.lp-scale .bar { fill: #3d4b6e; }
.lp-scale .pivot { fill: var(--marker); stroke: #fff; stroke-width: 3; }
.lp-scale .str { stroke: #9aa8bf; stroke-width: 1.5; fill: none; }
.lp-scale .dr .dish { fill: #e7f0ff; stroke: var(--blue); stroke-width: 2; }
.lp-scale .cr .dish { fill: #e6f8ea; stroke: var(--green); stroke-width: 2; }
.lp-scale .pl { font: 800 9.5px var(--font); letter-spacing: .14em; text-anchor: middle; }
.lp-scale .dr .pl { fill: var(--blue); }
.lp-scale .cr .pl { fill: #2e8b1d; }
.lp-scale .pv { font: 700 12px var(--mono); text-anchor: middle; fill: var(--ink); }
.lp-note.scale-note { right: -.4rem; top: -.6rem; transform: rotate(5deg); font-size: 1.05rem; align-items: flex-start; }
@media (max-width: 575.98px) { .lp-note.scale-note { display: none; } }
.lp-note.scale-note .arrow { width: 40px; height: 34px; transform: rotate(-30deg); margin-top: .7rem; }
.lp-play-status { margin: .2rem auto .9rem; width: max-content; max-width: 100%; display: flex; align-items: center; gap: .4rem; padding: .4rem .95rem; border-radius: 99px; background: var(--green-soft); color: #2e7d1b; font-size: .82rem; font-weight: 700; transition: background .2s, color .2s; }
.lp-play-status.wait { background: var(--amber-soft); color: #9a6700; }
.lp-play-status.wait .bi::before { content: "\F28A"; }   /* bi-hourglass-split while the credit is on its way */

/* ledgers: debit balances | credit balances */
.lp-ledgers { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.lp-led-col { display: grid; align-content: start; gap: .35rem; padding: .6rem; border-radius: 14px; border: 1px solid var(--line); background: #fbfcfe; }
.lp-led-col.dr { --side: var(--blue); }
.lp-led-col.cr { --side: var(--green); }
.lp-led-h { display: flex; align-items: center; gap: .4rem; padding: .1rem .3rem .35rem; color: var(--ink-2); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lp-led-h .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--side); }
.lp-led { position: relative; display: flex; align-items: center; gap: .5rem; padding: .5rem .65rem; border-radius: 10px; background: #fff; border: 1px solid #edf1f7; font-size: .82rem; transition: border-color .2s, box-shadow .2s; }
.lp-led .nm { flex: 1; min-width: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-led b { font-size: .78rem; white-space: nowrap; color: var(--ink); }
.lp-led .will { position: absolute; right: .55rem; top: -.55rem; font: 700 .62rem/1.4 var(--mono); font-style: normal; padding: 0 .35rem; border-radius: 6px; border: 1px solid #fff; }   /* sits on the row's top edge */
.lp-led .will:empty { display: none; }
.lp-led[data-will="dr"] { border-color: #bcd6fb; box-shadow: inset 3px 0 0 var(--blue); }
.lp-led[data-will="dr"] .will { background: var(--blue-soft); color: var(--blue); }
.lp-led[data-will="cr"] { border-color: #bfe6b5; box-shadow: inset 3px 0 0 var(--green); }
.lp-led[data-will="cr"] .will { background: var(--green-soft); color: #2e8b1d; }
.lp-led.hit { animation: lpHit 1s ease; }
@keyframes lpHit { 0% { background: #fff3d6; border-color: var(--marker); transform: scale(1.03); } 100% { background: #fff; transform: none; } }
.lp-tb { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; padding: .8rem; border-radius: 14px; background: linear-gradient(90deg, #eef5ff, #effbf1); }
.lp-tb small { display: block; color: var(--ink-2); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.lp-tb b { font-size: 1.05rem; }
.lp-tb > div:last-child { text-align: right; }
.lp-tb .eq { font-size: 1.4rem; font-weight: 800; color: var(--green); transition: color .2s; }
.lp-tb .eq.off { color: #d97706; }
.lp-play-note { margin: .9rem 0 0; text-align: center; color: var(--subtle); font-size: .82rem; }

/* ---------- word band: a calm, small line of words drifting between sections (solid text, no outlines) ---------- */
.lp-bigtype { overflow: hidden; padding: .4rem 0 2.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lp-bigtype-track { display: flex; align-items: center; gap: 1.4rem; width: max-content; animation: lpTicker 70s linear infinite reverse; }
.lp-bigtype span { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; color: #c9d4e3; white-space: nowrap; }
.lp-bigtype span.fill { background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-bigtype i { font-style: normal; font-size: 1rem; color: var(--marker); }

/* hero preview follows the mouse smoothly */
.lp-window { transition: transform .35s ease-out; }

@media (max-width: 991.98px) {
    .lp-play { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
}
@media (max-width: 575.98px) {
    .lp-scen { grid-template-columns: 1fr; }
    .lp-ledgers { grid-template-columns: 1fr; }
    .lp-play-ctrl, .lp-play-view { padding: 1rem; }
    .lp-quick button { flex: 1 1 28%; }
    .lp-jv-line.cr .amt { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-bigtype-track { animation: none; }
    .lp-scale .beam, .lp-window { transition: none; }
    .lp-led.hit { animation: none; }
}

/* ---------- everyday workflows: tabs on the left, the picked workflow plays step by step on the right ---------- */
.lp-wf { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.4rem; align-items: stretch; }
.lp-wf-pick { display: flex; flex-direction: column; gap: .7rem; position: relative; }
.lp-wf-tab { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; align-items: center; text-align: left; padding: .95rem 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px dashed #d5dfec; color: var(--ink); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.lp-wf-tab:hover { border-color: var(--c); transform: translateX(3px); }
.lp-wf-tab.on { border: 1px solid var(--c); box-shadow: 0 14px 30px -18px var(--c); }
.lp-wf-tab .ic { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--s); color: var(--c); font-size: 1.15rem; }
.lp-wf-tab .t b { display: block; font-size: .95rem; }
.lp-wf-tab .t small { display: block; color: var(--ink-2); font-size: .78rem; }
.lp-wf-tab .time { display: inline-flex; align-items: center; gap: .3rem; width: max-content; padding: .15rem .55rem; border-radius: 99px; background: var(--s); color: var(--c); font-size: .72rem; font-weight: 700; }
.lp-wf-tab .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.lp-wf-tab .bar span { display: block; height: 100%; width: 0; background: var(--c); transition: width .5s ease; }
.lp-note.wf-note { position: static; margin: .4rem 0 0 .6rem; transform: rotate(-3deg); font-size: 1.05rem; align-items: center; gap: .3rem; }
.lp-note.wf-note .arrow { width: 40px; height: 32px; transform: scaleX(-1) rotate(160deg); }

.lp-wf-stage { min-width: 0; }
.lp-wf-lane { height: 100%; padding: 1.4rem 1.5rem 1.3rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.lp-wf-lane[hidden] { display: none; }
.lp-wf-lane::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.lp-wf-lane:not([hidden]) { animation: lpWfIn .35s ease; }
@keyframes lpWfIn { from { opacity: 0; transform: translateY(8px); } }
.lp-wf-top { display: flex; align-items: center; gap: .8rem; }
.lp-wf-top .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--s); color: var(--c); font-size: 1.15rem; flex: none; }
.lp-wf-top b { display: block; font-size: 1.05rem; }
.lp-wf-top small { display: block; color: var(--ink-2); font-size: .82rem; }
.lp-wf-now { margin-left: auto; font-family: var(--hand); font-size: 1.15rem; color: var(--c); white-space: nowrap; }
.lp-wf-now b { display: inline; font-weight: 400; font-size: 1.35rem; }

/* the steps: a dashed track with a dot per step; the coloured part grows to the current step (--p, 0..1) */
.lp-wf-steps { --p: 0; list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: .9rem; position: relative; }
.lp-wf-steps::before, .lp-wf-steps::after { content: ""; position: absolute; top: 17px; left: calc(50% / var(--n)); height: 2px; }
.lp-wf-steps::before { right: calc(50% / var(--n)); background: repeating-linear-gradient(90deg, #cfd9e6 0 7px, transparent 7px 13px); }
.lp-wf-steps::after { width: calc((100% - 100% / var(--n)) * var(--p)); background: var(--c); border-radius: 2px; transition: width .6s ease; }
.lp-wf-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.lp-wf-step .dot { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 2px dashed #c3cfdf; background: #fff; color: var(--ink-2); font-family: var(--hand); font-size: 1.1rem; display: grid; place-items: center; padding: 0; transition: background .3s, border-color .3s, color .3s, transform .3s; }
.lp-wf-step .dot i { display: none; font-size: 1.1rem; }
.lp-wf-step.past .dot { background: var(--c); border: 2px solid var(--c); color: #fff; }
.lp-wf-step.past .dot span { display: none; }
.lp-wf-step.past .dot i { display: block; }
.lp-wf-step.now .dot { border: 2px solid var(--c); color: var(--c); background: var(--s); transform: scale(1.12); }
.lp-wf-step.now .dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: lpWfPing 1.6s ease-out infinite; }
@keyframes lpWfPing { 0% { opacity: .5; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.35); } }

.lp-wf-step .lp-wf-card { margin-top: .9rem; width: 100%; height: 100%; padding: .9rem .95rem 1rem; border-radius: 16px; background: #f8fafd; border: 1px dashed #d5dfec; transition: border-color .3s, background .3s, transform .3s, box-shadow .3s; }
.lp-wf-step .lp-wf-card > .bi { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--s); color: var(--c); font-size: .95rem; }
.lp-wf-step .lp-wf-card b { display: block; margin-top: .6rem; font-size: .9rem; }
.lp-wf-step .lp-wf-card small { display: block; margin-top: .15rem; color: var(--ink-2); font-size: .79rem; line-height: 1.45; }
.lp-wf-step.past .lp-wf-card { background: #fff; }
.lp-wf-step.now .lp-wf-card { background: #fff; border: 1px solid var(--c); transform: translateY(-4px); box-shadow: 0 16px 30px -20px var(--c); }
.lp-wf-step:hover .lp-wf-card { border-color: var(--c); }

/* the "done" line: a hand-written note that appears after the last step */
.lp-wf-done { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; gap: .5rem; font-family: var(--hand); font-size: 1.15rem; color: var(--c); opacity: .25; transition: opacity .4s; }
.lp-wf-lane.finished .lp-wf-done { opacity: 1; }
.lp-wf-lane.finished .lp-wf-done i { animation: lpWfPop .45s ease; }
@keyframes lpWfPop { 0% { transform: scale(.4); } 70% { transform: scale(1.25); } }

@media (max-width: 1199.98px) {
    .lp-wf { grid-template-columns: 1fr; }
    .lp-wf-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-wf-tab:hover { transform: translateY(-2px); }
    .lp-note.wf-note { display: none; }
}
@media (max-width: 767.98px) {
    .lp-wf-pick { grid-template-columns: 1fr; gap: .5rem; }
    .lp-wf-tab { padding: .7rem .9rem .85rem; }
    .lp-wf-tab .time { display: none; }
    .lp-wf-lane { padding: 1.1rem 1rem 1.1rem 1.2rem; }
    .lp-wf-top { flex-wrap: wrap; }
    .lp-wf-now { margin-left: 0; }
    /* steps go down the page: the track runs down the left side */
    .lp-wf-steps { grid-template-columns: 1fr; gap: .7rem; margin-top: 1.1rem; }
    .lp-wf-steps::before, .lp-wf-steps::after { top: 18px; left: 17px; width: 2px; right: auto; }
    .lp-wf-steps::before { bottom: 18px; height: auto; background: repeating-linear-gradient(180deg, #cfd9e6 0 7px, transparent 7px 13px); }
    .lp-wf-steps::after { height: calc((100% - 36px) * var(--p)); transition: height .6s ease; }
    .lp-wf-step { flex-direction: row; align-items: flex-start; gap: .8rem; }
    .lp-wf-step .dot { flex: none; }
    .lp-wf-step .lp-wf-card { margin-top: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 .7rem; align-items: center; padding: .7rem .85rem; }
    .lp-wf-step .lp-wf-card > .bi { grid-row: span 2; }
    .lp-wf-step .lp-wf-card b { margin-top: 0; }
    .lp-wf-step.now .lp-wf-card { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-wf-step.now .dot::after, .lp-wf-lane:not([hidden]) { animation: none; }
}

/* ---------- A day in the books: dawn-to-dusk sky, a sun that moves to the picked moment ---------- */
.lp-day { position: relative; border-radius: 28px; border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: 0 30px 60px -46px rgba(16, 40, 90, .45); }
.lp-sky { position: relative; height: 176px; overflow: hidden; background: linear-gradient(180deg, #ffd6aa, #fff4e6); }   /* the page script colours it for the time of day */
.lp-sky > * { position: absolute; }
/* stars: only after sunset (opacity set by the script) */
.lp-stars { inset: 0; opacity: 0; transition: opacity .4s; background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff 99%, transparent), radial-gradient(1px 1px at 28% 48%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 44% 18%, #fff 99%, transparent),
    radial-gradient(1px 1px at 58% 40%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 72% 14%, #fff 99%, transparent), radial-gradient(1px 1px at 86% 34%, #fff 99%, transparent), radial-gradient(1px 1px at 36% 30%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 64% 26%, #fff 99%, transparent); }
/* soft clouds drifting slowly to the right */
.lp-cloud { height: 22px; border-radius: 99px; background: rgba(255, 255, 255, .8); filter: blur(1px); animation: lpCloud 60s linear infinite; }
.lp-cloud::before, .lp-cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.lp-cloud::before { width: 34px; height: 34px; left: 14px; top: -16px; }
.lp-cloud::after { width: 24px; height: 24px; right: 14px; top: -10px; }
.lp-cloud.c1 { width: 90px; top: 34px; left: -10%; }
.lp-cloud.c2 { width: 70px; top: 70px; left: -10%; animation-duration: 80s; animation-delay: -40s; opacity: .7; }
.lp-cloud.c3 { width: 110px; top: 24px; left: -10%; animation-duration: 95s; animation-delay: -70s; opacity: .55; }
@keyframes lpCloud { to { transform: translateX(calc(100vw + 200px)); } }
.lp-sky::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(transparent, #fff); }
.lp-sun { position: absolute; left: 5%; bottom: 18%; z-index: 1; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem;
    color: #ff9f1a; background: #fff6d6; box-shadow: 0 0 0 8px rgba(255, 196, 80, .25), 0 0 40px 10px rgba(255, 196, 80, .45);
    transition: opacity .3s, background .4s, color .4s, box-shadow .4s; }   /* the page script moves it along an arc */
.lp-sun.moon { color: #c7d2fe; background: #1e2a55; box-shadow: 0 0 0 8px rgba(199, 210, 254, .15), 0 0 40px 10px rgba(129, 140, 248, .35); }
.lp-day-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0 1rem; margin-top: -1.2rem; z-index: 1; }
.lp-day-track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 21px; border-top: 2px dashed #d5dfec; }
/* the solid part of the line: from the first moment to the sun (width set by the script) */
.lp-day-line { position: absolute; left: 10%; top: 20px; width: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #ffb547, #1877f2 60%, #6d7bd6); }
.lp-moment { position: relative; display: grid; justify-items: center; gap: .25rem; padding: 0 .3rem .9rem; border: 0; background: none; text-align: center; }
.lp-moment .pt { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #d5dfec; color: var(--ink-2); font-size: 1.05rem; transition: border-color .2s, background .2s, color .2s, transform .2s, box-shadow .2s; }
.lp-moment b { font-family: var(--mono); font-size: .85rem; color: var(--ink); }
.lp-moment small { color: var(--ink-2); font-size: .78rem; line-height: 1.3; }
.lp-moment:hover .pt { border-color: var(--c); color: var(--c); }
.lp-moment.on .pt { background: var(--c); border-color: var(--c); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 5px var(--s); }
.lp-moment.on small { color: var(--ink); font-weight: 700; }
.lp-moment .pt { position: relative; z-index: 1; }
.lp-moment .done { position: absolute; right: -4px; top: -4px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: .72rem; font-style: normal; border: 2px solid #fff; transform: scale(0); transition: transform .25s; }
.lp-moment.past .pt { border-color: var(--c); color: var(--c); background: var(--s); }
.lp-moment.past .done { transform: scale(1); }
/* autoplay: a thin bar under the current moment fills until the next one */
.lp-moment-bar { position: absolute; left: 50%; bottom: .2rem; width: 46px; height: 3px; margin-left: -23px; border-radius: 3px; background: #e6edf7; overflow: hidden; opacity: 0; transition: opacity .2s; }
.lp-moment-bar::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; }
.lp-moment.on .lp-moment-bar { opacity: 1; }
.lp-moment.on.run .lp-moment-bar::after { animation: lpStep var(--step, 4s) linear forwards; }
@keyframes lpStep { to { transform: scaleX(1); } }
.lp-day-play { position: absolute; right: 1rem; top: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; height: 32px; padding: 0 .8rem; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ink); font-size: .78rem; font-weight: 600; box-shadow: 0 6px 16px -10px rgba(16, 40, 90, .5); }
.lp-day-play:hover { background: #fff; color: var(--blue); }
.lp-day-cards { padding: .4rem 1.6rem 1.6rem; }
.lp-day-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.4rem; max-width: 980px; margin: 0 auto; padding: 1.3rem 1.4rem; border-radius: 18px; background: linear-gradient(140deg, var(--s), #fff 65%); border: 1px solid var(--line); animation: lpFade .35s ease both; }
.lp-day-card[hidden] { display: none; }
/* the day so far: running totals after this moment */
.lp-day-sofar { align-self: stretch; display: flex; flex-direction: column; gap: .45rem; padding: 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -24px rgba(16, 40, 90, .45); }
.lp-day-sofar-h { display: flex; align-items: center; gap: .4rem; margin-bottom: .2rem; color: var(--ink-2); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lp-day-sofar-h .bi { color: var(--c); }
.lp-day-sofar .r { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; padding: .45rem .6rem; border-radius: 10px; background: #f8fafd; }
.lp-day-sofar .r span { color: var(--ink-2); font-size: .82rem; }
.lp-day-sofar .r b { font-size: .86rem; text-align: right; }
.lp-day-sofar .r em { grid-column: 2; justify-self: end; font: 600 .7rem var(--mono); font-style: normal; color: var(--subtle); }
.lp-day-sofar .r em.up { color: #2e8b1d; }
.lp-day-sofar .r em.down { color: #d63a3a; }
.lp-day-sofar-f { margin-top: auto; display: flex; align-items: center; gap: .35rem; padding-top: .55rem; border-top: 1px dashed #d5dfec; color: #2e7d1b; font-size: .76rem; font-weight: 600; }
.lp-day-card-h { display: flex; align-items: center; gap: .8rem; }
.lp-day-card-h .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--c); font-size: 1.15rem; box-shadow: 0 6px 14px -8px rgba(16, 40, 90, .4); }
.lp-day-card-h small { display: block; color: var(--ink-2); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.lp-day-card-h b { display: block; font-size: 1.05rem; }
.lp-day-code { margin-left: auto; white-space: nowrap; padding: .25rem .6rem; border-radius: 8px; background: #fff; color: var(--c); font-size: .8rem; font-weight: 700; border: 1px solid var(--line); }
.lp-day-card p { margin: .8rem 0; color: var(--ink-2); }
.lp-day-card .lp-entry { background: #fff; border-radius: 10px; overflow: hidden; }
.lp-day-checks { list-style: none; display: grid; gap: .4rem; margin: 0; padding: 0; }
.lp-day-checks li { display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .84rem; }
.lp-day-checks li > .bi { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--s); color: var(--c); }
.lp-day-checks span { flex: 1; min-width: 0; color: var(--ink-2); }
.lp-day-checks b { display: block; color: var(--ink); }
.lp-day-checks em { font-style: normal; font-size: .74rem; font-weight: 700; padding: .15rem .55rem; border-radius: 99px; background: #f2f5f9; color: var(--ink-2); white-space: nowrap; }
.lp-day-checks em.ok { background: var(--green-soft); color: #2e7d1b; }
.lp-note.day-note { position: absolute; right: 1.4rem; top: auto; bottom: -.85rem; transform: rotate(-3deg); font-size: 1.05rem; color: #e07b1a; background: #fff; padding: 0 .4rem; border-radius: 6px; }

/* ---------- Find anything: a copy of the Ctrl+K palette + keycaps ---------- */
.lp-find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.lp-find h2 { margin: .9rem 0 0; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.lp-find-text > p { margin: 1rem 0 1.4rem; color: var(--ink-2); line-height: 1.65; }
.lp-kbd { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.5rem; padding: 0 .35rem; margin: 0 .1rem; border-radius: 6px; background: #fff; border: 1px solid #d5dfec; border-bottom-width: 3px; color: var(--ink); font: 700 .72rem var(--mono); vertical-align: middle; }
.lp-kbd.big { min-width: 2.3rem; height: 2.2rem; padding: 0 .55rem; border-radius: 9px; font-size: .82rem; box-shadow: 0 6px 12px -8px rgba(16, 40, 90, .35); transition: transform .1s, border-bottom-width .1s; }
.lp-key-row:hover .lp-kbd.big { transform: translateY(2px); border-bottom-width: 1px; }
.lp-keys { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.2rem; }
.lp-key-row { display: flex; align-items: center; gap: .6rem; }
.lp-key-row > span { display: inline-flex; gap: .25rem; flex: none; }
.lp-key-row small { color: var(--ink-2); font-size: .86rem; }
.lp-palette { position: relative; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(16, 40, 90, .45), 0 0 0 8px rgba(24, 119, 242, .05); }
.lp-palette-bar { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.lp-palette-bar > .bi { color: var(--blue); font-size: 1.1rem; }
.lp-palette-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.02rem; color: var(--ink); background: transparent; }
.lp-palette-list { height: 330px; overflow: hidden; padding: .5rem; }
.lp-palette-list .g { padding: .55rem .7rem .25rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.lp-palette-list .r { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 11px; }
.lp-palette-list .r > .bi:first-child { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #f2f5f9; color: var(--ink-2); }
.lp-palette-list .r b { display: block; font-size: .9rem; }
.lp-palette-list .r small { display: block; color: var(--ink-2); font-size: .76rem; }
.lp-palette-list .r .go { margin-left: auto; color: var(--blue); opacity: 0; }
.lp-palette-list .r.on { background: var(--blue-soft); }
.lp-palette-list .r.on > .bi:first-child { background: var(--blue); color: #fff; }
.lp-palette-list .r.on .go { opacity: 1; }
.lp-palette-list .none { padding: 2rem 1rem; text-align: center; color: var(--subtle); }
.lp-palette-foot { display: flex; align-items: center; gap: 1rem; padding: .7rem 1.1rem; border-top: 1px solid var(--line); color: var(--subtle); font-size: .76rem; }
.lp-note.palette-note { left: -5.5rem; top: -1.6rem; transform: rotate(-8deg); flex-direction: row-reverse; align-items: flex-end; }
.lp-note.palette-note .arrow { transform: scaleX(-1) rotate(-30deg); width: 54px; height: 44px; }

@media (max-width: 1199.98px) { .lp-note.palette-note, .lp-note.day-note { display: none; } }
@media (max-width: 991.98px) {
    .lp-find { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 767.98px) {
    .lp-sky { height: 110px; }
    .lp-day-track { padding: 0 .3rem; }
    .lp-moment small { display: none; }
    .lp-moment .pt { width: 38px; height: 38px; font-size: .95rem; }
    .lp-day-track::before { top: 18px; }
    .lp-day-cards { padding: .4rem .8rem 1rem; }
    .lp-day-card { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1rem; }
    .lp-day-code { font-size: .7rem; padding: .2rem .45rem; }
    .lp-keys { grid-template-columns: 1fr; }
    .lp-palette-list { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .lp-sun, .lp-day-card, .lp-cloud { transition: none; animation: none; } }


/* ---------- who it's for: index cards pinned to the page, tilted, with a handwritten tag ---------- */
.lp-pins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; padding-top: .6rem; }
.lp-pin-card { position: relative; padding: 1.8rem 1.4rem 1.4rem; border-radius: 6px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 2px 0 #eef2f7, 0 22px 40px -30px rgba(16, 40, 90, .5); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s; }
.lp-pin-card:nth-child(1) { transform: rotate(-2deg); }
.lp-pin-card:nth-child(2) { transform: rotate(1.5deg) translateY(8px); }
.lp-pin-card:nth-child(3) { transform: rotate(-1deg); }
.lp-pin-card:nth-child(4) { transform: rotate(2deg) translateY(6px); }
.lp-pin-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 30px 50px -28px rgba(16, 40, 90, .5); z-index: 1; }
.lp-pin-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); border-radius: 6px 6px 0 0; opacity: .8; }
.lp-pin-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--s); color: var(--c); font-size: 1.25rem; }
.lp-pin-card h3 { margin: 1rem 0 .4rem; font-size: 1.05rem; font-weight: 700; }
.lp-pin-card p { margin: 0 0 2.2rem; color: var(--ink-2); font-size: .9rem; line-height: 1.6; }
.lp-pin-tag { position: absolute; right: 1.1rem; bottom: .9rem; font-family: var(--hand); font-size: 1.05rem; color: var(--c); transform: rotate(-4deg); }

/* ---------- how it works: hand-circled numbers on a hand-drawn path ---------- */
.lp-trail { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.lp-trail-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; color: #bcd3f2; z-index: 0; }
.lp-trail-line path { stroke-width: 2.5; }
.lp-trail-step { position: relative; z-index: 1; text-align: center; padding: 0 .6rem; }
.lp-trail-num { position: relative; width: 116px; height: 116px; margin: 0 auto .6rem; display: grid; place-items: center; }
.lp-trail-num > span { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: #fff;
    font-family: var(--hand); font-size: 2.8rem; line-height: 1; color: var(--blue); box-shadow: 0 16px 30px -20px rgba(16, 60, 140, .6); }
.lp-trail-num .circle { position: absolute; left: 0; top: 0; width: 100%; height: 100%; color: var(--marker); }   /* wraps the number */
.lp-trail-num .circle path { stroke-width: 2.4; }
.lp-trail-step:nth-child(3) .lp-scribble path { animation-delay: .7s !important; }
.lp-trail-step:nth-child(4) .lp-scribble path { animation-delay: 1.1s !important; }
.lp-trail-when { display: inline-block; font-family: var(--hand); color: #e07b1a; font-size: 1.05rem; transform: rotate(-3deg); }
.lp-trail-step h3 { margin: .4rem 0 .5rem; font-size: 1.12rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: .45rem; }
.lp-trail-step h3 .bi { color: var(--blue); }
.lp-trail-step p { margin: 0 auto; max-width: 300px; color: var(--ink-2); font-size: .93rem; line-height: 1.6; }

@media (max-width: 1199.98px) {
    .lp-pins { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
}
@media (max-width: 767.98px) {
    .lp-trail { grid-template-columns: 1fr; gap: 1.8rem; }
    .lp-trail-line { display: none; }
}
@media (max-width: 575.98px) {
    .lp-pins { grid-template-columns: 1fr; }
    .lp-pin-card:nth-child(n) { transform: rotate(0); }
}


/* ---------- features: a bento grid; each card has a small sketched preview ---------- */
.lp-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.lp-bcard { position: relative; display: flex; flex-direction: column; gap: 1.2rem; padding: 1.7rem; border-radius: 22px; background: #fff; border: 1px solid var(--line);
    transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.lp-bcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 30%, #fff); box-shadow: 0 26px 50px -32px rgba(16, 60, 140, .45); }
.lp-bcard.wide { grid-column: span 2; flex-direction: row; align-items: center; }
.lp-bcard.wide > * { flex: 1 1 0; min-width: 0; }
.lp-bcard h3 { margin: 1.1rem 0 .45rem; font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
.lp-bcard p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.6; }
.lp-bcard .lp-ficon { background: var(--s); color: var(--c); }
.lp-bvis { position: relative; margin-top: auto; padding: 1rem; border-radius: 16px; background: linear-gradient(145deg, var(--s), #fff 75%); border: 1px dashed color-mix(in srgb, var(--c) 30%, #fff); }
.lp-bcard.wide .lp-bvis { margin-top: 0; }
/* the bento: row 1 Journals (wide) + Receive · row 2 Chart + Bank rec (wide) · row 3 Customers + Files (wide) */

/* journal */
.lp-mini-jv { background: #fff; border-radius: 12px; border: 1px solid var(--line); font-size: .8rem; overflow: hidden; }
.lp-mini-jv .h { display: flex; justify-content: space-between; align-items: center; padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.lp-mini-jv .h .mono { color: var(--blue); font-weight: 700; font-size: .78rem; }
.lp-mini-jv .r { display: grid; grid-template-columns: 1fr 6.5rem 6.5rem; gap: .5rem; padding: .45rem .75rem; border-bottom: 1px solid #f0f3f7; }
.lp-mini-jv .r b { text-align: right; font-weight: 600; font-size: .76rem; }
.lp-mini-jv .r.t { border-bottom: 0; background: #f7fafd; font-weight: 700; }
.lp-note.bento-note { right: .6rem; bottom: -.4rem; transform: rotate(-6deg); font-size: 1.1rem; align-items: center; gap: .2rem; color: var(--green); }
.lp-note.bento-note .check { position: static; width: 22px; height: 22px; color: var(--green); }

/* voucher chips */
.lp-vchips { display: flex; flex-wrap: wrap; gap: .45rem; }
.lp-vchips span { padding: .35rem .65rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 700; }
.lp-vchips .g { color: #1f8a3a; } .lp-vchips .r { color: var(--red); } .lp-vchips .b { color: var(--blue); } .lp-vchips .v { color: var(--violet); }

/* account tree */
.lp-tree, .lp-tree ul { list-style: none; margin: 0; padding: 0; }
.lp-tree { font-size: .8rem; font-family: var(--mono); }
.lp-tree li { padding: .18rem 0; }
.lp-tree ul { margin-left: .6rem; padding-left: .9rem; border-left: 1.5px dashed color-mix(in srgb, var(--c) 40%, #fff); }
.lp-tree .bi { color: var(--c); margin-right: .25rem; }

/* bank reconciliation */
.lp-mini-rec { background: #fff; border-radius: 12px; border: 1px solid var(--line); font-size: .8rem; overflow: hidden; }
.lp-mini-rec .r { display: grid; grid-template-columns: 20px 3.6rem 1fr auto; gap: .55rem; align-items: center; padding: .45rem .75rem; border-bottom: 1px solid #f0f3f7; }
.lp-mini-rec .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #c9d4e3; position: relative; }
.lp-mini-rec .r.ok .box { border-color: var(--c); }
.lp-mini-rec .box .check { position: absolute; left: -3px; top: -6px; width: 24px; height: 24px; color: var(--c); }
.lp-draw .lp-reveal.in .lp-mini-rec .lp-scribble path { animation-delay: calc(.5s + var(--d, 0s)); }
.lp-mini-rec .d { color: var(--subtle); font-size: .74rem; }
.lp-mini-rec .w { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-mini-rec .r b { font-size: .76rem; }
.lp-mini-rec .r:not(.ok) { color: var(--ink-2); }
.lp-mini-rec .f { display: flex; align-items: baseline; gap: .6rem; padding: .55rem .75rem; background: var(--amber-soft); }
.lp-mini-rec .f span { font-weight: 700; } .lp-mini-rec .f b { color: #9a6700; }
.lp-mini-rec .f small { margin-left: auto; font-family: var(--hand); font-size: .95rem; color: #b06d00; }

/* party */
.lp-mini-party { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.lp-mini-party .av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 800; font-size: .8rem; }
.lp-mini-party b { display: block; font-size: .86rem; }
.lp-mini-party small { color: var(--ink-2); font-size: .74rem; }
.lp-mini-party .bal { margin-left: auto; font-size: .76rem; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* files & log */
.lp-mini-log .file { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .7rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; transform: rotate(-1.5deg); }
.lp-mini-log .file .bi { color: var(--red); font-size: 1rem; }
.lp-mini-log .file small { color: var(--subtle); font-weight: 500; }
.lp-mini-log ul { list-style: none; margin: .8rem 0 0; padding: 0 0 0 .9rem; border-left: 2px solid color-mix(in srgb, var(--c) 30%, #fff); display: grid; gap: .45rem; font-size: .8rem; color: var(--ink-2); }
.lp-mini-log li .bi { color: var(--c); margin-right: .3rem; }
.lp-mini-log li small { margin-left: .3rem; color: var(--subtle); font-family: var(--mono); font-size: .72rem; }

@media (max-width: 991.98px) {
    .lp-bento { grid-template-columns: 1fr 1fr; }
    .lp-bcard.wide { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    .lp-bento { grid-template-columns: 1fr; }
    .lp-bcard.wide { flex-direction: column; align-items: stretch; }
    .lp-note.bento-note { display: none; }
}

/* icon chip of a card (features)  */
.lp-ficon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--s); color: var(--c); }

/* the pin holding each "Who it's for" card (a pushpin icon in the card's colour, stuck into the top edge) */
.lp-pin-card .lp-tack { position: absolute; top: -26px; left: 50%; z-index: 2; width: 34px; height: 44px; margin-left: -17px; transform: rotate(8deg); transform-origin: 50% 90%; }


/* ---------- reports: a stack of sheets, a ring round the bottom-line number, clickable report chips ---------- */
.lp-sheet-stack { position: relative; }
.lp-sheet-stack::before, .lp-sheet-stack::after { content: ""; position: absolute; inset: 0; border-radius: 18px; background: #fff; }
.lp-sheet-stack::before { transform: rotate(-3.5deg) translate(-10px, 8px); opacity: .35; }
.lp-sheet-stack::after { transform: rotate(2.4deg) translate(8px, 4px); opacity: .6; }
.lp-chips .pick { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .82rem; font-weight: 600; transition: background .15s, border-color .15s; }
.lp-chips .pick:hover { background: rgba(255, 255, 255, .2); }
.lp-chips .pick.on { background: #fff; color: var(--blue); border-color: #fff; }
.lp-sheet .net .hand { margin-left: .5rem; font-family: var(--hand); font-weight: 400; font-size: 1.05rem; color: #e07b1a; display: inline-block; transform: rotate(-4deg); }
.lp-ring { position: relative; display: inline-block; padding: 0 .2rem; }
.lp-ring .circle { position: absolute; left: -14px; top: -10px; width: calc(100% + 28px); height: calc(100% + 20px); color: var(--marker); }
.lp-ring .circle path { stroke-width: 2.2; }


/* ---------- navbar, hand-drawn: an orange underline draws under the section on screen and on hover; a tagline; a Find chip ---------- */
.lp-links a { position: relative; }
.lp-links a.on { background: none; color: var(--ink); }
.lp-links a:hover { background: none; }
.lp-nav-ul { position: absolute !important; left: 14%; bottom: 0; width: 72%; height: 8px; color: var(--marker); opacity: 0; }
.lp-nav-ul path { stroke-width: 2.6; }
.lp-draw .lp-nav-ul { opacity: 1; }
.lp-draw .lp-links a:hover .lp-nav-ul path, .lp-draw .lp-links a.on .lp-nav-ul path { stroke-dashoffset: 0; transition: stroke-dashoffset .35s ease; }   /* transition only here: no flash while the page sets up */
.lp-links a.on .lp-nav-ul { opacity: 1; }   /* without the page script: just shown */
.lp-brand-tag { margin-left: .35rem; font-family: var(--hand); font-weight: 400; font-size: 1rem; color: var(--marker); transform: rotate(-5deg) translateY(4px); display: inline-block; }
.lp-kchip { align-items: center; gap: .4rem; height: 38px; padding: 0 .55rem 0 .8rem; border-radius: 10px; border: 1px dashed #cfd9e8; color: var(--ink-2); font-size: .86rem; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.lp-kchip:hover { border-style: solid; border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.lp-kchip .lp-kbd { margin: 0; }
.lp-nav .lp-btn-primary .bi-arrow-right { transition: transform .2s; }
.lp-nav .lp-btn-primary:hover .bi-arrow-right { transform: translateX(3px); }

/* ==========================================================
   Smarter navbar (partials/lp-nav): floats as a glass bar when scrolled, tucks away on the way down,
   a highlight slides under the links, the handwritten note says where you are
   ========================================================== */
.lp-nav { transition: transform .35s cubic-bezier(.2, .8, .2, 1), padding .25s, background .25s, border-color .25s, box-shadow .25s; }
.lp-nav-in { position: relative; transition: background .25s, border-color .25s, box-shadow .25s, padding .25s, border-radius .25s; border: 1px solid transparent; }
.lp-nav.scrolled { padding: .55rem 0; background: transparent; border-bottom-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lp-nav.scrolled .lp-nav-in { padding-top: .45rem; padding-bottom: .45rem; border-radius: 18px; background: rgba(255, 255, 255, .84); border-color: rgba(214, 224, 238, .9);
    -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7); box-shadow: 0 18px 40px -24px rgba(16, 40, 90, .45), 0 2px 6px rgba(16, 40, 90, .04); }
.lp-nav.tucked { transform: translateY(-120%); }
/* reading progress: a thin line along the bottom of the bar */
.lp-nav-in .lp-progress { left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.lp-nav.scrolled .lp-progress { left: 18px; right: 18px; bottom: -1px; border-radius: 2px; }
/* the phone menu sits under the floating bar as its own card */
.lp-nav.scrolled .lp-mobile { margin: .5rem .75rem 0; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -30px rgba(16, 40, 90, .5); }

/* the sliding highlight */
.lp-links { position: relative; }
.lp-links > a, .lp-links > .lp-mega-wrap { position: relative; z-index: 1; }
.lp-glide { position: absolute; left: 0; top: 50%; height: 34px; margin-top: -17px; border-radius: 9px; background: #eef4ff; box-shadow: inset 0 0 0 1px #dbe7fb; opacity: 0; pointer-events: none;   /* opacity set by the script */
    transition: transform .32s cubic-bezier(.3, .9, .3, 1), width .32s cubic-bezier(.3, .9, .3, 1), opacity .2s; }
.lp-mega-wrap:hover .lp-link-btn, .lp-mega-wrap:focus-within .lp-link-btn { background: none; }
.lp-links > a:hover, .lp-links > a.on, .lp-link-btn:hover { color: var(--ink); }

/* "you are here" note by the logo: fixed width so the links never jump */
.lp-brand-tag { width: 8.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-brand-tag.pop { animation: lpHere .45s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes lpHere { from { opacity: 0; transform: rotate(-5deg) translateY(10px); } }

/* the logo's icon tips like a scale on hover */
.lp-brand:hover .lp-brand-mark .bi { animation: lpTip .7s ease; }
@keyframes lpTip { 25% { transform: rotate(-14deg); } 55% { transform: rotate(10deg); } 80% { transform: rotate(-4deg); } }

/* a light sweeps across the main button now and then */
.lp-shine { position: relative; overflow: hidden; }
.lp-shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); animation: lpShine 6s ease-in-out 2s infinite; }
@keyframes lpShine { 0%, 82% { left: -60%; } 100% { left: 130%; } }

@media (prefers-reduced-motion: reduce) { .lp-nav, .lp-glide { transition: none; } .lp-shine::after, .lp-brand-tag.pop { animation: none; } }

/* ---------- hero, alive: a "Live" dot, totals that flash when a sample voucher posts, a note, and icons on the numbers strip ---------- */
.lp-live { display: inline-flex; align-items: center; gap: .25rem; color: #2e8b1e; }
.lp-live i { width: 6px; height: 6px; border-radius: 50%; background: #42b72a; box-shadow: 0 0 0 0 rgba(66, 183, 42, .5); animation: lpLive 1.6s ease-out infinite; }
@keyframes lpLive { 70%, 100% { box-shadow: 0 0 0 6px rgba(66, 183, 42, 0); } }
.lp-kpi { transition: border-color .3s, box-shadow .3s; }
.lp-kpi.hit { animation: lpKpiHit 1.1s ease; }
@keyframes lpKpiHit { 0% { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 119, 242, .15); } 100% { border-color: var(--line); box-shadow: none; } }
.lp-tag.ok.hit { animation: lpPop .45s ease; }
@keyframes lpPop { 50% { transform: scale(1.1); } }
.lp-bar-pair span { transition: height .7s cubic-bezier(.2, .8, .2, 1); }
.lp-float .ic.r { background: var(--red-soft); color: var(--red); }
.lp-float > * { transition: opacity .25s, transform .25s; }
.lp-float.swap > * { opacity: 0; transform: translateY(6px); }
/* move the "posted" card off the chart: under the window's bottom-left corner */
.lp-float.f1 { left: -28px; bottom: -14px; min-width: 232px; }
.lp-note.stage-note { left: -1rem; top: -1.6rem; transform: rotate(-5deg); align-items: center; gap: .2rem; z-index: 3; }
.lp-note.stage-note .arrow { width: 42px; height: 34px; }   /* its natural curve points down at the dashboard */

.lp-strip-grid > div { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; transition: background .2s; }
.lp-strip-grid > div:hover { background: #fafcff; }
.lp-strip-grid > div:first-child:hover { border-radius: 20px 0 0 20px; }
.lp-strip-grid > div:last-child:hover { border-radius: 0 20px 20px 0; }
.lp-strip-grid .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--s); color: var(--c); font-size: 1.2rem; transition: transform .25s; }
.lp-strip-grid > div:hover .ic { transform: rotate(-8deg) scale(1.08); }
.lp-strip-grid b { line-height: 1.1; }
.lp-note.strip-note { right: 1.2rem; top: .9rem; transform: rotate(8deg); font-size: 1.05rem; }
@media (max-width: 1199.98px) { .lp-note.stage-note, .lp-note.strip-note { display: none; } }
@media (max-width: 767.98px) { .lp-float.f1 { left: 8px; bottom: -8px; min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .lp-live i, .lp-kpi.hit { animation: none; } }

/* ---------- buttons, refreshed: clean pills with soft shadows; big buttons carry a round arrow chip ---------- */
.lp-btn { position: relative; border-radius: 99px; font-weight: 600; transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s, color .2s; }
.lp-btn:focus-visible { outline: 3px solid rgba(24, 119, 242, .3); outline-offset: 2px; }
.lp-btn-sm { height: 40px; padding: 0 1.1rem; border-radius: 99px; }
.lp-btn-lg { height: 52px; padding: 0 1.6rem; }
.lp-btn-lg:has(.bi-arrow-right) { padding-right: .55rem; }

/* the arrow slides on hover; on big buttons it sits in a round chip */
.lp-btn .bi-arrow-right { display: inline-grid; place-items: center; transition: transform .2s ease; }
.lp-btn:hover .bi-arrow-right { transform: translateX(3px); }
.lp-btn-lg .bi-arrow-right { width: 38px; height: 38px; margin-left: .35rem; border-radius: 50%; font-size: 1rem; }

/* main button: blue gradient, soft glow, lifts on hover */
.lp-btn-primary { background: var(--lp-grad); color: #fff; border: 0; box-shadow: 0 8px 20px -8px rgba(24, 119, 242, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lp-btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(24, 119, 242, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.lp-btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px -6px rgba(24, 119, 242, .6); }
.lp-btn-lg.lp-btn-primary .bi-arrow-right { background: rgba(255, 255, 255, .2); }

/* secondary button: white with a thin outline that turns blue */
.lp-btn-ghost { background: #fff; color: var(--ink); border: 1px solid #d6dfeb; box-shadow: 0 1px 2px rgba(11, 27, 51, .05); }
.lp-btn-ghost:hover { color: var(--blue); background: #f7fbff; border-color: #a9c9f5; transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(24, 119, 242, .45); }
.lp-btn-ghost:active { transform: translateY(0); }
.lp-btn-ghost .bi-play-circle { font-size: 1.1rem; color: var(--blue); }

/* on the blue call-to-action panel */
.lp-btn-white { background: #fff; color: var(--blue); border: 0; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.lp-btn-white:hover { color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .5); }
.lp-btn-lg.lp-btn-white .bi-arrow-right { background: var(--blue-soft); }
.lp-btn-outline { color: #fff; border: 1px solid rgba(255, 255, 255, .55); background: transparent; }
.lp-btn-outline:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .lp-btn, .lp-btn .bi-arrow-right { transition: none; }
    .lp-btn:hover, .lp-btn:active { transform: none; }
}

/* navbar fit: keep everything inside the bar (and its scrolled "pill") at every width */

.lp-links { margin-left: .75rem; gap: .1rem; }
.lp-links a { padding: .4rem .6rem; }
.lp-nav .lp-btn-sm { padding: 0 1rem; }
.lp-nav .lp-nav-in > .ms-auto { gap: .5rem !important; flex: none; }
.lp-nav-in.tight .lp-brand-tag { display: none !important; }   /* beats Bootstrap d-xl-inline */
.lp-nav-in.tighter .lp-xl { display: none !important; }
