/* Copyright (c) 2026 VSP AI and Robotics. All rights reserved.
 *
 * Hand-written styles for the public landing page. landing-base.css is the
 * generated Tailwind subset from the original design build; everything the
 * port and the new sections need lives here, on the same tokens
 * (--leather, --tangerine, --surface, ...) so light and dark both follow.
 */

:root { --lp-mut: #5d6354; --lp-ease: cubic-bezier(.2, .7, .2, 1); --lp-spring: cubic-bezier(.34, 1.4, .5, 1); }
[data-theme="dark"] { --lp-mut: #98a291; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.reduce-motion { scroll-behavior: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--tangerine); outline-offset: 3px; }
::selection { background: rgba(255, 90, 31, .22); }

/* ---- utilities the design used but the original build never generated ---- */
.gap-14 { gap: 3.5rem; }
.max-w-\[48ch\] { max-width: 48ch; }
.text-mut\/80 { color: color-mix(in srgb, var(--lp-mut) 80%, transparent); }
.text-on-leather-muted\/70 { color: color-mix(in srgb, var(--on-leather-muted) 70%, transparent); }
.text-on-leather-muted\/80 { color: color-mix(in srgb, var(--on-leather-muted) 80%, transparent); }
.placeholder\:text-on-leather-muted\/70::placeholder { color: color-mix(in srgb, var(--on-leather-muted) 70%, transparent); }
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
}
.lp-btn-block { display: block; text-align: center; }
.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--tangerine); color: #fff6f0; font-weight: 600; transition: top .2s; }
.lp-skip:focus { top: 12px; }
.lp-link { color: var(--tangerine-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.lp-link-light { color: var(--on-leather); text-decoration: underline; text-decoration-color: rgba(242, 240, 228, .35); text-underline-offset: 4px; }
.lp-link-light:hover { text-decoration-color: var(--tangerine); }
.avatar-initials { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; background: var(--leather); color: var(--on-leather); font: 600 13px/1 "Instrument Sans", sans-serif; }

/* ---- header ---- */
.lp-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; pointer-events: none; }
.lp-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--tangerine), #ffb38a); }
[data-header] > div { transition: transform .45s var(--lp-ease); }
[data-header].is-hidden > div { transform: translateY(-120%); }
/* the header reacts to scroll: compacts, deepens its glass, and a highlight
   glides to the section in view (and follows the pointer across links) */
.lp-pill { transition: height .45s var(--lp-ease), box-shadow .45s var(--lp-ease), background-color .45s, padding .45s var(--lp-ease); }
.lp-pill svg[width="34"] { transition: width .45s var(--lp-ease), height .45s var(--lp-ease); }
[data-header].is-scrolled .lp-pill { height: 3rem; background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: 0 24px 54px -26px rgba(15, 18, 14, .55); }
[data-header].is-scrolled .lp-pill svg[width="34"] { width: 28px; height: 28px; }
[data-header] .sm\:flex > a, [data-header] [data-theme-toggle] { transition: transform .45s var(--lp-ease), height .45s var(--lp-ease), padding .45s var(--lp-ease); }
[data-header].is-scrolled [data-theme-toggle] { height: 2.5rem; width: 2.5rem; }
[data-nav] a { position: relative; z-index: 1; }
.lp-navlink:hover { background: transparent; }
.lp-navlink.is-active { color: var(--ink); }
.lp-navlink::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--tangerine); transform: scale(0); transition: transform .4s var(--lp-spring); }
.lp-navlink.is-active::after { transform: scale(1); }
.lp-nav-ind { position: absolute; z-index: 0; left: 0; top: 50%; height: 34px; margin-top: -17px; width: var(--w, 0px); transform: translateX(var(--x, 0px)); border-radius: 999px; background: var(--surface-2); opacity: 0; transition: transform .55s var(--lp-spring), width .55s var(--lp-spring), opacity .3s; pointer-events: none; }
.lp-nav-ind.is-on { opacity: 1; }

