/* MARASIPOS - premium landing page design system.
 * Loaded ONLY by index.html, after main.css.
 * Brand foundation is inherited from main.css:
 *   --navy #0a1633 * --blue #1b63e0 * --teal #14b8a6 * --grad blue->teal
 * Everything below derives from those tokens. No new palette, no new logo.
 * Motion rule: transform + opacity only; every animation has a reduced-motion
 * off-switch; nothing blocks reading or clicking.
 */

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  --lp-void: #04070f;
  --lp-navy: #0a1633;
  --lp-navy-2: #16224d;
  --lp-deep: #070e26;

  --lp-blue: #1b63e0;
  --lp-blue-soft: rgba(27, 99, 224, 0.55);
  --lp-teal: #14b8a6;
  --lp-teal-strong: #0f766e;
  --lp-grad: linear-gradient(135deg, #1b63e0, #14b8a6);

  /* unified green-leaning text ramp — one hue family, three tiers */
  --lp-on-dark: #ddfff5;
  --lp-on-dark-dim: #9fd8c9;
  --lp-on-dark-faint: #6ea396;

  --lp-ink: #0a1633;
  --lp-ink-dim: #46536e;
  --lp-ink-faint: #667085;

  --lp-hair: rgba(255, 255, 255, 0.09);
  --lp-hair-strong: rgba(255, 255, 255, 0.16);
  --lp-hair-ink: #e4e9f2;

  --lp-panel: rgba(255, 255, 255, 0.035);
  --lp-panel-2: rgba(255, 255, 255, 0.06);
  --lp-light-panel: #ffffff;

  --lp-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --lp-out: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --lp-swift: 0.28s;
  --lp-quick: 0.45s;
  --lp-slow: 0.8s;
  --lp-r: 18px;
  --lp-r-sm: 12px;
  --lp-r-pill: 999px;

  --lp-w: 1200px;
  --lp-shadow-dark: 0 30px 80px rgba(2, 6, 20, 0.55);
  --lp-shadow-light: 0 24px 60px rgba(10, 22, 51, 0.1);
}

/* ============================================================
   2. BASE
   ============================================================ */
body.lp {
  background: var(--lp-void);
  color: var(--lp-on-dark);
}
/* film grain — static texture, gives depth without motion cost */
body.lp::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0.045;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
/* Horizontal reveal offsets ([data-reveal="left|right"]) push content a few
   pixels past the viewport edge in RTL. Clip on <main> so the document never
   scrolls sideways; clip (not hidden) keeps main out of the scroll-container
   chain. `hidden` first is the fallback for browsers without clip. */
body.lp main { overflow-x: hidden; overflow-x: clip; }

.lp-skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 200;
  background: var(--lp-blue);
  color: var(--lp-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.lp-skip:focus { top: 12px; }

body.lp :focus-visible {
  outline: 3px solid var(--lp-teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.lp-container {
  width: 100%;
  max-width: var(--lp-w);
  margin: 0 auto;
  padding: 0 22px;
}

.lp-section {
  position: relative;
  padding: clamp(64px, 8vw, 118px) 0;
}
/* layered ambient lighting per act — keeps bands cinematic, not flat */
.lp-act--dark {
  background:
    radial-gradient(72% 56% at 88% -12%, rgba(27, 99, 224, 0.12), transparent 62%),
    radial-gradient(56% 46% at 2% 112%, rgba(20, 184, 166, 0.09), transparent 64%),
    var(--lp-deep);
  color: var(--lp-on-dark);
}
.lp-act--darker {
  background:
    radial-gradient(64% 52% at 6% -10%, rgba(20, 184, 166, 0.07), transparent 62%),
    radial-gradient(74% 58% at 94% 110%, rgba(27, 99, 224, 0.11), transparent 62%),
    var(--lp-void);
  color: var(--lp-on-dark);
}
.lp-act--light {
  background:
    radial-gradient(78% 62% at 90% -14%, rgba(27, 99, 224, 0.13), transparent 60%),
    radial-gradient(62% 52% at 0% 114%, rgba(20, 184, 166, 0.10), transparent 62%),
    var(--lp-navy);
  color: var(--lp-on-dark);
}

.lp-act--dark + .lp-act--dark,
.lp-act--darker + .lp-act--dark { border-top: 1px solid var(--lp-hair); }

/* type scale */
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: var(--lp-r-pill);
  border: 1px solid var(--lp-hair-strong);
  background: var(--lp-panel);
  color: var(--lp-on-dark);
  margin: 0 0 20px;
}
.lp-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lp-teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.22);
  flex: none;
}

.lp-title {
  font-size: clamp(27px, 3.6vw, 44px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.lp-sub {
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.9;
  color: var(--lp-on-dark-dim);
  margin: 0;
  max-width: 62ch;
}
.lp-head { max-width: 760px; margin-bottom: clamp(34px, 4vw, 54px); }
.lp-head--center { margin-inline: auto; text-align: center; }
.lp-head--center .lp-sub { margin-inline: auto; }

.lp-mono {
  font-family: Consolas, "Courier New", monospace;
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 0.94em;
}

.lp-note {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--lp-on-dark-faint);
  margin: 14px 0 0;
}

.lp-caption {
  font-size: 12.5px;
  color: var(--lp-on-dark-faint);
  letter-spacing: 0.01em;
}

/* ============================================================
   3. REVEAL SYSTEM (scoped under .js so no-JS never hides content)
   ============================================================ */
/* Cinematic reveal: depth (translate + scale) and focus (blur → sharp).
   Uses the individual translate/scale properties, not transform, so it never
   fights a component's own hover transform. Once the entrance finishes,
   cinema.js adds .is-rv and these rules step aside completely, handing
   transform/transition back to the component (hover lifts work again). */
/* No filter here on purpose: blurring large mockups re-rasterises them every
   frame and was the main cost while scrolling. Blur is kept only on the
   small headline words (cinema.css). */
.js body.lp [data-reveal]:not(.is-rv) {
  opacity: 0;
  translate: 0 34px;
  scale: 0.985;
  transition: opacity 0.9s var(--lp-ease), translate 1.15s var(--lp-expo),
    scale 1.15s var(--lp-expo), transform 1.15s var(--lp-expo);
  transition-delay: var(--rd, 0ms);
}
.js body.lp [data-reveal="right"]:not(.is-rv) { translate: 46px 0; scale: 1; }
.js body.lp [data-reveal="left"]:not(.is-rv) { translate: -46px 0; scale: 1; }
.js body.lp [data-reveal="scale"]:not(.is-rv) { translate: 0 18px; scale: 0.94; }
/* grouped cards fall forward into place like dealt cards */
.js body.lp [data-stagger] > [data-reveal]:not(.is-in) {
  transform: perspective(1100px) rotateX(11deg);
  transform-origin: 50% 0;
}
.js body.lp [data-reveal].is-in:not(.is-rv) { opacity: 1; translate: none; scale: none; }

/* ============================================================
   4. HEADER
   ============================================================ */
body.lp .site-header {
  background: rgba(6, 10, 24, 0.78);
  border-bottom-color: var(--lp-hair);
  box-shadow: none;
  color: var(--lp-on-dark);
}
@supports (backdrop-filter: blur(1px)) {
  body.lp .site-header { backdrop-filter: saturate(140%) blur(14px); }
}
@supports not (backdrop-filter: blur(1px)) {
  body.lp .site-header { background: rgba(6, 10, 24, 0.97); }
}
body.lp .site-header .bar { max-width: var(--lp-w); }
/* dark page: the HTML uses the dark-background version of the mark (navy/blue lifted), straight on the page */
body.lp .brand-logo { height: 38px; }
body.lp .brand-name { color: var(--lp-on-dark); font-size: 21px; }
body.lp .brand-name .nova { color: var(--lp-on-dark); }
body.lp .brand-name .erps { color: var(--brand-teal); }
body.lp .brand-name small { color: var(--lp-on-dark-faint); }
body.lp .nav a { color: var(--lp-on-dark-dim); }
body.lp .nav a:hover { background: rgba(255, 255, 255, 0.07); color: var(--lp-on-dark); }
body.lp .nav a.active { color: var(--lp-on-dark); }
body.lp .lang-toggle { background: rgba(255, 255, 255, 0.06); border-color: var(--lp-hair); }
body.lp .lang-toggle .on { color: var(--lp-on-dark); }
body.lp .lang-toggle .off { color: var(--lp-on-dark-faint); }
body.lp .header-actions .link-quiet {
  color: var(--lp-on-dark-dim);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
body.lp .header-actions .link-quiet:hover { color: var(--lp-on-dark); background: rgba(255, 255, 255, 0.07); }
/* Text tier — color/surface only, no lift */
body.lp .link-quiet { transition: color 0.2s ease, background-color 0.2s ease; }
/* arrow-bearing links nudge toward reading direction (RTL: left) */
.lp-eco__link svg { transition: transform 0.2s ease; }
.lp-eco__link:hover svg { transform: translateX(-4px); }

.lp-header-progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--lp-grad);
  transform-origin: 100% 50%;
  transform: scaleX(0);
}

/* ============================================================
   5. BUTTONS — tactile, not neon
   Persistent glow lives only in storytelling layers (hero QR /
   orb / scan, drive pill, convergence). UI controls answer with
   lift, surface, press and natural shadow. All 200ms.
   ============================================================ */
.btn-lg { padding: 15px 34px; font-size: 16.5px; border-radius: 14px; }
body.lp .btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
/* Primary — strongest answer: lift, deepen, press */
body.lp .btn-primary {
  color: var(--lp-on-dark);
  box-shadow: 0 8px 20px rgba(2, 6, 20, 0.45);
}
body.lp .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(2, 6, 20, 0.5);
  filter: brightness(1.05);
}
body.lp .btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 12px rgba(2, 6, 20, 0.4);
  filter: brightness(0.99);
}
/* .btn-glow retired: same resting shadow as primary, no halo */
.btn-glow { box-shadow: 0 8px 20px rgba(2, 6, 20, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }
body.lp .btn:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 3px;
}
/* Secondary — lighter answer: surface shift, small lift, press */
.btn-quiet {
  background: transparent;
  color: var(--lp-on-dark);
  border: 1.5px solid var(--lp-hair-strong);
}
.btn-quiet:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 6, 20, 0.35);
}
.btn-quiet:active { transform: scale(0.98); box-shadow: none; }

/* ambient glow orbs (Level 1) */
.lp-sec--glow { overflow: hidden; }
.lp-sec--glow > .lp-container { position: relative; z-index: 1; }
.lp-glow {
  position: absolute;
  z-index: 0;
  width: min(860px, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
  animation: lpGlowDrift 32s ease-in-out infinite alternate;
}
.lp-glow--blue {
  top: -24%;
  inset-inline-start: -16%;
  background: radial-gradient(circle, rgba(27, 99, 224, 0.17), transparent 64%);
}
.lp-glow--teal {
  bottom: -28%;
  inset-inline-end: -18%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.14), transparent 64%);
}
@keyframes lpGlowDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, -5%, 0) scale(1.07); }
}
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ============================================================
   6. HERO
   ============================================================ */
