/* Existing VoltRide styles, copied unchanged for the information pages. */

    :root {
      color-scheme: light dark;
      --accent: #00d6a3;
      --accent-strong: #00a87d;
      --violet: #8f57ff;
      --ink: #0a0b0d;
      --muted: rgba(10, 11, 13, .66);
      --base: #f2f7f6;
      --surface: rgba(255, 255, 255, .72);
      --surface-strong: rgba(255, 255, 255, .88);
      --stroke: rgba(0, 0, 0, .1);
      --shadow: 0 24px 70px rgba(25, 42, 55, .16);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --accent: #a361ff;
        --accent-strong: #7f3deb;
        --violet: #2a8fff;
        --ink: #f2f5f8;
        --muted: rgba(255, 255, 255, .66);
        --base: #050506;
        --surface: rgba(22, 22, 27, .72);
        --surface-strong: rgba(35, 35, 42, .88);
        --stroke: rgba(255, 255, 255, .16);
        --shadow: 0 24px 70px rgba(0, 0, 0, .36);
      }
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; background: var(--base); }
    body {
      margin: 0;
      padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
      min-height: 100vh;
      color: var(--ink);
      background:
        radial-gradient(circle at 84% 8%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 32rem),
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 15%, transparent), transparent 32%),
        var(--base);
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .62), transparent 68%);
    }

    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }

    .page {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 0 10px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 900;
      font-size: clamp(1.35rem, 2vw, 1.75rem);
      letter-spacing: 0;
      color: var(--accent);
    }

    .bolt {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--surface-strong);
      border: 1px solid var(--stroke);
      box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
    }

    .brand-logo {
      display: block;
      width: 38px;
      height: 38px;
      border-radius: 11px;
      box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
    }

    .nav-pill {
      display: inline-flex;
      gap: 6px;
      padding: 7px;
      border: 1px solid var(--stroke);
      border-radius: 999px;
      background: color-mix(in srgb, var(--surface) 86%, transparent);
      backdrop-filter: blur(18px) saturate(1.24);
    }

    .nav-pill a {
      text-decoration: none;
      font-size: .88rem;
      font-weight: 760;
      color: var(--muted);
      padding: 10px 13px;
      border-radius: 999px;
    }

    .nav-pill a:hover { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--ink); }

    .login-button, .dashboard-action {
      border: 1px solid var(--stroke);
      border-radius: 999px;
      padding: 10px 15px;
      background: var(--surface-strong);
      color: var(--ink);
      font: inherit;
      font-size: .88rem;
      font-weight: 800;
      cursor: pointer;
    }
    .login-button:hover, .dashboard-action:hover { border-color: var(--accent); }

    .dashboard-page { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 64px; }
    .dashboard-head { display:flex; align-items:center; justify-content:space-between; gap:18px; padding: 0 0 30px; }
    .dashboard-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:9px; }
    .dashboard-head h1 { margin:0; font-size:clamp(2rem,5vw,4rem); line-height:1; }
    .dashboard-driver-code { margin:8px 0 0; color:var(--muted); font-size:.8rem; font-style:italic; font-weight:650; }
    .dashboard-driver-code:empty { display:none; }
    .dashboard-intro, .dashboard-card p { color:var(--muted); font-weight:650; }

    .maintenance-page { width:min(680px,calc(100% - 32px)); min-height:100svh; margin:0 auto; display:grid; place-items:center; padding:32px 0; }
    .maintenance-card { width:100%; padding:clamp(28px,5vw,52px); border:1px solid var(--stroke); border-radius:30px; background:var(--surface); box-shadow:var(--shadow); text-align:center; backdrop-filter:blur(18px); }
    .maintenance-icon { display:grid; width:58px; height:58px; margin:0 auto 20px; place-items:center; border:1px solid var(--stroke); border-radius:20px; color:var(--accent); background:color-mix(in srgb,var(--accent) 14%,var(--surface-strong)); }
    .maintenance-icon svg { width:28px; height:28px; }
    .maintenance-card h1 { margin:0; font-size:clamp(2rem,7vw,3.6rem); line-height:1.02; letter-spacing:-.04em; }
    .maintenance-card p { max-width:470px; margin:16px auto 0; color:var(--muted); font-weight:650; line-height:1.5; }
    .maintenance-login { margin-top:26px; }
    .dashboard-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:24px 0; }
    .dashboard-stat, .dashboard-card { border:1px solid var(--stroke); border-radius:24px; padding:20px; background:var(--surface); backdrop-filter:blur(18px); box-shadow:0 12px 30px rgba(0,0,0,.07); }
    .dashboard-stat b { display:block; margin-top:7px; font-size:1.65rem; }
    .dashboard-stat span, .dashboard-item small { color:var(--muted); font-size:.82rem; font-weight:750; }
    .dashboard-content { display:grid; grid-template-columns:1.2fr .8fr; gap:16px; }
    .dashboard-priority { display:grid; gap:16px; margin-bottom:24px; }
    .dashboard-card h2 { margin:0 0 14px; font-size:1.15rem; }
    .dashboard-social { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; margin-top:16px; }
    .dashboard-social-card { min-width:0; }
    .dashboard-social-section + .dashboard-social-section { margin-top:18px; padding-top:18px; border-top:1px solid var(--stroke); }
    .dashboard-social-section h3 { margin:0 0 10px; font-size:.82rem; color:var(--muted); letter-spacing:.03em; text-transform:uppercase; }
    .social-empty { margin:0; padding:12px 0 2px; color:var(--muted); font-size:.88rem; font-weight:650; }
    .friend-row, .friend-request-row { display:flex; align-items:center; gap:10px; padding:11px 0; border-top:1px solid var(--stroke); }
    .friend-row:first-child, .friend-request-row:first-child, .notification-row:first-child { border-top:0; padding-top:0; }
    .friend-profile-button { display:flex; align-items:center; min-width:0; flex:1; gap:10px; padding:0; border:0; color:var(--ink); background:transparent; text-align:left; font:inherit; cursor:pointer; }
    .friend-profile-button:hover .friend-name { color:var(--accent); }
    .friend-avatar { display:grid; flex:0 0 42px; width:42px; height:42px; place-items:center; border:1px solid var(--stroke); border-radius:50%; background:color-mix(in srgb,var(--accent) 15%,var(--surface)); color:var(--accent); font-size:.8rem; font-weight:900; }
    .friend-main { min-width:0; }
    .friend-name, .friend-meta { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .friend-name { font-size:.92rem; font-weight:850; }
    .friend-meta { margin-top:3px; color:var(--muted); font-size:.74rem; font-weight:700; }
    .social-badges { display:flex; flex-wrap:wrap; gap:5px; margin-top:5px; }
    .social-badge { display:inline-flex; align-items:center; min-height:18px; padding:2px 6px; border-radius:999px; background:color-mix(in srgb,var(--accent) 18%,transparent); color:var(--accent); font-size:.59rem; font-weight:900; letter-spacing:.045em; }
    .social-actions { display:flex; flex:0 0 auto; gap:7px; }
    .social-action { min-height:34px; border:1px solid var(--stroke); border-radius:12px; padding:6px 9px; background:transparent; color:var(--ink); font:inherit; font-size:.73rem; font-weight:820; cursor:pointer; }
    .social-action:hover { border-color:var(--accent); color:var(--accent); }
    .social-action.primary { border-color:color-mix(in srgb,var(--accent) 55%,var(--stroke)); background:color-mix(in srgb,var(--accent) 18%,transparent); color:var(--accent); }
    .social-action.danger:hover { border-color:#ff453a; color:#ff453a; }
    .social-action:disabled { cursor:wait; opacity:.52; }
    .notification-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:-3px 0 6px; color:var(--muted); font-size:.78rem; font-weight:730; }
    .notification-count { display:inline-grid; min-width:22px; height:22px; place-items:center; border-radius:999px; background:var(--accent); color:#fff; font-size:.68rem; font-weight:900; }
    .notification-row { display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:start; gap:9px; padding:13px 0; border-top:1px solid var(--stroke); }
    .notification-row.is-read { opacity:.58; }
    .notification-icon { color:var(--accent); font-size:1rem; line-height:1.1; }
    .notification-icon svg { display:block; width:17px; height:17px; }
    .notification-row.is-read .notification-icon { color:var(--muted); }
    .notification-title { margin:0; font-size:.9rem; font-weight:850; }
    .notification-body, .notification-date { display:block; margin-top:4px; color:var(--muted); font-size:.76rem; font-weight:650; line-height:1.35; }
    .notification-date { font-size:.68rem; }
    .notification-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
    .notification-action { min-width:30px; height:30px; border:1px solid var(--stroke); border-radius:10px; background:transparent; color:var(--muted); cursor:pointer; }
    .notification-action:hover { border-color:var(--accent); color:var(--accent); }
    .notification-action.delete:hover { border-color:#ff453a; color:#ff453a; }
    .friend-profile-card { padding:24px; }
    .friend-profile-hero { display:grid; justify-items:center; gap:8px; padding:6px 0 18px; text-align:center; }
    .friend-profile-avatar { width:74px; height:74px; font-size:1.18rem; }
    .friend-profile-name { margin:0; font-size:1.4rem; }
    .friend-profile-code { margin:0; color:var(--muted); font-size:.77rem; font-weight:750; }
    .friend-profile-boost { display:inline-flex; align-items:center; gap:5px; margin-top:2px; padding:6px 10px; border-radius:999px; background:color-mix(in srgb,var(--accent) 16%,transparent); color:var(--accent); font-size:.72rem; font-weight:900; }
    .friend-profile-section { margin-top:16px; padding:16px; border:1px solid var(--stroke); border-radius:19px; background:color-mix(in srgb,var(--surface) 72%,transparent); }
    .friend-profile-section h3 { margin:0 0 12px; font-size:.83rem; color:var(--muted); letter-spacing:.035em; text-transform:uppercase; }
    .friend-profile-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
    .friend-profile-stat { min-height:56px; padding:9px; border-radius:13px; background:color-mix(in srgb,var(--surface-strong) 78%,transparent); }
    .friend-profile-stat span { display:block; color:var(--muted); font-size:.56rem; font-weight:900; letter-spacing:.04em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .friend-profile-stat b { display:block; margin-top:5px; font-size:.82rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .friend-vehicles { display:grid; gap:10px; }
    .friend-vehicle-group { display:grid; gap:7px; }
    .friend-vehicle-group-label { color:var(--muted); font-size:.71rem; font-weight:850; }
    .friend-vehicle { padding:10px; border-radius:14px; background:color-mix(in srgb,var(--surface-strong) 78%,transparent); }
    .friend-vehicle-active { display:block; margin-bottom:4px; color:var(--accent); font-size:.64rem; font-weight:900; }
    .friend-vehicle b, .friend-vehicle small { display:block; }
    .friend-vehicle b { font-size:.84rem; }
    .friend-vehicle small { margin-top:3px; color:var(--muted); font-size:.7rem; font-weight:650; }
    .dashboard-item { display:flex; justify-content:space-between; gap:16px; padding:13px 0; border-top:1px solid var(--stroke); }
    .dashboard-item:first-of-type { border-top:0; }
    .dashboard-item b { font-size:.94rem; }
    .dashboard-item small { display:block; margin-top:5px; }
    .ride-item { display:grid; grid-template-columns:minmax(0,1fr) 154px; align-items:center; gap:16px; }
    .route-preview { height:94px; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:16px; background:rgba(20,31,31,.9); }
    .route-preview svg { display:block; width:100%; height:100%; }
    .post-item { padding:16px; margin-top:10px; border:1px solid var(--stroke); border-radius:17px; background:rgba(255,255,255,.035); }
    .post-item:first-of-type { margin-top:0; }
    .post-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
    .post-meta { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
    .post-badge { padding:4px 8px; border-radius:999px; background:color-mix(in srgb,var(--accent) 18%,transparent); color:var(--ink); font-size:.74rem; font-weight:800; }
    .post-date { display:block; margin-top:8px; color:var(--muted); font-size:.76rem; font-weight:720; }
    .post-text { margin:9px 0 0; line-height:1.42; }
    .post-replies { display:grid; gap:5px; margin-top:11px; padding-top:10px; border-top:1px solid var(--stroke); }
    .post-boosts { color:var(--accent); font-size:.82rem; font-weight:850; white-space:nowrap; }
    .garage-vehicle { padding:13px 0; border-top:1px solid var(--stroke); }
    .garage-vehicle:first-child, .dashboard-ranking-item:first-child { padding-top:0; border-top:0; }
    .garage-vehicle-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
    .garage-vehicle-name { display:flex; flex-wrap:wrap; align-items:center; gap:7px; min-width:0; }
    .garage-vehicle-name b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .garage-selected { padding:3px 6px; border-radius:999px; background:color-mix(in srgb,var(--accent) 18%,transparent); color:var(--accent); font-size:.66rem; font-weight:850; }
    .garage-battery-value { font-size:1rem; font-weight:900; white-space:nowrap; }
    .garage-battery-track { height:7px; margin-top:9px; overflow:hidden; border-radius:999px; background:rgba(255,255,255,.09); }
    .garage-battery-level { display:block; height:100%; border-radius:inherit; background:#00bd9e; }
    .garage-battery-level.medium { background:#ffd60a; }
    .garage-battery-level.low { background:#ff453a; }
    .garage-sync-state { display:block; margin-top:8px; color:var(--muted); font-size:.76rem; font-weight:720; }
    .dashboard-ranking-item { display:grid; grid-template-columns:28px minmax(0,1fr) auto; align-items:center; gap:9px; padding:11px 0; border-top:1px solid var(--stroke); }
    .dashboard-rank { color:var(--accent); font-size:.8rem; font-weight:900; }
    .dashboard-ranking-main b, .dashboard-ranking-main small { display:block; }
    .dashboard-ranking-main small { margin-top:3px; color:var(--muted); font-size:.72rem; font-weight:700; }
    .dashboard-ranking-distance { text-align:right; font-size:.82rem; font-weight:880; white-space:nowrap; }
    .dashboard-ranking-distance small { display:block; margin-top:3px; color:var(--muted); font-size:.69rem; font-weight:700; }
    .dashboard-patchnotes { margin-top:16px; }
    .patchnotes-section { padding-top:0; }
    .patchnotes-panel { max-width:820px; }
    .patchnotes-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
    .patchnotes-head h2, .patchnotes-head h3 { margin:0; }
    .patchnotes-meta { margin:6px 0 0; color:var(--muted); font-size:.8rem; font-style:italic; font-weight:680; }
    .patchnotes-builds { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 14px; }
    .patchnotes-build { min-width:68px; border:1px solid var(--stroke); border-radius:999px; padding:6px 10px; background:transparent; color:var(--muted); font:inherit; font-size:.72rem; font-weight:850; cursor:pointer; }
    .patchnotes-build:hover { border-color:var(--accent); color:var(--ink); }
    .patchnotes-build.is-active { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 18%,transparent); color:var(--accent); }
    .patchnotes-content { min-height:132px; }
    .patchnotes-typewriter { margin:16px 0 0; white-space:pre-line; color:var(--ink); line-height:1.42; font-size:.9rem; font-weight:650; }
    .patchnotes-list { display:grid; gap:9px; margin:16px 0 0; padding:0; list-style:none; }
    .patchnotes-list li { position:relative; padding-left:17px; color:var(--ink); line-height:1.42; font-size:.9rem; font-weight:650; }
    .patchnotes-list li::before { content:""; position:absolute; top:.52em; left:0; width:7px; height:7px; border-radius:50%; background:var(--accent); }
    .community-ride-summary { margin-top:13px; padding:13px; border:1px solid rgba(255,255,255,.1); border-radius:18px; background:rgba(255,255,255,.045); }
    .community-ride-label { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; color:var(--muted); font-size:.64rem; font-weight:900; letter-spacing:.08em; }
    .community-ride-label .verified { color:#00bd9e; font-size:.78rem; letter-spacing:0; }
    .community-ride-body { display:flex; align-items:center; gap:10px; }
    .community-ride-details { min-width:0; flex:1; }
    .community-ride-distance { color:var(--ink); font-size:1.75rem; font-weight:900; line-height:1; letter-spacing:-.04em; }
    .community-ride-metrics { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:8px; color:var(--muted); font-size:.75rem; font-weight:760; line-height:1.25; }
    .community-metric-dot { width:3px; height:3px; flex:0 0 3px; border-radius:50%; background:color-mix(in srgb,var(--muted) 45%,transparent); }
    .community-route-preview { width:112px; height:78px; flex:0 0 112px; }
    .community-route-preview svg { display:block; width:100%; height:100%; }
    .login-card { width:min(410px,calc(100vw - 32px)); padding:24px; border:1px solid var(--stroke); border-radius:26px; color:var(--ink); background:var(--surface-strong); box-shadow:var(--shadow); }
    .login-card h2 { margin:0 0 8px; }
    .login-card p { color:var(--muted); line-height:1.45; }
    .apple-login { width:100%; min-height:44px; margin-top:10px; border:0; border-radius:10px; background:#000; color:#fff; font:inherit; font-weight:760; cursor:pointer; }
    .login-error { min-height:1.25rem; color:#c33030; font-size:.84rem; font-weight:700; margin-top:12px; }
    .login-waiting { margin-top:14px; padding:14px; border:1px solid var(--stroke); border-radius:14px; background:var(--surface); color:var(--ink); }
    .login-waiting strong { display:block; font-size:.92rem; }
    .login-waiting span { display:block; margin-top:5px; color:var(--muted); font-size:.84rem; line-height:1.4; }
    .login-waiting button { width:100%; min-height:38px; margin-top:12px; border:1px solid var(--stroke); border-radius:9px; color:var(--ink); background:transparent; font:inherit; font-weight:720; cursor:pointer; }
    @media (max-width: 880px) { .dashboard-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .dashboard-content, .dashboard-social { grid-template-columns:1fr; } }
    @media (max-width: 560px) { .dashboard-page { width:min(100% - 22px,1180px); } .dashboard-head { align-items:flex-start; flex-direction:column; } .dashboard-actions { justify-content:flex-start; } .ride-item { grid-template-columns:1fr; } .route-preview { height:124px; } .community-ride-body { align-items:flex-start; } .community-route-preview { width:96px; height:72px; flex-basis:96px; } .friend-request-row { align-items:flex-start; flex-wrap:wrap; } .friend-request-row .social-actions { width:100%; padding-left:52px; } .friend-profile-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .notification-row { grid-template-columns:20px minmax(0,1fr); } .notification-actions { grid-column:2; justify-content:flex-start; } }

    .hero {
      min-height: calc(100svh - 72px);
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
      align-items: center;
      gap: clamp(28px, 5vw, 70px);
      padding: 34px 0 74px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid var(--stroke);
      background: color-mix(in srgb, var(--surface) 76%, transparent);
      color: var(--muted);
      font-size: .86rem;
      font-weight: 800;
      backdrop-filter: blur(16px);
    }

    .pulse {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent);
      animation: pulse 2.2s ease-out infinite;
    }

    h1 {
      margin: 22px 0 18px;
      font-size: clamp(3.2rem, 9vw, 7.6rem);
      line-height: .88;
      letter-spacing: 0;
    }

    .lead {
      max-width: 680px;
      margin: 0 0 28px;
      color: var(--muted);
      font-size: clamp(1.05rem, 2vw, 1.32rem);
      line-height: 1.55;
      font-weight: 620;
    }

    .store-row {
      display: flex;
      flex-wrap: wrap;
      gap: 13px;
      margin: 0 0 30px;
    }

    .beta-download { flex-basis: 100%; }
    .beta-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 9px 16px;
      border: 1px solid var(--stroke);
      border-radius: 14px;
      background: var(--surface);
      color: var(--ink);
      font-size: .82rem;
      font-weight: 750;
      text-decoration: none;
    }
    .beta-button:hover { border-color: var(--accent); }
    .beta-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

    .store-button {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 212px;
      min-height: 62px;
      padding: 11px 18px;
      color: #fff;
      text-decoration: none;
      border-radius: 18px;
      background: #07080a;
      border: 1px solid rgba(255, 255, 255, .18);
      box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
      transform: translateY(0);
      transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    }

    .store-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 20px 46px rgba(0, 0, 0, .28);
    }

    .store-button[aria-disabled="true"] {
      opacity: .72;
      cursor: not-allowed;
    }

    .store-icon {
      width: 30px;
      height: 30px;
      flex: 0 0 auto;
      fill: currentColor;
    }

    .store-copy {
      display: grid;
      gap: 1px;
      line-height: 1.05;
    }

    .store-copy small {
      font-size: .72rem;
      opacity: .78;
      font-weight: 650;
    }

    .store-copy strong {
      font-size: 1.08rem;
      font-weight: 900;
      letter-spacing: 0;
    }

    .facts {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      max-width: 650px;
    }

    .fact {
      padding: 15px;
      min-height: 88px;
      border: 1px solid var(--stroke);
      border-radius: 22px;
      background: color-mix(in srgb, var(--surface) 82%, transparent);
      backdrop-filter: blur(18px) saturate(1.18);
      box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    }

    .fact b {
      display: block;
      font-size: 1.36rem;
      margin-bottom: 2px;
    }

    .fact span {
      color: var(--muted);
      font-size: .83rem;
      font-weight: 760;
      line-height: 1.22;
    }

    .device-stage {
      position: relative;
      min-height: 610px;
      display: grid;
      place-items: center;
      perspective: 1000px;
    }

    .phone {
      position: relative;
      width: min(380px, 82vw);
      aspect-ratio: 390 / 780;
      padding: 15px;
      border-radius: 48px;
      border: 1px solid color-mix(in srgb, var(--stroke) 72%, white 12%);
      background: linear-gradient(145deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .06));
      box-shadow: var(--shadow);
      transform: rotateX(4deg) rotateY(-8deg);
      animation: floatPhone 6s ease-in-out infinite;
      backdrop-filter: blur(20px) saturate(1.18);
    }

    .screen {
      position: relative;
      height: 100%;
      overflow: hidden;
      border-radius: 36px;
      background:
        linear-gradient(160deg, rgba(0, 214, 163, .2), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(143, 87, 255, .42), transparent 28%),
        #091011;
      color: white;
    }

    .app-reel {
      position: absolute;
      inset: 0;
    }

    .app-screen {
      position: absolute;
      inset: 0;
      padding: 22px 18px 18px;
      overflow: hidden;
      opacity: 0;
      transform: translateX(18px) scale(.985);
      animation: screenReel 20s ease-in-out infinite;
    }

    .app-screen:nth-child(2) { animation-delay: 4s; }
    .app-screen:nth-child(3) { animation-delay: 8s; }
    .app-screen:nth-child(4) { animation-delay: 12s; }
    .app-screen:nth-child(5) { animation-delay: 16s; }

    .app-screen.dashboard {
      background:
        radial-gradient(circle at 84% 8%, rgba(0, 214, 163, .18), transparent 38%),
        linear-gradient(145deg, rgba(245, 250, 249, .96), rgba(226, 240, 245, .9));
      color: #090b0c;
    }

    .app-screen.route,
    .app-screen.live {
      background:
        linear-gradient(160deg, rgba(0, 214, 163, .2), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(143, 87, 255, .42), transparent 28%),
        #091011;
      color: #fff;
    }

    .app-screen.community,
    .app-screen.garage {
      background:
        linear-gradient(145deg, rgba(14, 13, 18, .98), rgba(25, 20, 34, .94)),
        radial-gradient(circle at top right, rgba(163, 97, 255, .34), transparent 35%);
      color: #fff;
    }

    .app-top {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
      font-weight: 950;
      letter-spacing: 0;
    }

    .app-brand {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--accent);
    }

    .app-dot {
      display: grid;
      place-items: center;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .72);
      box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    }

    .app-chip {
      padding: 8px 10px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 999px;
      background: rgba(255, 255, 255, .12);
      backdrop-filter: blur(18px);
      color: inherit;
      font-size: .72rem;
      font-weight: 850;
    }

    .app-tabs {
      position: absolute;
      z-index: 4;
      left: 14px;
      right: 14px;
      bottom: 12px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      padding: 8px;
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 20px;
      background: rgba(9, 14, 17, .72);
      backdrop-filter: blur(18px) saturate(1.2);
    }

    .app-tabs span {
      display: grid;
      place-items: center;
      min-height: 28px;
      border-radius: 13px;
      color: rgba(255, 255, 255, .64);
      font-size: .64rem;
      font-weight: 900;
    }

    .app-tabs span.active {
      color: #07100d;
      background: var(--accent);
    }

    .dashboard-hero,
    .glass-strip,
    .live-panel,
    .post,
    .garage-item {
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 24px;
      background: rgba(255, 255, 255, .18);
      backdrop-filter: blur(18px) saturate(1.24);
      box-shadow: 0 18px 38px rgba(0, 0, 0, .12);
    }

    .dashboard .dashboard-hero,
    .dashboard .glass-strip {
      background: rgba(255, 255, 255, .72);
      border-color: rgba(0, 0, 0, .08);
    }

    .dashboard-hero {
      padding: 18px;
      min-height: 176px;
    }

    .dashboard-hero small,
    .screen-label {
      display: block;
      color: rgba(10, 11, 13, .56);
      font-size: .68rem;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .route .screen-label,
    .live .screen-label,
    .community .screen-label,
    .garage .screen-label {
      color: rgba(255, 255, 255, .58);
    }

    .range-value {
      display: flex;
      align-items: baseline;
      gap: 7px;
      font-size: 4.2rem;
      line-height: .92;
      font-weight: 1000;
      letter-spacing: 0;
    }

    .range-value span {
      font-size: 1.1rem;
      color: rgba(10, 11, 13, .56);
      font-weight: 900;
    }

    .vehicle-line {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 18px;
      color: rgba(10, 11, 13, .68);
      font-size: .78rem;
      font-weight: 850;
    }

    .battery {
      overflow: hidden;
      width: 92px;
      height: 10px;
      border-radius: 999px;
      background: rgba(0, 0, 0, .1);
    }

    .battery div {
      width: 74%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--accent), #6fffd2);
      animation: battery 4.2s ease-in-out infinite;
    }

    .glass-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      padding: 13px;
      margin-top: 12px;
    }

    .glass-strip span,
    .live-panel span {
      display: block;
      color: rgba(255, 255, 255, .56);
      font-size: .62rem;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 3px;
    }

    .dashboard .glass-strip span {
      color: rgba(10, 11, 13, .52);
    }

    .glass-strip b,
    .live-panel b {
      display: block;
      font-size: .96rem;
      font-weight: 1000;
    }

    .map-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
      background-size: 34px 34px;
      transform: rotate(-8deg) scale(1.12);
    }

    .route-svg {
      position: absolute;
      inset: 10% -8% 18%;
      width: 116%;
      height: 72%;
      overflow: visible;
    }

    .route-line {
      fill: none;
      stroke: url(#routeGradient);
      stroke-width: 13;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 650;
      stroke-dashoffset: 650;
      animation: drawRoute 3.2s cubic-bezier(.2, .75, .2, 1) infinite;
      filter: drop-shadow(0 0 16px rgba(0, 214, 163, .36));
    }

    .route-shadow {
      fill: none;
      stroke: rgba(255, 255, 255, .18);
      stroke-width: 20;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .route-card {
      position: absolute;
      z-index: 2;
      left: 18px;
      right: 18px;
      bottom: 18px;
      padding: 15px;
      border: 1px solid rgba(255, 255, 255, .16);
      border-radius: 24px;
      background: rgba(255, 255, 255, .12);
      backdrop-filter: blur(20px) saturate(1.3);
    }

    .route-option {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      font-size: .82rem;
      font-weight: 900;
    }

    .route-option strong {
      display: block;
      font-size: 1.25rem;
      margin-bottom: 3px;
    }

    .route-badges {
      display: flex;
      gap: 6px;
      margin-top: 12px;
    }

    .route-badges span {
      padding: 6px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .14);
      color: rgba(255, 255, 255, .78);
      font-size: .64rem;
      font-weight: 900;
    }

    .live-speed {
      display: grid;
      place-items: center;
      width: 142px;
      height: 142px;
      margin: 16px auto 12px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, .2);
      background:
        radial-gradient(circle, rgba(255, 255, 255, .14), transparent 56%),
        conic-gradient(from -90deg, var(--accent) 0 62%, rgba(255, 255, 255, .12) 62% 100%);
      box-shadow: 0 0 34px rgba(0, 214, 163, .18);
    }

    .live-speed b {
      display: block;
      font-size: 2.55rem;
      line-height: .86;
      font-weight: 1000;
      letter-spacing: 0;
      text-align: center;
    }

    .live-speed span {
      color: rgba(255, 255, 255, .62);
      font-weight: 900;
      font-size: .8rem;
    }

    .live-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .mini-map-card {
      position: relative;
      height: 112px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 24px;
      background:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
        rgba(255, 255, 255, .1);
      background-size: 28px 28px;
      box-shadow: 0 18px 38px rgba(0, 0, 0, .12);
    }

    .mini-map-road,
    .mini-map-route {
      position: absolute;
      left: -18px;
      right: -18px;
      height: 18px;
      border-radius: 999px;
      transform: rotate(-18deg);
    }

    .mini-map-road {
      top: 48px;
      background: rgba(255, 255, 255, .13);
    }

    .mini-map-route {
      top: 50px;
      width: 74%;
      background: linear-gradient(90deg, var(--accent), #31a7ff, var(--violet));
      box-shadow: 0 0 20px rgba(0, 214, 163, .24);
      animation: routeGlow 2.4s ease-in-out infinite;
    }

    .mini-map-pin {
      position: absolute;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 7px rgba(0, 214, 163, .14);
    }

    .mini-map-pin.start { left: 40px; bottom: 30px; }
    .mini-map-pin.alert { right: 54px; top: 28px; background: #f5c542; box-shadow: 0 0 0 7px rgba(245, 197, 66, .14); }

    .wind-badge {
      position: absolute;
      right: 12px;
      bottom: 12px;
      padding: 7px 9px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .15);
      color: rgba(255, 255, 255, .8);
      font-size: .68rem;
      font-weight: 900;
    }

    .live-panel {
      padding: 14px;
    }

    .post {
      padding: 14px;
      margin-bottom: 10px;
    }

    .post-head {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }

    .avatar {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--violet));
      font-size: .76rem;
      font-weight: 950;
    }

    .post-head b {
      display: block;
      font-size: .86rem;
    }

    .post-head span,
    .post p {
      color: rgba(255, 255, 255, .64);
      font-size: .72rem;
      font-weight: 700;
    }

    .post p {
      margin: 0 0 11px;
      line-height: 1.35;
    }

    .boost-row {
      display: flex;
      gap: 8px;
      color: rgba(255, 255, 255, .74);
      font-size: .7rem;
      font-weight: 900;
    }

    .garage-list {
      display: grid;
      gap: 10px;
      margin-top: 18px;
    }

    .garage-settings {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      margin-top: 12px;
    }

    .garage-settings div {
      border: 1px solid rgba(255, 255, 255, .16);
      border-radius: 18px;
      padding: 11px;
      background: rgba(255, 255, 255, .12);
    }

    .garage-settings span {
      display: block;
      color: rgba(255, 255, 255, .58);
      font-size: .64rem;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .garage-settings b {
      font-size: .9rem;
    }

    .garage-item {
      display: grid;
      grid-template-columns: 42px 1fr auto;
      align-items: center;
      gap: 11px;
      padding: 13px;
    }

    .garage-icon {
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      border-radius: 15px;
      background: rgba(255, 255, 255, .14);
      color: var(--accent);
      font-weight: 950;
    }

    .garage-item b {
      display: block;
      font-size: .88rem;
    }

    .garage-item span {
      color: rgba(255, 255, 255, .58);
      font-size: .7rem;
      font-weight: 760;
    }

    section {
      padding: 64px 0;
    }

    .section-title {
      margin: 0 0 24px;
      font-size: clamp(2rem, 5vw, 4rem);
      line-height: .98;
      letter-spacing: 0;
    }

    .section-lead {
      max-width: 760px;
      margin: -8px 0 26px;
      color: var(--muted);
      font-size: 1.08rem;
      line-height: 1.55;
      font-weight: 620;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .feature {
      min-height: 210px;
      padding: 22px;
      border-radius: 26px;
      border: 1px solid var(--stroke);
      background: color-mix(in srgb, var(--surface) 84%, transparent);
      box-shadow: 0 16px 42px rgba(0, 0, 0, .08);
      backdrop-filter: blur(18px) saturate(1.16);
    }

    .feature svg {
      width: 32px;
      height: 32px;
      margin-bottom: 20px;
      color: var(--accent);
    }

    .feature h3 {
      margin: 0 0 10px;
      font-size: 1.16rem;
      letter-spacing: 0;
    }

    .feature p {
      margin: 0;
      color: var(--muted);
      line-height: 1.52;
      font-weight: 600;
    }

    .access {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      align-items: start;
      overflow: visible;
    }

    .access-card {
      position: relative;
      z-index: 1;
      min-height: 96px;
      padding: 24px;
      border-radius: 28px;
      border: 1px solid var(--stroke);
      background: color-mix(in srgb, var(--surface) 82%, transparent);
      backdrop-filter: blur(18px);
      overflow: visible;
      cursor: default;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .access-card h3 {
      margin: 0;
      font-size: 1.4rem;
    }

    .access-card ul {
      position: absolute;
      left: 0;
      right: 0;
      top: calc(100% + 10px);
      z-index: 4;
      display: grid;
      gap: 11px;
      list-style: none;
      padding: 16px;
      margin: 0;
      opacity: 0;
      transform: translateY(-8px) scale(.98);
      color: var(--muted);
      font-weight: 640;
      line-height: 1.42;
      pointer-events: none;
      border: 1px solid var(--stroke);
      border-radius: 22px;
      background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
      box-shadow: 0 18px 42px rgba(0, 0, 0, .13);
      backdrop-filter: blur(20px) saturate(1.18);
      transition: opacity .18s ease, transform .2s ease;
    }

    .access-card:hover,
    .access-card:focus-within,
    .access-card:focus {
      z-index: 6;
      transform: translateY(-3px);
      background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
      box-shadow: 0 18px 44px rgba(0, 0, 0, .1);
      outline: none;
    }

    .access-card:hover ul,
    .access-card:focus-within ul,
    .access-card:focus ul {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .access-card li {
      display: grid;
      grid-template-columns: 22px 1fr;
      gap: 8px;
    }

    .access-card li::before {
      content: "✓";
      color: var(--accent-strong);
      font-weight: 950;
    }

    footer {
      display: grid;
      justify-items: center;
      gap: 14px;
      padding: 34px 0 28px;
      color: var(--muted);
    }

    .legal-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }

    .legal-links a,
    .legal-links button {
      border: 0;
      background: transparent;
      color: inherit;
      padding: 8px 10px;
      font: inherit;
      font-size: .9rem;
      font-weight: 760;
      cursor: pointer;
      border-radius: 999px;
      text-decoration: none;
    }

    .legal-links a:hover,
    .legal-links button:hover {
      background: color-mix(in srgb, var(--accent) 13%, transparent);
      color: var(--ink);
    }

    .copyright {
      font-size: .84rem;
      text-align: center;
    }

    dialog {
      width: min(680px, calc(100% - 26px));
      max-height: min(760px, calc(100svh - 34px));
      border: 1px solid var(--stroke);
      border-radius: 26px;
      padding: 0;
      background: var(--surface-strong);
      color: var(--ink);
      box-shadow: var(--shadow);
      backdrop-filter: blur(26px) saturate(1.2);
    }

    dialog::backdrop {
      background: rgba(0, 0, 0, .42);
      backdrop-filter: blur(6px);
    }

    .modal-content {
      padding: 24px;
    }

    .modal-head {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
      margin-bottom: 12px;
    }

    .modal-head h2 {
      margin: 0;
      font-size: 1.5rem;
    }

    .close {
      width: 40px;
      height: 40px;
      border: 1px solid var(--stroke);
      border-radius: 50%;
      background: color-mix(in srgb, var(--surface) 80%, transparent);
      color: var(--ink);
      font-size: 1.4rem;
      cursor: pointer;
    }

    .modal-body {
      color: var(--muted);
      line-height: 1.56;
      font-weight: 600;
    }

    .modal-body p { margin: 0 0 12px; }
    .modal-body h3 {
      margin: 18px 0 8px;
      color: var(--ink);
      font-size: 1rem;
    }
    .modal-body ul {
      margin: 0 0 12px;
      padding-left: 20px;
    }
    .modal-body li { margin: 0 0 6px; }

    .web-app {
      display: grid;
      gap: 18px;
      padding-top: 18px;
    }

    .web-shell {
      display: grid;
      grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
      gap: 18px;
      align-items: start;
    }

    .web-panel,
    .login-panel,
    .route-planner,
    .chat-panel {
      border: 1px solid var(--stroke);
      border-radius: 24px;
      background: color-mix(in srgb, var(--surface) 88%, transparent);
      box-shadow: 0 18px 54px rgba(0, 0, 0, .12);
      backdrop-filter: blur(22px) saturate(1.18);
      padding: 20px;
    }

    .login-actions,
    .dashboard-grid,
    .route-controls,
    .chat-controls {
      display: grid;
      gap: 12px;
    }

    .dashboard-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .web-stat {
      min-height: 108px;
      border: 1px solid var(--stroke);
      border-radius: 18px;
      padding: 14px;
      background: color-mix(in srgb, var(--surface-strong) 70%, transparent);
    }

    .web-stat span,
    .route-result span,
    .chat-message span {
      display: block;
      color: var(--muted);
      font-size: .82rem;
      font-weight: 760;
    }

    .web-stat b {
      display: block;
      margin-top: 8px;
      font-size: clamp(1.55rem, 3vw, 2.4rem);
      line-height: 1;
    }

    .web-list {
      display: grid;
      gap: 10px;
      margin-top: 14px;
    }

    .web-item,
    .route-result,
    .chat-message {
      border: 1px solid var(--stroke);
      border-radius: 18px;
      padding: 13px;
      background: color-mix(in srgb, var(--surface-strong) 64%, transparent);
    }

    .web-item {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
    }

    .leaderboard-card {
      display: grid;
      grid-template-columns: 48px minmax(0, 1fr) auto;
      gap: 13px;
      align-items: center;
      border: 1px solid var(--stroke);
      border-radius: 20px;
      padding: 14px;
      background: color-mix(in srgb, var(--surface-strong) 68%, transparent);
    }

    .leaderboard-card:first-child {
      border-color: color-mix(in srgb, var(--accent) 58%, var(--stroke));
      background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 58%),
        color-mix(in srgb, var(--surface-strong) 76%, transparent);
      box-shadow: 0 16px 36px rgba(0, 0, 0, .1);
    }

    .leaderboard-rank {
      display: grid;
      place-items: center;
      width: 48px;
      height: 48px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--accent), var(--violet));
      color: white;
      font-weight: 1000;
    }

    .leaderboard-main {
      min-width: 0;
    }

    .leaderboard-main b,
    .leaderboard-main span {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .leaderboard-main b {
      font-size: 1.02rem;
      font-weight: 950;
    }

    .leaderboard-main span,
    .leaderboard-meta span {
      color: var(--muted);
      font-size: .82rem;
      font-weight: 760;
    }

    .leaderboard-meta {
      display: grid;
      justify-items: end;
      gap: 2px;
      white-space: nowrap;
    }

    .leaderboard-meta b {
      font-size: 1.18rem;
      font-weight: 1000;
    }

    .web-button,
    .provider-button {
      border: 1px solid var(--stroke);
      border-radius: 16px;
      background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
      color: var(--ink);
      min-height: 48px;
      padding: 12px 15px;
      font: inherit;
      font-weight: 860;
      cursor: pointer;
    }

    .web-button.primary {
      background: linear-gradient(135deg, var(--accent), var(--violet));
      color: white;
      border-color: transparent;
    }

    .web-button:disabled,
    .provider-button:disabled {
      opacity: .52;
      cursor: not-allowed;
    }

    .web-input,
    .web-select,
    .chat-input {
      width: 100%;
      border: 1px solid var(--stroke);
      border-radius: 16px;
      background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
      color: var(--ink);
      padding: 13px 14px;
      font: inherit;
      font-weight: 700;
    }

    .chat-log {
      display: grid;
      gap: 9px;
      max-height: 300px;
      overflow: auto;
      padding-right: 4px;
    }

    .chat-message.outgoing {
      border-color: color-mix(in srgb, var(--accent) 52%, var(--stroke));
      background: color-mix(in srgb, var(--accent) 12%, var(--surface-strong));
    }

    .web-note {
      color: var(--muted);
      font-size: .92rem;
      line-height: 1.45;
      font-weight: 650;
    }

    .route-app-wrap {
      display: grid;
      grid-template-columns: minmax(260px, .86fr) minmax(280px, 1fr);
      gap: 18px;
      align-items: center;
      margin-top: 16px;
    }

    .route-phone {
      position: relative;
      width: min(330px, 100%);
      aspect-ratio: 390 / 780;
      margin: 0 auto;
      padding: 13px;
      border-radius: 42px;
      border: 1px solid color-mix(in srgb, var(--stroke) 72%, white 12%);
      background: linear-gradient(145deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .06));
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .route-phone-screen {
      position: relative;
      height: 100%;
      overflow: hidden;
      border-radius: 31px;
      color: white;
      background:
        linear-gradient(160deg, rgba(0, 214, 163, .18), transparent 36%),
        radial-gradient(circle at 86% 10%, rgba(143, 87, 255, .42), transparent 29%),
        #091011;
    }

    .route-map-preview {
      position: absolute;
      inset: 0;
      opacity: .78;
      background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
      background-size: 38px 38px;
    }

    .route-map-preview::before,
    .route-map-preview::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      background: rgba(255, 255, 255, .07);
      transform: rotate(-26deg);
    }

    .route-map-preview::before {
      width: 420px;
      height: 38px;
      left: -80px;
      top: 170px;
    }

    .route-map-preview::after {
      width: 380px;
      height: 30px;
      right: -150px;
      bottom: 170px;
      transform: rotate(31deg);
    }

    .route-map-layer {
      position: absolute;
      z-index: 1;
      top: 130px;
      left: 0;
      right: 0;
      bottom: 305px;
      overflow: hidden;
      pointer-events: none;
    }

    .route-phone-ui {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto;
      height: 100%;
      padding: 14px 13px 13px;
    }

    .route-top-card,
    .route-bottom-sheet,
    .route-card-demo,
    .route-status-demo {
      border: 1px solid rgba(255, 255, 255, .18);
      background: rgba(9, 14, 17, .72);
      box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
      backdrop-filter: blur(22px) saturate(1.2);
    }

    .route-top-card {
      display: grid;
      gap: 9px;
      border-radius: 24px;
      padding: 10px;
    }

    .route-search-row,
    .route-vehicle-row {
      display: flex;
      align-items: center;
      gap: 9px;
      min-height: 42px;
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 18px;
      padding: 0 11px;
      background: rgba(255, 255, 255, .08);
      font-weight: 860;
      min-width: 0;
    }

    .route-search-row span,
    .route-vehicle-row span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .route-quick-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .route-quick-actions span,
    .route-pill {
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 999px;
      padding: 8px 10px;
      background: rgba(255, 255, 255, .12);
      backdrop-filter: blur(18px);
      font-size: .72rem;
      font-weight: 850;
      text-align: center;
    }

    .route-phone-svg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    .route-phone-svg .route-shadow {
      fill: none;
      stroke: rgba(0, 0, 0, .42);
      stroke-width: 18;
      stroke-linecap: round;
      stroke-linejoin: round;
      filter: blur(7px);
      opacity: .48;
    }

    .route-phone-svg .route-line {
      fill: none;
      stroke: url(#routePhoneGradient);
      stroke-width: 9;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 100;
      stroke-dashoffset: 100;
      animation: routePhoneDraw 3.2s ease-in-out infinite;
    }

    .route-phone-svg .route-pin.start {
      fill: var(--accent);
    }

    .route-phone-svg .route-pin.end {
      fill: var(--violet);
    }

    .route-phone-svg .route-pin {
      filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .24));
    }

    .route-bottom-sheet {
      align-self: end;
      display: grid;
      gap: 9px;
      border-radius: 24px;
      padding: 10px;
      max-height: 292px;
      overflow: hidden;
    }

    .route-sheet-handle {
      width: 42px;
      height: 5px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .35);
      justify-self: center;
      margin-bottom: 2px;
    }

    .route-bottom-title {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: start;
    }

    .route-bottom-title b { font-size: .95rem; }
    .route-bottom-title span,
    .route-metric span,
    .route-card-demo span,
    .route-status-demo span {
      color: rgba(255, 255, 255, .66);
      font-size: .72rem;
      font-weight: 780;
    }

    .route-card-list {
      display: grid;
      gap: 8px;
    }

    .route-card-demo {
      display: grid;
      grid-template-columns: 10px minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 18px;
      padding: 10px;
      box-shadow: none;
    }

    .route-card-demo.selected {
      border-color: color-mix(in srgb, var(--accent) 78%, white 10%);
      background: rgba(0, 214, 163, .13);
    }

    .route-card-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .42);
    }

    .route-card-demo.selected .route-card-dot {
      background: var(--accent);
    }

    .route-card-main {
      min-width: 0;
    }

    .route-card-main b,
    .route-card-energy {
      display: block;
      font-size: .92rem;
      white-space: nowrap;
    }

    .route-card-main b span {
      color: #fff;
      font-size: inherit;
      font-weight: inherit;
    }

    .route-traffic-bar {
      display: grid;
      grid-template-columns: 1.4fr .45fr .8fr;
      height: 6px;
      overflow: hidden;
      border-radius: 999px;
      margin-top: 6px;
      background: rgba(255, 255, 255, .12);
    }

    .route-traffic-bar i:nth-child(1) { background: var(--accent); }
    .route-traffic-bar i:nth-child(2) { background: #f5c542; }
    .route-traffic-bar i:nth-child(3) { background: #9b5cff; }

    .route-status-demo {
      display: flex;
      gap: 8px;
      align-items: center;
      border-radius: 16px;
      padding: 10px;
      color: #37d67a;
      box-shadow: none;
    }

    .route-start-button {
      width: 100%;
      border: 0;
      border-radius: 22px;
      min-height: 46px;
      color: white;
      background: color-mix(in srgb, var(--accent-strong) 78%, transparent);
      font: inherit;
      font-weight: 930;
      cursor: pointer;
      box-shadow: 0 12px 26px rgba(0, 214, 163, .2);
    }

    .route-loading .route-phone-svg .route-line {
      animation-duration: 1.45s;
    }

    .download-screen {
      position: fixed;
      inset: 0;
      z-index: 20;
      display: none;
      place-items: center;
      padding: 22px;
      background: rgba(0, 0, 0, .46);
      backdrop-filter: blur(10px);
    }

    .download-screen.visible { display: grid; }

    .download-card {
      width: min(460px, 100%);
      border: 1px solid var(--stroke);
      border-radius: 28px;
      padding: 24px;
      color: var(--ink);
      background: var(--surface-strong);
      box-shadow: var(--shadow);
    }

    .download-card h2 {
      margin: 0 0 10px;
      font-size: 1.85rem;
    }

    .download-card p {
      color: var(--muted);
      font-weight: 650;
      line-height: 1.48;
    }

    .hidden { display: none !important; }

    @keyframes pulse {
      70% { box-shadow: 0 0 0 13px color-mix(in srgb, var(--accent) 0%, transparent); }
      100% { box-shadow: 0 0 0 0 transparent; }
    }

    @keyframes floatPhone {
      0%, 100% { transform: rotateX(4deg) rotateY(-8deg) translateY(0); }
      50% { transform: rotateX(6deg) rotateY(-5deg) translateY(-14px); }
    }

    @keyframes drawRoute {
      0% { stroke-dashoffset: 650; opacity: .85; }
      56%, 82% { stroke-dashoffset: 0; opacity: 1; }
      100% { stroke-dashoffset: -650; opacity: .7; }
    }

    @keyframes routePhoneDraw {
      0% { stroke-dashoffset: 100; opacity: .72; }
      54%, 90% { stroke-dashoffset: 0; opacity: 1; }
      100% { stroke-dashoffset: 0; opacity: 0; }
    }

    @keyframes battery {
      0%, 100% { width: 68%; }
      50% { width: 82%; }
    }

    @keyframes routeGlow {
      0%, 100% { opacity: .76; filter: saturate(1); }
      50% { opacity: 1; filter: saturate(1.35); }
    }

    @keyframes screenReel {
      0%, 13% { opacity: 0; transform: translateX(18px) scale(.985); }
      17%, 33% { opacity: 1; transform: translateX(0) scale(1); }
      37%, 100% { opacity: 0; transform: translateX(-18px) scale(.985); }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition: none !important;
      }
    }

    @media (max-width: 880px) {
      header { align-items: flex-start; gap: 16px; }
      .nav-pill { display: none; }
      .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 28px;
      }
      .device-stage {
        min-height: 520px;
      }
      .phone {
        transform: none;
        animation: none;
      }
      .feature-grid,
      .access,
      .web-shell,
      .route-app-wrap,
      .dashboard-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 560px) {
      .page { width: min(100% - 22px, 1180px); }
      h1 { font-size: clamp(3rem, 18vw, 4.8rem); }
      .store-button { width: 100%; justify-content: center; }
      .facts { grid-template-columns: 1fr; }
      .fact { min-height: auto; }
      section { padding: 44px 0; }
      .device-stage { min-height: 480px; }
    }

    /* Upper preview: structure and colors from the current SwiftUI views.
       Example values are static; no app state or personal data is loaded. */
    .device-stage .app-reel { width: 390px; height: 816px; transform-origin: top left; }
    .device-stage .app-screen { padding: 0; color: #f2f5fa; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; background: radial-gradient(ellipse at top left, #28183f, transparent 55%), linear-gradient(140deg,#0b070f,#060608 60%,#16111e); }
    .device-stage .hp-content { padding: 26px 20px 92px; height: 100%; position: relative; --hp-accent:#a361ff; --hp-muted:#b8c2cf; }
    .device-stage .hp-content svg { width:22px; height:22px; flex-shrink:0; vertical-align:middle; }
    .device-stage .hp-content h3 { font-size:34px; font-weight:900; letter-spacing:-1px; line-height:1.15; margin:3px 0 0; }
    .device-stage .hp-content p { margin:10px 0; line-height:1.35; }
    .device-stage .hp-card { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); border-radius:28px; padding:19px; margin-top:18px; box-shadow:0 8px 18px #0003; }
    .device-stage .hp-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
    .device-stage .hp-row>div { min-width:0; }
    .device-stage .hp-label { display:block; font-size:10px; font-weight:800; letter-spacing:1px; color:var(--hp-muted); margin-bottom:5px; }
    .device-stage .hp-muted { color:var(--hp-muted); font-size:12px; }
    .device-stage .hp-accent { color:var(--hp-accent); }
    .device-stage .hp-brand { display:flex; align-items:center; gap:9px; color:var(--hp-accent); font-size:22px; font-weight:900; }
    .device-stage .hp-brand>span { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:#292929; }
    .device-stage .hp-brand svg { width:18px; height:18px; fill:currentColor; stroke:none; }
    .device-stage .hp-range-card { padding:22px; border-radius:31px; }
    .device-stage .hp-range { font-size:54px; font-weight:900; line-height:1.15; letter-spacing:-2px; }
    .device-stage .hp-range>span { font-size:22px; color:var(--hp-muted); letter-spacing:0; }
    .device-stage .hp-icon { width:42px; height:42px; border:1px solid #ffffff29; border-radius:50%; background:#ffffff1f; color:var(--hp-accent); display:grid; place-items:center; flex-shrink:0; }
    .device-stage .hp-bolt { width:54px; height:54px; }
    .device-stage .hp-bolt svg { fill:currentColor; stroke:none; }
    .device-stage .hp-vehicle { padding:12px 14px; border-radius:18px; margin-top:16px; }
    .device-stage .hp-vehicle .hp-row { gap:8px; }
    .device-stage .hp-vehicle b { font-size:14px; white-space:nowrap; }
    .device-stage .hp-power { margin-left:auto; text-align:right; }
    .device-stage .hp-power b { color:var(--hp-accent); }
    .device-stage .hp-battery { height:9px; border-radius:20px; background:#ffffff22; margin:16px 0; overflow:hidden; }
    .device-stage .hp-battery i { display:block; height:100%; width:74%; background:var(--hp-accent); }
    .device-stage .hp-range-card>.hp-row:last-child { color:var(--hp-muted); font-size:12px; font-weight:700; }
    .device-stage .hp-two { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
    .device-stage .hp-two .hp-card { margin-top:14px; padding:12px; border-radius:18px; }
    .device-stage .hp-two b { font-size:22px; }
    .device-stage .hp-two small { font-size:12px; color:var(--hp-muted); }
    .device-stage .hp-pill { font-size:12px; padding:9px; border-radius:20px; background:#ffffff1f; color:var(--hp-accent); white-space:nowrap; }
    .device-stage .hp-card>.hp-row:has(.hp-slider) { margin-top:14px; }
    .device-stage .hp-slider { height:5px; background:#ffffff26; border-radius:9px; flex:1; position:relative; }
    .device-stage .hp-slider i { display:block; height:5px; width:74%; background:var(--hp-accent); }
    .device-stage .hp-slider i:after { content:''; position:absolute; left:70%; top:-8px; width:21px; height:21px; border-radius:50%; background:#fff; }
    .device-stage .hp-action { padding:18px; text-align:center; font-weight:800; background:#803deb; border:1px solid #ffffff30; border-radius:22px; margin-top:18px; }
    .device-stage .dashboard .hp-content { padding-top:18px; }
    .device-stage .dashboard .hp-card { margin-top:14px; }
    .device-stage .dashboard .hp-range-card { padding:18px; }
    .device-stage .dashboard .hp-vehicle { padding:10px 12px; }
    .device-stage .hp-tabs { position:absolute; bottom:13px; left:14px; right:14px; display:grid; grid-template-columns:repeat(5,1fr); gap:6px; padding:6px; border-radius:24px; border:1px solid #ffffff29; background:#08060deb; backdrop-filter:blur(20px); }
    .device-stage .hp-tabs>span { height:55px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; color:var(--hp-muted); border-radius:19px; }
    .device-stage .hp-tabs b { font-size:9.5px; }
    .device-stage .hp-tabs svg { width:18px; height:18px; }
    .device-stage .hp-tabs .selected { background:#a361ff30; color:#f2f5fa; border:1px solid #ffffff2e; }
    .device-stage .hp-search { display:flex; align-items:center; gap:12px; padding:15px; border-radius:24px; background:#101015e8; border:1px solid #ffffff29; position:relative; z-index:2; }
    .device-stage .hp-search span { margin-left:auto; }
    .device-stage .hp-map { border-radius:22px; overflow:hidden; background:radial-gradient(ellipse at 25% 40%,#28342b,transparent 45%),#1c2125; }
    .device-stage .hp-map svg { width:100%; height:100%; }
    .device-stage .hp-route-map { height:280px; margin:12px -20px 0; border-radius:0; }
    .device-stage .hp-route-line { stroke-dasharray:100; stroke-dashoffset:100; animation:hpRouteReveal 4s ease-out infinite; }
    @keyframes hpRouteReveal { 0% {stroke-dashoffset:100;} 22%,100% {stroke-dashoffset:0;} }
    .device-stage .hp-route-sheet { position:absolute; left:8px; right:8px; bottom:10px; border:1px solid #ffffff29; border-radius:30px; padding:10px 14px 18px; background:#111015f5; }
    .device-stage .hp-handle { width:40px; height:5px; border-radius:8px; background:#ffffff55; margin:0 auto 12px; }
    .device-stage .hp-route-sheet>.hp-row { margin:0; border-radius:18px; padding:12px; font-size:14px; }
    .device-stage .hp-option { padding:14px; border-radius:22px; margin-top:12px; }
    .device-stage .hp-option small { color:var(--hp-muted); font-size:13px; }
    .device-stage .hp-selected { background:#a361ff2e; border-color:#a361ff61; }
    .device-stage .hp-traffic { display:flex; overflow:hidden; height:6px; border-radius:9px; margin-top:12px; }
    .device-stage .hp-traffic i:nth-child(1) {width:65%;background:#12ba73;} .device-stage .hp-traffic i:nth-child(2) {width:25%;background:#f5c542;} .device-stage .hp-traffic i:nth-child(3) {width:10%;background:#9b5cff;}
    .device-stage .hp-legend { font-size:10px; color:var(--hp-muted); margin-top:6px; }
    .device-stage .hp-live-map { height:215px; }
    .device-stage .hp-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:10px; }
    .device-stage .hp-metric { height:101px; padding:10px 3px; margin:0; border-radius:20px; display:flex; flex-direction:column; justify-content:center; text-align:center; gap:4px; }
    .device-stage .hp-metric .hp-label { font-size:9px; letter-spacing:0; margin:0; }
    .device-stage .hp-metric b { font-size:19px; white-space:nowrap; letter-spacing:-.7px; }
    .device-stage .hp-metric small:last-child { font-size:8px; color:var(--hp-muted); white-space:nowrap; }
    .device-stage .hp-metric.hp-selected b { font-size:24px; }
    .device-stage .hp-share { display:flex; align-items:center; justify-content:center; gap:8px; font-size:13px; border-radius:18px; padding:14px 6px; background:#ffffff12; margin-top:30px; }
    .device-stage .hp-stop { background:#b3261f; margin-top:8px; }
    .device-stage .hp-tools { display:flex; gap:10px; }
    .device-stage .hp-tools svg { width:22px; height:22px; }
    .device-stage .hp-filters { display:flex; justify-content:space-between; gap:6px; margin-top:24px; font-size:10px; }
    .device-stage .hp-filters>span { border:1px solid #ffffff29; border-radius:20px; padding:10px 7px; background:#ffffff12; }
    .device-stage .hp-filters b { background:#a361ff44; border-radius:10px; padding:6px 4px; }
    .device-stage .hp-create { border-radius:21px; background:#ffffff12; padding:18px; text-align:center; font-weight:700; margin-top:16px; }
    .device-stage .hp-avatar { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:#a361ff33; font-weight:800; flex-shrink:0; }
    .device-stage .hp-post .hp-row>div { flex:1; }
    .device-stage .hp-post .hp-muted { margin:4px 0; }
    .device-stage .hp-post>p { margin:18px 0; }
    .device-stage .hp-ride-post { border-radius:18px; padding:16px; margin-top:12px; }
    .device-stage .hp-post-actions { display:flex; gap:7px; align-items:center; font-size:13px; margin-top:20px; }
    .device-stage .hp-post-actions>span { margin-left:auto; }
    .device-stage .hp-intro { color:var(--hp-muted); font-size:16px; }
    .device-stage .hp-stepper { border-radius:9px; background:#ffffff14; padding:7px 9px; white-space:nowrap; }
    .device-stage .garage .hp-row { font-size:14px; margin-top:12px; }
    .device-stage .hp-garage-vehicle { padding:17px; border-radius:25px; }
    .device-stage .hp-garage-vehicle>div { flex:1; }
    .device-stage .hp-garage-vehicle b { font-size:20px; }
    .device-stage .hp-garage-vehicle p { margin:3px 0; }
  

    /* Mobile browser chrome samples a solid surface, not the decorative gradient.
       Keep the existing content geometry and fade into its original background. */
    @media (max-width: 900px) {
      :root { --mobile-page-edge: #cef2ea; }
      html { background-color: var(--mobile-page-edge); }
      body {
        background:
          linear-gradient(to bottom, var(--mobile-page-edge), transparent 10rem),
          radial-gradient(circle at 84% 8%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 32rem),
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 15%, transparent), transparent 32%),
          linear-gradient(var(--base), var(--base)),
          var(--mobile-page-edge);
      }
      body::before {
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .62), transparent 68%), linear-gradient(to bottom, transparent, #000 6rem);
        mask-composite: intersect;
      }
    }
    @media (max-width: 900px) and (prefers-color-scheme: dark) {
      :root { --mobile-page-edge: #1d132b; }
    }
