/* RideMeter website v2 — see design/design_handoff_web/README.md.
 *
 * Home and Support load only this file. Privacy and Delete account still load
 * site.css + doc.css for their body and add this file for the shared top bar
 * and footer, so the class names here never reuse the old ones (.nav,
 * .footer-grid…): both stylesheets can sit on one page without fighting.
 */

:root {
  --bg: #07080A;
  --surface: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.16);
  --accent: #22D3EE;
  --accent-hover: #4BE0F2;
  --accent-ink: #062126;
  --amber: #F5A524;
  --green: #4ADE80;
  --red: #FF6B60;
  --t-1: #fff;
  --t-strong: rgba(255, 255, 255, 0.72);
  --t-body: rgba(255, 255, 255, 0.62);
  --t-label: rgba(255, 255, 255, 0.55);
  --gutter: clamp(16px, 4vw, 32px);
  --section-gap: clamp(56px, 8vw, 104px);
  --ease: 0.18s ease;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, Helvetica, sans-serif;
  color: var(--t-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* No `scroll-behavior: smooth` on html: ScrollTrigger re-measures by jumping the
   page to the top and back, and a smooth html turns that jump into an animation,
   so every trigger lands off by the current scroll. motion.js smooths in-page
   links itself. */

a { color: var(--accent); text-decoration: none; }
a:hover { color: #67E8F9; }
::selection { background: rgba(34, 211, 238, 0.3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.ms {
  font-family: 'Material Symbols Rounded';
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
}

.container { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container.narrow { max-width: 1100px; }

/* --- Top bar ----------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 8, 10, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* `motion.js` adds `.at-top` only while the page sits at its very top: the bar
   is lighter there and gains depth once content scrolls under it. Without JS
   the bar simply keeps the scrolled look, which is the design's look. */
.topbar:not(.at-top) { background: rgba(7, 8, 10, 0.86); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.topbar.at-top { background: rgba(7, 8, 10, 0.55); border-bottom-color: transparent; }
.topbar-inner { height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 30px; height: 30px; display: block; }
.brand span { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.topnav { flex: 1; min-width: 0; display: flex; align-items: center; gap: 26px; }
.topnav a, .navchips a { color: rgba(255, 255, 255, 0.66); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color var(--ease); }
.topnav a:hover, .navchips a:hover, .topnav a[aria-current="page"], .navchips a[aria-current="page"] { color: #fff; }
.topnav a[aria-current="page"] { font-weight: 600; }
/* Section the reader is in (set by motion.js on the home page). */
.topnav a.is-active, .navchips a.is-active { color: #fff; }
.topnav a { position: relative; }
.topnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform 0.25s ease;
}
.topnav a.is-active::after { transform: scaleX(1); }
.navchips a.is-active { background: rgba(34, 211, 238, 0.14); border-color: rgba(34, 211, 238, 0.32); }
.langseg {
  flex: none; display: flex; align-items: center; gap: 2px; height: 36px; padding: 3px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
}
.langseg button {
  height: 28px; padding: 0 11px; border: 0; border-radius: 9px; background: transparent;
  color: rgba(255, 255, 255, 0.62); font-family: inherit; font-size: 12.5px; font-weight: 700;
  cursor: pointer; transition: color var(--ease), background var(--ease);
}
.langseg button:hover { color: #fff; }
.langseg button[aria-pressed="true"] { background: rgba(34, 211, 238, 0.16); color: var(--accent); }
.get-app {
  flex: none; height: 38px; padding: 0 16px; border-radius: 12px; background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: transform var(--ease), background var(--ease);
}
.get-app:hover { color: var(--accent-ink); background: var(--accent-hover); transform: translateY(-1px); }
.get-app .ms { font-size: 18px; }
.navchips { display: none; gap: 8px; overflow-x: auto; padding: 0 var(--gutter) 12px; scrollbar-width: none; }
.navchips::-webkit-scrollbar { display: none; }
.navchips a {
  flex: none; height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; font-size: 13.5px; font-weight: 600;
}
.navchips a:hover { background: rgba(255, 255, 255, 0.09); }

@media (max-width: 819px) {
  .topbar-inner { gap: 10px; }
  .topnav { display: block; }
  .topnav a { display: none; }
  .get-app { padding: 0 11px; }
  .get-app .label { display: none; }
  .navchips { display: flex; }
}

/* --- Shared type & pieces -------------------------------------------- */

.section { padding-top: var(--section-gap); scroll-margin-top: 80px; }
.sec-intro { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.sec-intro.wide { max-width: 760px; }
.eyebrow { color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
h2.h2 { margin: 0; font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.body { margin: 0; color: var(--t-body); line-height: 1.6; text-wrap: pretty; }

.icon-tile {
  flex: none; width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: rgba(34, 211, 238, 0.12); color: var(--accent);
}
.icon-tile .ms { font-size: 22px; }

.chip {
  min-height: 30px; padding: 4px 12px; border-radius: 15px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09); display: flex; align-items: center; font-size: 13px; font-weight: 600; line-height: 1.3;
}
.chip.cyan { height: 32px; padding: 0 13px; border-radius: 16px; background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.22); color: var(--accent); font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: flex; align-items: center; gap: 11px; height: 56px; padding: 0 20px 0 16px; border-radius: 16px;
  background: #fff; color: #000; transition: transform var(--ease), background var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.store:hover { color: #000; background: #E9ECEF; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5); }
.store img { width: 24px; height: 24px; display: block; }
.store .lines { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store small { font-size: 11px; font-weight: 500; }
.store strong { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.store.outline { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; }
.store.outline:hover { color: #fff; background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.6); box-shadow: none; }
.store.outline img { width: 22px; height: 22px; }
.store.outline small { color: var(--t-strong); }

/* Phone frames */
.phone {
  border-radius: 40px; overflow: hidden; background: #0B0C0E;
  box-shadow: 0 0 0 7px #16191D, 0 0 0 8px #2A2F35, 0 30px 80px rgba(0, 0, 0, 0.6);
}
.phone img { width: 100%; height: auto; display: block; }

/* --- Hero ------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: -320px; transform: translateX(-50%) translateY(var(--gy, 0px)) scale(var(--gs, 1)); width: 1400px; height: 780px;
  background: radial-gradient(45% 46% at 50% 50%, rgba(34, 211, 238, 0.2) 0%, transparent 72%); pointer-events: none;
}
.hero-grid {
  position: relative; padding-top: clamp(44px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(36px, 6vw, 64px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.badge {
  height: 32px; padding: 0 14px; border-radius: 16px; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.24);
  color: var(--accent); display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: block; }
.hero h1 { margin: 0; font-size: clamp(40px, 6.2vw, 74px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.hero-sub { margin: 0; max-width: 560px; color: var(--t-body); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; text-wrap: pretty; }
.hero .stores { margin-top: 4px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check { display: flex; align-items: center; gap: 7px; color: var(--t-strong); font-size: 14px; font-weight: 500; }
.check .ms { font-size: 18px; color: var(--green); }
.hero-phones { position: relative; height: clamp(440px, 56vw, 620px); min-width: 0; }
.hero-phones .phone { position: absolute; left: 50%; aspect-ratio: 9 / 19.5; }
.hero-phones .phone img { height: 100%; object-fit: cover; object-position: top; }
.hero-phones .back {
  top: 44px; width: clamp(190px, 22vw, 262px); border-radius: clamp(30px, 3.4vw, 42px); opacity: 0.92;
  box-shadow: 0 0 0 7px #16191D, 0 0 0 8px #2A2F35, 0 40px 90px rgba(0, 0, 0, 0.7); transform: translateX(-8%) translateY(var(--py, 0px)) rotate(6deg);
}
.hero-phones .front {
  top: 0; width: clamp(200px, 23vw, 276px); border-radius: clamp(30px, 3.4vw, 44px);
  box-shadow: 0 0 0 7px #16191D, 0 0 0 8px #2A2F35, 0 40px 100px rgba(0, 0, 0, 0.75), 0 0 120px rgba(34, 211, 238, 0.18);
  transform: translateX(-88%) translateY(var(--py, 0px)) rotate(-4deg);
}

/* --- Cards ------------------------------------------------------------ */

.feature {
  margin-top: 36px; border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap;
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.1), rgba(255, 255, 255, 0.03) 60%); border: 1px solid rgba(34, 211, 238, 0.18);
}
.feature-copy { flex: 1 1 340px; min-width: 0; padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.feature-copy .icon-tile { width: 44px; height: 44px; border-radius: 14px; background: rgba(34, 211, 238, 0.14); }
.feature-copy .icon-tile .ms { font-size: 23px; }
.feature-copy h3 { margin: 0; font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.feature-copy .body { max-width: 460px; font-size: 16.5px; }
.feature-copy .chips { margin-top: 4px; }
.feature-media { flex: 1 1 300px; min-width: 0; min-height: 380px; display: flex; justify-content: center; align-items: flex-end; padding: 40px 24px 0; }
.feature-media .phone { width: clamp(220px, 25vw, 270px); height: 420px; margin-bottom: -60px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.cards.lead { margin-top: 36px; }
.cards.after { margin-top: 14px; }
.cards.wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card {
  --tone: var(--accent); --tone-tile: rgba(34, 211, 238, 0.12);
  border-radius: 24px; padding: clamp(22px, 3vw, 28px); background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--border-hover); }
/* Spotlight that follows the mouse (motion.js sets --mx/--my, fine pointers only).
   `isolation` + z-index -1 keeps the glow above the card's own background but
   under its text, so contrast never drops. */
.card, .mount, .feature { position: relative; isolation: isolate; --spot: color-mix(in srgb, var(--tone, #22D3EE) 13%, transparent); }
.mount { --spot: rgba(255, 255, 255, 0.07); }
.card::before, .mount::before, .feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 60%);
  transition: opacity 0.3s ease;
}
.has-spot:hover::before { opacity: 1; }
.card .icon-tile { background: var(--tone-tile); color: var(--tone); }
.card h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.25; text-wrap: pretty; }
.card .body { font-size: 15.5px; }
.card .chips { margin-top: auto; }
.card .chip { color: var(--tone); }
.card.amber { --tone: var(--amber); --tone-tile: rgba(245, 165, 36, 0.13); background: linear-gradient(160deg, rgba(245, 165, 36, 0.08), rgba(255, 255, 255, 0.03) 60%); border-color: rgba(245, 165, 36, 0.2); }
.card.red { --tone: var(--red); --tone-tile: rgba(255, 107, 96, 0.13); background: linear-gradient(160deg, rgba(255, 107, 96, 0.09), rgba(255, 255, 255, 0.03) 60%); border-color: rgba(255, 107, 96, 0.22); }
.card.green { --tone: var(--green); --tone-tile: rgba(74, 222, 128, 0.13); background: linear-gradient(160deg, rgba(74, 222, 128, 0.08), rgba(255, 255, 255, 0.03) 60%); border-color: rgba(74, 222, 128, 0.2); }
.card.amber:hover, .card.red:hover, .card.green:hover { border-color: var(--border-hover); }
.card.big { border-radius: 26px; padding: clamp(24px, 3.4vw, 34px); }
.card.big .icon-tile { width: 48px; height: 48px; border-radius: 15px; }
.card.big .icon-tile .ms { font-size: 25px; }
.card.big h3 { font-size: 22px; letter-spacing: -0.5px; }
.card.big .body { font-size: 16px; }

/* --- Devices ---------------------------------------------------------- */

.devices {
  margin-top: 36px; border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.09), rgba(255, 255, 255, 0.025) 55%); border: 1px solid rgba(34, 211, 238, 0.16);
}
.dev-list { flex: 1 1 380px; min-width: 0; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.dev-row { --tone: var(--accent); --tone-tile: rgba(34, 211, 238, 0.12); display: flex; gap: 15px; align-items: flex-start; }
.dev-row.red { --tone: var(--red); --tone-tile: rgba(255, 107, 96, 0.13); }
.dev-row.amber { --tone: var(--amber); --tone-tile: rgba(245, 165, 36, 0.13); }
.dev-row .icon-tile { width: 44px; height: 44px; border-radius: 14px; background: var(--tone-tile); color: var(--tone); }
.dev-row .icon-tile .ms { font-size: 23px; }
.dev-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.dev-text h3 { margin: 0; font-size: 18.5px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.3; }
.dev-text .body { font-size: 15px; }
.dev-text .chips { gap: 7px; margin-top: 4px; }
.dev-text .chip { color: rgba(255, 255, 255, 0.82); font-weight: 500; }
.dev-note { display: flex; align-items: center; gap: 8px; color: var(--t-body); font-size: 14px; font-weight: 500; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.dev-note .ms { font-size: 18px; color: var(--t-label); }
.dev-media { flex: 1 1 320px; min-width: 0; min-height: 420px; display: flex; justify-content: center; align-items: flex-end; gap: 16px; padding: 44px 24px 0; }
.dev-media .phone { width: clamp(150px, 16vw, 200px); height: 380px; border-radius: 32px; margin-bottom: -40px; box-shadow: 0 0 0 6px #16191D, 0 0 0 7px #2A2F35, 0 30px 70px rgba(0, 0, 0, 0.6); }
.dev-media .phone + .phone { margin-bottom: -90px; }

/* --- GPS Tracker product + phone mounts ------------------------------ */

.section-tight { padding-top: clamp(28px, 4vw, 40px); scroll-margin-top: 80px; }
.tracker {
  border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch;
  background: linear-gradient(150deg, rgba(245, 165, 36, 0.1), rgba(255, 255, 255, 0.03) 60%); border: 1px solid rgba(245, 165, 36, 0.24);
}
.tracker-media { flex: 1 1 320px; min-width: 0; padding: clamp(18px, 3vw, 28px); display: flex; }
.tracker-photo { position: relative; flex: 1; min-height: 260px; border-radius: 22px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 20px; }
.tracker-photo img { width: 100%; max-width: 360px; height: auto; display: block; }
.tracker-copy { flex: 1 1 380px; min-width: 0; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.tracker-copy h2 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.tracker-copy .body { max-width: 480px; font-size: 16px; }
.tracker-copy .chip { color: rgba(255, 255, 255, 0.82); font-weight: 500; }
.tag {
  align-self: flex-start; height: 30px; padding: 0 13px; border-radius: 15px; display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.4px;
}
.tag .ms { font-size: 16px; }
.tag.amber { background: rgba(245, 165, 36, 0.13); border: 1px solid rgba(245, 165, 36, 0.3); color: var(--amber); }
.tracker-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 6px; }
.price { display: flex; flex-direction: column; gap: 2px; }
.price-label { color: var(--t-label); font-size: 12px; font-weight: 600; letter-spacing: 0.6px; }
.price-value { font-size: clamp(28px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.btn-accent {
  display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 16px; background: var(--accent); color: var(--accent-ink);
  font-size: 15px; font-weight: 700; white-space: nowrap; transition: transform var(--ease), background var(--ease);
}
.btn-accent .ms { font-size: 19px; }
.btn-accent:hover { color: var(--accent-ink); background: var(--accent-hover); transform: translateY(-2px); }

.mnt-intro { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.mnt-intro h3 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.mnt-intro .body { font-size: 15.5px; }
.mounts { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.mount {
  border-radius: 24px; padding: 12px 12px clamp(18px, 2.6vw, 22px); background: var(--surface); border: 1px solid var(--border); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 16px; transition: transform 0.2s ease, border-color 0.2s ease;
}
.mount:hover { color: #fff; transform: translateY(-2px); border-color: rgba(238, 77, 45, 0.5); }
.mount-photo { flex: 1 1 100%; aspect-ratio: 16 / 10; border-radius: 16px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mount-photo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.mount-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-left: 8px; }
.mount-title { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.3; text-wrap: pretty; }
.mount-body { color: var(--t-body); font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.shopee {
  flex: none; height: 38px; padding: 0 13px; border-radius: 12px; background: #EE4D2D; color: #fff;
  display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; white-space: nowrap;
}
.shopee img { width: 16px; height: 16px; display: block; }

/* "Live location" ping on the tracker photo. Static dot under reduced motion. */
.ping { position: absolute; top: 26px; right: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.25); }
.ping::before, .ping span { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--amber); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ping::before, .ping span { animation: ping 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
  .ping span { animation-delay: 1.2s; }
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(4.2); opacity: 0; } }

/* --- GPS route band (between hero and features) ---------------------- */
/* Fully drawn in CSS; motion.js turns it into a scroll-drawn line. */
.route-band { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.route-band svg { width: 100%; height: auto; display: block; overflow: visible; }
.route-ghost { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.route-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.55)); }
.route-start { fill: var(--green); }
.route-end { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; }
.route-head { fill: #fff; }
.route-head-glow { fill: rgba(34, 211, 238, 0.28); }
.route-band + .section { padding-top: clamp(24px, 4vw, 48px); }

/* Cross-page fade between Home, Support and Privacy (browsers without it just navigate). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* --- Download CTA ----------------------------------------------------- */

.cta {
  border-radius: 32px; padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 56px);
  background: radial-gradient(80% 120% at 50% 0%, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0.04) 55%, rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(34, 211, 238, 0.2); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.cta img.logo { width: 64px; height: 64px; display: block; }
.cta h2 { max-width: 680px; font-size: clamp(30px, 4.4vw, 50px); }
.cta .stores { justify-content: center; }

/* --- Support ---------------------------------------------------------- */

.sup-hero { position: relative; overflow: hidden; }
.sup-hero .hero-glow { top: -340px; width: 1300px; height: 720px; background: radial-gradient(45% 46% at 50% 50%, rgba(34, 211, 238, 0.17) 0%, transparent 72%); }
.sup-hero-inner { position: relative; padding-top: clamp(44px, 7vw, 84px); display: flex; flex-direction: column; gap: 16px; }
.sup-hero h1 { margin: 0; max-width: 760px; font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
.sup-hero .body { max-width: 620px; font-size: clamp(16px, 1.5vw, 18px); }

.sup-layout { padding-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.toc { min-width: 0; position: sticky; top: 88px; }
.toc-wide { display: flex; flex-direction: column; gap: 2px; }
.toc-label { color: var(--t-label); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; padding: 0 12px 6px; text-transform: uppercase; }
.toc-group { display: flex; flex-direction: column; gap: 1px; padding-top: 10px; }
.toc-group > span { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; padding: 0 12px 4px; text-transform: uppercase; }
.toc-wide a {
  display: flex; align-items: center; gap: 9px; padding: 6px 12px; border-radius: 10px; color: var(--t-body);
  font-size: 13.5px; font-weight: 500; line-height: 1.35; transition: background 0.15s ease, color 0.15s ease;
}
.toc-wide a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.toc-wide a .ms { flex: none; font-size: 16px; color: rgba(34, 211, 238, 0.75); }
.toc-narrow { display: none; flex-direction: column; gap: 8px; }
.toc-narrow .toc-label { padding: 0; }
.toc-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.toc-chips::-webkit-scrollbar { display: none; }
.toc-chips a {
  flex: none; height: 36px; padding: 0 13px 0 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.toc-chips a:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.toc-chips a .ms { font-size: 16px; color: var(--accent); }

.sup-content { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sup-group { display: flex; flex-direction: column; gap: 14px; }
.sup-group > h2 { margin: 0; padding: 16px 4px 0; color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.sup-card {
  scroll-margin-top: 88px; border-radius: 24px; padding: clamp(22px, 3.4vw, 32px); background: var(--surface);
  border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px;
}
.sup-card.contact { background: linear-gradient(150deg, rgba(34, 211, 238, 0.11), rgba(255, 255, 255, 0.03)); border-color: rgba(34, 211, 238, 0.22); }
.sup-head { display: flex; align-items: center; gap: 12px; }
.sup-head .icon-tile { width: 38px; height: 38px; border-radius: 12px; }
.sup-head .icon-tile .ms { font-size: 20px; }
.sup-head h3 { margin: 0; font-size: clamp(19px, 2vw, 22px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.25; text-wrap: pretty; }
.sup-card > .body { color: rgba(255, 255, 255, 0.66); font-size: 15.5px; line-height: 1.65; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; counter-reset: step; }
.steps li { display: flex; gap: 13px; align-items: flex-start; counter-increment: step; }
.steps li::before {
  content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(34, 211, 238, 0.13);
  border: 1px solid rgba(34, 211, 238, 0.24); color: var(--accent); font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.steps li span { flex: 1; min-width: 0; padding-top: 3px; color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.qa { border-radius: 18px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; }
.qa > div { padding: 17px 20px; display: flex; flex-direction: column; gap: 6px; }
.qa > div + div { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.qa .q { color: #fff; font-size: 15.5px; font-weight: 600; letter-spacing: -0.2px; line-height: 1.4; text-wrap: pretty; }
.qa .a { color: rgba(255, 255, 255, 0.66); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.mail-btn {
  align-self: flex-start; max-width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 16px; background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 700; word-break: break-all;
  transition: transform var(--ease), background var(--ease);
}
.mail-btn:hover { color: var(--accent-ink); background: var(--accent-hover); transform: translateY(-2px); }
.mail-btn .ms { flex: none; font-size: 19px; }
.tip { display: flex; gap: 12px; padding: 15px 17px; border-radius: 16px; background: rgba(245, 165, 36, 0.07); border: 1px solid rgba(245, 165, 36, 0.22); }
.tip > .ms { flex: none; font-size: 19px; color: var(--amber); }
.tip > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tip .tip-label { color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.tip .tip-text { color: rgba(255, 255, 255, 0.74); font-size: 15px; line-height: 1.55; text-wrap: pretty; }

@media (max-width: 899px) {
  .sup-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc-wide { display: none; }
  .toc-narrow { display: flex; }
}
@media (max-width: 819px) {
  .sup-card, .section { scroll-margin-top: 128px; }
}

/* --- Footer ----------------------------------------------------------- */

.foot { padding-top: clamp(64px, 9vw, 104px); padding-bottom: 44px; }
.foot-inner { border-top: 1px solid var(--border); padding-top: 36px; display: flex; flex-wrap: wrap; gap: 36px 56px; justify-content: space-between; }
.foot-brand { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; }
.foot-brand .brand img { width: 28px; height: 28px; }
.foot-brand .brand span { font-size: 16px; letter-spacing: -0.2px; }
.foot-brand p { margin: 0; color: var(--t-label); font-size: 13.5px; line-height: 1.5; }
.foot-cols { flex: 3 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px 24px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foot-col > span { color: var(--t-label); font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.foot-col a { display: flex; align-items: center; gap: 8px; color: var(--t-strong); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; transition: color 0.15s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-col a img { flex: none; width: 16px; height: 16px; display: block; opacity: 0.85; }