.lp-hero {
  position: relative;
  background: var(--lp-deep);
  padding: clamp(54px, 7vw, 96px) 0 clamp(70px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.lp-hero__bg {
  position: absolute;
  inset: -10% -10% 0 -10%;
  z-index: -2;
  background:
    radial-gradient(58% 52% at 74% 16%, rgba(27, 99, 224, 0.4), transparent 62%),
    radial-gradient(46% 44% at 16% 74%, rgba(20, 184, 166, 0.28), transparent 64%),
    radial-gradient(70% 60% at 50% 120%, rgba(22, 34, 77, 0.9), transparent 70%);
}
.lp-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(78% 68% at 55% 34%, #000 20%, transparent 78%);
  mask-image: radial-gradient(78% 68% at 55% 34%, #000 20%, transparent 78%);
}
.lp-hero__inner {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) {
  .lp-hero__inner { grid-template-columns: 1.02fr 1.12fr; }
}

.lp-hero h1 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lp-hero__lead {
  font-size: clamp(15.5px, 1.7vw, 18px);
  line-height: 1.95;
  color: var(--lp-on-dark-dim);
  margin: 0 0 30px;
  max-width: 56ch;
}
.lp-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.lp-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lp-on-dark-dim);
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--lp-hair);
  border-radius: var(--lp-r-pill);
  background: rgba(255, 255, 255, 0.04);
}
.lp-hero__trust svg { flex: none; color: var(--lp-teal); }

/* floating chips over the stage */
.lp-stage {
  position: relative;
  perspective: 1400px;
}
.lp-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 14px;
  background: rgba(9, 15, 36, 0.92);
  border: 1px solid var(--lp-hair-strong);
  box-shadow: var(--lp-shadow-dark);
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-on-dark);
  white-space: nowrap;
  z-index: 4;
}
@supports (backdrop-filter: blur(1px)) {
  .lp-chip { backdrop-filter: blur(10px); }
}
.lp-chip small { display: block; font-size: 11.5px; font-weight: 500; color: var(--lp-on-dark-faint); }
.lp-chip .ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(27, 99, 224, 0.18);
  color: #7eaaff;
  flex: none;
}
.lp-chip .ico.teal { background: rgba(20, 184, 166, 0.16); color: var(--lp-teal); }
.lp-chip--order { inset-inline-start: -4%; top: 4%; animation: lpFloat 7s ease-in-out infinite; }
.lp-chip--call { inset-inline-end: -3%; bottom: -16%; animation: lpFloat 8.5s ease-in-out 0.8s infinite; }
.lp-chip--invoice { inset-inline-start: 4%; bottom: -9%; animation: lpFloat 9.5s ease-in-out 1.6s infinite; }

@keyframes lpFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -11px, 0); }
}

.lp-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-teal);
  flex: none;
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.55);
  animation: lpPing 2.2s ease-out infinite;
}
@keyframes lpPing {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

/* mini waveform (shared by hero chip + voice section) */
.lp-wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.lp-wave i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  transform: scaleY(0.3);
  animation: lpWave 1.1s ease-in-out infinite;
}
@keyframes lpWave {
  0%, 100% { transform: scaleY(0.24); }
  50% { transform: scaleY(1); }
}

/* ============================================================
   7. POS SHELL (hero + mode section share one faithful UI mock)
   ============================================================ */
.pos {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, #0b1330 0%, #080e24 100%);
  border: 1px solid var(--lp-hair-strong);
  box-shadow: var(--lp-shadow-dark), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--lp-ease);
}
.pos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.09) 47%, transparent 60%);
  transform: translateX(-120%);
  animation: lpSweep 7.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes lpSweep {
  0%, 62% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.pos__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid var(--lp-hair);
}
.pos__dots { display: flex; gap: 6px; }
.pos__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.pos__title { font-size: 12.5px; font-weight: 700; color: var(--lp-on-dark-dim); }
.pos__shift {
  margin-inline-start: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--lp-teal);
  background: rgba(20, 184, 166, 0.13);
  border: 1px solid rgba(20, 184, 166, 0.3);
  padding: 3px 11px;
  border-radius: var(--lp-r-pill);
}
.pos__body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) { .pos__body { grid-template-columns: 82px 1fr; } }
@media (min-width: 1000px) { .pos__body { grid-template-columns: 78px 1fr 240px; } }

.pos__rail {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 8px;
  border-inline-end: 1px solid var(--lp-hair);
  background: rgba(255, 255, 255, 0.02);
}
@media (min-width: 560px) { .pos__rail { display: flex; } }
.pos__rail span {
  --d: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--lp-on-dark-faint);
  text-align: center;
  padding: 8px 4px;
  border-radius: 9px;
  line-height: 1.5;
}
.pos__rail span.is-on {
  background: linear-gradient(135deg, rgba(27, 99, 224, 0.32), rgba(20, 184, 166, 0.24));
  color: var(--lp-on-dark);
  box-shadow: 0 0 0 1px rgba(126, 170, 255, 0.32) inset;
}

/* screen variant used by the cafe/retail section: rail becomes a top tab row */
.pos--screen .pos__body { grid-template-columns: 1fr; }
.pos--screen .pos__rail {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  border-inline-end: 0;
  border-bottom: 1px solid var(--lp-hair);
}
.pos--screen .pos__rail span { padding: 7px 15px; }

/* list rows inside a POS screen mock */
.lp-list { display: grid; gap: 9px; }
.lp-list__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--lp-ease);
}
.lp-list__row:hover { transform: translateX(-4px); background: rgba(255, 255, 255, 0.07); }
.lp-list__row.is-live { border-color: rgba(20, 184, 166, 0.5); background: rgba(20, 184, 166, 0.1); }
.lp-list__id { font-family: Consolas, monospace; font-size: 14px; font-weight: 800; color: var(--lp-on-dark); }
.lp-list__meta { font-size: 12.5px; color: var(--lp-on-dark-faint); line-height: 1.7; }
.lp-list__meta b { color: var(--lp-on-dark-dim); font-weight: 700; }

.pos__main { padding: 14px; min-width: 0; }
.pos__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-hair);
  color: var(--lp-on-dark-faint);
  font-size: 13px;
  margin-bottom: 12px;
}
.pos__search b { font-weight: 600; }
.pos__search kbd, .pos kbd {
  margin-inline-start: auto;
  font-family: Consolas, monospace;
  font-size: 11px;
  color: var(--lp-on-dark-dim);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--lp-hair);
  border-radius: 6px;
  padding: 1px 7px;
}

/* ---- POS views: rail navigation (الطاولات / المطبخ / المنيو / التقارير / الطلبات) ----
   One panel is visible at a time; the cart column keeps the shell height
   stable so switching views never shifts the hero composition. */
.pos__views { position: relative; }
.pos__view { display: none; }
.pos__view.is-on { display: block; animation: posViewIn 0.34s var(--lp-ease) both; }
@keyframes posViewIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}
.pos__vhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 9px;
}
.pos__vtit {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--lp-on-dark);
}
.pos__vtit small { font-size: 10px; font-weight: 600; color: var(--lp-on-dark-faint); }
.pos__seg { display: flex; gap: 4px; }
.pos__seg i {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--lp-on-dark-faint);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-hair);
  border-radius: var(--lp-r-pill);
  padding: 2px 8px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.pos__seg i.is-on {
  color: var(--lp-on-dark);
  background: linear-gradient(135deg, rgba(27, 99, 224, 0.32), rgba(20, 184, 166, 0.24));
  border-color: rgba(126, 170, 255, 0.32);
}
.pos__rail span, .pos__tile, .pos-tbl, .pos-kc, .pos-st, .pos__seg i, .pos__pay,
.lp-list__row[data-order] { cursor: pointer; }

/* ---- الطاولات ---- */
.pos__twrap { display: grid; gap: 8px; }
.pos__tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pos-tbl {
  border-radius: 9px;
  padding: 7px 4px;
  min-height: 50px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform 0.25s var(--lp-ease), border-color 0.25s ease, background 0.25s ease;
}
.pos-tbl b { font-size: 11px; font-weight: 700; color: var(--lp-on-dark); line-height: 1.3; text-align: center; }
.pos-tbl i { font-style: normal; font-size: 9.5px; font-weight: 700; }
.pos-tbl i.s-free { color: var(--lp-teal); }
.pos-tbl i.s-busy { color: #ffd666; }
.pos-tbl i.s-open { color: #7eaaff; }
.pos-tbl.is-occupied { border-color: rgba(20, 184, 166, 0.5); background: rgba(20, 184, 166, 0.09); }
.pos-tbl.is-sel {
  border-color: rgba(94, 234, 212, 0.7);
  transform: translateY(-2px);
}
.pos-tbl.is-occupied.is-sel { animation: tblPulse 1.7s ease-in-out infinite; }
@keyframes tblPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.45) inset, 0 0 0 rgba(20, 184, 166, 0); }
  50% { box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.65) inset, 0 0 15px rgba(20, 184, 166, 0.35); }
}
.pos__torder {
  border: 1px solid var(--lp-hair);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 10px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
}
.pos__torder-emp {
  margin: auto;
  font-size: 11px;
  color: var(--lp-on-dark-faint);
  text-align: center;
  line-height: 1.7;
}
.pos__torder-emp.is-off { display: none; }
.pos__torder-in { display: none; gap: 3px; }
.pos__torder-in.is-on { display: grid; animation: posViewIn 0.4s var(--lp-ease) both; }
.pos__torder-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
}
.pos__torder-h b { font-family: Consolas, monospace; font-size: 12.5px; color: var(--lp-on-dark); }
.pos__torder-h span { font-size: 10px; color: var(--lp-on-dark-faint); }
.pos__torder .pos__line { font-size: 11px; padding: 3px 0; border-bottom-style: dotted; }
.pos__torder-t {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--lp-hair);
  padding-top: 5px;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--lp-on-dark);
}
.pos__torder-t em { font-style: normal; color: var(--lp-teal); }

