/* ==========================================================================
   VMS public homepage layer (loaded only on body.vp-home, after vms-portal.css).
   Hero mesh, live numbers, device showcase, FAQ, rhythm and responsive polish.
   Tokens: --vx-* (design system) and --vp-* (portal). Prefix: vp-.
   ========================================================================== */

:root {
  --vp-sec-y: clamp(72px, 9vw, 128px);
  --vp-blob-1: rgba(0, 113, 227, 0.22);
  --vp-blob-2: rgba(175, 82, 222, 0.16);
  --vp-blob-3: rgba(48, 176, 199, 0.18);
  --vp-grain-o: 0.05;
  --vp-alu-1: #e8e8ea;
  --vp-alu-2: #b9bbbf;
  --vp-alu-notch: #9a9ca1;
  --vp-num-bg: var(--vp-canvas);
}
:root[data-theme="dark"] {
  --vp-blob-1: rgba(10, 132, 255, 0.30);
  --vp-blob-2: rgba(191, 90, 242, 0.24);
  --vp-blob-3: rgba(64, 200, 224, 0.16);
  --vp-grain-o: 0.07;
  --vp-alu-1: #4a4a4e;
  --vp-alu-2: #232325;
  --vp-alu-notch: #151517;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --vp-blob-1: rgba(10, 132, 255, 0.30);
    --vp-blob-2: rgba(191, 90, 242, 0.24);
    --vp-blob-3: rgba(64, 200, 224, 0.16);
    --vp-grain-o: 0.07;
    --vp-alu-1: #4a4a4e;
    --vp-alu-2: #232325;
    --vp-alu-notch: #151517;
  }
}

/* ---- Typography & rhythm -------------------------------------------------------- */
.vp-home .vp-section { padding: var(--vp-sec-y) 0; }
.vp-home .vp-section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.vp-home .vp-section-title, .vp-home .vp-cta h2, .vp-home h3 { text-wrap: balance; }
.vp-home .vp-section-sub, .vp-home .vp-tile p, .vp-home .vp-step p, .vp-qa-a p { text-wrap: pretty; }
.vp-home .vp-section-title { font-family: var(--vx-font-display); }
.vp-eyebrow-live { display: inline-flex; align-items: center; gap: 8px; }

/* Focus rings for every interactive element on the page */
.vp-home a:focus-visible, .vp-home button:focus-visible, .vp-home summary:focus-visible,
.vp-home select:focus-visible, .vp-home input:focus-visible {
  outline: none; box-shadow: var(--vx-ring); border-radius: 10px;
}
.vp-home .vx-btn:focus-visible { border-radius: var(--vx-r-pill); }

/* ---- Navigation: transparent over the hero, frosted after scroll ----------------- */
body.vp-home .vp-nav { transition: background 0.3s var(--vx-ease), border-color 0.3s var(--vx-ease), -webkit-backdrop-filter 0.3s, backdrop-filter 0.3s; }
body.vp-home .vp-nav:not(.scrolled):not(.open) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.vp-nav-pill { position: relative; }
.vp-nav-pill::after { content: ""; position: absolute; inset: -6px -2px; }
@media (max-width: 991.98px) {
  .vp-burger { width: 44px; height: 44px; margin-right: -10px; }
  .vp-burger span { left: 14px; right: 14px; }
  .vp-burger span:first-child { top: 18px; } .vp-burger span:last-child { top: 25px; }
  .vp-nav.open .vp-burger span:first-child, .vp-nav.open .vp-burger span:last-child { top: 21.5px; }
}
@media (max-width: 575.98px) { .vp-lang { width: 40px; height: 40px; } }

