/* ============================================================
   RelayFleet — the public page (#homeView.rl.lq): "clear water".
   A film of a busy truck repair shop plays behind the whole page. The hero shows it through tinted
   glass (drifting colour, light running along a grid, a soft spotlight at the pointer); the sections
   below are light glass over it, with two clear film bands (the five steps and the demo request).
   Speed rules: no full-page effects, no backdrop blur except the header and the hero board,
   nothing animates in on scroll, and a click shows its result at once.
   Accent: Relay teal, or the colour picked in Appearance. Still frames for reduced motion.
   ============================================================ */
.rl.lq{ --lq-bg:#F5FAFB; --lq-bg-2:#E8F4F6; --lq-ink:#0B2730; --lq-text:#33525A; --lq-soft:#62808A;
  --lq-acc:var(--accent, #0D5C6E); --lq-acc-2:var(--accent-2, #137A91); --lq-aqua:#1AA6B7; --lq-aqua-soft:#DDF3F6;
  --lq-amber:#B7791F; --lq-amber-soft:#FDF1DC; --lq-ok:#1E8E5A; --lq-ok-soft:#DFF5EA; --lq-violet:#6D4FD1; --lq-violet-soft:#EEE9FF;
  --rl-accent:var(--accent, #0D5C6E);
  --panel:rgba(255,255,255,.86); --line:rgba(13,92,110,.13); --shadow:0 1px 2px rgba(11,39,48,.05), 0 18px 40px -24px rgba(11,39,48,.25);
  position:relative; color:var(--lq-text); background:var(--lq-bg);
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased; }
main:has(> #homeView.rl:not(.hidden)){ max-width:none; padding:0; margin:0; }
.lq *{ box-sizing:border-box; }
.lq h1, .lq h2, .lq h3, .lq h4{ color:var(--lq-ink); font-family:inherit; letter-spacing:-.025em; margin:0; }
.lq p{ margin:0; }
.lq :focus-visible{ outline:3px solid var(--lq-aqua); outline-offset:3px; border-radius:6px; }
.lq-wrap{ width:100%; max-width:1880px; margin:0 auto; padding:0 clamp(20px, 4.5vw, 96px); position:relative; }

/* ---------- the header: white glass over the page ---------- */
body:has(#homeView.rl:not(.hidden)) .topbar{ position:fixed; top:0; left:0; right:0; z-index:60; background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:blur(14px) saturate(150%); backdrop-filter:blur(14px) saturate(150%); border-bottom:1px solid rgba(13,92,110,.1); }
body:has(#homeView.rl:not(.hidden)) .topbar-inner{ max-width:1880px; margin:0 auto; padding-left:clamp(20px, 4.5vw, 96px); padding-right:clamp(20px, 4.5vw, 96px); }
body:has(#homeView:not(.hidden)) > footer{ display:none; }

/* ---------- glass panels (no live blur: cheap to draw) ---------- */
.lq-glass{ position:relative; background:linear-gradient(165deg, rgba(255,255,255,.96), rgba(255,255,255,.8)); border:1px solid rgba(255,255,255,.9);
  outline:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow), inset 0 1px 0 #fff; }

/* ---------- buttons and links ---------- */
.lq-btn{ position:relative; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 26px;
  border:none; border-radius:999px; color:#fff; font:inherit; font-size:1rem; font-weight:650; cursor:pointer;
  background:linear-gradient(135deg, var(--lq-acc-2), var(--lq-acc)); box-shadow:inset 0 1px 0 rgba(255,255,255,.3), 0 10px 22px -10px var(--lq-acc);
  transition:filter .12s ease; }
.lq-btn:hover{ filter:brightness(1.08); }
.lq-btn:active{ filter:brightness(.95); }
.lq-btn:disabled{ opacity:.6; cursor:progress; }
.lq-btn-glass{ background:#fff; color:var(--lq-ink); box-shadow:inset 0 0 0 1px var(--line), 0 6px 16px -10px rgba(11,39,48,.3); }
.lq-link{ border:none; background:none; padding:0; font:inherit; font-weight:650; color:var(--lq-acc-2); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.lq-link:hover{ color:var(--lq-ink); }

/* ---------- the shop film, behind the whole page ---------- */
.rl.lq{ background:#06222A; isolation:isolate; }
.lq-bg{ position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none; background:#06222A; }
#homeView.hidden .lq-bg{ display:none; }
.lq-bg > *{ position:absolute; }
.lq-film, .lq-still{ inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.lq-still{ transition:opacity .6s; }
.lq-bg.has-film .lq-still{ opacity:0; }
.lq-grain{ inset:0; opacity:.06; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- hero: tinted glass over the film ---------- */
.lq-hero{ --cell:64px; position:relative; overflow:hidden; isolation:isolate; min-height:100vh; min-height:100svh;
  padding:calc(var(--topbar-h, 64px) + clamp(36px, 8vh, 96px)) 0 clamp(48px, 8vh, 96px);
  display:flex; flex-direction:column; justify-content:center; background:transparent; color:#C9DEE2; }
.lq-hero-fx{ position:absolute; inset:0; z-index:-1; pointer-events:none; overflow:hidden; }
.lq-hero-fx > *{ position:absolute; }
.lq-shade{ inset:0; background:linear-gradient(90deg, rgba(4,26,32,.86) 0%, rgba(4,26,32,.62) 45%, rgba(4,26,32,.38) 100%),
  linear-gradient(180deg, rgba(4,26,32,.35) 0%, transparent 30%, transparent 75%, rgba(4,26,32,.6) 100%); }
.lq-aurora{ width:70vmax; aspect-ratio:1; border-radius:50%; will-change:transform; animation:lqAur 24s ease-in-out infinite alternate; }
.lq-aurora.a{ left:-20vmax; top:-36vmax; background:radial-gradient(circle, rgba(26,166,183,.3), transparent 62%); }
.lq-aurora.b{ right:-26vmax; top:-28vmax; background:radial-gradient(circle, rgba(232,163,23,.14), transparent 62%); animation-name:lqAurB; animation-duration:29s; }
.lq-aurora.c{ left:22vmax; top:-8vmax; background:radial-gradient(circle, rgba(19,122,145,.22), transparent 62%); animation-name:lqAurC; animation-duration:33s; }
@keyframes lqAur{ to{ transform:translate(16%, 12%) scale(1.15); } }
@keyframes lqAurB{ to{ transform:translate(-18%, 10%) scale(.9); } }
@keyframes lqAurC{ to{ transform:translate(10%, -12%) scale(1.2); } }
.lq-lines{ inset:0; -webkit-mask:radial-gradient(80% 65% at 50% 10%, #000 35%, transparent 82%); mask:radial-gradient(80% 65% at 50% 10%, #000 35%, transparent 82%); }
.lq-lines > *{ position:absolute; }
.lq-grid{ inset:0; background-image:linear-gradient(rgba(160,230,240,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(160,230,240,.07) 1px, transparent 1px);
  background-size:var(--cell) var(--cell); }
.lq-beam.x{ left:0; top:calc(var(--r) * var(--cell)); width:28vw; height:1px; background:linear-gradient(90deg, transparent, rgba(123,233,239,.9), transparent);
  animation:lqBeamX var(--s) linear var(--d) infinite; }
.lq-beam.y{ top:0; left:calc(50% + var(--k) * var(--cell)); width:1px; height:26vh; background:linear-gradient(180deg, transparent, rgba(123,233,239,.8), transparent);
  animation:lqBeamY var(--s) linear var(--d) infinite; }
@keyframes lqBeamX{ from{ transform:translateX(-30vw); } to{ transform:translateX(130vw); } }
@keyframes lqBeamY{ from{ transform:translateY(-30vh); } to{ transform:translateY(110vh); } }
.lq-spot{ inset:0; opacity:0; transition:opacity .3s; background:radial-gradient(360px circle at var(--mx, 50%) var(--my, 30%), rgba(123,233,239,.14), transparent 70%); }
.lq-hero-fx.is-hover .lq-spot{ opacity:1; }

/* ---------- below the hero: light glass over the film, with two clear film bands ---------- */
.lq-sec{ background:rgba(245,250,251,.9); }
.lq-sec:nth-of-type(even){ background:rgba(232,244,246,.9); }
.lq-band{ background:linear-gradient(180deg, rgba(4,26,32,.62), rgba(4,26,32,.74)) !important; color:#C9DEE2; }
.lq-band h2, .lq-band h3{ color:#fff; }
.lq-band .lq-head p{ color:#A9C4CA; }
.lq-band .lq-steps i{ background:rgba(255,255,255,.1); border-color:rgba(123,233,239,.4); color:#fff; box-shadow:none; }
.lq-band .lq-steps b{ color:#fff; }
.lq-band .lq-steps span{ color:#B7CFD4; }
.lq-band .lq-pipe-line{ background:rgba(255,255,255,.18); }
.lq-band .lq-close-in{ background:linear-gradient(160deg, rgba(10,44,54,.86), rgba(5,28,35,.82)); outline:none; border:1px solid rgba(255,255,255,.14); box-shadow:0 30px 60px -30px rgba(0,0,0,.8); }
.lq-band .lq-close-in > div > p{ color:#C9DEE2; }
.lq-band .lq-close-alt{ color:#A9C4CA !important; }
.lq-band .lq-link{ color:#8FE6EE; }
.lq-band .lq-form label{ color:#D7E7EA; }
.lq-band .lq-btn{ background:linear-gradient(135deg, #8FF0F5, #4FD3DE); color:#04252C; }
.lq-band .lq-msg{ color:#FFB4AB; }
.lq-band .lq-msg.is-ok{ color:#7FE3B5; }
.lq-band .nx-thanks{ background:rgba(75,211,154,.14); border-color:rgba(75,211,154,.4); color:#D7E7EA; }
.lq-band .nx-thanks b{ color:#fff; }
.lq-hero > .lq-wrap{ z-index:1; }
.lq-hero-in{ display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 7fr); gap:clamp(28px, 4vw, 80px); align-items:center; }
.lq-kicker{ display:inline-flex; align-items:center; gap:10px; padding:7px 14px 7px 10px; border-radius:999px; font-size:.9rem; font-weight:600; color:#8FE6EE;
  background:rgba(123,233,239,.08); border:1px solid rgba(123,233,239,.28); margin-bottom:22px !important; }
.lq-pulse{ width:9px; height:9px; border-radius:50%; background:#7BE9EF; box-shadow:0 0 0 4px rgba(123,233,239,.18); }
.lq-hero h1{ font-size:clamp(2.6rem, 5.2vw, 5.4rem); line-height:1.03; font-weight:750; letter-spacing:-.035em; margin-bottom:24px; color:#fff; }
.lq-hero h1 em{ font-style:normal; color:#7BE9EF; }
.lq-lede{ font-size:clamp(1.05rem, 1.25vw, 1.25rem); max-width:50ch; color:#C9DEE2; }
.lq-cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.lq-hero .lq-btn:not(.lq-btn-glass){ background:linear-gradient(135deg, #8FF0F5, #4FD3DE); color:#04252C; box-shadow:0 10px 30px -10px rgba(123,233,239,.7), inset 0 1px 0 rgba(255,255,255,.6); }
.lq-hero .lq-btn-glass{ background:rgba(255,255,255,.08); color:#fff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.25); }
.lq-note{ margin-top:18px !important; font-size:.95rem; color:#9DBBC1; }
.lq-hero .lq-link{ color:#7BE9EF; }
.lq-hero .lq-facts > div{ background:rgba(4,26,32,.55); border:1px solid rgba(255,255,255,.12); outline:none; box-shadow:none; }
.lq-hero .lq-facts dt{ color:#fff; }
.lq-hero .lq-facts dd{ color:#A9C4CA; }

/* the shop's day: event cards over the film (dark glass, no live blur, so the film stays smooth) */
.lq-feed{ position:relative; z-index:2; align-self:end; width:100%; max-width:560px; justify-self:end; color:#D7E7EA; }
.lq-feed-head{ display:flex; align-items:center; gap:12px; margin-bottom:14px; font-size:.85rem; color:#A9C4CA; }
.lq-live-dot{ display:inline-flex; align-items:center; gap:7px; padding:4px 10px; border-radius:999px; background:rgba(75,211,154,.14); color:#7FE3B5; font-weight:700; font-size:.78rem; }
.lq-live-dot::before{ content:""; width:7px; height:7px; border-radius:50%; background:#4BD39A; box-shadow:0 0 0 3px rgba(75,211,154,.25); animation:lqBlink 1.6s ease-in-out infinite; }
@keyframes lqBlink{ 50%{ opacity:.35; } }
.lq-feed-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; min-height:384px; }
.lq-ev{ display:grid; grid-template-columns:40px minmax(0,1fr); gap:14px; align-items:start; padding:14px 16px; border-radius:16px;
  background:linear-gradient(160deg, rgba(10,44,54,.82), rgba(5,28,35,.78)); border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 40px -22px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); will-change:transform; }
.lq-ev:nth-child(3){ opacity:.72; } .lq-ev:nth-child(4){ opacity:.42; }
.lq-ev-ic{ width:40px; height:40px; border-radius:12px; display:grid; place-items:center; }
.lq-ev-ic svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.lq-ev.is-call .lq-ev-ic{ background:rgba(167,139,250,.18); color:#C9B8FF; }
.lq-ev.is-truck .lq-ev-ic{ background:rgba(242,181,58,.18); color:#F6CB6B; }
.lq-ev.is-sign .lq-ev-ic{ background:rgba(123,233,239,.16); color:#8FE6EE; }
.lq-ev.is-wrench .lq-ev-ic{ background:rgba(123,233,239,.16); color:#8FE6EE; }
.lq-ev.is-paid .lq-ev-ic{ background:rgba(75,211,154,.18); color:#7FE3B5; }
.lq-ev span{ display:block; font-size:.74rem; font-weight:600; letter-spacing:.02em; color:#94B3BA; }
.lq-ev b{ display:block; font-size:1.02rem; color:#fff; margin:1px 0 2px; }
.lq-ev em{ display:block; font-style:normal; font-size:.85rem; line-height:1.45; color:#B9D0D5; }
.lq-feed-stats{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; margin:14px 0 0; }
.lq-feed-stats > div{ padding:12px 14px; border-radius:14px; background:rgba(5,28,35,.7); border:1px solid rgba(255,255,255,.1); }
.lq-feed-stats dt{ font-size:.74rem; color:#94B3BA; }
.lq-feed-stats dd{ margin:2px 0 0; font-size:1.35rem; font-weight:750; color:#fff; font-variant-numeric:tabular-nums; transition:color .3s; }
.lq-feed-stats dd.bump{ animation:lqBump .9s ease; }
@keyframes lqBump{ 0%{ color:#8FE6EE; } 100%{ color:#fff; } }
.lq-feed-cap{ margin-top:10px !important; font-size:.76rem; color:#8AA8AF; }
.lq-cap, .lq-call figcaption, .lq-portal figcaption{ font-size:.78rem; color:var(--lq-soft); }

.lq-facts{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; margin:clamp(40px, 7vh, 72px) 0 0; }
.lq-facts > div{ padding:22px 24px; border-radius:18px; }
.lq-facts dt{ font-weight:700; color:var(--lq-ink); margin-bottom:4px; }
.lq-facts dd{ margin:0; color:var(--lq-soft); font-size:.96rem; line-height:1.5; }

/* ---------- sections ---------- */
.lq-sec{ position:relative; padding:clamp(72px, 12vh, 130px) 0; }
.lq-head{ max-width:820px; margin-bottom:44px; }
.lq-head h2, .lq-split h2, .lq-two h2, .lq-close h2{ font-size:clamp(2rem, 3.4vw, 3.2rem); line-height:1.08; font-weight:750; margin-bottom:16px; }
.lq-head p{ color:var(--lq-soft); font-size:1.1rem; }

/* ---------- product tour ---------- */
.lq-tour{ display:grid; grid-template-columns:minmax(260px, 3fr) minmax(0, 9fr); gap:clamp(20px, 3vw, 48px); align-items:stretch; }
.lq-tabs{ display:flex; flex-direction:column; gap:8px; }
.lq-tab{ position:relative; overflow:hidden; text-align:left; display:block; width:100%; padding:16px 18px; border-radius:16px; cursor:pointer; font:inherit;
  background:transparent; border:1px solid transparent; color:var(--lq-soft); }
.lq-tab b{ display:block; font-size:1.05rem; color:var(--lq-text); }
.lq-tab span{ display:block; font-size:.88rem; line-height:1.45; margin-top:3px; }
.lq-tab:hover{ background:rgba(255,255,255,.7); }
.lq-tab.is-on{ background:#fff; border-color:var(--line); box-shadow:var(--shadow); }
.lq-tab.is-on b{ color:var(--lq-acc); }
.lq-prog{ position:absolute; left:0; bottom:0; height:3px; width:0; background:var(--lq-aqua); }
.lq-tab.is-on.is-auto .lq-prog{ animation:lqProg var(--lq-dur, 8s) linear forwards; }
@keyframes lqProg{ to{ width:100%; } }
.lq-stage{ position:relative; min-height:520px; overflow:hidden; border-radius:24px; }
.lq-cap{ grid-column:2; margin-top:-6px; }
.lq-scene{ position:absolute; inset:0; padding:clamp(20px, 2.6vw, 40px); display:none; }
.lq-scene.is-on{ display:block; }
.lq-scene.sc-est.is-on, .lq-scene.sc-ph.is-on{ display:grid; }
.lq-scene .tag{ display:inline-block; padding:2px 10px; border-radius:999px; font-size:.72rem; font-weight:700; background:var(--lq-amber-soft); color:var(--lq-amber); }
/* each scene's steps appear quickly, one after another */
.lq-scene.is-on .a1, .lq-scene.is-on .a2, .lq-scene.is-on .a3, .lq-scene.is-on .a4, .lq-scene.is-on .a5, .lq-scene.is-on .a6, .lq-scene.is-on .a7{ animation:lqIn .35s ease both; }
.lq-scene.is-on .a2{ animation-delay:.25s; } .lq-scene.is-on .a3{ animation-delay:.5s; } .lq-scene.is-on .a4{ animation-delay:.8s; }
.lq-scene.is-on .a5{ animation-delay:1s; } .lq-scene.is-on .a6{ animation-delay:1.2s; } .lq-scene.is-on .a7{ animation-delay:1.45s; }
@keyframes lqIn{ from{ opacity:0; transform:translateY(6px); } }

/* scene 0: work order */
.wo-top{ display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding-bottom:16px; border-bottom:1px solid var(--line); }
.wo-top b{ display:block; color:var(--lq-ink); font-size:1.4rem; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing:0; }
.wo-top span{ color:var(--lq-soft); font-size:.9rem; }
.wo-status{ position:relative; min-width:130px; height:32px; }
.wo-status .st{ position:absolute; right:0; top:0; padding:5px 14px; border-radius:999px; font-size:.82rem; font-weight:700; opacity:0; }
.st1{ background:var(--lq-violet-soft); color:var(--lq-violet); } .st2{ background:var(--lq-aqua-soft); color:var(--lq-acc); } .st3{ background:var(--lq-ok-soft); color:var(--lq-ok); }
.lq-scene.is-on .st1{ animation:lqSt 1.6s both; } .lq-scene.is-on .st2{ animation:lqSt 1.6s 1.6s both; } .lq-scene.is-on .st3{ animation:lqIn .3s 3.2s both; opacity:1; }
@keyframes lqSt{ 0%{ opacity:0; } 8%, 90%{ opacity:1; } 100%{ opacity:0; } }
.wo-grid{ display:grid; grid-template-columns:minmax(0, 1.6fr) minmax(0, 1fr); gap:24px; margin:22px 0; }
.wo-ccc p{ margin-bottom:12px; }
.wo-ccc em{ display:block; font-style:normal; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--lq-soft); }
.wo-timer{ position:relative; padding:20px; border-radius:18px; background:var(--lq-aqua-soft); }
.wo-timer span{ font-size:.82rem; color:var(--lq-acc); }
.wo-timer b{ display:block; font-size:2.4rem; color:var(--lq-ink); font-variant-numeric:tabular-nums; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing:-.02em; }
.wo-timer i{ display:none; }
.wo-lines{ width:100%; border-collapse:collapse; font-size:.95rem; }
.wo-lines td{ padding:10px 4px; border-top:1px solid var(--line); }
.wo-lines td:last-child{ text-align:right; font-variant-numeric:tabular-nums; color:var(--lq-ink); }
.wo-tot td{ font-weight:750; color:var(--lq-ink); font-size:1.1rem; border-top:2px solid var(--lq-acc); }

/* scene 1: dispatch map */
.lq-scene.sc-map{ padding:0; background:#EAF3F5; }
.sc-map .map{ position:absolute; inset:0; width:100%; height:100%; }
.sc-map .map pattern path{ stroke:rgba(13,92,110,.07); }
.road{ fill:none; stroke:#fff; stroke-width:7; stroke-linecap:round; }
.road.big{ stroke:#FCE7B9; stroke-width:13; }
.road-lbl{ fill:#8A6A1F; font:700 13px -apple-system, sans-serif; }
.route{ fill:none; stroke:var(--lq-acc-2); stroke-width:5; stroke-linecap:round; stroke-dasharray:900; stroke-dashoffset:900; }
.sc-map.is-on .route{ animation:lqDraw 1.4s ease forwards; }
@keyframes lqDraw{ to{ stroke-dashoffset:0; } }
.pin-call{ fill:#E8A317; }
.pin-ring{ fill:none; stroke:#E8A317; stroke-width:2; transform-box:fill-box; transform-origin:center; animation:lqRing 1.8s ease-out infinite; }
@keyframes lqRing{ from{ transform:scale(1); opacity:1; } to{ transform:scale(3); opacity:0; } }
.truck circle{ fill:#fff; stroke:var(--lq-acc-2); stroke-width:3; }
.truck path{ fill:var(--lq-acc); }
.map-card{ position:absolute; right:clamp(16px, 2vw, 32px); bottom:clamp(16px, 2vw, 32px); width:min(300px, 46%); padding:18px; border-radius:18px; display:flex; flex-direction:column; gap:3px;
  background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); font-size:.9rem; }
.map-card > b{ color:var(--lq-ink); font-size:1.05rem; margin-top:8px; }
.map-card > span:not(.tag){ color:var(--lq-soft); }
.map-card .eta{ margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.map-card .eta em{ display:block; font-style:normal; font-size:.75rem; color:var(--lq-soft); }
.map-card .eta b{ font-size:2rem; color:var(--lq-acc); font-variant-numeric:tabular-nums; }

/* scene 2: estimate */
.sc-est{ grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); gap:clamp(20px, 3vw, 48px); align-items:center; }
.est-doc{ position:relative; padding:26px; border-radius:18px; background:#fff; color:#203338; border:1px solid var(--line); box-shadow:var(--shadow); }
.est-h{ display:flex; justify-content:space-between; gap:10px; padding-bottom:12px; margin-bottom:6px; border-bottom:2px solid var(--lq-acc); }
.est-h b{ color:#0B1F24; font-size:1.1rem; } .est-h span{ color:#5A6E74; font-size:.85rem; }
.est-l, .est-t{ display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid #E1E8EA; font-size:.92rem; }
.est-t{ border:none; font-weight:800; font-size:1.1rem; color:#0B1F24; }
.est-sign{ margin-top:10px; font-size:.78rem; color:#5A6E74; }
.est-sign svg{ display:block; width:220px; height:60px; }
.sig{ fill:none; stroke:#163A8C; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:700; stroke-dashoffset:700; }
.sc-est.is-on .sig{ animation:lqDraw 1.2s .9s ease forwards; }
.est-stamp{ position:absolute; right:22px; bottom:30px; padding:6px 18px; border:3px solid #1E8E5A; color:#1E8E5A; border-radius:10px; font-weight:900; font-size:1.3rem;
  letter-spacing:.08em; text-transform:uppercase; transform:rotate(-10deg); opacity:0; }
.sc-est.is-on .est-stamp{ animation:lqOn .25s 2.2s forwards; }
.est-flow{ display:flex; flex-direction:column; gap:18px; }
.est-flow .f{ display:flex; align-items:center; gap:14px; color:var(--lq-text); opacity:.3; }
.est-flow .f i{ width:14px; height:14px; border-radius:50%; border:2px solid var(--lq-aqua); flex:none; }
.sc-est.is-on .f1{ animation:lqOn .2s .1s forwards; } .sc-est.is-on .f2{ animation:lqOn .2s .6s forwards; } .sc-est.is-on .f3{ animation:lqOn .2s 2.2s forwards; } .sc-est.is-on .f4{ animation:lqOn .2s 2.8s forwards; }
@keyframes lqOn{ to{ opacity:1; } }
.est-flow .f:nth-child(3) i, .est-flow .f:nth-child(4) i{ background:var(--lq-ok); border-color:var(--lq-ok); }

/* scene 3: phone */
.sc-ph{ grid-template-columns:auto minmax(0, 1fr); gap:clamp(24px, 4vw, 64px); align-items:center; justify-content:center; }
.phone{ position:relative; width:270px; height:470px; border-radius:42px; padding:12px; background:#1C2B30; box-shadow:0 30px 60px -30px rgba(11,39,48,.6); }
.ph-notch{ position:absolute; top:18px; left:50%; width:84px; height:22px; margin-left:-42px; border-radius:20px; background:#000; z-index:2; }
.ph-screen{ position:relative; height:100%; border-radius:32px; overflow:hidden; background:#F5FAFB; padding:46px 14px 14px; }
.ph-head{ display:flex; justify-content:space-between; font-size:.82rem; color:var(--lq-soft); }
.ph-head b{ color:var(--lq-ink); }
.ph-call, .ph-nav, .ph-job{ position:absolute; left:14px; right:14px; top:80px; padding:16px; border-radius:20px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow);
  display:flex; flex-direction:column; gap:3px; font-size:.82rem; color:var(--lq-soft); opacity:0; }
.ph-call b, .ph-nav b, .ph-job b{ color:var(--lq-ink); font-size:1.15rem; }
.ph-call button{ margin-top:12px; min-height:44px; border:none; border-radius:14px; background:var(--lq-ok); color:#fff; font:inherit; font-weight:800; }
.sc-ph.is-on .ph-call{ animation:lqPhase 1.8s both; }
.sc-ph.is-on .ph-nav{ animation:lqPhase 1.8s 1.8s both; }
.sc-ph.is-on .ph-job{ animation:lqIn .3s 3.6s both; opacity:1; }
.ph-nav svg{ width:100%; height:110px; }
.nv{ fill:none; stroke:var(--lq-acc-2); stroke-width:4; stroke-linecap:round; stroke-dasharray:300; stroke-dashoffset:300; }
.sc-ph.is-on .nv{ animation:lqDraw 1.4s 1.9s linear forwards; }
.ph-nav circle{ fill:#E8A317; }
.ph-parts{ display:flex; flex-direction:column; gap:6px; margin-top:10px; }
.ph-parts span{ padding:8px 10px; border-radius:10px; background:var(--lq-aqua-soft); color:var(--lq-acc); }
@keyframes lqPhase{ 0%{ opacity:0; } 8%, 92%{ opacity:1; } 100%{ opacity:0; } }
.ph-points{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px; max-width:380px; }
.ph-points li{ padding-left:22px; position:relative; font-size:1.05rem; }
.ph-points li::before{ content:""; position:absolute; left:0; top:.55em; width:9px; height:9px; border-radius:50%; background:var(--lq-aqua); }

/* scene 4: reports */
.rep-kpis{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; margin-bottom:22px; }
.rep-kpis > div{ padding:16px 18px; border-radius:16px; background:#fff; border:1px solid var(--line); }
.rep-kpis span{ font-size:.82rem; color:var(--lq-soft); }
.rep-kpis b{ display:block; font-size:clamp(1.5rem, 2.4vw, 2.2rem); color:var(--lq-ink); font-variant-numeric:tabular-nums; }
.rep-chart{ position:relative; height:290px; }
.bars{ position:absolute; inset:0 0 26px; display:grid; grid-template-columns:repeat(5, 1fr); gap:clamp(14px, 3vw, 48px); align-items:end; padding:0 4%; }
.bars > div{ position:relative; height:var(--h); border-radius:10px 10px 4px 4px; background:linear-gradient(180deg, #7FD3DD, #2A9CAD); transform-origin:bottom; }
.bars .l{ position:absolute; left:0; right:0; bottom:0; height:calc(var(--p) * 100%); border-radius:0 0 4px 4px; background:#F2C46B; }
.bars span{ position:absolute; bottom:-26px; left:0; right:0; text-align:center; font-size:.75rem; color:var(--lq-soft); }
.sc-rep.is-on .bars > div{ animation:lqGrow .6s ease both; }
.sc-rep.is-on .bars > div:nth-child(2){ animation-delay:.08s; } .sc-rep.is-on .bars > div:nth-child(3){ animation-delay:.16s; }
.sc-rep.is-on .bars > div:nth-child(4){ animation-delay:.24s; } .sc-rep.is-on .bars > div:nth-child(5){ animation-delay:.32s; }
@keyframes lqGrow{ from{ transform:scaleY(0); } }
.rep-chart .line{ position:absolute; inset:0 0 26px; width:100%; height:calc(100% - 26px); }
.rep-chart .line path{ fill:none; stroke:var(--lq-ink); stroke-width:3; stroke-dasharray:1600; stroke-dashoffset:1600; vector-effect:non-scaling-stroke; }
.sc-rep.is-on .line path{ animation:lqDraw 1s .5s ease forwards; }
.legend{ position:absolute; right:0; top:-6px; display:flex; gap:14px; font-size:.75rem; color:var(--lq-soft); }
.legend span::before{ content:""; display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:6px; vertical-align:-1px; }
.legend .k1::before{ background:#2A9CAD; } .legend .k2::before{ background:#F2C46B; } .legend .k3::before{ background:var(--lq-ink); height:3px; vertical-align:3px; }

/* ---------- the flow: a drop runs through the steps ---------- */
.lq-pipe{ position:relative; }
.lq-pipe-line{ position:absolute; left:28px; right:2%; top:27px; height:3px; border-radius:3px; background:var(--line); }
.lq-runner{ position:absolute; top:-8px; left:0; width:18px; height:18px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff 0 15%, var(--lq-aqua) 45%, var(--lq-acc-2)); box-shadow:0 0 0 5px var(--lq-aqua-soft);
  animation:lqRun 10s linear infinite; will-change:transform; }
@keyframes lqRun{ from{ left:0; } to{ left:100%; } }
.lq-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:clamp(12px, 2vw, 28px); position:relative; }
.lq-steps li{ display:flex; flex-direction:column; gap:8px; }
.lq-steps i{ width:56px; height:56px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-weight:800; color:var(--lq-acc);
  background:#fff; border:2px solid var(--lq-aqua-soft); box-shadow:var(--shadow); }
.lq-steps b{ font-size:1.15rem; color:var(--lq-ink); margin-top:8px; }
.lq-steps span{ font-size:.95rem; color:var(--lq-soft); line-height:1.5; }

/* ---------- split sections ---------- */
.lq-split{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:clamp(32px, 6vw, 120px); align-items:center; }
.lq-split-copy > p{ font-size:1.1rem; max-width:56ch; }
.lq-list{ list-style:none; margin:26px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.lq-list li{ position:relative; padding-left:30px; }
.lq-list li::before{ content:""; position:absolute; left:0; top:.3em; width:18px; height:18px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #fff 0 14%, #7FD3DD 45%, var(--lq-acc-2)); }
.lq-fine{ margin-top:22px !important; font-size:.9rem; color:var(--lq-soft); }

/* the call */
.lq-call{ margin:0; padding:clamp(20px, 2.4vw, 32px); }
.call-head{ display:flex; align-items:center; gap:14px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.call-head b{ display:block; color:var(--lq-ink); } .call-head span{ font-size:.85rem; color:var(--lq-soft); }
.call-ring{ width:12px; height:12px; border-radius:50%; background:var(--lq-ok); box-shadow:0 0 0 4px var(--lq-ok-soft); flex:none; }
.wave{ margin-left:auto; display:flex; align-items:center; gap:3px; height:30px; }
.wave i{ width:3px; height:100%; border-radius:3px; background:var(--lq-aqua); transform:scaleY(.25); animation:lqWave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n){ animation-delay:.15s; } .wave i:nth-child(3n){ animation-delay:.3s; } .wave i:nth-child(4n){ animation-delay:.45s; } .wave i:nth-child(5n){ animation-delay:.6s; }
@keyframes lqWave{ 50%{ transform:scaleY(1); } }
.call-log{ margin:16px 0; display:flex; flex-direction:column; gap:10px; }
.call-log > div{ display:grid; grid-template-columns:62px 1fr; gap:10px; }
.call-log dt{ font-size:.78rem; font-weight:700; color:var(--lq-soft); padding-top:9px; }
.call-log dd{ margin:0; padding:9px 14px; border-radius:14px 14px 14px 4px; background:#F0F5F6; color:var(--lq-ink); }
.call-log > div:nth-child(even) dd{ background:var(--lq-aqua-soft); }
.lq-call.is-playing .call-log > div{ opacity:.12; transition:opacity .3s; }
.lq-call.is-playing .call-log > div.is-shown{ opacity:1; }
.call-result{ display:flex; flex-direction:column; gap:2px; padding:14px 16px; border-radius:16px; background:var(--lq-ok-soft); border:1px solid rgba(30,142,90,.3); font-size:.88rem; margin-bottom:10px; transition:opacity .3s; }
.call-result > span:first-child{ color:var(--lq-ok); font-weight:700; }
.call-result b{ color:var(--lq-ink); font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:.92rem; }
.lq-call.is-playing .call-result{ opacity:.12; }
.lq-call.is-playing .call-result.is-shown{ opacity:1; }
.lq-split-rev .lq-portal{ order:-1; }

/* the portal */
.lq-portal{ margin:0; padding:clamp(20px, 2.4vw, 32px); }
.portal-head{ display:flex; justify-content:space-between; align-items:baseline; padding-bottom:14px; border-bottom:1px solid var(--line); }
.portal-head b{ color:var(--lq-ink); font-size:1.15rem; } .portal-head span{ color:var(--lq-soft); font-size:.85rem; }
.lq-portal table{ width:100%; border-collapse:collapse; font-size:.92rem; margin:6px 0 12px; }
.lq-portal th{ text-align:left; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--lq-soft); padding:12px 8px 8px; font-weight:700; }
.lq-portal td{ padding:14px 8px; border-top:1px solid var(--line); }
.lq-portal td:first-child{ color:var(--lq-ink); font-weight:650; white-space:nowrap; }
.tg{ display:inline-block; padding:4px 11px; border-radius:999px; font-size:.8rem; font-weight:650; white-space:nowrap; }
.tg.live{ background:var(--lq-aqua-soft); color:var(--lq-acc); } .tg.wait{ background:var(--lq-amber-soft); color:var(--lq-amber); } .tg.ok{ background:var(--lq-ok-soft); color:var(--lq-ok); }
.tg.flash{ animation:lqFade .4s; }

/* ---------- included, switching, questions ---------- */
.lq-spec{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px; }
.lq-spec > div{ padding:26px; }
.lq-spec h3{ font-size:1.15rem; margin-bottom:14px; }
.lq-spec ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.lq-spec li{ font-size:.95rem; padding-left:18px; position:relative; }
.lq-spec li::before{ content:""; position:absolute; left:0; top:.6em; width:7px; height:7px; border-radius:50%; background:var(--lq-aqua); }
.lq-two{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.lq-two > div{ padding:clamp(26px, 3vw, 44px); }
.lq-two h2{ font-size:clamp(1.6rem, 2.4vw, 2.2rem); }
.lq-two p{ margin-bottom:14px; }
.lq-faq{ display:grid; grid-template-columns:minmax(0, 4fr) minmax(0, 8fr); gap:clamp(24px, 5vw, 96px); }
.lq-faq-list{ display:flex; flex-direction:column; gap:10px; }
.rl-faq-item{ border-radius:16px; background:#fff; border:1px solid var(--line); }
.rl-faq-item summary{ cursor:pointer; list-style:none; padding:18px 52px 18px 22px; font-weight:650; color:var(--lq-ink); position:relative; }
.rl-faq-item summary::-webkit-details-marker{ display:none; }
.rl-faq-item summary::after{ content:"+"; position:absolute; right:22px; top:50%; transform:translateY(-50%); font-size:1.4rem; font-weight:400; color:var(--lq-acc-2); }
.rl-faq-item[open] summary::after{ content:"−"; }
.rl-faq-item p{ padding:0 22px 20px; }

/* ---------- closing form ---------- */
.lq-close-in{ display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(0, 1fr); gap:clamp(24px, 5vw, 80px); align-items:center; padding:clamp(28px, 4vw, 64px); }
.lq-close-in > div > p{ font-size:1.1rem; max-width:50ch; }
.lq-close-alt{ margin-top:16px !important; color:var(--lq-soft); font-size:.95rem !important; }
.lq-form{ display:flex; flex-direction:column; gap:14px; }
.lq-form label{ display:flex; flex-direction:column; gap:6px; font-size:.88rem; font-weight:600; color:var(--lq-text); }
.rl.lq .lq-form input{ width:100%; min-height:52px; padding:0 18px; border-radius:14px; font:inherit; color:var(--lq-ink); background:#fff; border:1px solid rgba(13,92,110,.22); }
.rl.lq .lq-form input:focus{ outline:none; border-color:var(--lq-aqua); box-shadow:0 0 0 4px var(--lq-aqua-soft); }
.lq-form input[aria-invalid="true"]{ border-color:#D64545 !important; }
.lq-msg{ min-height:1.4em; font-size:.92rem; color:#B42318; }
.lq-msg.is-ok{ color:var(--lq-ok); }
.lq .nx-thanks{ padding:24px; border-radius:18px; background:var(--lq-ok-soft); border:1px solid rgba(30,142,90,.3); }
.lq .nx-thanks b{ display:block; font-size:1.3rem; color:var(--lq-ink); margin-bottom:4px; }

/* ---------- footer (overrides the app's global footer rule) ---------- */
.rl .rl-footer{ display:block; text-align:left; font-family:inherit; font-size:.95rem; padding:56px 0 30px; margin:0; border-top:1px solid var(--line); background:rgba(255,255,255,.96); color:var(--lq-soft); }
.lq-foot-in{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:32px; }
.lq-foot-brand b{ display:block; color:var(--lq-ink); font-size:1.3rem; margin-bottom:6px; }
.lq-footer h4{ font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--lq-soft); margin-bottom:12px; }
.lq-footer button, .lq-footer a{ display:block; padding:4px 0; border:none; background:none; font:inherit; color:var(--lq-text); text-decoration:none; cursor:pointer; text-align:left; }
.lq-footer button:hover, .lq-footer a:hover{ color:var(--lq-acc-2); }
.lq-foot-legal{ display:flex; flex-wrap:wrap; gap:22px; margin-top:40px; padding-top:20px; border-top:1px solid var(--line); font-size:.85rem; }
.lq-foot-legal a{ display:inline; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px){
  .lq-hero-in{ grid-template-columns:1fr; }
  .lq-feed{ justify-self:start; }
  .lq-spec{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px){
  .lq-tour{ grid-template-columns:1fr; }
  .lq-tabs{ flex-direction:row; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:4px; }
  .lq-tab{ flex:0 0 220px; scroll-snap-align:start; }
  .lq-cap{ grid-column:1; }
  .lq-split, .lq-faq, .lq-close-in, .lq-two{ grid-template-columns:1fr; }
  .lq-split-rev .lq-portal{ order:0; }
  .lq-steps{ grid-template-columns:1fr; gap:22px; }
  .lq-pipe-line{ display:none; }
  .lq-steps li{ display:grid; grid-template-columns:56px 1fr; column-gap:16px; }
  .lq-steps li i{ grid-row:span 2; }
  .lq-steps b{ margin-top:4px; }
  .lq-foot-in{ grid-template-columns:1fr 1fr; }
  .lq-foot-brand{ grid-column:1 / -1; }
  .lq-facts{ grid-template-columns:1fr; }
  .lq-scene.sc-est.is-on, .lq-scene.sc-ph.is-on{ grid-template-columns:1fr; }
  .ph-points, .est-flow{ display:none; }
  .lq-stage{ min-height:560px; }
}
@media (max-width: 640px){
  .lq{ font-size:16px; }
  .lq-spec{ grid-template-columns:1fr; }
  .lq-feed-list{ min-height:0; }
  .lq-ev:nth-child(n+3){ display:none; }
  .lq-feed-stats dd{ font-size:1.1rem; }
  .wo-grid, .rep-kpis{ grid-template-columns:1fr; }
  .rep-kpis > div:nth-child(n+2){ display:none; }
  .map-card{ width:auto; left:16px; }
  .lq-lines{ display:none; }
  .lq-portal td:nth-child(2), .lq-portal th:nth-child(2){ display:none; }
}

/* visitors who ask for less motion get the finished frames, still */
@media (prefers-reduced-motion: reduce){
  .lq *, .lq *::before, .lq *::after{ animation:none !important; transition:none !important; }
  .lq-scene .a1, .lq-scene .a2, .lq-scene .a3, .lq-scene .a4, .lq-scene .a5, .lq-scene .a6, .lq-scene .a7, .st3, .ph-job, .est-stamp, .est-flow .f{ opacity:1 !important; }
  .route, .sig, .nv, .rep-chart .line path{ stroke-dashoffset:0 !important; }
  .lq-runner{ display:none; }
}