/* ---- المطبخ (row cards: id · items · status pill) ---- */
.pos__kds { display: grid; gap: 7px; }
.pos-kc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  transition: transform 0.25s var(--lp-ease), border-color 0.25s ease, background 0.25s ease, opacity 0.3s ease;
}
.pos-kc.is-pending { display: none; }
.pos-kc__h { display: flex; flex-direction: column; gap: 1px; }
.pos-kc__h b { font-family: Consolas, monospace; font-size: 12.5px; color: var(--lp-on-dark); }
.pos-kc__h span { font-size: 9.5px; color: var(--lp-on-dark-faint); white-space: nowrap; }
.pos-kc__items { display: flex; flex-wrap: wrap; gap: 2px 9px; min-width: 0; }
.pos-kc .pos__line {
  display: inline-flex;
  gap: 4px;
  padding: 0;
  border: 0;
  font-size: 10.5px;
  white-space: nowrap;
}
.pos-kc .pos__line b { font-size: 10.5px; font-weight: 600; }
.pos-kc .pos__line span.q { font-size: 10px; }
.pos-kc.is-dim, .lp-list__row.is-dim { opacity: 0.55; }
.pos-st {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--lp-r-pill);
  color: #7eaaff;
  background: rgba(27, 99, 224, 0.22);
  border: 1px solid rgba(126, 170, 255, 0.35);
  white-space: nowrap;
}
.pos-st.is-prep { color: #ffd666; background: rgba(255, 214, 102, 0.16); border-color: rgba(255, 214, 102, 0.35); }
.pos-st.is-ready { color: #5eead4; background: rgba(20, 184, 166, 0.16); border-color: rgba(20, 184, 166, 0.4); }
.pos-st.is-done { color: var(--lp-on-dark-dim); background: rgba(255, 255, 255, 0.07); border-color: var(--lp-hair-strong); }
.pos-kc.is-arrive, .lp-list__row.is-arrive { animation: posArrive 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes posArrive {
  0% { opacity: 0; transform: translateY(-10px) scale(0.97); }
  60% { box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.5); }
  100% { opacity: 1; transform: none; box-shadow: 0 0 0 rgba(94, 234, 212, 0); }
}

/* ---- الطلبات (rows reuse .lp-list) ---- */
.pos__view .lp-list { gap: 7px; }
.pos__view .lp-list__row { padding: 8px 10px; gap: 8px; }
.pos__view .lp-list__row.is-pending { display: none; }
.pos__view .lp-list__id { font-size: 12.5px; }
.pos__view .lp-list__meta { font-size: 10.5px; line-height: 1.55; }

/* ---- التقارير ---- */
.pos__rp { display: grid; grid-template-columns: 1fr 82px; gap: 7px; }
.pos-kpi {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pos-kpi small { font-size: 10px; font-weight: 700; color: var(--lp-on-dark-faint); }
.pos-kpi b {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--lp-on-dark);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pos-kpi--rev { grid-column: 1 / -1; }
.pos-kpi--rev b { color: var(--lp-teal); font-size: 16.5px; }
.pos-chart {
  grid-column: 1;
  grid-row: 2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  padding: 7px 8px;
}
.pos-chart svg { display: block; width: 100%; height: 54px; }
.pos-chart__ln {
  fill: none;
  stroke: var(--lp-teal);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
}
.pos-chart.is-draw .pos-chart__ln { animation: rpDraw 0.9s var(--lp-ease) forwards; }
@keyframes rpDraw { to { stroke-dashoffset: 0; } }
.pos-chart__fill { fill: rgba(20, 184, 166, 0.12); stroke: none; opacity: 0; }
.pos-chart.is-draw .pos-chart__fill { animation: rpFill 0.6s ease 0.3s forwards; }
@keyframes rpFill { to { opacity: 1; } }
.pos__rp .pos-kpi:not(.pos-kpi--rev) { grid-column: 2; grid-row: 2; }
.pos__bars { grid-column: 1 / -1; display: grid; gap: 5px; }
.pos-bar {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--lp-on-dark-faint);
}
.pos-bar i {
  display: block;
  height: 6px;
  border-radius: var(--lp-r-pill);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.pos-bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--lp-grad);
}
.pos__bars.is-draw .pos-bar i::after { animation: rpBar 0.8s var(--lp-ease) forwards; }
.pos__bars.is-dim i::after { animation: none; width: var(--w, 50%); }
.pos__bars.is-draw .pos-bar:nth-child(1) i::after { animation-delay: 0s; }
.pos__bars.is-draw .pos-bar:nth-child(2) i::after { animation-delay: 0.12s; }
.pos__bars.is-draw .pos-bar:nth-child(3) i::after { animation-delay: 0.24s; }
@keyframes rpBar { to { width: var(--w, 50%); } }
/* static bars when motion is reduced (JS never adds .is-draw) */
@media (prefers-reduced-motion: reduce) {
  .pos-bar i::after { width: var(--w, 50%); }
  .pos-chart__ln { stroke-dashoffset: 0; }
  .pos-chart__fill { opacity: 1; }
}
@media (max-width: 1100px) {
  .pos__vtit small { display: none; }
  .pos__seg i { font-size: 9px; padding: 2px 6px; }
  .pos-kc__h span { display: none; }
}
.pos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 480px) { .pos__grid { grid-template-columns: repeat(3, 1fr); } }
.pos__tile {
  --d: flex;
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  min-height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  transition: transform 0.25s var(--lp-ease), border-color 0.25s ease, background 0.25s ease;
}
.pos__tile:hover { transform: translateY(-3px); border-color: rgba(20, 184, 166, 0.5); background: rgba(20, 184, 166, 0.09); }
.pos__tile b { font-size: 12.5px; font-weight: 600; color: var(--lp-on-dark); line-height: 1.5; }
.pos__tile i { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--lp-teal); }
.pos__tile .sku { font-size: 10px; color: var(--lp-on-dark-faint); font-family: Consolas, monospace; }

.pos__cart {
  border-inline-start: 1px solid var(--lp-hair);
  background: rgba(255, 255, 255, 0.025);
  padding: 14px;
  display: none;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 1000px) { .pos__cart { display: flex; } }
.pos__cart-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--lp-on-dark-faint);
  font-weight: 600;
}
.pos__cart-h b { color: var(--lp-on-dark); font-family: Consolas, monospace; font-size: 14px; }
.pos__line {
  --d: flex;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--lp-hair);
  color: var(--lp-on-dark-dim);
}
.pos__line b { color: var(--lp-on-dark); font-weight: 600; }
.pos__line span.q { color: var(--lp-on-dark-faint); font-size: 11.5px; }
.pos__totals { --d: grid; margin-top: auto; display: grid; gap: 5px; font-size: 12.5px; }
.pos__totals .row { display: flex; justify-content: space-between; color: var(--lp-on-dark-faint); }
.pos__totals .row.total {
  color: var(--lp-on-dark);
  font-size: 16px;
  font-weight: 800;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--lp-hair-strong);
}
.pos__totals .row.total em { font-style: normal; color: var(--lp-teal); }
.pos__pay {
  margin-top: 4px;
  text-align: center;
  padding: 11px;
  border-radius: 11px;
  background: var(--lp-grad);
  color: var(--lp-on-dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(2, 6, 20, 0.5);
}

/* ---- hero order demo (driven by landing.js while hero is on screen) ---- */
.pos__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: var(--lp-r-pill);
  background: rgba(255, 214, 102, 0.14);
  border: 1px solid rgba(255, 214, 102, 0.3);
  color: #ffd666;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.pos__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: lpLivePulse 1.6s ease-in-out infinite;
}
@keyframes lpLivePulse {
  0%, 100% { opacity: 0.45; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
.pos__live.is-prep { color: #ffd666; background: rgba(255, 214, 102, 0.2); }
.pos__live.is-ready { color: #5eead4; background: rgba(20, 184, 166, 0.18); border-color: rgba(20, 184, 166, 0.4); }
.pos__live.is-done { color: var(--lp-on-dark-dim); background: rgba(255, 255, 255, 0.08); border-color: var(--lp-hair-strong); }

.pos__line {
  transition: opacity 0.45s var(--lp-out), transform 0.45s var(--lp-out);
}
.pos__line.is-off {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
.pos__tile.is-tap {
  animation: lpTileTap 0.55s var(--lp-out);
  border-color: rgba(20, 184, 166, 0.65);
  background: rgba(20, 184, 166, 0.14);
}
@keyframes lpTileTap {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5); }
  35% { transform: scale(0.96); box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.22); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}
.pos__pay.is-flash {
  animation: lpPayFlash 0.65s var(--lp-out);
}
@keyframes lpPayFlash {
  0% { filter: brightness(1); transform: scale(1); }
  30% { filter: brightness(1.4); transform: scale(1.03); }
  100% { filter: brightness(1); transform: scale(1); }
}

/* order toast under the POS mock */
.lp-toast {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: -58px;
  transform: translate(-50%, 16px);
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: min(320px, 88vw);
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(6, 10, 24, 0.94);
  border: 1px solid rgba(20, 184, 166, 0.4);
  box-shadow: 0 18px 44px rgba(2, 6, 20, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--lp-out), transform 0.45s var(--lp-out), visibility 0.45s;
  pointer-events: none;
}
.lp-toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.lp-toast__ico {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(20, 184, 166, 0.16);
  color: #5eead4;
  border: 1px solid rgba(20, 184, 166, 0.35);
}
.lp-toast__tx { display: grid; gap: 2px; min-width: 0; }
.lp-toast__tx b { font-size: 13.5px; font-weight: 800; color: var(--lp-on-dark); }
.lp-toast__tx small { font-size: 12px; color: var(--lp-on-dark-faint); }

/* track-morph entrance for mode switches */
@keyframes lpMorphIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.is-morph .pos__tile,
.is-morph .lp-list__row,
.is-morph .pos__totals,
.is-morph .pos__rail span,
.is-morph .lp-mode-block li,
.is-morph .lp-factstrip span {
  animation: lpMorphIn 0.5s var(--lp-out) both;
}
.is-morph .pos__tile:nth-child(2), .is-morph .lp-list__row:nth-child(2) { animation-delay: 0.05s; }
.is-morph .pos__tile:nth-child(3), .is-morph .lp-list__row:nth-child(3) { animation-delay: 0.1s; }
.is-morph .pos__tile:nth-child(4), .is-morph .lp-list__row:nth-child(4) { animation-delay: 0.15s; }
.is-morph .pos__tile:nth-child(5), .is-morph .lp-list__row:nth-child(5) { animation-delay: 0.2s; }
.is-morph .pos__tile:nth-child(6), .is-morph .lp-list__row:nth-child(6) { animation-delay: 0.25s; }

/* ============================================================
   8. ECOSYSTEM
   ============================================================ */
.lp-eco-wrap { position: relative; }
.lp-eco__hub {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: 11px 22px;
  border: 1px dashed rgba(20, 184, 166, 0.42);
  border-radius: var(--lp-r-pill);
  background: rgba(20, 184, 166, 0.07);
  text-align: center;
}
.lp-eco__hub b { font-size: 14.5px; font-weight: 800; color: var(--lp-on-dark); }
.lp-eco__hub small { font-size: 12.5px; color: var(--lp-on-dark-faint); }
.lp-eco__hub-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.22);
  animation: lpLivePulse 2.2s ease-in-out infinite;
}
.lp-eco__wires { display: none; }
@media (min-width: 900px) {
  .lp-eco__wires {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    height: 62px;
    margin-bottom: 6px;
    position: relative;
  }
  .lp-eco__wires::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 16.6%;
    height: 1.5px;
    background: linear-gradient(to left, transparent, rgba(20, 184, 166, 0.5) 18%, rgba(20, 184, 166, 0.5) 82%, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.9s var(--lp-out) 0.15s;
  }
  .lp-eco__hub.is-in ~ .lp-eco__wires::before { transform: scaleX(1); }
  .lp-eco__wires i {
    position: relative;
    width: 1.5px;
    height: 100%;
    margin: 0 auto;
    background: linear-gradient(to bottom, rgba(20, 184, 166, 0.55), rgba(20, 184, 166, 0.12));
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease 0.35s;
  }
  .lp-eco__hub.is-in ~ .lp-eco__wires i { opacity: 1; }
  .lp-eco__wires i::after {
    content: "";
    position: absolute;
    inset-inline: -1.5px;
    top: 0;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(to bottom, transparent, #5eead4);
    box-shadow: 0 0 8px rgba(94, 234, 212, 0.7);
    animation: lpPacket 2.6s linear infinite;
    animation-delay: var(--pd, 0s);
  }
}
@keyframes lpPacket {
  0% { transform: translateY(-18px); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(66px); opacity: 0; }
}
.lp-eco {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .lp-eco { grid-template-columns: repeat(3, 1fr); } }
.lp-eco__card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--lp-r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--lp-hair);
  overflow: hidden;
  transition: transform 0.4s var(--lp-ease), border-color 0.4s ease;
}
.lp-eco__card:hover { transform: translateY(-6px); border-color: rgba(20, 184, 166, 0.45); }
.lp-eco__card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 3px;
  background: var(--lp-grad);
  opacity: 0.85;
}
.lp-eco__n {
  font-family: Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--lp-teal);
  margin-bottom: 14px;
  display: block;
}
.lp-eco__card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.lp-eco__card .sub { font-size: 13px; color: var(--lp-teal); font-weight: 700; margin: 0 0 14px; }
.lp-eco__card p { margin: 0; font-size: 14.5px; line-height: 1.95; color: var(--lp-on-dark-dim); }
.lp-eco__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.lp-eco__meta span {
  font-size: 12px;
  font-weight: 600;
  color: var(--lp-on-dark-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lp-hair);
  border-radius: var(--lp-r-pill);
  padding: 4px 12px;
}
.lp-eco__link {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--lp-hair);
  font-size: 13.5px;
  color: var(--lp-on-dark-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   9. POS EXPERIENCE SECTION
   ============================================================ */
.lp-pos {
  display: grid;
  gap: clamp(30px, 4vw, 52px);
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .lp-pos { grid-template-columns: 1.15fr 0.85fr; } }

.lp-modgroups { display: grid; gap: 14px; }
.lp-modgroup {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lp-hair);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.lp-modgroup:hover { background: rgba(255, 255, 255, 0.055); border-color: var(--lp-hair-strong); }
.lp-modgroup h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--lp-teal);
}
.lp-modgroup ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.lp-modgroup li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lp-on-dark-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-hair);
  border-radius: 8px;
  padding: 5px 11px;
}
.lp-modgroup li:hover { color: var(--lp-on-dark); border-color: rgba(20, 184, 166, 0.45); }