/* ---- Hero ----------------------------------------------------------------------- */
.vp-home .vp-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 56px); isolation: isolate; overflow: visible; overflow-x: clip; }
.vp-home .vp-hero::before { display: none; }
.vp-hero-bg {
  position: absolute; inset: calc(-1 * var(--vp-nav-h)) 0 auto; height: min(980px, 120vh); overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
}
.vp-blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; animation: vpDrift 24s ease-in-out infinite alternate; }
.vp-blob-1 { width: 620px; height: 520px; left: calc(50% - 720px); top: -140px; background: radial-gradient(closest-side, var(--vp-blob-1), transparent); }
.vp-blob-2 { width: 560px; height: 480px; left: calc(50% + 120px); top: -80px; background: radial-gradient(closest-side, var(--vp-blob-2), transparent); animation-duration: 28s; animation-delay: -8s; }
.vp-blob-3 { width: 640px; height: 460px; left: calc(50% - 300px); top: 260px; background: radial-gradient(closest-side, var(--vp-blob-3), transparent); animation-duration: 32s; animation-delay: -14s; }
@keyframes vpDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, 30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 10px, 0) scale(0.96); }
}
.vp-grain {
  position: absolute; inset: 0; opacity: var(--vp-grain-o);
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vp-home .vp-hero-eyebrow { font-size: clamp(15px, 1.5vw, 19px); }
.vp-home .vp-hero-title { font-family: var(--vx-font-display); font-size: clamp(44px, 7.4vw, 100px); margin-bottom: 24px; }
.vp-home .vp-hero-sub { max-width: 720px; margin-bottom: 36px; }
.vp-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.vp-btn-cta { min-width: 210px; min-height: 52px; padding: 14px 28px; font-size: 17px; }
.vp-btn-cta i { font-size: 19px; line-height: 1; margin-right: 2px; }
.vp-btn-cta.vx-btn-primary { box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--vx-accent) 70%, transparent); }
.vp-btn-cta.vx-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--vx-accent) 80%, transparent); }
.vp-btn-cta.vx-btn-secondary { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--vx-accent); }
.vp-btn-cta.vx-btn-secondary:hover { background: var(--vx-accent-soft) !important; }
.vp-btn-cta:active { transform: scale(0.97); }
.vp-hero-micro { display: block; text-align: center; margin: 18px 0 0; font-size: 13px; color: var(--vx-text-3); text-wrap: balance; }
.vp-hero-micro i { font-size: 16px; color: var(--vx-green); vertical-align: -2px; margin-right: 5px; }
.vp-hero-head .vx-fade-in:nth-child(5) { animation-delay: 0.24s; }
.vp-home .vp-stage { margin-top: clamp(48px, 6vw, 80px); animation-delay: 0.3s; grid-template-columns: minmax(0, 1fr) 392px; padding: 20px; gap: 20px; }