/* scroll-shifting background (desktop motion mode only) */
.lp-bg { display: none; }
.lp-scrub .lp-bg { display: block; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lp-bg i { position: absolute; width: 52vw; height: 52vw; border-radius: 50%; will-change: transform; }
.lp-bg-a { left: -14vw; top: -18vh; background: radial-gradient(closest-side, rgba(255, 90, 31, .16), transparent 72%); }
.lp-bg-b { right: -16vw; top: 30vh; background: radial-gradient(closest-side, rgba(74, 83, 64, .22), transparent 72%); }
[data-theme="dark"] .lp-bg-a { background: radial-gradient(closest-side, rgba(255, 107, 43, .14), transparent 72%); }
[data-theme="dark"] .lp-bg-b { background: radial-gradient(closest-side, rgba(120, 136, 98, .16), transparent 72%); }

/* ===================================================================
   SCROLL-DRIVEN MOTION -- desktop (`.lp-scrub`, set before first paint
   when the browser supports view timelines). Native CSS scroll-driven
   animations: progress *is* the scroll position, the compositor runs them,
   no script per frame. Only transform / translate / scale / opacity move.
   =================================================================== */
@supports (animation-timeline: scroll()) {
  .lp-progress span { animation: lpGrow linear both; animation-timeline: scroll(root); }
}
@keyframes lpGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 1. every revealed block scrolls IN (rising from below, staggered within its
   row) and OUT (lifting and fading as it passes under the top edge), and
   reverses both ways when you scroll back. Two animations on one view
   timeline: the out-animation fills forwards only, so before its range it is
   inactive and the in-animation shows through. */
.lp-scrub [data-reveal] {
  opacity: 1; transform: none; transition: none;
  animation: lpScrubIn linear both, lpScrubOut linear forwards;
  animation-timeline: view(), view();
  /* out only once the block is half gone, so a tall panel's lower content
     stays fully readable while its top slides under the header */
  animation-range: entry calc(var(--si, 0) * 5%) cover calc(24% + var(--si, 0) * 4%), exit 50% exit 100%;
  animation-timing-function: cubic-bezier(.2, .7, .2, 1), cubic-bezier(.45, 0, .7, .4);
}
@keyframes lpScrubIn { from { opacity: 0; transform: translate3d(0, 70px, 0) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes lpScrubOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(0, -56px, 0) scale(.97); } }
.lp-scrub .lp-roles-sticky [data-reveal] { animation: none; }

/* inner parts of a revealed block (a card's widget, list rows, chat bubbles,
   form fields) arrive just after their parent -- `translate`, so they never
   fight the parent's transform */
.lp-scrub [data-kid] {
  animation: lpKid linear both;
  animation-timeline: view();
  animation-range: entry calc(var(--ki, 0) * 3%) cover calc(16% + var(--ki, 0) * 2%);
  animation-timing-function: cubic-bezier(.2, .7, .2, 1);
}
@keyframes lpKid { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

/* 2. headings: words rise one after another as a single fluid move when the
   heading arrives (the one-shot rule above) -- deliberately not 50+ separate
   scroll-linked animations, which is where the stutter came from */
.lp-scrub .lp-split .w > span { transition-duration: 1.1s; }

/* infinite decorative loops stop while their section is off screen */
.lp-off .pulse-dot::after, .lp-off .float-a, .lp-off .float-b, .lp-off .float-c,
.lp-off .lp-ai-glow, .lp-off .marquee-track, .lp-off .lp-typing i { animation-play-state: paused; }

/* 3. parallax depth -- `translate` composes with everything else */
@keyframes lpPar { from { translate: 0 var(--par, 40px); } to { translate: 0 calc(var(--par, 40px) * -1); } }
.lp-scrub #features .grid > div > .lp-card,
.lp-scrub #stories .md\:grid-cols-3 > div > .lp-card,
.lp-scrub .lp-chat, .lp-scrub .lp-popular,
.lp-scrub .lp-phone-wrap {
  animation: lpPar linear both; animation-timeline: view(); animation-range: cover 0% cover 100%;
}
.lp-scrub #features .grid > div:nth-child(1) > .lp-card, .lp-scrub #features .grid > div:nth-child(4) > .lp-card { --par: 22px; }
.lp-scrub #features .grid > div:nth-child(2) > .lp-card, .lp-scrub #features .grid > div:nth-child(3) > .lp-card { --par: 52px; }
.lp-scrub #stories .md\:grid-cols-3 > div:nth-child(1) > .lp-card { --par: 14px; }
.lp-scrub #stories .md\:grid-cols-3 > div:nth-child(2) > .lp-card { --par: 34px; }
.lp-scrub #stories .md\:grid-cols-3 > div:nth-child(3) > .lp-card { --par: 22px; }
.lp-scrub .lp-chat { --par: 36px; }
.lp-scrub .lp-popular { --par: 28px; }
.lp-scrub .lp-phone-wrap.back { --par: 90px; }
.lp-scrub .lp-phone-wrap.front { --par: -48px; }
.lp-scrub .lp-phone-toast {
  animation: floatY 6s ease-in-out infinite, lpPar linear both;
  animation-timeline: auto, view(); animation-range: normal, cover 0% cover 100%; --par: 120px;
}

/* tour screenshot opens up as it arrives; the closing panel settles in */
/* translate + opacity only: scaling a panel with a large blurred shadow
   forces it to be re-rasterised every frame */
@keyframes lpZoom { from { opacity: .35; translate: 0 90px; } to { opacity: 1; translate: 0 0; } }
.lp-scrub #tour .mt-12 { animation: lpZoom linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
@keyframes lpSettle { from { translate: 0 80px; } to { translate: 0 0; } }
.lp-scrub .lp-cta-panel { animation: lpSettle linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }

/* hero: as the first screen scrolls away the panel eases back, the copy
   sinks and fades, the dashboard rises and the floating cards fly apart */
@keyframes lpHeroPanel { to { translate: 0 120px; } }
@keyframes lpHeroCopy { to { translate: 0 70px; opacity: .2; } }
@keyframes lpHeroArt { to { translate: 0 -110px; } }
@keyframes lpAway { to { translate: 0 var(--away, -120px); } }
.lp-scrub .lp-hero-panel { animation: lpHeroPanel linear both; animation-timeline: scroll(root); animation-range: 0px 820px; }
.lp-scrub #top .grid > div:first-child { animation: lpHeroCopy linear both; animation-timeline: scroll(root); animation-range: 0px 760px; }
.lp-scrub #top [data-perspective] { animation: lpHeroArt linear both; animation-timeline: scroll(root); animation-range: 0px 820px; }
.lp-scrub #top .lp-pop {
  animation: lpPop .9s var(--lp-spring) forwards, lpAway linear both;
  animation-delay: calc(var(--d, 0) * 120ms + 300ms), 0s;
  animation-timeline: auto, scroll(root); animation-range: normal, 0px 820px;
}
.lp-scrub #top .lp-pop:nth-child(2) { --away: -170px; }
.lp-scrub #top .lp-pop:nth-child(3) { --away: -60px; }
.lp-scrub #top .lp-pop:nth-child(4) { --away: -230px; }

/* 4. the background glows drift with overall progress */
@keyframes lpBgA { to { transform: translate3d(70vw, 80vh, 0) scale(1.35); } }
@keyframes lpBgB { to { transform: translate3d(-60vw, -10vh, 0) scale(.9); } }
.lp-scrub .lp-bg-a { animation: lpBgA linear both; animation-timeline: scroll(root); }
.lp-scrub .lp-bg-b { animation: lpBgB linear both; animation-timeline: scroll(root); }

/* 5. while the role stage is pinned, it keeps drifting gently so the page
   never feels stopped */
@keyframes lpPinDrift { from { translate: 0 22px; } to { translate: 0 -22px; } }
@keyframes lpPinCopy { from { translate: 0 -14px; } to { translate: 0 14px; } }
.lp-scrub .lp-roles-pin { view-timeline: --pin block; }
.lp-scrub .lp-roles-sticky .lp-app { animation: lpPinDrift linear both; animation-timeline: --pin; animation-range: contain 0% contain 100%; }
.lp-scrub .lp-roles-sticky .lp-role-copy { animation: lpPinCopy linear both; animation-timeline: --pin; animation-range: contain 0% contain 100%; }
.lp-scrub .lp-roles-sticky .lp-role-panel.is-entering .lp-app {
  animation: lpAppIn .55s var(--lp-ease) both, lpPinDrift linear both;
  animation-timeline: auto, --pin; animation-range: normal, contain 0% contain 100%;
}
.login-link { display: none; padding: 0 .5rem; font-size: 13px; font-weight: 500; color: var(--ink); opacity: .7; }
.login-link:hover { opacity: 1; }
@media (min-width: 640px) { .login-link { display: inline-block; } }
.mobile-menu { position: absolute; left: 1rem; right: 1rem; top: 4.75rem; display: flex; flex-direction: column; gap: .25rem; padding: .75rem; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(15, 18, 14, .5); transform-origin: top center; animation: lpMenu .28s var(--lp-ease); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a, .lp-menu-theme { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); text-align: left; }
.mobile-menu a:hover, .lp-menu-theme:hover { background: var(--surface-2); }
.mobile-menu .mobile-cta { justify-content: center; margin-top: .25rem; background: var(--tangerine); color: #fff6f0; font-weight: 600; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
@keyframes lpMenu { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* ---- motion: load sequence, reveals, splits ---- */
.js .lp-intro { opacity: 0; transform: translateY(18px); animation: lpIn .9s var(--lp-ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
.js .lp-rise { transform: translateY(105%); animation: lpRise 1.1s var(--lp-ease) forwards; animation-delay: calc(var(--d, 0) * 130ms + 80ms); }
.js .lp-pop { opacity: 0; transform: translateY(16px) scale(.92); animation: lpPop .9s var(--lp-spring) forwards; animation-delay: calc(var(--d, 0) * 120ms + 300ms); }
.js .lp-hero-frame { opacity: 0; transform: rotateX(8deg) rotateY(-10deg) translateY(30px); animation: lpFrame 1.4s var(--lp-ease) .35s forwards; }
@keyframes lpIn { to { opacity: 1; transform: none; } }
@keyframes lpRise { to { transform: none; } }
@keyframes lpPop { to { opacity: 1; transform: none; } }
@keyframes lpFrame { to { opacity: 1; transform: none; } }
[data-perspective] { perspective: 1400px; }
[data-parallax-tilt] { transform-style: preserve-3d; transition: transform .6s var(--lp-ease); will-change: transform; }

/* Grain: the design's SVG-noise overlay used mix-blend-mode: overlay, which
   forces the whole leather panel to repaint whenever anything near it moves.
   A pre-rendered tile with normal blending looks the same and costs nothing. */
.grain::after { mix-blend-mode: normal; opacity: .28; background-image: url("/assets/vsp_suite_core/images/grain.png"); background-size: 128px 128px; }

/* Always-on loops must never repaint: the design's pulse animated box-shadow
   (a repaint every frame, seven times over) and the header logo pulsed under
   a backdrop blur (re-blurring the glass every frame). Both now animate only
   transform / opacity on their own layer, which the GPU composites for free. */
.pulse-dot { position: relative; animation: none !important; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 90, 31, .55); animation: lpPing 2.2s cubic-bezier(.2, .7, .2, 1) infinite; will-change: transform, opacity; }
@keyframes lpPing { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.logo-pulse { animation: none !important; }
.reduce-motion .pulse-dot::after { display: none; }

/* one-shot reveal (phones, tablets, browsers without scroll timelines) */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--lp-ease), transform .9s var(--lp-ease); transition-delay: calc(var(--si, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.lp-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.lp-split .w > span { display: inline-block; transform: translateY(102%); transition: transform 1s var(--lp-ease); transition-delay: calc(var(--wi, 0) * 45ms + 120ms); }
.in .lp-split .w > span, .lp-split.in .w > span { transform: none; }

[data-bar] { width: 0; transition: width 1.4s var(--lp-ease) .2s; }
.lp-ring { transition: stroke-dashoffset 1.8s var(--lp-ease) .25s; }
/* hover lift uses `scale`, a separate property from the `transform` and
   `translate` the scroll motion animates, so the two never fight */
.lp-card { transition: scale .5s var(--lp-ease), box-shadow .5s var(--lp-ease), border-color .3s; }
@media (hover: hover) {
  .lp-card:hover { scale: 1.012; box-shadow: 0 30px 60px -36px rgba(15, 18, 14, .45); }
}
[data-magnetic] { transition: transform .35s var(--lp-spring), background-color .2s, box-shadow .3s; will-change: transform; }

/* cursor-following glow on leather panels */
.lp-hero-panel, .lp-cta-panel, .lp-ai { position: relative; isolation: isolate; }
/* the glow is one fixed-size layer moved by transform (set from JS), so
   following the pointer never repaints the panel underneath */
.lp-spotlight { position: absolute; left: 0; top: 0; z-index: 0; width: 1040px; height: 1040px; margin: -520px 0 0 -520px; pointer-events: none; opacity: 0; transition: opacity .6s; background: radial-gradient(closest-side, rgba(255, 140, 80, .14), transparent 100%); will-change: transform; }
.lp-hero-panel:hover .lp-spotlight, .lp-cta-panel:hover .lp-spotlight { opacity: 1; }
.lp-hero-panel > .grid, .lp-cta-panel > * { position: relative; z-index: 1; }

/* hero / tour screenshots */
[data-shot="dark"] { opacity: 0; transition: opacity .6s; }
[data-theme="dark"] [data-shot="dark"] { opacity: 1; }
.lp-tour-shot { opacity: 0; transform: scale(1.015); transition: opacity .7s var(--lp-ease), transform 1.2s var(--lp-ease); }
.lp-tour-shot.is-on { opacity: 1; transform: none; }

/* ======================= ROLES ======================= */
.lp-roles { position: relative; padding-top: clamp(2rem, 4vw, 3.5rem); }
.lp-roles-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.lp-mode { display: inline-flex; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lp-mode button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--lp-mut); transition: background .35s var(--lp-ease), color .35s; }
.lp-mode button:hover { color: var(--ink); }
.lp-mode button.is-on { background: var(--leather); color: var(--on-leather); }

.lp-role-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 3rem; }
.lp-role-tab { position: relative; display: flex; align-items: center; gap: 14px; overflow: hidden; padding: 16px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); text-align: left; transition: background .45s var(--lp-ease), color .45s, border-color .45s, transform .35s var(--lp-ease), box-shadow .45s; }
.lp-role-tab:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.lp-role-tab.is-on { background: var(--leather); border-color: var(--leather-border); color: var(--on-leather); box-shadow: 0 24px 50px -30px rgba(15, 18, 14, .7); }
.lp-role-tab-icon { display: inline-flex; flex: 0 0 42px; height: 42px; align-items: center; justify-content: center; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); transition: inherit; }
.lp-role-tab.is-on .lp-role-tab-icon { border-color: rgba(242, 240, 228, .2); background: var(--tangerine); color: #fff6f0; }
.lp-role-tab-text { display: flex; flex-direction: column; min-width: 0; }
.lp-role-tab-text strong { font: 600 16px/1.2 Fraunces, Georgia, serif; letter-spacing: -.01em; }
.lp-role-tab-text small { margin-top: 3px; font: 400 10px/1.3 "Space Mono", monospace; letter-spacing: .14em; text-transform: uppercase; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-role-tab-progress { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.lp-role-tab.is-on .lp-role-tab-progress { background: rgba(242, 240, 228, .14); }
.lp-role-tab-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--tangerine); }
.lp-role-tab.is-on.is-timing .lp-role-tab-progress span { animation: lpProgress var(--role-dur, 7s) linear forwards; }
@keyframes lpProgress { to { transform: scaleX(1); } }

.lp-role-stage { position: relative; margin-top: 18px; }

/* pinned stage: desktop motion mode on a tall-enough screen. The outer box is
   (roles x 85vh) tall; the inner one sticks under the header while it scrolls
   past, so scroll progress -- not a wheel handler -- moves between roles. */
.lp-roles-hint { display: none; }
@media (min-width: 1024px) and (min-height: 760px) {
  /* ~60vh of scroll per role: long enough to read, short enough not to drag */
  .lp-motion .lp-roles-pin { position: relative; height: calc(var(--roles, 3) * 60vh + 40vh); margin-top: 1rem; }
  .lp-motion .lp-roles-sticky { position: sticky; top: 76px; display: flex; min-height: calc(100vh - 88px); flex-direction: column; justify-content: center; }
  .lp-motion .lp-role-tabs { margin-top: 0; }
  .lp-motion .lp-app-body { min-height: 400px; }
  .lp-motion .lp-role-tab .lp-role-tab-progress { background: color-mix(in srgb, var(--line) 70%, transparent); }
  .lp-motion .lp-role-tab.is-on .lp-role-tab-progress { background: rgba(242, 240, 228, .14); }
  .lp-motion .lp-role-tab-progress span { transform: scaleX(var(--p, 0)); animation: none !important; }
  .lp-motion .lp-roles-hint { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--lp-mut); font: 400 10px/1 "Space Mono", monospace; letter-spacing: .22em; text-transform: uppercase; }
  .lp-roles-hint-line { width: 140px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
  .lp-roles-hint-line i { display: block; height: 100%; background: var(--tangerine); transform-origin: 0 50%; transform: scaleX(var(--m, 0)); }
  .lp-motion .lp-role-panel.is-entering .lp-app { animation-duration: .6s; }
}
.lp-role-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px; align-items: center; }
.lp-role-panel[hidden] { display: none; }
.lp-role-panel.is-entering .lp-role-copy > * { animation: lpIn .7s var(--lp-ease) both; }
.lp-role-panel.is-entering .lp-role-copy > *:nth-child(2) { animation-delay: 60ms; }
.lp-role-panel.is-entering .lp-role-copy > *:nth-child(3) { animation-delay: 120ms; }
.lp-role-panel.is-entering .lp-role-copy > *:nth-child(4) { animation-delay: 180ms; }
.lp-role-panel.is-entering .lp-role-copy > *:nth-child(5) { animation-delay: 240ms; }
.lp-role-panel.is-entering .lp-app { animation: lpAppIn .9s var(--lp-ease) both; }
@keyframes lpAppIn { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.975); } }