/* receipt / invoice mock — dark ticket on the dark act */
.lp-receipt {
  background: rgba(255, 255, 255, 0.05);
  color: var(--lp-on-dark);
  border: 1px solid var(--lp-hair-strong);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--lp-shadow-dark);
  font-size: 13.5px;
  position: relative;
  overflow: hidden;
}
.lp-receipt::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: var(--lp-grad);
}
.lp-receipt h3 {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}
.lp-receipt .r-sub { text-align: center; color: var(--lp-on-dark-faint); font-size: 12px; margin: 0 0 16px; }
.lp-receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 14px; font-size: 12.5px; }
.lp-receipt dt { color: var(--lp-on-dark-faint); }
.lp-receipt dd { margin: 0; text-align: end; font-weight: 700; }
.lp-receipt table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lp-receipt th { text-align: start; color: var(--lp-on-dark-faint); font-weight: 600; padding: 6px 0; border-bottom: 1px solid var(--lp-hair-strong); }
.lp-receipt td { padding: 7px 0; border-bottom: 1px dashed var(--lp-hair-strong); }
.lp-receipt td:last-child, .lp-receipt th:last-child { text-align: end; }
.lp-receipt .r-tot { display: grid; gap: 4px; margin-top: 12px; font-size: 13px; }
.lp-receipt .r-tot .row { display: flex; justify-content: space-between; color: var(--lp-on-dark-dim); }
.lp-receipt .r-tot .row.big {
  font-size: 17px;
  font-weight: 800;
  color: var(--lp-on-dark);
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  padding-top: 8px;
  margin-top: 5px;
}
.lp-receipt .r-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--lp-hair-strong);
}
.lp-qr {
  width: 66px;
  height: 66px;
  flex: none;
  border-radius: 6px;
  background-color: #0a1633;
  background-image:
    linear-gradient(90deg, #fff 25%, transparent 25%, transparent 50%, #fff 50%, #fff 62%, transparent 62%),
    linear-gradient(#fff 18%, transparent 18%, transparent 44%, #fff 44%, #fff 56%, transparent 56%, transparent 78%, #fff 78%);
  background-size: 13px 13px, 13px 13px;
  background-position: 4px 4px, 7px 9px;
  border: 4px solid #fff;
  outline: 1px solid var(--lp-hair-strong);
}
.lp-receipt .r-foot p { margin: 0; font-size: 11.5px; line-height: 1.8; color: var(--lp-on-dark-faint); }
.lp-receipt .r-foot b { color: var(--lp-on-dark); }

/* receipt prints itself line-by-line when it enters the viewport */
.js [data-receipt] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--lp-out), transform 0.55s var(--lp-out);
}
.js [data-receipt] h3 { transition-delay: 0.05s; }
.js [data-receipt] .r-sub { transition-delay: 0.14s; }
.js [data-receipt] dl { transition-delay: 0.24s; }
.js [data-receipt] table { transition-delay: 0.36s; }
.js [data-receipt] .r-tot { transition-delay: 0.5s; }
.js [data-receipt] .r-foot { transition-delay: 0.64s; }
.js [data-receipt].is-built > * { opacity: 1; transform: none; }
.js [data-receipt] .lp-qr {
  transform: scale(0.5) rotate(-8deg);
  opacity: 0;
  transition: transform 0.6s var(--lp-out) 0.75s, opacity 0.45s ease 0.75s;
}
.js [data-receipt].is-built .lp-qr { transform: none; opacity: 1; }
.js [data-receipt].is-built .r-tot .row.big.is-flash {
  animation: lpTotFlash 0.7s var(--lp-out);
}
@keyframes lpTotFlash {
  0% { text-shadow: 0 0 0 rgba(94, 234, 212, 0); }
  40% { text-shadow: 0 0 18px rgba(94, 234, 212, 0.65); color: #5eead4; }
  100% { text-shadow: 0 0 0 rgba(94, 234, 212, 0); }
}

.lp-factstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.lp-factstrip span {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--lp-r-pill);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.32);
  color: #5eead4;
}

/* ============================================================
   10. CAFE / RETAIL MODE SWITCH
   ============================================================ */
.lp-seg {
  display: inline-flex;
  padding: 5px;
  gap: 5px;
  border-radius: var(--lp-r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lp-hair-strong);
  position: relative;
}
.lp-seg button {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-on-dark-dim);
  background: transparent;
  padding: 11px 30px;
  border-radius: var(--lp-r-pill);
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}
.lp-seg button:hover { background: rgba(255, 255, 255, 0.05); }
.lp-seg button:active { transform: scale(0.97); }
.lp-seg button[aria-pressed="true"] {
  color: var(--lp-on-dark);
  background: var(--lp-grad);
  box-shadow: 0 6px 16px rgba(2, 6, 20, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.lp-seg button:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 3px;
}
.lp-seg__wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 34px; }
.lp-seg__hint { font-size: 14px; color: var(--lp-on-dark-faint); }

.lp-modes { display: grid; gap: clamp(26px, 4vw, 46px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .lp-modes { grid-template-columns: 1.05fr 0.95fr; } }

.lp-mode-panel { display: grid; gap: 16px; }
.lp-mode-block {
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--lp-hair);
}
.lp-mode-block h3 { margin: 0 0 12px; font-size: 14px; font-weight: 800; color: var(--lp-teal); }
.lp-mode-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lp-mode-block li {
  --d: flex;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--lp-on-dark-dim);
}
.lp-mode-block li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-teal);
  margin-top: 10px;
  flex: none;
}
.lp-mode-block li b { color: var(--lp-on-dark); font-weight: 700; }

.lp-trackcode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(27, 99, 224, 0.2), rgba(20, 184, 166, 0.14));
  border: 1px solid rgba(126, 170, 255, 0.3);
}
.lp-trackcode .label { font-size: 13.5px; color: var(--lp-on-dark-dim); }
.lp-trackcode .code {
  --d: inline-block;
  font-family: Consolas, monospace;
  direction: ltr;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--lp-on-dark);
  background: rgba(4, 7, 15, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 9px;
  padding: 7px 14px;
}

/* Track-scoped visibility is resolved at the very end of this file.
 * Components only declare their own display via --d. */

/* ============================================================
   11. DRIVE-THROUGH STORY (scroll steps + sticky phone)
   ============================================================ */
.lp-drive-story {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3vw, 44px);
  align-items: start;
  margin-top: clamp(30px, 4vw, 48px);
}
@media (min-width: 900px) { .lp-drive-story { grid-template-columns: 1.04fr 0.96fr; } }

.lp-drive-steps {
  position: relative;
  display: grid;
  gap: clamp(14px, 2.2vh, 22px);
  padding-inline-start: 30px;
  counter-reset: drive-step;
}
.lp-drive-rail {
  position: absolute;
  inset-block: 8px;
  inset-inline-start: 9px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.lp-drive-rail i {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: calc(var(--p, 0) * 100%);
  background: linear-gradient(to bottom, var(--lp-teal), #5eead4);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.65);
  border-radius: 2px;
  transition: height 0.7s var(--lp-out);
}
.lp-drive-step {
  position: relative;
  counter-increment: drive-step;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: start;
  padding: 19px 19px;
  border: 1px solid var(--lp-hair);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  min-height: clamp(140px, 26vh, 210px);
  align-content: center;
  transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease, transform 0.5s var(--lp-out);
}
@media (min-width: 900px) {
  .lp-drive-step { min-height: clamp(190px, 31vh, 275px); align-content: center; }
}
.lp-drive-step.is-active {
  border-color: rgba(20, 184, 166, 0.55);
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 50px rgba(2, 6, 20, 0.45), 0 0 0 1px rgba(20, 184, 166, 0.18);
  transform: translateY(-3px);
}
.lp-drive-step .n {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: Consolas, monospace;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--lp-on-dark-faint);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lp-hair);
  transition: color 0.45s ease, background 0.45s ease, border-color 0.45s ease;
}
.lp-drive-step.is-active .n {
  color: #5eead4;
  background: rgba(20, 184, 166, 0.16);
  border-color: rgba(20, 184, 166, 0.45);
}
.lp-drive-step h3 { margin: 1px 0 7px; font-size: 16.5px; font-weight: 700; line-height: 1.55; }
.lp-drive-step p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--lp-on-dark-dim); }
.lp-drive-step .tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--lp-teal);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: var(--lp-r-pill);
  padding: 3px 11px;
}
/* oversized ghost chapter number fills the card's breathing room */
.lp-drive-step::after {
  content: counter(drive-step, decimal-leading-zero);
  position: absolute;
  inset-inline-end: 12px;
  bottom: -22px;
  font-family: Consolas, monospace;
  font-size: clamp(68px, 8vw, 116px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.5s ease, transform 0.6s var(--lp-out);
}
.lp-drive-step.is-active::after {
  -webkit-text-stroke-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-6px);
}