/* Live pill on the map */
.vp-stage-map { position: relative; }
.vp-map-live {
  position: relative; z-index: 2; margin: 2px 0 10px 4px; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 7px 14px 7px 12px; border-radius: var(--vx-r-pill); font-size: 13px; color: var(--vx-text-2);
  background: var(--vp-card-glass); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid color-mix(in srgb, var(--vx-separator) 70%, transparent); box-shadow: var(--vx-shadow-2);
}
.vp-map-live b { color: var(--vx-text); font-weight: 700; }
.vp-map-live-sep { width: 1px; height: 14px; background: var(--vx-separator-strong); }
.vp-live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--vx-green); flex: 0 0 auto; }
.vp-live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--vx-green); animation: vpPing 2s var(--vx-ease) infinite; }
@keyframes vpPing { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

/* Map polish */
.vp-map-labels text { -webkit-font-smoothing: antialiased; }
.vp-truck { stroke-width: 2.5; }
.vp-truck-sm { r: 4.5; }
.vp-map-legend { margin-top: 12px; }

/* ---- Live operations numbers ---------------------------------------------------- */
.vp-numbers { padding: calc(var(--vp-sec-y) * 0.85) 0 calc(var(--vp-sec-y) * 0.8); background: var(--vp-num-bg); position: relative; }
.vp-num-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
.vp-num { padding: 6px clamp(14px, 2vw, 28px); text-align: center; position: relative; }
.vp-num + .vp-num::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--vx-separator); }
.vp-num-v {
  display: block; font-family: var(--vx-font-display); font-size: clamp(44px, 5.4vw, 76px); font-weight: 700; line-height: 1;
  letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap; margin-bottom: 12px;
  background-image: linear-gradient(135deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0.04em 0.02em 0.06em;
}
.vp-num-v small { font-size: 0.5em; letter-spacing: -0.02em; margin-left: 0.04em; }
.vp-count { display: inline-block; }
.vp-num-blue { --g1: var(--vx-accent); --g2: var(--vx-indigo); }
.vp-num-teal { --g1: var(--vx-teal); --g2: var(--vx-accent); }
.vp-num-green { --g1: var(--vx-green); --g2: var(--vx-teal); }
.vp-num-indigo { --g1: var(--vx-indigo); --g2: var(--vx-purple); }
.vp-num-purple { --g1: var(--vx-purple); --g2: #ff375f; }
.vp-num-l { display: block; font-size: 15px; line-height: 1.4; color: var(--vx-text-2); max-width: 15em; margin: 0 auto; letter-spacing: -0.01em; text-wrap: balance; }
.vp-num-s { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--vx-text-2); background: var(--vx-fill); border-radius: var(--vx-r-pill); padding: 3px 10px; }
.vp-num-foot { text-align: center; margin: clamp(32px, 4vw, 48px) 0 0; font-size: 12px; color: var(--vx-text-3); }

/* ---- Steps: horizontal rail on phones -------------------------------------------- */
.vp-home .vp-step { transition: transform 0.4s var(--vx-spring), box-shadow 0.4s var(--vx-ease); }
@media (hover: hover) { .vp-home .vp-step:hover { transform: translateY(-4px); box-shadow: var(--vx-shadow-2); } }

/* ---- Product showcase ------------------------------------------------------------ */
.vp-showcase { position: relative; overflow: hidden; }
.vp-showcase::before {
  content: ""; position: absolute; left: 50%; top: 38%; width: min(1100px, 120vw); height: 640px; transform: translate(-50%, -10%);
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--vx-accent) 14%, transparent), transparent 70%); pointer-events: none;
}
.vp-devices { position: relative; max-width: 1060px; margin: 0 auto; padding: 0 0 3%; }
.vp-laptop { position: relative; width: 86%; filter: drop-shadow(0 40px 50px rgba(0, 20, 60, 0.18)); }
.vp-laptop-lid { background: #0d0d0f; border-radius: 2.2% 2.2% 0 0 / 3.4% 3.4% 0 0; padding: 1.5% 1.5% 0; box-shadow: inset 0 0 0 1px #3a3a3e, inset 0 0 0 3px #0d0d0f; }
.vp-laptop-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0.6% 0.6% 0 0 / 1% 1% 0 0; container-type: inline-size; background: var(--vx-bg); }
.vp-laptop-base { position: relative; width: 112%; margin-left: -6%; height: 0; padding-bottom: 2.6%; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(var(--vp-alu-1), var(--vp-alu-2)); }
.vp-laptop-base::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); opacity: 0.6; }
.vp-laptop-base span { position: absolute; left: 50%; top: 0; width: 15%; height: 38%; transform: translateX(-50%); background: var(--vp-alu-notch); border-radius: 0 0 10px 10px; opacity: 0.55; }

.vp-phone {
  position: absolute; right: 0; bottom: 0; width: 24%; aspect-ratio: 9 / 19.4; background: #0d0d0f; padding: 0.9%;
  border-radius: 16% / 7.4%; box-shadow: inset 0 0 0 1px #48484c, 0 40px 60px -20px rgba(0, 20, 60, 0.35), 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}
.vp-phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 13.5% / 6.3%; background: var(--vx-bg); container-type: inline-size; }
.vp-island { position: absolute; z-index: 3; top: 2.4%; left: 50%; width: 31%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 999px; }