.lp-role-copy { padding: 8px 4px; }
.lp-role-kicker { font: 400 10px/1 "Space Mono", monospace; letter-spacing: .26em; text-transform: uppercase; color: var(--tangerine-deep); }
.lp-role-copy h3 { margin-top: 14px; font: 500 clamp(1.7rem, 2.6vw, 2.3rem)/1.08 Fraunces, Georgia, serif; letter-spacing: -.02em; color: var(--ink); }
.lp-role-body { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--lp-mut); }
.lp-role-copy ul { margin-top: 22px; display: grid; gap: 12px; }
.lp-role-copy li, .lp-apps-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--ink); }
.lp-role-copy li > span, .lp-apps-points li > span { display: inline-flex; flex: 0 0 20px; height: 20px; margin-top: 1px; align-items: center; justify-content: center; border-radius: 999px; background: var(--tangerine); color: #fff6f0; }
.lp-role-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; }
.lp-role-cta:hover { background: var(--tangerine); color: #fff6f0; }

/* the dashboard mock -- its own light/dark palette, independent of the page theme */
.lp-app {
  --a-bg: #f5f3ea; --a-surface: #fcfbf5; --a-surface2: #efede1; --a-ink: #20241b; --a-mut: #6b7160; --a-line: #e1e0d2;
  --a-side: #eceade; --a-chrome: #e7e8dd; --a-bar: #f4f3ea; --a-accent: #ff5a1f; --a-leather: #2b3023; --a-on-leather: #f2f0e4;
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--a-chrome); padding: 8px;
  box-shadow: 0 60px 120px -60px rgba(15, 18, 14, .6), 0 2px 0 rgba(255, 255, 255, .4) inset;
  color: var(--a-ink); font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  transition: background .6s var(--lp-ease), color .6s, border-color .6s, box-shadow .6s;
}
.lp-app[data-mode="dark"] {
  --a-bg: #0f120e; --a-surface: #171c14; --a-surface2: #1d2319; --a-ink: #eff2e8; --a-mut: #98a291; --a-line: #2a3125;
  --a-side: #12160f; --a-chrome: #20261c; --a-bar: #1a2016; --a-accent: #ff6b2b; --a-leather: #3a4230; --a-on-leather: #f2f0e4;
  border-color: #2c3327;
}
.lp-app *, .lp-phone * { transition: background-color .6s var(--lp-ease), color .6s var(--lp-ease), border-color .6s var(--lp-ease); }
.lp-app-chrome { display: flex; align-items: center; gap: 7px; padding: 4px 8px 10px; }
.lp-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-dot.r { background: #ff5f57; } .lp-dot.y { background: #febc2e; } .lp-dot.g { background: #28c840; }
.lp-app-url { margin: 0 auto; width: min(320px, 70%); padding: 4px 12px; border-radius: 6px; background: var(--a-bar); color: var(--a-mut); font: 400 10px/1.4 "Space Mono", monospace; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-app-body { display: grid; grid-template-columns: 178px minmax(0, 1fr); min-height: 440px; overflow: hidden; border-radius: 14px; background: var(--a-bg); }
.lp-app-side { display: flex; flex-direction: column; gap: 18px; padding: 16px 12px; border-right: 1px solid var(--a-line); background: var(--a-side); }
.lp-app-brand { display: flex; align-items: center; gap: 8px; font: 600 13px/1 Fraunces, Georgia, serif; }
.lp-app-mark { position: relative; display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 7px; background: linear-gradient(135deg, #3a4230, #232819); color: #f1efe3; font: 600 13px/1 Fraunces, Georgia, serif; }
.lp-app-mark i { position: absolute; right: 4px; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: #ff5a1f; }
.lp-app-side ul { display: grid; gap: 2px; }
.lp-app-side li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; font-size: 12px; color: var(--a-mut); }
.lp-app-side li span { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .55; }
.lp-app-side li.is-on { background: var(--a-surface); color: var(--a-ink); font-weight: 600; box-shadow: 0 1px 0 var(--a-line); }
.lp-app-side li.is-on span { border-color: var(--a-accent); background: var(--a-accent); opacity: 1; }
.lp-app-me { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: var(--a-surface); font-size: 11px; font-weight: 600; }
.lp-app-me small { display: block; margin-top: 2px; font-weight: 400; font-size: 9.5px; color: var(--a-mut); }
.lp-avatar { display: inline-flex; flex: 0 0 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--a-leather); color: var(--a-on-leather); font-size: 11px; }
.lp-app-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 18px; }
.lp-app-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lp-app-date { font: 400 9.5px/1 "Space Mono", monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--a-mut); }
.lp-app-greet { margin-top: 7px; font: 500 21px/1.15 Fraunces, Georgia, serif; letter-spacing: -.01em; }
.lp-app-tools { display: flex; align-items: center; gap: 8px; }
.lp-search { padding: 6px 14px; border: 1px solid var(--a-line); border-radius: 999px; background: var(--a-surface); color: var(--a-mut); font-size: 11px; }
.lp-bell { position: relative; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid var(--a-line); border-radius: 50%; background: var(--a-surface); color: var(--a-ink); }
.lp-bell i { position: absolute; top: 4px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--a-accent); box-shadow: 0 0 0 2px var(--a-surface); }
.lp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lp-kpi { padding: 12px 13px; border: 1px solid var(--a-line); border-radius: 13px; background: var(--a-surface); }
.lp-kpi p { font: 400 9px/1.2 "Space Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--a-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-kpi strong { display: block; margin-top: 8px; font: 500 22px/1 Fraunces, Georgia, serif; letter-spacing: -.01em; }
.lp-kpi small { display: block; margin-top: 6px; font-size: 10.5px; color: var(--a-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-kpi.is-accent { border-color: transparent; background: var(--a-leather); color: var(--a-on-leather); }
.lp-kpi.is-accent p, .lp-kpi.is-accent small { color: rgba(242, 240, 228, .7); }
.lp-app-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; flex: 1; }
.lp-panel { padding: 14px; border: 1px solid var(--a-line); border-radius: 13px; background: var(--a-surface); }
.lp-panel-title { font: 400 9.5px/1 "Space Mono", monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--a-mut); }
.lp-rows { display: grid; gap: 4px; margin-top: 10px; }
.lp-rows li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px dashed var(--a-line); }
.lp-rows li:last-child { border-bottom: 0; }
.lp-row-dot { flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--a-line); }
.lp-row-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lp-row-text b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-row-text small { margin-top: 2px; font-size: 10.5px; color: var(--a-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-tag { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; font: 600 9.5px/1.4 "Instrument Sans", sans-serif; font-style: normal; }
.lp-tag.ok { background: color-mix(in srgb, var(--a-leather) 12%, transparent); color: var(--a-ink); }
.lp-tag.warn { background: color-mix(in srgb, var(--a-accent) 14%, transparent); color: var(--a-accent); }
.lp-tag.act { background: var(--a-accent); color: #fff6f0; }
.lp-tag.mute { background: var(--a-surface2); color: var(--a-mut); }
.lp-bars { display: grid; gap: 12px; margin-top: 14px; }
.lp-bars li { display: grid; grid-template-columns: 74px minmax(0, 1fr) 40px; align-items: center; gap: 8px; font-size: 11px; }
.lp-bar-label { color: var(--a-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-bar-track { height: 8px; border-radius: 99px; background: var(--a-surface2); overflow: hidden; }
.lp-bar-fill { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--a-leather); transition: width 1.1s var(--lp-ease); transition-delay: calc(var(--i, 0) * 90ms + 250ms); }
.lp-bars li:first-child .lp-bar-fill { background: var(--a-accent); }
.lp-role-panel.is-on.is-shown .lp-bar-fill { width: var(--w); }
.lp-bar-val { font: 400 11px/1 "Space Mono", monospace; text-align: right; }
.lp-bar-val small { color: var(--a-mut); }
.lp-ask { display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 14px; border: 1px solid var(--a-line); border-radius: 999px; background: var(--a-surface); color: var(--a-accent); font-size: 12px; }
.lp-ask-text { flex: 1; min-width: 0; color: var(--a-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-ask-text.is-typing::after { content: ""; display: inline-block; width: 1px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--a-accent); animation: lpCaret 1s steps(1) infinite; }
@keyframes lpCaret { 50% { opacity: 0; } }
.lp-ask-send { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--a-accent); color: #fff6f0; }
.lp-role-panel.is-shown .lp-kpi, .lp-role-panel.is-shown .lp-rows li { animation: lpUp .6s var(--lp-ease) both; animation-delay: calc(var(--i, 0) * 70ms + 150ms); }
@keyframes lpUp { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1023px) {
  .lp-role-panel { grid-template-columns: 1fr; }
  .lp-role-copy { order: 2; }
}
@media (max-width: 767px) {
  .lp-role-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .lp-role-tab { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
  .lp-role-tab-icon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 11px; }
  .lp-role-tab-text small { display: none; }
  .lp-role-tab-text strong { font-size: 14px; }
  .lp-app-body { grid-template-columns: 1fr; min-height: 0; }
  .lp-app-side { display: none; }
  .lp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-app-cols { grid-template-columns: 1fr; }
  .lp-search { display: none; }
  .lp-app-main { padding: 14px; }
  .lp-app-greet { font-size: 18px; }
}

/* ======================= AI ======================= */
.lp-ai { padding: clamp(28px, 5vw, 64px); }
.lp-ai-glow { position: absolute; z-index: 0; right: -10%; top: -20%; width: 60%; height: 140%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 90, 31, .22), transparent 70%); filter: blur(30px); animation: lpGlow 9s ease-in-out infinite alternate; }
@keyframes lpGlow { to { transform: translate(-8%, 10%) scale(1.1); } }
.lp-ai-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.lp-ai-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin-top: 30px; }
.lp-ai-points li { display: flex; gap: 12px; }
.lp-ai-points b { display: block; margin-bottom: 4px; color: var(--on-leather); font-size: 14px; font-weight: 600; }
.lp-ai-points li > span:last-child { color: var(--on-leather-muted); font-size: 13px; line-height: 1.55; }
.lp-ai-icon { display: inline-flex; flex: 0 0 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(242, 240, 228, .18); border-radius: 12px; background: rgba(242, 240, 228, .07); color: var(--tangerine); }
.lp-ai-powered { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 7px 14px; border: 1px solid rgba(242, 240, 228, .18); border-radius: 999px; color: var(--on-leather-muted); font: 400 10px/1 "Space Mono", monospace; letter-spacing: .18em; text-transform: uppercase; }
.lp-chat { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(242, 240, 228, .16); border-radius: 26px; background: rgba(10, 12, 9, .42); backdrop-filter: blur(14px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.lp-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(242, 240, 228, .1); color: var(--on-leather); }
.lp-chat-head b { display: block; font-size: 14px; }
.lp-chat-head small { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--on-leather-muted); font-size: 11px; }
.lp-chat-head small i { width: 7px; height: 7px; border-radius: 50%; background: #5bd38a; box-shadow: 0 0 0 3px rgba(91, 211, 138, .18); }
.lp-chat-avatar { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 13px; background: var(--tangerine); color: #fff6f0; }
.lp-chat-voice { display: inline-flex; width: 34px; height: 34px; margin-left: auto; align-items: center; justify-content: center; border: 1px solid rgba(242, 240, 228, .18); border-radius: 50%; color: var(--on-leather-muted); }
.lp-chat-log { display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: 20px 18px; }
.lp-msg { display: flex; max-width: 86%; }
.lp-msg p { padding: 11px 15px; border-radius: 18px; font-size: 13.5px; line-height: 1.55; }
.lp-msg.user { align-self: flex-end; }
.lp-msg.user p { border-bottom-right-radius: 6px; background: var(--tangerine); color: #fff6f0; }
.lp-msg.bot p { border-bottom-left-radius: 6px; border: 1px solid rgba(242, 240, 228, .12); background: rgba(242, 240, 228, .08); color: var(--on-leather); }
.js .lp-msg[data-chat-msg] { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .5s var(--lp-ease), transform .5s var(--lp-spring); }
.js .lp-msg[data-chat-msg].is-shown { opacity: 1; transform: none; }
.lp-typing { display: none; }
.lp-typing.is-shown { display: flex; }
.lp-typing p { display: inline-flex; gap: 5px; padding: 14px 16px; }
.lp-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-leather-muted); animation: lpDot 1.1s ease-in-out infinite; }
.lp-typing i:nth-child(2) { animation-delay: .15s; } .lp-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lpDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.lp-chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.lp-chat-suggest span { padding: 7px 12px; border: 1px solid rgba(242, 240, 228, .16); border-radius: 999px; color: var(--on-leather-muted); font-size: 11.5px; transition: border-color .3s, color .3s; }
.lp-chat-suggest span:hover { border-color: var(--tangerine); color: var(--on-leather); }
.lp-chat-input { display: flex; align-items: center; gap: 8px; margin: 0 14px 14px; padding: 8px 8px 8px 16px; border: 1px solid rgba(242, 240, 228, .16); border-radius: 999px; background: rgba(0, 0, 0, .25); color: var(--on-leather-muted); font-size: 13px; }
.lp-chat-input > span:first-child { flex: 1; }
.lp-chat-mic, .lp-chat-send { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; }
.lp-chat-mic { border: 1px solid rgba(242, 240, 228, .18); }
.lp-chat-send { background: var(--tangerine); color: #fff6f0; }
@media (max-width: 1023px) { .lp-ai-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lp-ai-points { grid-template-columns: 1fr; } .lp-chat-log { min-height: 0; } }

/* ======================= APPS ======================= */
.lp-apps-points { display: grid; gap: 12px; margin-top: 28px; }
.lp-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-store { display: inline-flex; align-items: center; gap: 12px; min-width: 186px; padding: 11px 20px; border-radius: 16px; background: var(--ink); color: var(--bg); transition: transform .3s var(--lp-spring), box-shadow .3s; }
.lp-store:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(15, 18, 14, .6); }
.lp-store small { display: block; font-size: 10px; letter-spacing: .04em; opacity: .75; }
.lp-store b { display: block; font: 600 17px/1.15 "Instrument Sans", sans-serif; letter-spacing: -.01em; }
.lp-store.is-soon { position: relative; cursor: default; border: 1px dashed var(--line-strong); background: var(--surface); color: var(--ink); }
.lp-store.is-soon:hover { transform: none; box-shadow: none; }
.lp-store.is-soon small { color: var(--tangerine-deep); opacity: 1; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.lp-phones { position: relative; height: 560px; }
.lp-phones-glow { position: absolute; inset: 15% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 31, .22), transparent 70%); filter: blur(20px); }
.lp-phone-wrap { position: absolute; top: 30px; transition: transform .2s linear; }
.lp-phone-wrap.back { left: 8%; transform: rotate(-6deg); }
.lp-phone-wrap.front { right: 8%; top: 0; transform: rotate(4deg); }
.lp-phone {
  --p-bg: #f5f3ea; --p-surface: #fcfbf5; --p-ink: #20241b; --p-mut: #6b7160; --p-line: #e1e0d2;
  position: relative; width: 258px; height: 528px; padding: 11px; border-radius: 44px; background: linear-gradient(145deg, #3a4230, #171c12); box-shadow: 0 50px 90px -40px rgba(15, 18, 14, .75), inset 0 0 0 1.5px rgba(242, 240, 228, .16);
}
.lp-phone[data-mode="dark"] { --p-bg: #0f120e; --p-surface: #171c14; --p-ink: #eff2e8; --p-mut: #98a291; --p-line: #2a3125; }
.lp-phone-notch { position: absolute; top: 20px; left: 50%; z-index: 2; width: 86px; height: 24px; margin-left: -43px; border-radius: 99px; background: #0b0d09; }
.lp-phone-screen { display: flex; flex-direction: column; gap: 14px; height: 100%; overflow: hidden; padding: 16px 16px 12px; border-radius: 34px; background: var(--p-bg); color: var(--p-ink); font-family: "Instrument Sans", sans-serif; }
.lp-phone-status { display: flex; justify-content: space-between; padding: 0 8px; font: 600 11px/1 "Instrument Sans", sans-serif; }
.lp-phone-sig { display: inline-flex; align-items: flex-end; gap: 2px; }
.lp-phone-sig i { width: 3px; border-radius: 1px; background: currentColor; }
.lp-phone-sig i:nth-child(1) { height: 5px; } .lp-phone-sig i:nth-child(2) { height: 7px; } .lp-phone-sig i:nth-child(3) { height: 9px; }
.lp-phone-brand { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 600 14px/1 Fraunces, Georgia, serif; }
.lp-phone-hero { padding: 18px; border-radius: 22px; background: linear-gradient(160deg, #343a2b, #1d2218); color: #f2f0e4; }
.lp-phone-hero p { font: 400 9.5px/1 "Space Mono", monospace; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.lp-phone-hero strong { display: block; margin-top: 10px; font: 500 34px/1 Fraunces, Georgia, serif; letter-spacing: -.01em; }
.lp-phone-hero small { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11px; opacity: .75; }
.lp-phone-btn { display: block; margin-top: 16px; padding: 11px; border-radius: 999px; background: #ff5a1f; color: #fff6f0; font-size: 13px; font-weight: 600; text-align: center; box-shadow: 0 12px 24px -12px rgba(255, 90, 31, .8); }
.lp-phone-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lp-phone-rows li { display: flex; justify-content: space-between; gap: 8px; min-width: 0; padding: 10px 12px; border: 1px solid var(--p-line); border-radius: 15px; background: var(--p-surface); font-size: 11px; }
.lp-phone-rows span, .lp-phone-rows b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-phone-rows span { color: var(--p-mut); }
.lp-phone-rows b { max-width: 60%; font-weight: 600; }
.lp-phone-tab { display: flex; justify-content: space-around; margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid var(--p-line); }
.lp-phone-tab i { width: 20px; height: 4px; border-radius: 99px; background: var(--p-line); }
.lp-phone-tab i.is-on { background: #ff5a1f; }
.lp-phone-toast { position: absolute; left: 50%; bottom: 36px; z-index: 3; display: flex; align-items: center; gap: 10px; margin-left: -120px; width: 240px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--tangerine); box-shadow: 0 30px 60px -30px rgba(15, 18, 14, .6); animation: floatY 6s ease-in-out infinite; }
.lp-phone-toast b { display: block; color: var(--ink); font-size: 12.5px; }
.lp-phone-toast small { display: block; color: var(--lp-mut); font-size: 11px; }
@media (max-width: 640px) {
  .lp-phones { height: 440px; }
  .lp-phone { width: 184px; height: 390px; padding: 8px; border-radius: 32px; }
  .lp-phone-notch { top: 14px; width: 60px; height: 18px; margin-left: -30px; }
  .lp-phone-screen { gap: 9px; padding: 12px 11px 9px; border-radius: 25px; }
  .lp-phone-brand { margin-top: 6px; font-size: 12px; }
  .lp-phone-brand .lp-app-mark { width: 20px; height: 20px; font-size: 11px; }
  .lp-phone-hero { padding: 13px; border-radius: 17px; }
  .lp-phone-hero strong { margin-top: 7px; font-size: 25px; white-space: nowrap; }
  .lp-phone-hero small { font-size: 10px; }
  .lp-phone-btn { margin-top: 11px; padding: 8px; font-size: 11.5px; }
  .lp-phone-rows { gap: 6px; }
  .lp-phone-rows li { padding: 8px 10px; border-radius: 12px; font-size: 10px; }
  .lp-phone-wrap.back { left: 0; top: 40px; } .lp-phone-wrap.front { right: 0; }
  .lp-phone-toast { bottom: 6px; width: 220px; margin-left: -110px; }
}

/* ======================= FAQ ======================= */
.lp-faq { display: grid; gap: 12px; }
.lp-faq-item { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: border-color .3s, box-shadow .4s; }
.lp-faq-item[open] { border-color: var(--line-strong); box-shadow: 0 24px 50px -36px rgba(15, 18, 14, .45); }
.lp-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font: 500 19px/1.3 Fraunces, Georgia, serif; color: var(--ink); }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary i { display: inline-flex; flex: 0 0 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface-2); color: var(--ink); transition: transform .45s var(--lp-spring), background .3s, color .3s; }
.lp-faq-item[open] summary i { transform: rotate(45deg); background: var(--tangerine); color: #fff6f0; }
.lp-faq-a { padding: 0 24px 22px; color: var(--lp-mut); font-size: 15px; line-height: 1.7; }
.lp-faq-item[open] .lp-faq-a { animation: lpIn .5s var(--lp-ease) both; }

[data-punch] { transition: background-color .3s, color .3s, box-shadow .3s, transform .3s var(--lp-spring); }
[data-punch]:active { transform: scale(.96); }
[data-punch].lp-punched { background: transparent; border: 1px solid rgba(242, 240, 228, .35); color: var(--on-leather); box-shadow: none; }

/* ======================= DEMO FORM ======================= */
.demo-msg { min-height: 1.25rem; font-size: 14px; font-weight: 600; color: var(--on-leather); }
.demo-msg.err { color: #ffb38a; }
.demo-msg.ok { color: var(--on-leather); }
#demo-form.is-shake { animation: lpShake .45s; }
@keyframes lpShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ======================= REDUCED MOTION ======================= */
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation: none !important; transition: none !important; }
.reduce-motion .lp-intro, .reduce-motion .lp-rise, .reduce-motion .lp-pop, .reduce-motion .lp-hero-frame, .reduce-motion [data-reveal], .reduce-motion .lp-split .w > span, .reduce-motion .lp-msg[data-chat-msg] { opacity: 1 !important; transform: none !important; filter: none !important; }
.reduce-motion .marquee-track { animation: none !important; }

/* Pricing with one plan: the plan and the Vikky credits card as a centred pair. With no
   plan, the credits card alone under the "pricing on request" panel. */
@media (min-width: 768px) { .lp-price-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; } }
.lp-price-solo { max-width: 440px; margin-inline: auto; }
.lp-price-unit { letter-spacing: 0; }