/* sticky canvas — phone follows the active step */
.lp-drive-canvas {
  position: sticky;
  top: 92px;
  align-self: start;
  display: flex;
  justify-content: center;
  /* room for the car strip: the scene sits in this padded band below
     the phone so the car, the #1042 pill and the READY badge never
     hide behind the phone or fly over the steps column */
  padding-bottom: 148px;
}
.lp-drive-canvas .lp-phone { width: min(340px, 100%); }
.lp-drive-staff { display: grid; gap: 18px; margin-top: clamp(30px, 4vw, 54px); }

/* staff console mock */
.lp-console {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--lp-hair);
  overflow: hidden;
}
.lp-console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--lp-hair);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
}
.lp-live {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--lp-teal);
  font-weight: 700;
}
.lp-console__body { padding: 14px; display: grid; gap: 10px; }
.lp-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-hair);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.lp-row:hover { background: rgba(255, 255, 255, 0.07); }
.lp-row.is-live { border-color: rgba(20, 184, 166, 0.5); background: rgba(20, 184, 166, 0.09); }
.lp-row__id { font-family: Consolas, monospace; font-size: 15px; font-weight: 800; color: var(--lp-on-dark); }
.lp-row__meta { font-size: 12.5px; color: var(--lp-on-dark-faint); }
.lp-row__meta b { color: var(--lp-on-dark-dim); font-weight: 600; }
.lp-state {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--lp-r-pill);
  border: 1px solid transparent;
  white-space: nowrap;
}
.lp-state--new { background: rgba(126, 170, 255, 0.16); color: #a9c3ff; border-color: rgba(126, 170, 255, 0.35); }
.lp-state--prep { background: rgba(255, 214, 102, 0.14); color: #ffd666; border-color: rgba(255, 214, 102, 0.32); }
.lp-state--ready { background: rgba(20, 184, 166, 0.16); color: #5eead4; border-color: rgba(20, 184, 166, 0.38); }
.lp-state--done { background: rgba(255, 255, 255, 0.1); color: var(--lp-on-dark-dim); border-color: var(--lp-hair-strong); }

/* phone mock (customer side) */
.lp-phone {
  border-radius: 26px;
  border: 1px solid var(--lp-hair-strong);
  background: linear-gradient(180deg, #0b1330, #070d20);
  box-shadow: var(--lp-shadow-dark);
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.lp-phone__notch {
  width: 78px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin: 2px auto 6px;
}
.lp-phone__screen {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-hair);
  padding: 16px;
  display: grid;
  gap: 12px;
}
.lp-phone__screen .kicker { font-size: 11.5px; letter-spacing: 0.08em; color: var(--lp-teal); font-weight: 800; }
.lp-phone__screen h3 { margin: 0; font-size: 18px; font-weight: 700; }
.lp-phone__btn {
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 800;
  background: var(--lp-grad);
  color: var(--lp-on-dark);
  box-shadow: 0 6px 16px rgba(2, 6, 20, 0.5);
}
.lp-phone__btn--ghost {
  background: transparent;
  border: 1.5px solid var(--lp-hair-strong);
  color: var(--lp-on-dark);
  box-shadow: none;
}
.lp-plate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(4, 7, 15, 0.6);
  border: 1px dashed var(--lp-hair-strong);
  font-size: 12.5px;
  color: var(--lp-on-dark-faint);
}
.lp-plate b { font-family: Consolas, monospace; font-size: 16px; color: var(--lp-on-dark); }

/* customer phone: five screens swapped by the active drive step */
.lp-phone__shop { margin: 0; font-size: 17.5px; font-weight: 800; color: var(--lp-on-dark); }
.lp-phone__ch {
  margin: -6px 0 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--lp-on-dark-faint);
}
.lp-phone__views { position: relative; }
.js .lp-phone__views { min-height: 198px; }
.lp-phone__view { display: grid; gap: 10px; align-content: start; }
html:not(.js) .lp-phone__view + .lp-phone__view {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--lp-hair);
}
.js .lp-phone__view {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.5s var(--lp-out), transform 0.5s var(--lp-out);
}
.js .lp-phone__view.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0.14s;
}
.lp-phone__view .kicker { font-size: 11.5px; letter-spacing: 0.08em; color: var(--lp-teal); font-weight: 800; }
.lp-phone__hint { margin: 0; font-size: 12px; line-height: 1.8; color: var(--lp-on-dark-faint); }
.lp-phone__qr {
  position: relative;
  overflow: hidden;
  width: 92px;
  height: 92px;
  margin: 2px auto;
  border-radius: 8px;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, #0a1633 25%, transparent 25%, transparent 50%, #0a1633 50%, #0a1633 62%, transparent 62%),
    linear-gradient(#0a1633 18%, transparent 18%, transparent 44%, #0a1633 44%, #0a1633 56%, transparent 56%, transparent 78%, #0a1633 78%);
  background-size: 16px 16px, 16px 16px;
  background-position: 5px 5px, 9px 11px;
  border: 5px solid #fff;
  box-shadow: 0 0 0 1px var(--lp-hair-strong), 0 14px 30px rgba(0, 0, 0, 0.4);
}
.lp-phone__qr::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 28%;
  background: linear-gradient(to bottom, rgba(20, 184, 166, 0.6), transparent);
  animation: lpScan 2.6s ease-in-out infinite;
}
@keyframes lpScan {
  0% { transform: translateY(-110%); }
  55% { transform: translateY(360%); }
  100% { transform: translateY(-110%); }
}
.lp-phone__live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(20, 184, 166, 0.13);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #5eead4;
  font-size: 12.5px;
  font-weight: 800;
}
.lp-phone__draft {
  display: grid;
  gap: 7px;
  padding: 12px 13px;
  border-radius: 11px;
  background: rgba(4, 7, 15, 0.55);
  border: 1px solid var(--lp-hair-strong);
}
.lp-phone__draft b { font-size: 12.5px; font-weight: 800; color: var(--lp-on-dark); }
.lp-phone__draft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lp-phone__draft li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--lp-on-dark-dim);
}
.lp-phone__draft li span { color: var(--lp-on-dark-faint); font-weight: 700; }
.lp-phone__vsteps { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-phone__vsteps span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--lp-on-dark-faint);
  border: 1px solid var(--lp-hair);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--lp-r-pill);
  padding: 5px 11px;
}
.lp-phone__vsteps span.done {
  color: #5eead4;
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.14);
}
.lp-phone__vsteps span.on {
  color: var(--lp-on-dark);
  border-color: transparent;
  background: var(--lp-grad);
  box-shadow: 0 4px 12px rgba(2, 6, 20, 0.45);
}
.lp-phone .lp-caption { font-size: 12.5px; color: var(--lp-on-dark-faint); }

/* ============================================================
   12. VOICE
   ============================================================ */
.lp-voice {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) { .lp-voice { grid-template-columns: 1fr 1.05fr; } }

.lp-voice__stage {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--lp-hair);
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(27, 99, 224, 0.22), transparent 65%),
    radial-gradient(60% 60% at 80% 80%, rgba(20, 184, 166, 0.2), transparent 65%),
    rgba(255, 255, 255, 0.03);
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  gap: 20px;
}
.lp-voice__pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.lp-side {
  border-radius: 16px;
  background: rgba(4, 7, 15, 0.62);
  border: 1px solid var(--lp-hair-strong);
  padding: 16px;
  display: grid;
  gap: 9px;
  justify-items: center;
  text-align: center;
}
.lp-side .who { font-size: 13.5px; font-weight: 800; }
.lp-side .what { font-size: 12px; color: var(--lp-on-dark-faint); line-height: 1.7; }
.lp-side .badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--lp-r-pill);
  background: rgba(20, 184, 166, 0.15);
  color: #5eead4;
  border: 1px solid rgba(20, 184, 166, 0.35);
}

.lp-link { display: grid; gap: 8px; justify-items: center; min-width: 96px; }
.lp-link__wire {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.lp-link__wire::after {
  content: "";
  position: absolute;
  top: 0;
  height: 2px;
  width: 44%;
  right: -46%;
  background: linear-gradient(to left, #7eaaff, #5eead4);
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.9);
  animation: lpWire 2.4s linear infinite;
}
@keyframes lpWire {
  to { right: 104%; }
}
.lp-link__state { font-size: 11.5px; font-weight: 800; color: var(--lp-teal); letter-spacing: 0.04em; }

.lp-voice__wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 74px;
  padding: 0 8px;
  border-radius: 14px;
  background: rgba(4, 7, 15, 0.5);
  border: 1px solid var(--lp-hair);
  color: var(--lp-teal);
}
.lp-voice__wave i {
  width: 5px;
  border-radius: 4px;
  background: currentColor;
  height: 100%;
  transform: scaleY(0.16);
  animation: lpWave 1.15s ease-in-out infinite;
}
.lp-voice__steps { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-voice__steps span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--lp-on-dark-dim);
  border: 1px solid var(--lp-hair);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--lp-r-pill);
  padding: 6px 14px;
}
.lp-voice__steps span.on {
  color: var(--lp-on-dark);
  border-color: rgba(20, 184, 166, 0.55);
  background: rgba(20, 184, 166, 0.16);
}

/* side status line + call LED */
.lp-side { transition: border-color 0.5s ease, background 0.5s ease; }
.lp-side__st {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--lp-on-dark-dim);
  transition: color 0.4s ease;
}
.lp-link__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s ease;
}
.lp-link__state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lp-teal);
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5);
  animation: lpLivePulse 1.8s ease-in-out infinite;
}