/* Mini portal UI (everything in em; 1em scales with the screen width) */
.vp-ui { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--vx-font); color: var(--vx-text); line-height: 1.3; font-size: calc(100cqw / 60); text-align: left; letter-spacing: -0.01em; }
.vp-ui i.mdi { line-height: 1; }
.vp-ui-nav { display: flex; align-items: center; gap: 1.5em; height: 3.2em; padding: 0 1.6em; flex: 0 0 auto; background: var(--vx-surface); border-bottom: 1px solid var(--vx-separator); }
.vp-ui-logo { width: 1.6em; height: 1.6em; border-radius: 0.45em; background: linear-gradient(135deg, #ffcc00, #ff9500); flex: 0 0 auto; }
.vp-ui-tab { font-size: 0.78em; color: var(--vx-text-2); white-space: nowrap; }
.vp-ui-tab.vp-on { color: var(--vx-text); font-weight: 600; }
.vp-ui-btn { margin-left: auto; font-size: 0.72em; font-weight: 500; color: #fff; background: var(--vx-accent); border-radius: 99em; padding: 0.5em 1.1em; white-space: nowrap; }
.vp-ui-avatar { width: 1.8em; height: 1.8em; border-radius: 50%; background: linear-gradient(135deg, var(--vx-accent), var(--vx-indigo)); flex: 0 0 auto; }
.vp-ui-body { flex: 1; min-height: 0; padding: 1.5em 1.6em 1.6em; display: flex; flex-direction: column; gap: 1.05em; }
.vp-ui-h { font-family: var(--vx-font-display); font-size: 1.6em; font-weight: 700; letter-spacing: -0.03em; }
.vp-ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9em; }
.vp-ui-kpis > div { background: var(--vx-surface); border-radius: 0.9em; padding: 0.85em 1em; box-shadow: var(--vx-shadow-1); border: 1px solid color-mix(in srgb, var(--vx-separator) 60%, transparent); }
.vp-ui-ic { width: 1.7em; height: 1.7em; border-radius: 0.5em; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 0.95em; }
.vp-ui-kpis b { display: block; font-family: var(--vx-font-display); font-size: 1.35em; font-weight: 700; letter-spacing: -0.03em; margin-top: 0.45em; white-space: nowrap; }
.vp-ui-kpis small { display: block; font-size: 0.68em; color: var(--vx-text-2); }
.vp-ui-warn b { color: var(--vx-orange); }
.vp-ui-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.6fr 1fr; gap: 0.9em; }
.vp-ui-card { background: var(--vx-surface); border-radius: 1em; padding: 0.9em 1.1em; box-shadow: var(--vx-shadow-1); border: 1px solid color-mix(in srgb, var(--vx-separator) 60%, transparent); overflow: hidden; }
.vp-ui-card-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9em; font-weight: 700; margin-bottom: 0.3em; }
.vp-ui-card-h span { font-size: 0.85em; font-weight: 400; color: var(--vx-accent); }
.vp-ui-row { display: flex; align-items: center; gap: 0.75em; padding: 0.58em 0; }
.vp-ui-row + .vp-ui-row { border-top: 1px solid var(--vx-separator); }
.vp-ui-sq { width: 1.9em; height: 1.9em; border-radius: 0.55em; display: inline-flex; align-items: center; justify-content: center; font-size: 0.95em; flex: 0 0 auto; }
.vp-ui-row-t { flex: 1; min-width: 0; }
.vp-ui-row-t b { display: block; font-family: var(--vx-font-mono); font-size: 0.76em; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.vp-ui-row-t small { display: block; font-size: 0.66em; color: var(--vx-text-2); }
.vp-ui-pill { font-size: 0.64em; font-weight: 600; padding: 0.3em 0.8em; border-radius: 99em; white-space: nowrap; }
.vp-ui-quote { display: flex; flex-direction: column; position: relative; border-color: color-mix(in srgb, var(--vx-accent) 28%, transparent); }
.vp-ui-quote::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 90%; height: 90%; background: radial-gradient(closest-side, var(--vx-accent-soft), transparent); pointer-events: none; }
.vp-ui-q-l { font-size: 0.7em; font-weight: 600; color: var(--vx-accent); }
.vp-ui-q-amt { font-family: var(--vx-font-display); font-size: 2.05em; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-top: 0.35em; white-space: nowrap; }
.vp-ui-quote small { font-size: 0.66em; color: var(--vx-text-2); }
.vp-ui-q-meta { font-size: 0.64em; color: var(--vx-text-3); margin: 0.6em 0 auto; }
.vp-ui-q-accept, .vp-ui-q-decline { font-size: 0.74em; font-weight: 500; text-align: center; border-radius: 99em; padding: 0.62em; }
.vp-ui-q-accept { background: var(--vx-accent); color: #fff; }
.vp-ui-q-decline { background: var(--vx-fill); color: var(--vx-accent); margin-top: 0.45em; }

.vp-ui-p { font-size: calc(100cqw / 21); padding: 0 1.2em; }
.vp-ui-p-status { display: flex; justify-content: space-between; align-items: center; padding: 0.95em 0.5em 0; font-size: 0.78em; }
.vp-ui-p-status b { font-weight: 600; }
.vp-ui-p-status span { display: inline-flex; gap: 0.25em; font-size: 1.05em; }
.vp-ui-p-back { display: inline-flex; align-items: center; margin: 1.5em 0 0 -0.35em; font-size: 0.85em; color: var(--vx-accent); }
.vp-ui-p-back i { font-size: 1.5em; }
.vp-ui-p-title { font-family: var(--vx-font-display); font-size: 1.75em; font-weight: 700; letter-spacing: -0.03em; margin-top: 0.15em; }
.vp-ui-p-sub { font-size: 0.74em; color: var(--vx-text-2); }
.vp-ui-p-map { position: relative; height: 6.6em; margin: 0.9em 0 0.8em; border-radius: 0.9em; overflow: hidden; background: var(--vp-stage-solid); border: 1px solid var(--vx-separator); }
.vp-ui-p-map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--vp-map-dot) 1px, transparent 1.2px); background-size: 0.6em 0.6em; }
.vp-ui-p-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vp-ui-p-route { fill: none; stroke: var(--vx-separator-strong); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 6; }
.vp-ui-p-done { fill: none; stroke: var(--vx-indigo); stroke-width: 3.5; stroke-linecap: round; }
.vp-ui-p-a { fill: var(--vx-indigo); } .vp-ui-p-b { fill: var(--vx-surface); stroke: var(--vx-text-2); stroke-width: 2; }
.vp-ui-p-truck { fill: #fff; stroke: var(--vx-accent); stroke-width: 3; }
.vp-ui-p-eta { position: absolute; left: 0.6em; bottom: 0.6em; font-size: 0.64em; font-weight: 600; background: var(--vp-card-glass); border-radius: 99em; padding: 0.3em 0.75em; box-shadow: var(--vx-shadow-1); }
.vp-ui-tl { list-style: none; margin: 0; padding: 0.2em 0 0; }
.vp-ui-tl li { position: relative; display: grid; grid-template-columns: 1.6em 1fr auto; align-items: center; padding: 0.42em 0; }
.vp-ui-tl li i { width: 0.9em; height: 0.9em; border-radius: 50%; box-shadow: inset 0 0 0 0.14em var(--vx-separator-strong); background: var(--vx-surface); position: relative; z-index: 1; }
.vp-ui-tl li::after { content: ""; position: absolute; left: 0.4em; top: 1.35em; height: 1.2em; width: 0.12em; background: var(--vx-separator-strong); }
.vp-ui-tl li:last-child::after { display: none; }
.vp-ui-tl li.done i { background: var(--vx-green); box-shadow: none; }
.vp-ui-tl li.done::after { background: var(--vx-green); }
.vp-ui-tl li.cur i { background: var(--vx-accent); box-shadow: 0 0 0 0.25em var(--vx-accent-soft); }
.vp-ui-tl b { font-size: 0.74em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-ui-tl li:not(.done):not(.cur) b { color: var(--vx-text-3); font-weight: 500; }
.vp-ui-tl small { font-size: 0.64em; color: var(--vx-text-3); padding-left: 0.5em; }

.vp-show-feats { list-style: none; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0; max-width: 1060px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.vp-show-feats li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
.vp-show-feats i { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; color: var(--vx-accent); background: var(--vx-accent-soft); }
.vp-show-feats b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.vp-show-feats span { font-size: 15px; color: var(--vx-text-2); line-height: 1.45; text-wrap: pretty; }

.vp-ui-q-inc { list-style: none; margin: 0.9em 0 0; padding: 0.7em 0 0; border-top: 1px solid var(--vx-separator); display: grid; gap: 0.45em; }
.vp-ui-q-inc li { display: flex; align-items: center; gap: 0.5em; font-size: 0.68em; color: var(--vx-text-2); }
.vp-ui-q-inc i { color: var(--vx-green); font-size: 1.15em; }
.vp-ui-q-meta { margin-bottom: 0; }
.vp-ui-q-accept { margin-top: auto; }
.vp-ui-p-card { display: flex; align-items: center; gap: 0.6em; margin-top: 0.9em; padding: 0.7em 0.8em; background: var(--vx-surface); border-radius: 0.9em; box-shadow: var(--vx-shadow-1); border: 1px solid color-mix(in srgb, var(--vx-separator) 60%, transparent); }
.vp-ui-p-card .vp-ui-row-t b { font-size: 0.7em; }
.vp-ui-p-card .vp-ui-pill { font-size: 0.6em; }

.vp-ui-p-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0.6em 0.6em 1.7em; background: var(--vp-nav-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--vx-separator); }
.vp-ui-p-tabs span { display: flex; flex-direction: column; align-items: center; gap: 0.2em; font-size: 0.56em; color: var(--vx-text-3); white-space: nowrap; }
.vp-ui-p-tabs i { font-size: 1.9em; }
.vp-ui-p-tabs .vp-on { color: var(--vx-accent); }

/* Dark: the always-dark feature band gets its own depth so it doesn't melt into a black canvas */
:root[data-theme="dark"] #freetime { background: radial-gradient(60% 70% at 78% 50%, rgba(41, 151, 255, 0.10), transparent 70%), #070708; border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
:root[data-theme="dark"] .vp-laptop { filter: drop-shadow(0 40px 60px rgba(10, 132, 255, 0.12)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) #freetime { background: radial-gradient(60% 70% at 78% 50%, rgba(41, 151, 255, 0.10), transparent 70%), #070708; border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  :root:not([data-theme]) .vp-laptop { filter: drop-shadow(0 40px 60px rgba(10, 132, 255, 0.12)); }
}

/* "How it works" sits on the tinted canvas: white step cards */
#how { background: var(--vp-tint); }
#how .vp-step { background: var(--vx-surface); box-shadow: var(--vx-shadow-1); border: 1px solid color-mix(in srgb, var(--vx-separator) 50%, transparent); }

/* ---- Borders: show-all disclosure ------------------------------------------------- */
.vp-more { border-top: 1px solid var(--vx-separator); margin: 4px 0 0; }
.vp-more > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 48px; padding: 0 20px; font-size: 15px; color: var(--vx-accent); cursor: pointer; user-select: none; }
.vp-more > summary::-webkit-details-marker { display: none; }
.vp-more > summary i { font-size: 20px; transition: transform 0.35s var(--vx-spring); }
.vp-more[open] > summary i, .vp-more.is-open > summary i { transform: rotate(180deg); }
.vp-more[open] .vp-more-open, .vp-more:not([open]) .vp-more-close { display: none; }
.vp-more > .vp-border-list { border-top: 1px solid var(--vx-separator); }
.vp-home .vp-corr-list .vp-corr, .vp-home .vp-borders { box-shadow: var(--vx-shadow-1); border: 1px solid color-mix(in srgb, var(--vx-separator) 60%, transparent); }

/* ---- FAQ -------------------------------------------------------------------------- */
.vp-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.vp-faq-head { position: sticky; top: calc(var(--vp-nav-h) + 40px); }
.vp-faq-head .vp-section-title { font-size: clamp(34px, 4.2vw, 52px); }
.vp-faq-head .vp-section-sub { margin-bottom: 22px; }
.vp-faq { background: var(--vx-surface); border-radius: 24px; box-shadow: var(--vx-shadow-1); border: 1px solid color-mix(in srgb, var(--vx-separator) 60%, transparent); overflow: hidden; }
.vp-qa { position: relative; }
.vp-qa + .vp-qa::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid var(--vx-separator); }
.vp-qa > summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; user-select: none;
  min-height: 64px; padding: 18px 24px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; color: var(--vx-text);
  transition: background var(--vx-dur) var(--vx-ease);
}
.vp-qa > summary::-webkit-details-marker { display: none; }
.vp-qa > summary:hover { background: color-mix(in srgb, var(--vx-fill) 40%, transparent); }
.vp-home .vp-qa > summary:focus-visible { border-radius: 0; box-shadow: inset var(--vx-ring); }
.vp-qa-ic { position: relative; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--vx-fill); transition: background var(--vx-dur) var(--vx-ease), transform 0.4s var(--vx-spring); }
.vp-qa-ic::before, .vp-qa-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--vx-text-2); transition: transform 0.4s var(--vx-spring), background var(--vx-dur); }
.vp-qa-ic::after { transform: rotate(90deg); }
.vp-qa[open] .vp-qa-ic, .vp-qa.is-open .vp-qa-ic { background: var(--vx-accent); transform: rotate(180deg); }
.vp-qa[open] .vp-qa-ic::before, .vp-qa[open] .vp-qa-ic::after, .vp-qa.is-open .vp-qa-ic::before, .vp-qa.is-open .vp-qa-ic::after { background: #fff; }
.vp-qa[open] .vp-qa-ic::after, .vp-qa.is-open .vp-qa-ic::after { transform: rotate(0deg); }
.vp-qa:not(.is-open)[open] .vp-qa-ic { transform: none; }
.vp-qa-a p { margin: 0; padding: 0 64px 22px 24px; font-size: 15px; line-height: 1.6; color: var(--vx-text-2); max-width: 62ch; }

/* ---- Final CTA -------------------------------------------------------------------- */
.vp-home .vp-cta { padding: calc(var(--vp-sec-y) * 1.05) 0; }
.vp-cta-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 24px; font-size: 32px; color: #fff; background: linear-gradient(135deg, var(--vx-accent), var(--vx-indigo) 60%, var(--vx-purple)); box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--vx-accent) 70%, transparent); }
.vp-home .vp-cta h2 { font-family: var(--vx-font-display); }

/* ---- Footer polish ---------------------------------------------------------------- */
.vp-home .vp-footer-full { padding-top: 56px; }
.vp-footer-grid ul a { display: inline-block; }
.vp-footer-contact li { align-items: center; }
.vp-footer-contact i { line-height: 1; }

/* ---- Responsive ------------------------------------------------------------------- */
@media (min-width: 1600px) {
  .vp-home .vp-container { max-width: 1240px; }
  .vp-nav-inner { max-width: 1240px; }
}
@media (max-width: 1099.98px) {
  .vp-home .vp-stage { grid-template-columns: minmax(0, 1fr) 352px; }
  .vp-num-grid { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); row-gap: 40px; }
  .vp-num { grid-column: span 2; }
  .vp-num-5 .vp-num:nth-child(4) { grid-column: 2 / span 2; }
  .vp-num-4 .vp-num, .vp-num-2 .vp-num { grid-column: span 3; }
  .vp-num::before { display: none; }
}
@media (max-width: 991.98px) {
  .vp-home .vp-stage { grid-template-columns: 1fr; padding: 14px; }
  .vp-faq-grid { grid-template-columns: 1fr; }
  .vp-faq-head { position: static; text-align: center; }
  .vp-faq-head .vp-section-sub { max-width: 600px; margin-left: auto; margin-right: auto; }
  .vp-laptop { width: 90%; }
  .vp-home .vp-step { min-height: 220px; }
  .vp-home .vp-tile-track { grid-template-columns: 1fr; }
  .vp-home .vp-tile-track .vp-track-form { grid-column: 1; grid-row: auto; margin-top: 20px; max-width: none; }
  .vp-phone { width: 26%; }
}
@media (max-width: 767.98px) {
  .vp-show-feats { grid-template-columns: 1fr; max-width: 520px; }
  .vp-num-grid { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 36px; }
  .vp-num, .vp-num-4 .vp-num, .vp-num-2 .vp-num, .vp-num-5 .vp-num:nth-child(4) { grid-column: auto; }
  .vp-num-3 .vp-num:last-child, .vp-num-5 .vp-num:last-child { grid-column: 1 / -1; }
  .vp-num-v { font-size: clamp(40px, 11vw, 56px); margin-bottom: 8px; }
  .vp-num-l { font-size: 14px; }
}
@media (max-width: 575.98px) {
  :root { --vp-sec-y: 64px; }
  .vp-home .vp-hero { padding-top: 32px; }
  .vp-home .vp-hero-title { font-size: clamp(40px, 11.6vw, 54px); margin-bottom: 18px; }
  .vp-home .vp-hero-sub { font-size: 17px; margin-bottom: 28px; }
  .vp-hero-ctas { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .vp-btn-cta { min-width: 0; width: 100%; }
  .vp-hero-micro { font-size: 12px; }
  .vp-blob { filter: blur(50px); }
  .vp-blob-1 { width: 360px; height: 320px; left: -120px; top: -60px; }
  .vp-blob-2 { width: 320px; height: 300px; left: auto; right: -120px; top: 40px; }
  .vp-blob-3 { width: 380px; height: 300px; left: -40px; top: 360px; }
  .vp-home .vp-stage { margin-top: 36px; padding: 10px; border-radius: 26px; gap: 10px; }
  .vp-home .vp-stage-map { order: 2; }
  .vp-map-live { margin: 4px 4px 6px; font-size: 12px; padding: 6px 12px 6px 10px; box-shadow: none; }
  .vp-home .vp-section-head { margin-bottom: 32px; }

  /* Steps become a swipeable rail */
  .vp-home .vp-rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: 80%; grid-template-columns: none; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none;
  }
  .vp-home .vp-rail::-webkit-scrollbar { display: none; }
  .vp-home .vp-rail > * { scroll-snap-align: start; min-height: 230px; }

  .vp-devices { padding-bottom: 8%; }
  .vp-laptop { width: 100%; }
  .vp-phone { width: 34%; right: -2%; bottom: -2%; }
  .vp-show-feats li { column-gap: 12px; }
  .vp-faq { border-radius: 20px; }
  .vp-qa > summary { padding: 16px 18px; font-size: 16px; min-height: 60px; }
  .vp-qa + .vp-qa::before { left: 18px; right: 18px; }
  .vp-qa-a p { padding: 0 18px 20px; font-size: 15px; }
  .vp-cta-icon { width: 56px; height: 56px; font-size: 28px; border-radius: 16px; }
  .vp-footer-grid { grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 24px; }
  .vp-footer-grid > .vp-footer-brand, .vp-footer-grid > div:last-child { grid-column: 1 / -1; }
  .vp-home .vp-tile { padding: 24px 22px; }
  .vp-home .vp-tile h3 { margin-top: 16px; }
  .vp-home .vp-tile .vp-chip-icon { width: 36px; height: 36px; font-size: 19px; border-radius: 10px; }
  .vp-footer-grid ul { gap: 0; }
  .vp-footer-grid ul a { padding: 9px 0; }
  .vp-footer-contact li { padding: 6px 0; }
  .vp-appearance > button { min-width: 44px; min-height: 34px; }
  .vp-footer-legal a { padding: 8px 0; display: inline-block; }
}

@media (prefers-reduced-motion: reduce) {
  .vp-blob, .vp-live-dot::after { animation: none; }
  .vp-home .vp-step, .vp-btn-cta { transition: none; }
}