/* 0 connecting — amber seeking dashes, flat wave */
.lp-voice__stage[data-state="0"] .lp-link__state { color: #ffd666; }
.lp-voice__stage[data-state="0"] .lp-link__state::before {
  background: #ffd666;
  box-shadow: 0 0 0 0 rgba(255, 214, 102, 0.5);
}
.lp-voice__stage[data-state="0"] .lp-link__wire {
  background: repeating-linear-gradient(to left, rgba(255, 255, 255, 0.2) 0 5px, transparent 5px 11px);
}
.lp-voice__stage[data-state="0"] .lp-link__wire::after { animation-duration: 3.8s; opacity: 0.85; }
.lp-voice__stage[data-state="0"] .lp-voice__wave { color: #ffd666; }
.lp-voice__stage[data-state="0"] .lp-voice__wave i,
.lp-voice__stage[data-state="1"] .lp-voice__wave i {
  animation: none;
  transform: scaleY(0.14);
  opacity: 0.7;
  transition: transform 0.5s ease;
}
/* 1 connected — faster pulse, idle wave */
.lp-voice__stage[data-state="1"] .lp-link__wire::after { animation-duration: 1.7s; }
.lp-voice__stage[data-state="1"] .lp-side,
.lp-voice__stage[data-state="2"] .lp-side,
.lp-voice__stage[data-state="3"] .lp-side,
.lp-voice__stage[data-state="4"] .lp-side {
  border-color: rgba(20, 184, 166, 0.45);
  background: rgba(4, 7, 15, 0.72);
}
.lp-voice__stage[data-state="2"] .lp-side__st { color: #5eead4; }
/* 3 draft — calmer link, medium wave */
.lp-voice__stage[data-state="3"] .lp-link__wire::after { animation-duration: 3.2s; }
.lp-voice__stage[data-state="3"] .lp-voice__wave i { animation-duration: 1.9s; }
/* 4 confirmed — slow satisfied link, soft wave */
.lp-voice__stage[data-state="4"] .lp-link__wire::after { animation-duration: 4.2s; opacity: 0.7; }
.lp-voice__stage[data-state="4"] .lp-voice__wave i { animation-duration: 2.6s; opacity: 0.85; }
.lp-voice__stage[data-state="4"] .lp-side__st { color: #5eead4; }

/* ============================================================
   13. KITCHEN / ORDER FLOW BOARD
   ============================================================ */
.lp-board {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .lp-board { grid-template-columns: repeat(3, 1fr); } }
.lp-col {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lp-hair);
  padding: 16px;
  display: grid;
  gap: 11px;
  align-content: start;
}
.lp-col__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--lp-on-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lp-hair);
}
.lp-col__h .count {
  font-family: Consolas, monospace;
  font-size: 12px;
  color: var(--lp-on-dark-faint);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 2px 9px;
}
.lp-ticket {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-hair);
  padding: 13px;
  display: grid;
  gap: 7px;
  transition: transform 0.4s var(--lp-ease), border-color 0.4s ease;
}
.lp-ticket:hover { transform: translateY(-4px); border-color: rgba(20, 184, 166, 0.45); }
.lp-ticket__t { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; }
.lp-ticket__t span { font-family: Consolas, monospace; color: var(--lp-on-dark); }
.lp-ticket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.lp-ticket li { font-size: 12.5px; color: var(--lp-on-dark-dim); display: flex; justify-content: space-between; gap: 8px; }
.lp-ticket li b { color: var(--lp-on-dark-faint); font-weight: 700; }
.lp-ticket .meta { font-size: 11.5px; color: var(--lp-on-dark-faint); display: flex; gap: 8px; flex-wrap: wrap; }

/* journey engine highlights the hot column as you scroll the board */
.lp-col {
  transition: border-color 0.55s ease, background 0.55s ease, box-shadow 0.55s ease, transform 0.55s var(--lp-out);
}
.lp-col.is-hot {
  border-color: rgba(20, 184, 166, 0.55);
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: 0 22px 54px rgba(2, 6, 20, 0.5);
  transform: translateY(-4px);
}
.lp-col__h .count {
  transition: color 0.4s ease, background 0.4s ease, transform 0.4s var(--lp-out);
}
.lp-col.is-hot .count {
  color: #5eead4;
  background: rgba(20, 184, 166, 0.18);
  transform: translateY(-1px);
}
.lp-col__h .count.is-bump { animation: lpCountBump 0.5s var(--lp-out); }
@keyframes lpCountBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.22); }
  100% { transform: scale(1); }
}
.lp-col.is-hot .lp-ticket { border-color: rgba(20, 184, 166, 0.4); }

/* ============================================================
   14. LIGHT ACT - capability cards, reports, reliability, pricing, faq
   ============================================================ */
.lp-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 660px) { .lp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-cards.three { grid-template-columns: repeat(3, 1fr); } }

.lp-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  border-radius: var(--lp-r);
  padding: 26px 24px;
  transition: transform 0.4s var(--lp-ease), box-shadow 0.4s ease, border-color 0.4s ease;
}
.lp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(2, 6, 20, 0.5);
  border-color: rgba(255, 255, 255, 0.22);
}
.lp-card h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; color: var(--lp-on-dark); }
.lp-card p { margin: 0; font-size: 14.5px; line-height: 1.95; color: var(--lp-on-dark-dim); }
.lp-card ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lp-card li { font-size: 13.5px; color: var(--lp-on-dark-faint); padding-inline-start: 16px; position: relative; line-height: 1.8; }
.lp-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-teal);
}

/* reports */
.lp-report-wrap { display: grid; gap: clamp(26px, 3.4vw, 44px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .lp-report-wrap { grid-template-columns: 1fr 1fr; } }
.lp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tags span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lp-on-dark-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-hair);
  border-radius: var(--lp-r-pill);
  padding: 7px 15px;
  transition: transform 0.3s var(--lp-ease), border-color 0.3s ease, color 0.3s ease;
}
.lp-tags span:hover { transform: translateY(-3px); border-color: var(--lp-teal); color: #5eead4; }

.lp-dash {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  border-radius: var(--lp-r);
  padding: 24px;
}
.lp-dash__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 10px; }
.lp-dash__h h3 { margin: 0; font-size: 15.5px; font-weight: 800; color: var(--lp-on-dark); }
.lp-chart { display: flex; align-items: flex-end; gap: 10px; height: 138px; padding-top: 6px; }
.lp-chart .bar {
  flex: 1;
  height: 100%;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #1b63e0, #14b8a6);
  opacity: 0.9;
  transform-origin: 50% 100%;
  transform: scaleY(0.06);
  transition: transform 0.9s var(--lp-ease);
}
.lp-chart.is-in .bar { transform: scaleY(var(--h, 1)); }
.lp-chart__days { display: flex; gap: 10px; margin-top: 9px; }
.lp-chart__days span { flex: 1; text-align: center; font-size: 11px; color: var(--lp-on-dark-faint); }
.lp-dash__list { display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--lp-hair); }
.lp-dash__list div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.lp-dash__list span { color: var(--lp-on-dark-faint); }
.lp-dash__list b { color: var(--lp-on-dark); font-weight: 700; }

/* reliability */
.lp-assure { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-assure { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .lp-assure { grid-template-columns: repeat(3, 1fr); } }
.lp-assure__item {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  align-items: start;
}
.lp-assure__item .n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: #5eead4;
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}
.lp-assure__item h3 { margin: 4px 0 5px; font-size: 16px; font-weight: 700; color: var(--lp-on-dark); }
.lp-assure__item p { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--lp-on-dark-dim); }

/* ============================================================
   15. PRICING
   ============================================================ */
.lp-plans { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-plans { grid-template-columns: repeat(3, 1fr); } }
.lp-plan {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1.5px solid var(--lp-hair-strong);
  border-radius: var(--lp-r);
  padding: 30px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.4s var(--lp-ease), box-shadow 0.4s ease, border-color 0.4s ease;
}
.lp-plan:hover { transform: translateY(-7px); box-shadow: 0 26px 60px rgba(2, 6, 20, 0.55); border-color: rgba(255, 255, 255, 0.25); }
.lp-plan--best {
  border-color: transparent;
  background: linear-gradient(#11204a, #11204a) padding-box, var(--lp-grad) border-box;
  box-shadow: 0 26px 60px rgba(27, 99, 224, 0.28);
}
.lp-plan__flag {
  position: absolute;
  top: -13px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  background: var(--lp-grad);
  color: var(--lp-on-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: var(--lp-r-pill);
  box-shadow: 0 8px 20px rgba(27, 99, 224, 0.35);
  white-space: nowrap;
}
.lp-plan__flag--soon { background: rgba(255, 255, 255, 0.14); box-shadow: none; }
/* "coming soon" package: priced and visible, not sold yet */
.lp-plan--soon { opacity: 0.82; }
.lp-plan--soon:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, 0.12); }
.lp-plan__soon { cursor: default; pointer-events: none; opacity: 0.7; }
.lp-plan h3 { margin: 6px 0 0; font-size: 19px; font-weight: 800; color: var(--lp-on-dark); }
.lp-plan .per { font-size: 13px; color: var(--lp-on-dark-faint); margin: -4px 0 0; }
.lp-plan .amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-on-dark);
  line-height: 1.15;
}
.lp-plan .amount small { font-size: 15px; font-weight: 600; color: var(--lp-on-dark-faint); }
.lp-plan .save {
  font-size: 13px;
  font-weight: 700;
  color: #5eead4;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
  border-radius: var(--lp-r-pill);
  padding: 5px 12px;
  align-self: center;
}
.lp-plan ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; text-align: start; }
.lp-plan li { font-size: 14px; color: var(--lp-on-dark-dim); display: flex; gap: 9px; align-items: flex-start; line-height: 1.75; }
.lp-plan li svg { flex: none; margin-top: 5px; color: var(--lp-teal); }
.lp-plan .btn { margin-top: auto; }
.lp-plan--tier ul { margin-bottom: 4px; }
.lp-plan__code { margin: 0; font-size: 12.5px; color: var(--lp-on-dark-faint); }
.lp-plan__code .mono { direction: ltr; unicode-bidi: isolate; }
#lp-duration[hidden] { display: none; }

.lp-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 34px;
}
.lp-steps span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--lp-on-dark-faint);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-hair);
  border-radius: var(--lp-r-pill);
  padding: 8px 18px;
}
.lp-steps span.on { background: var(--lp-grad); color: var(--lp-on-dark); border-color: transparent; box-shadow: 0 4px 12px rgba(2, 6, 20, 0.45); }
.lp-steps span.done { background: rgba(20, 184, 166, 0.12); color: #5eead4; border-color: rgba(20, 184, 166, 0.35); }

/* ============================================================
   16. FAQ
   ============================================================ */
.lp-faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.lp-faq__item {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.lp-faq__item:has(button[aria-expanded="true"]) { border-color: rgba(20, 184, 166, 0.45); box-shadow: 0 24px 60px rgba(2, 6, 20, 0.5); }
.lp-faq__q {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: start;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-on-dark);
  line-height: 1.7;
}
.lp-faq__q:hover { color: #5eead4; }
.lp-faq__q .sign {
  margin-inline-start: auto;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #5eead4;
  transition: transform 0.35s var(--lp-ease), background 0.35s ease, color 0.35s ease, filter 0.2s ease;
}
.lp-faq__q:active .sign { filter: brightness(1.25); }
.lp-faq__q[aria-expanded="true"] .sign { transform: rotate(45deg); background: var(--lp-grad); color: var(--lp-on-dark); }
.lp-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--lp-ease);
}
.lp-faq__item.is-open .lp-faq__a { grid-template-rows: 1fr; }
.lp-faq__a > div { overflow: hidden; }
.lp-faq__a p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--lp-on-dark-dim);
}
.lp-faq__a p + p { padding-top: 0; margin-top: -8px; }

/* ============================================================
   17. FINAL CTA + BRIDGE + FOOTER
   ============================================================ */
.lp-bridge {
  height: clamp(70px, 9vw, 130px);
  background: linear-gradient(to bottom, var(--lp-void), var(--lp-navy));
}
.lp-bridge--up { background: linear-gradient(to bottom, var(--lp-navy), var(--lp-deep)); }

.lp-final {
  position: relative;
  background: var(--lp-deep);
  padding: clamp(70px, 9vw, 120px) 0;
  overflow: hidden;
  text-align: center;
}
.lp-final__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(27, 99, 224, 0.4), transparent 65%),
    radial-gradient(40% 50% at 82% 90%, rgba(20, 184, 166, 0.26), transparent 66%);
  z-index: 0;
}
.lp-final .lp-container { position: relative; z-index: 1; }
.lp-final h2 { font-size: clamp(27px, 4vw, 44px); font-weight: 700; margin: 0 0 14px; line-height: 1.4; }
.lp-final p { color: var(--lp-on-dark-dim); font-size: 16.5px; max-width: 60ch; margin: 0 auto 30px; line-height: 1.95; }
.lp-final .lp-cta-row { justify-content: center; }
.lp-final__bg { animation: lpGlowDrift 36s ease-in-out infinite alternate; }
.lp-final__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.lp-final__steps span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 15px;
  border-radius: var(--lp-r-pill);
  background: rgba(20, 184, 166, 0.13);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: #5eead4;
}
.lp-final__steps i {
  width: 26px;
  height: 1.5px;
  background: linear-gradient(to left, rgba(20, 184, 166, 0.7), rgba(27, 99, 224, 0.6));
  border-radius: 2px;
}

body.lp .site-footer {
  background: var(--lp-void);
  border-top: 1px solid var(--lp-hair);
  margin-top: 0;
  color: var(--lp-on-dark-faint);
}
body.lp .site-footer .container { max-width: var(--lp-w); }
body.lp .site-footer a { color: var(--lp-on-dark-dim); }
body.lp .site-footer a:hover { color: var(--lp-on-dark); }

/* no-JS pricing fallback stays on the dark theme too */
body.lp .alert-warn {
  background: rgba(255, 196, 0, 0.1);
  border-color: rgba(255, 196, 0, 0.35);
  color: #ffd666;
}
body.lp .alert-warn a { color: #ffd666; }

/* no-JS / reduced motion fallbacks */
/* pause ambient loops while their section is off screen (class added by JS) */
body.lp .lp-hero:not(.inview) *,
body.lp .lp-section:not(.inview) *,
body.lp .lp-final:not(.inview) * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js body.lp [data-reveal] { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; filter: none !important; }
  .lp-chart .bar { transform: scaleY(1) !important; }
  .lp-voice__wave i, .lp-wave i { transform: scaleY(0.55) !important; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.lp { scroll-padding-top: 86px; }

/* ============================================================
   18. RESPONSIVE REFINEMENTS
   ============================================================ */
@media (max-width: 720px) {
  .lp-chip { font-size: 12px; padding: 8px 12px; }
  .lp-chip .ico { width: 26px; height: 26px; }
  .lp-chip--order { inset-inline-start: -2%; top: -3%; }
  .lp-chip--call { display: none; }
  .lp-chip--invoice { display: none; }
  .lp-toast { bottom: -14px; max-width: 92%; }
  .lp-voice__pair { grid-template-columns: 1fr; }
  .lp-link { min-width: 0; width: 100%; }
  .lp-link__wire { width: 2px; height: 42px; }
  .lp-link__wire::after {
    width: 2px;
    height: 44%;
    right: 0;
    background: linear-gradient(to bottom, #7eaaff, #5eead4);
    animation: lpWireY 2.4s linear infinite;
  }
  @keyframes lpWireY { to { right: 0; top: 104%; } }
  .lp-receipt { padding: 18px; }
  .lp-plan .amount { font-size: 38px; }
  .lp-faq__q { font-size: 15px; padding: 16px 18px; }
  .lp-faq__a p { padding: 0 18px 18px; }
}
@media (max-width: 860px) {
  body.lp .site-header .bar { gap: 10px; padding: 10px 16px; }
  body.lp .nav { gap: 0; }
  body.lp .nav a { font-size: 13.5px; padding: 7px 9px; }
  body.lp .header-actions .link-quiet { display: none; }
}
/* Phone/tablet: the drive story puts the phone on top as a compact sticky
   screen, steps scroll underneath it. Reduced visual load, no pinning lib. */
@media (max-width: 899px) {
  .lp-drive-canvas {
    top: 74px;
    z-index: 5;
    order: -1;
    padding: 8px 10px 16px;
    background: linear-gradient(to bottom, rgba(4, 7, 15, 0.97) 0%, rgba(4, 7, 15, 0.95) 84%, rgba(4, 7, 15, 0) 100%);
    margin-inline: -6px;
  }
  .lp-drive-canvas .lp-caption { display: none; }
  /* the car strip lives in the desktop padded band; on the compact
     sticky phone the views alone carry the story */
  .lp-drive-scene { display: none; }
  .js .lp-phone__views { min-height: 176px; }
  .lp-phone__hint { display: none; }
  .lp-phone__qr { width: 74px; height: 74px; }
  .lp-drive-step { min-height: clamp(120px, 26vh, 190px); }
  .lp-eco__hub { margin-bottom: 0; }
}
@media (max-width: 720px) {
  .lp-drive-canvas { top: 66px; }
}
/* Phones: the shared header wraps to two rows — keep the landing header as
   compact as possible so it does not eat a fifth of the viewport. */
@media (max-width: 720px) {
  body.lp .site-header .bar { padding: 8px 12px; gap: 8px; }
  body.lp .brand-logo { height: 30px; }
  body.lp .brand-name { font-size: 16px; }
  body.lp .brand-name small { display: none; }
  body.lp .lang-toggle { display: none; }
  body.lp .nav a { font-size: 13px; padding: 6px 8px; }
  body.lp .btn-header { padding: 8px 14px; font-size: 14px; }
}

/* ---------- Contact band ---------- */
.contact-band { padding: 4px 0 48px; }
.contact-band .container {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-hair);
  border-radius: 16px;
  padding: 26px;
  text-align: center;
}
.contact-band h3 { margin: 0 0 16px; font-size: 19px; font-weight: 800; color: var(--lp-on-dark); }
.contact-band__row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; }
.contact-band__item { color: #5eead4; font-weight: 700; font-size: 15px; text-decoration: none; }
.contact-band__item:hover { text-decoration: underline; }

/* ============================================================
   18B. SCENE 05 — THE ORDER'S JOURNEY (18s seamless loop)
   One order's drive-thru life: arrival → order point → call →
   ticket → forward creep → pickup → exit → quiet lane.
   Calm and weighty, no glow. Trigger: .is-playing (JS, once).
   ============================================================ */
.lp-drive-scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 164px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.lp-drive-canvas.is-playing .lp-drive-scene { opacity: 1; }
.lp-drive-canvas .lp-phone { position: relative; z-index: 1; }
.lp-drive-lane {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  height: 2px;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.22) 0 12px, rgba(255, 255, 255, 0) 12px 25px);
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}
.lp-drive-board {
  position: absolute;
  left: 34%;
  bottom: 34px;
  display: grid;
  justify-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.lp-drive-board svg {
  display: block;
  width: 46px;
  height: 46px;
  padding: 5px;
  border-radius: 8px;
  background: rgba(238, 255, 251, 0.94);
  box-shadow: 0 8px 20px rgba(2, 6, 20, 0.55);
}
.lp-drive-board svg path { fill: #0a1633; }
.lp-drive-board::after {
  content: "";
  width: 4px;
  height: 24px;
  background: rgba(255, 255, 255, 0.22);
}
.lp-drive-board span {
  position: absolute;
  top: -17px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #5eead4;
}
.lp-drive-car {
  position: absolute;
  left: 102%;
  bottom: 10px;
  width: 116px;
  opacity: 0;
  z-index: 1;
}
.lp-drive-car svg {
  display: block;
  width: 100%;
  stroke: rgba(191, 214, 255, 0.9);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 6px 14px rgba(2, 6, 20, 0.55));
}
.lp-drive-shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -7px;
  height: 10px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(2, 6, 20, 0.55), transparent 70%);
}
/* status pill + call wave + order ticket ride above the car */
.lp-drive-tag,
.lp-drive-wave,
.lp-drive-ticket {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.lp-drive-tag {
  display: grid;
  font-size: 11px;
  font-weight: 800;
  color: #5eead4;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(4, 7, 15, 0.82);
  border: 1px solid rgba(20, 184, 166, 0.5);
  opacity: 0;
}
.lp-drive-tag > span { grid-area: 1 / 1; opacity: 0; }
.lp-drive-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  opacity: 0;
}
.lp-drive-wave i {
  width: 3px;
  border-radius: 2px;
  background: #5eead4;
  height: 30%;
}
.lp-drive-ticket {
  width: 144px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(6, 10, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 3px;
  opacity: 0;
  white-space: normal;
}
.lp-drive-ticket .t-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--lp-on-dark);
  opacity: 0;
}
.lp-drive-ticket .t-row b { color: #5eead4; }
.lp-drive-ticket .t-ok {
  font-size: 10.5px;
  font-weight: 800;
  color: #5eead4;
  opacity: 0;
}
/* small "order can start" marker at the order point */
.lp-drive-new {
  position: absolute;
  left: 30%;
  bottom: 128px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--lp-on-dark);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(6, 10, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  white-space: nowrap;
}
.lp-drive-new i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5eead4;
  flex: none;
}
.lp-drive-canvas.is-playing .lp-drive-lane { opacity: 1; }
.lp-drive-canvas.is-playing .lp-drive-board { opacity: 1; transform: none; }
/* the journey: one 18s loop per element, windows in keyframe % (1% = .18s) */
.lp-drive-canvas.is-playing .lp-drive-car { animation: drvJourney 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-new { animation: drvNew 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-wave { animation: drvWaveBox 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-wave i { animation: drvBar 1.1s ease-in-out infinite; }
.lp-drive-canvas.is-playing .lp-drive-wave i:nth-child(2) { animation-delay: 0.12s; }
.lp-drive-canvas.is-playing .lp-drive-wave i:nth-child(3) { animation-delay: 0.24s; }
.lp-drive-canvas.is-playing .lp-drive-wave i:nth-child(4) { animation-delay: 0.36s; }
.lp-drive-canvas.is-playing .lp-drive-wave i:nth-child(5) { animation-delay: 0.48s; }
.lp-drive-canvas.is-playing .lp-drive-ticket { animation: drvTicket 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-ticket .t-row:nth-of-type(1) { animation: drvRowA 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-ticket .t-row:nth-of-type(2) { animation: drvRowB 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-ticket .t-ok { animation: drvConfirm 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-tag { animation: drvTagBox 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-tag .is-prep { animation: drvTagPrep 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-tag .is-ready { animation: drvTagReady 18s linear infinite; }
.lp-drive-canvas.is-playing .lp-drive-tag .is-pick { animation: drvTagPick 18s linear infinite; }
/* scene 1+2 — arrival, decelerating into the order point */
@keyframes drvJourney {
  0% { left: 102%; transform: scale(0.72); opacity: 0; }
  4% { opacity: 1; }
  8% { left: 84%; transform: scale(0.78); }
  14% { left: 68%; transform: scale(0.86); }
  20% { left: 56%; transform: scale(0.94); }
  24% { left: 50%; transform: scale(1); }
  28% { left: 48%; transform: scale(1) translateY(0); }
  30% { transform: scale(1) translateY(1.5px); }
  33% { transform: scale(1) translateY(0); }
  61% { left: 48%; transform: scale(1) translateY(0); }
  66% { left: 40%; transform: scale(1); }
  72% { left: 28%; transform: scale(1); }
  78% { left: 16%; transform: scale(1); }
  83% { left: 2%; transform: scale(1); }
  88% { left: -14%; transform: scale(1); }
  90% { left: -26%; transform: scale(1); opacity: 1; }
  94% { opacity: 0; }
  97%, 100% { left: 102%; transform: scale(0.72); opacity: 0; }
}
/* scene 2 — the order can start */
@keyframes drvNew {
  0%, 22% { opacity: 0; }
  25%, 33% { opacity: 1; }
  36%, 100% { opacity: 0; }
}
/* scene 3 — quiet call */
@keyframes drvWaveBox {
  0%, 29% { opacity: 0; }
  32%, 43% { opacity: 1; }
  46%, 100% { opacity: 0; }
}
@keyframes drvBar {
  0%, 100% { height: 26%; }
  50% { height: 100%; }
}
/* scene 4 — the ticket builds, then rises away */
@keyframes drvTicket {
  0%, 43% { opacity: 0; transform: translateX(-50%) translateY(8px); }
  46%, 60% { opacity: 1; transform: translateX(-50%) translateY(0); }
  63%, 100% { opacity: 0; transform: translateX(-50%) translateY(-6px); }
}
@keyframes drvRowA {
  0%, 46% { opacity: 0; }
  49%, 100% { opacity: 1; }
}
@keyframes drvRowB {
  0%, 50% { opacity: 0; }
  53%, 100% { opacity: 1; }
}
@keyframes drvConfirm {
  0%, 54% { opacity: 0; }
  57%, 100% { opacity: 1; }
}
/* scenes 5+6 — status follows the car */
@keyframes drvTagBox {
  0%, 61% { opacity: 0; }
  64%, 90% { opacity: 1; }
  93%, 100% { opacity: 0; }
}
@keyframes drvTagPrep {
  0%, 61% { opacity: 0; }
  64%, 69% { opacity: 1; }
  72%, 100% { opacity: 0; }
}
@keyframes drvTagReady {
  0%, 69% { opacity: 0; }
  72%, 78% { opacity: 1; }
  81%, 100% { opacity: 0; }
}
@keyframes drvTagPick {
  0%, 79% { opacity: 0; }
  82%, 89% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

/* ============================================================
   18C. SCENE 06 — THE VOICE DRAFT OF ORDER #1042
   Rises while the call machine is in draft/confirm states.
   ============================================================ */
.lp-voice__draft {
  display: none;
  border-radius: 14px;
  border: 1px solid rgba(20, 184, 166, 0.42);
  background: rgba(4, 7, 15, 0.62);
  padding: 13px 16px;
}
.lp-voice__draft.is-on {
  display: grid;
  gap: 7px;
  animation: lpDraftIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes lpDraftIn {
  from { opacity: 0; transform: translateY(10px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.lp-voice__draft b {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #5eead4;
}
.lp-voice__draft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lp-voice__draft li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--lp-on-dark-dim);
  padding-bottom: 4px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.14);
}
.lp-voice__draft li span { color: var(--lp-on-dark-faint); }
.lp-voice__draft .lp-state { justify-self: start; }

/* ============================================================
   18D. SCENE 07 — CONVERGENCE: the order becomes MARASIPOS
   Six channels around one core. The orb (#1042) rides every wire
   lighting each node, the wires pull in, and the wordmark blooms.
   ============================================================ */
.lp-conv {
  position: relative;
  aspect-ratio: 640 / 420;
  max-width: 780px;
  margin: clamp(16px, 3vw, 34px) auto 0;
}
.lp-conv__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.lp-conv__wires path {
  fill: none;
  stroke: rgba(126, 170, 255, 0.4);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.lp-conv.is-live .lp-conv__wires path,
.lp-conv.is-final .lp-conv__wires path {
  animation: cvWire 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.lp-conv.is-live .lp-conv__wires path:nth-child(1) { animation-delay: 0.12s; }
.lp-conv.is-live .lp-conv__wires path:nth-child(2) { animation-delay: 0.27s; }
.lp-conv.is-live .lp-conv__wires path:nth-child(3) { animation-delay: 0.42s; }
.lp-conv.is-live .lp-conv__wires path:nth-child(4) { animation-delay: 0.57s; }
.lp-conv.is-live .lp-conv__wires path:nth-child(5) { animation-delay: 0.72s; }
.lp-conv.is-live .lp-conv__wires path:nth-child(6) { animation-delay: 0.87s; }
@keyframes cvWire {
  to { stroke-dashoffset: 0; }
}
.lp-conv.is-converging .lp-conv__wires path {
  animation: cvPull 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes cvPull {
  to { stroke-dashoffset: -1; stroke: rgba(94, 234, 212, 0.65); }
}
.lp-conv.is-converging.is-final .lp-conv__wires path {
  animation: cvWire 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.lp-conv__node {
  position: absolute;
  left: var(--nx);
  top: var(--ny);
  transform: translate(-50%, -50%) translateY(14px);
  display: grid;
  justify-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-conv.is-live .lp-conv__node,
.lp-conv.is-final .lp-conv__node { opacity: 1; transform: translate(-50%, -50%); }
.lp-conv.is-live .lp-conv__node:nth-child(2) { transition-delay: 0.1s; }
.lp-conv.is-live .lp-conv__node:nth-child(3) { transition-delay: 0.2s; }
.lp-conv.is-live .lp-conv__node:nth-child(4) { transition-delay: 0.3s; }
.lp-conv.is-live .lp-conv__node:nth-child(5) { transition-delay: 0.4s; }
.lp-conv.is-live .lp-conv__node:nth-child(6) { transition-delay: 0.5s; }
.lp-conv.is-live .lp-conv__node:nth-child(7) { transition-delay: 0.6s; }
.lp-conv__node .ic {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lp-hair);
  color: #a9c3ff;
  transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.lp-conv__node b {
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-on-dark-dim);
  white-space: nowrap;
  transition: color 0.4s ease;
}
.lp-conv__node.is-lit .ic {
  border-color: rgba(94, 234, 212, 0.65);
  background: rgba(20, 184, 166, 0.14);
  color: #5eead4;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.32);
}
.lp-conv__node.is-lit b { color: var(--lp-on-dark); }
.lp-conv__node.is-hit .ic { animation: cvHit 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes cvHit {
  30% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.lp-conv.is-converging .lp-conv__node { opacity: 0.5; }

.lp-conv__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  z-index: 2;
}
.lp-conv__burst {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid rgba(94, 234, 212, 0.75);
  opacity: 0;
  pointer-events: none;
}
.lp-conv.is-burst .lp-conv__burst { animation: cvBurst 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes cvBurst {
  0% { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(4.8); }
}
.lp-conv__word {
  font-family: 'Marasi Brand', 'Segoe UI', Arial, sans-serif;
  direction: ltr;
  font-size: clamp(28px, 5.6vw, 50px);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.74);
  filter: blur(12px);
  white-space: nowrap;
}
.lp-conv__word i {
  font-style: normal;
  color: var(--brand-teal);
}
.lp-conv.is-final .lp-conv__word {
  animation: cvWord 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes cvWord {
  from { opacity: 0; transform: scale(0.72); filter: blur(12px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
.lp-conv__orb {
  position: absolute;
  left: var(--ox, 50%);
  top: var(--oy, 50%);
  z-index: 3;
  min-width: 56px;
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: radial-gradient(120% 160% at 30% 20%, #ffffff, #5eead4 48%, #1b63e0 125%);
  box-shadow: 0 0 22px 5px rgba(94, 234, 212, 0.5);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
}
.lp-conv__orb b {
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
  color: #04101f;
}
.lp-conv.is-live .lp-conv__orb {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lp-conv__orb.is-flying { transition: none !important; }
.lp-conv__orb.is-landed {
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              top 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s ease, opacity 0.4s ease !important;
}
.lp-conv.is-final .lp-conv__orb {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lp-conv__line {
  text-align: center;
  margin-top: clamp(14px, 2.4vw, 26px);
  font-size: clamp(15px, 2.2vw, 19px);
  font-weight: 800;
  color: var(--lp-on-dark);
}
@media (max-width: 767px) {
  .lp-conv { aspect-ratio: 640 / 470; }
  .lp-conv__node .ic { width: 38px; height: 38px; border-radius: 12px; }
  .lp-conv__node .ic svg { width: 17px; height: 17px; }
  .lp-conv__node b { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  body.lp .btn, .lp-seg button, .lp-eco__link svg { transition: none; }
  body.lp .btn-primary:hover, .btn-quiet:hover, .lp-seg button:hover { transform: none; }
  .lp-drive-scene { opacity: 1; }
  .lp-drive-lane, .lp-drive-board { opacity: 1; transform: none; transition: none; }
  /* parked story: car at the order point, confirmed ticket, ready pill */
  .lp-drive-car { animation: none !important; opacity: 1; left: 48%; transform: scale(1); }
  .lp-drive-new { animation: none !important; opacity: 0; }
  .lp-drive-wave { animation: none !important; opacity: 0; }
  .lp-drive-wave i { animation: none !important; }
  .lp-drive-ticket { animation: none !important; opacity: 1; transform: translateX(-50%); }
  .lp-drive-ticket .t-row, .lp-drive-ticket .t-ok { animation: none !important; opacity: 1; }
  .lp-drive-tag { animation: none !important; opacity: 1; left: calc(100% + 10px); bottom: auto; top: -34px; transform: none; }
  .lp-drive-tag > span { animation: none !important; opacity: 0; }
  .lp-drive-tag .is-pick { opacity: 1; }
  .lp-voice__draft.is-on { animation: none; }
  .lp-conv.is-final .lp-conv__wires path,
  .lp-conv.is-converging.is-final .lp-conv__wires path { animation: none; stroke-dashoffset: 0; }
  .lp-conv.is-final .lp-conv__word { animation: none; opacity: 1; transform: none; filter: none; }
  .lp-conv.is-final .lp-conv__orb { display: none; }
  .lp-conv.is-burst .lp-conv__burst { animation: none; }
}

/* ============================================================
   19. TRACK VISIBILITY (must stay last: it overrides component display)
   Every [data-only] node is hidden until the body track matches; the
   enabling rule restores the component's own display from --d.
   ============================================================ */
body.lp [data-only] { display: none; }
body.lp[data-track="cafe"] [data-only="cafe"],
body.lp[data-track="retail"] [data-only="retail"] { display: var(--d, block); }
