/* ============================================================
   Fake GPS — landing page styles
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.035em; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--store-bg); color: var(--store-fg);
  padding: 13px 24px 13px 19px; border-radius: 15px;
  font-weight: 600; box-shadow: 0 12px 30px -12px rgba(0,0,0,0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0,0,0,0.55); }
.btn-store .apple { font-size: 27px; line-height: 0; margin-top: -3px; }
.btn-store small { display: block; font-size: 10.5px; font-weight: 500; opacity: 0.62; letter-spacing: 0.01em; }
.btn-store .big { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text); border: 1px solid var(--border-strong);
  background: var(--surface); padding: 13px 22px; border-radius: 15px;
  font-weight: 600; font-size: 15.5px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-ghost:hover { border-color: var(--green-line); background: var(--green-ghost); transform: translateY(-2px); }
.btn-ghost .arrow { transition: transform 0.25s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-size: 13px; font-weight: 600; color: var(--green);
  background: var(--green-ghost); border: 1px solid var(--green-line);
  padding: 7px 15px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.section-eyebrow { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18.5px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(0,224,160,0.5); }
.brand b { color: var(--green); }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; color: var(--text-2); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
  font-size: 16px; transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.theme-toggle:hover { background: var(--surface-2); transform: rotate(-18deg); }
.nav-download {
  background: var(--green); color: #04221a; font-weight: 700; font-size: 14.5px;
  padding: 10px 18px; border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-download:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(0,224,160,0.55); }
.nav-burger { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(110% 80% at 78% -5%, var(--hero-grad-1) 0%, transparent 55%),
    radial-gradient(80% 70% at 0% 100%, color-mix(in srgb, var(--hero-grad-1) 60%, transparent) 0%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 95% at 65% 0%, #000 25%, transparent 75%);
          mask-image: radial-gradient(120% 95% at 65% 0%, #000 25%, transparent 75%);
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98;
}
.hero h1 .accent { color: var(--green); }
.hero .sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 33ch; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; }
.trust b { color: var(--text); }
.trust .div { width: 1px; height: 26px; background: var(--border); }
.stars { color: var(--star); letter-spacing: 1.5px; }
.hero-phone-stage { position: relative; display: grid; place-items: center; }
.hero-phone-glow {
  position: absolute; width: 78%; height: 78%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,224,160,0.32), transparent 65%);
  filter: blur(26px); z-index: 0;
}

/* ---------- iPhone mockup ---------- */
.phone {
  position: relative; z-index: 2;
  width: 320px; height: 664px; flex: none;
  border-radius: 52px; background: #0b0b0c; padding: 12px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.07), 0 60px 120px -40px rgba(0,0,0,0.85), var(--glow);
}
.phone .buttons-l, .phone .buttons-r { position: absolute; background: #18181a; border-radius: 3px; }
.phone .buttons-l { left: -3px; width: 3px; }
.phone .buttons-r { right: -3px; width: 3px; }
.phone .btn-mute { top: 120px; height: 30px; }
.phone .btn-vol1 { top: 170px; height: 52px; }
.phone .btn-vol2 { top: 236px; height: 52px; }
.phone .btn-pwr { top: 180px; height: 78px; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #e9ecef; }
.notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 100px; height: 28px; background: #0b0b0c; border-radius: 15px; z-index: 20; }
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 48px; z-index: 18;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 26px 0; font-size: 14px; font-weight: 600; color: #0c0c0c;
}
.statusbar .sb-right { display: flex; align-items: center; gap: 7px; }
.sb-cell { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.sb-cell i { width: 3px; background: #0c0c0c; border-radius: 1px; }
.sb-cell i:nth-child(1){height:4px} .sb-cell i:nth-child(2){height:6px} .sb-cell i:nth-child(3){height:8px} .sb-cell i:nth-child(4){height:11px}
.sb-wifi { width: 16px; height: 11px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; border: 2px solid #0c0c0c; border-bottom: 0; position: relative; }
.sb-wifi::after { content:""; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:3px; height:3px; border-radius:50%; background:#0c0c0c; }
.sb-batt { width: 23px; height: 12px; border: 1.5px solid rgba(12,12,12,0.45); border-radius: 3px; position: relative; padding: 1.5px; }
.sb-batt::after { content:""; position:absolute; right:-3px; top:50%; transform:translateY(-50%); width:2px; height:5px; background:rgba(12,12,12,0.45); border-radius:0 1px 1px 0; }
.sb-batt i { display:block; width:78%; height:100%; background:#0c0c0c; border-radius:1px; }

/* stylized iOS map */
.map { position: absolute; inset: 0; background: linear-gradient(180deg, #e6e9ec, #dde1e5); overflow: hidden; }
.map .layer { position: absolute; inset: -25%; transition: transform 1.1s var(--ease-out); }
.map .roads { background-image: repeating-linear-gradient(26deg, transparent 0 30px, #fbfcfd 30px 34px, transparent 34px 64px); }
.map .roads2 { background-image: repeating-linear-gradient(118deg, transparent 0 38px, #fbfcfd 38px 41px, transparent 41px 80px); opacity: 0.7; }
.map .blocks { background-image: repeating-linear-gradient(26deg, rgba(140,150,160,0.10) 0 30px, transparent 30px 64px), repeating-linear-gradient(118deg, rgba(140,150,160,0.10) 0 38px, transparent 38px 80px); }
.map .park { position: absolute; width: 180px; height: 150px; border-radius: 46% 54% 60% 40%; background: #cfe7c6; left: -40px; bottom: 130px; opacity: 0.92; }
.map .water { position: absolute; width: 220%; height: 120px; background: #b6d8e8; transform: rotate(-19deg); right: -60px; top: 80px; opacity: 0.95; }
.map .road-main { position: absolute; width: 9px; height: 180%; background: #fdfdfe; left: 60%; transform: rotate(19deg); top: -40%; box-shadow: 0 0 0 1px #d4d9de; }

/* pin */
.pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-100%); z-index: 8; filter: drop-shadow(0 7px 7px rgba(0,0,0,0.32)); transition: top 0.5s var(--ease-out), left 0.5s var(--ease-out); }
.pin .head { width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, var(--green), var(--green-2)); display: grid; place-items: center; }
.pin .head::after { content: ""; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.pin .pulse-ring { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 16px; height: 6px; border-radius: 50%; background: rgba(0,0,0,0.22); }
.pin.dropping { animation: pin-drop 0.5s var(--ease-out); }
@keyframes pin-drop { 0% { transform: translate(-50%,-160%); opacity: 0; } 60% { transform: translate(-50%,-92%); } 100% { transform: translate(-50%,-100%); opacity: 1; } }

.searchbar {
  position: absolute; top: 56px; left: 16px; right: 16px; z-index: 12;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(14px);
  border-radius: 14px; padding: 12px 14px; font-size: 14.5px; color: #5a5a5a;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,0.28); font-weight: 500;
}
.searchbar .mag { width: 16px; height: 16px; border: 2px solid #8a8a8a; border-radius: 50%; position: relative; flex: none; }
.searchbar .mag::after { content: ""; position: absolute; width: 8px; height: 2px; background: #8a8a8a; transform: rotate(45deg); right: -6px; bottom: 0; }
.searchbar .typed { color: #1a1a1a; font-weight: 600; }

/* bottom card */
.loc-card {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 12;
  background: rgba(255,255,255,0.93); backdrop-filter: blur(22px);
  border-radius: 26px; padding: 17px; color: #111;
  box-shadow: 0 18px 44px -14px rgba(0,0,0,0.34);
}
.loc-card .place { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; transition: opacity 0.3s; }
.loc-card .region { font-size: 13.5px; color: #8a8a8a; margin-top: 2px; transition: opacity 0.3s; }
.coords { display: flex; margin: 14px 0; background: rgba(10,20,16,0.05); border-radius: 13px; padding: 10px 0; }
.coords > div { flex: 1; text-align: center; }
.coords .lab { font-size: 9px; font-weight: 700; color: #9a9a9a; letter-spacing: 0.06em; }
.coords .val { font-size: 13.5px; font-weight: 700; font-family: var(--mono); margin-top: 3px; color: #1a1a1a; }
.coords .sep { width: 1px; background: rgba(10,20,16,0.1); flex: 0 0 1px; }
.teleport-btn {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  background: linear-gradient(90deg, var(--green), var(--green-2));
  color: #fff; font-weight: 800; font-size: 15.5px; letter-spacing: 0.13em;
  padding: 15px; border-radius: 15px; border: 0; width: 100%; cursor: pointer;
  box-shadow: 0 12px 26px -8px rgba(0,224,160,0.6);
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.teleport-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.teleport-btn:active { transform: scale(0.98); }
.send-icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 14px; border-color: transparent transparent transparent #fff; }

/* teleport flash overlay (inside phone) */
.tp-overlay {
  position: absolute; inset: 0; z-index: 30; border-radius: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(150deg, var(--green), var(--green-2));
  color: #fff; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.tp-overlay.show { opacity: 1; }
.tp-overlay .plane { font-size: 84px; line-height: 1; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25)); }
.tp-overlay.show .plane { animation: plane-fly 1.1s var(--ease-out); }
@keyframes plane-fly { 0% { transform: translate(-120px, 50px) rotate(-20deg) scale(0.5); opacity: 0; } 35% { transform: translate(0,0) rotate(0) scale(1.3); opacity: 1; } 100% { transform: translate(150px,-50px) rotate(26deg) scale(0.6); opacity: 0; } }
.tp-overlay .tp-label { font-size: 11px; font-weight: 800; letter-spacing: 0.34em; opacity: 0.85; }
.tp-overlay .tp-place { font-size: 27px; font-weight: 800; letter-spacing: -0.01em; }

/* city chip row (hero demo control) */
.demo-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border);
  padding: 9px 15px; border-radius: 999px; font-size: 13.5px; color: var(--text-2);
  transition: all 0.2s var(--ease); font-weight: 500;
}
.chip:hover { border-color: var(--green-line); color: var(--text); }
.chip.active { background: var(--green-ghost); border-color: var(--green-line); color: var(--text); }
.chip .pindot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.chip.active .pindot { background: var(--green); opacity: 1; box-shadow: 0 0 8px var(--green); }
.demo-hint { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }

/* ---------- generic section ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.04em; }
.section-head p { color: var(--text-2); font-size: 18px; }
.alt-bg { background: var(--bg-elev); }
[data-theme="light"] .alt-bg { background: #ffffff; }

/* ---------- features grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 13px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--green-line); background: var(--surface-2); }
.feature-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-ghost); border: 1px solid var(--green-line); color: var(--green);
}
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 19px; letter-spacing: -0.02em; }
.feature-card p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04221a;
  font-weight: 800; font-size: 18px; box-shadow: 0 8px 20px -8px rgba(0,224,160,0.6);
}
.step h3 { font-size: 20px; letter-spacing: -0.02em; }
.step p { color: var(--text-2); font-size: 15px; }
.steps .connector { position: absolute; top: 52px; right: -16px; color: var(--green); opacity: 0.5; font-size: 20px; z-index: 2; }

/* ---------- use cases ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usecase {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.usecase:hover { border-color: var(--green-line); transform: translateX(3px); }
.usecase .uc-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-ghost); color: var(--green); display: grid; place-items: center; flex: none; }
.usecase .uc-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.usecase h3 { font-size: 16.5px; letter-spacing: -0.01em; }
.usecase p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.gallery-tabs { display: flex; flex-direction: column; gap: 10px; }
.gallery-tab {
  text-align: left; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px 22px; cursor: pointer; color: var(--text);
  display: flex; gap: 16px; align-items: flex-start; transition: all 0.25s var(--ease);
}
.gallery-tab:hover { border-color: var(--green-line); }
.gallery-tab.active { background: var(--green-ghost); border-color: var(--green-line); }
.gallery-tab .gt-num { font-family: var(--mono); font-size: 13px; color: var(--green); font-weight: 700; margin-top: 2px; }
.gallery-tab h3 { font-size: 18px; letter-spacing: -0.02em; }
.gallery-tab p { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.gallery-stage { display: grid; place-items: center; position: relative; min-height: 700px; }

/* ---------- comparison ---------- */
.compare { max-width: 880px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; }
.compare-row + .compare-row { border-top: 1px solid var(--border); }
.compare-row > div { padding: 17px 22px; font-size: 15px; }
.compare-head > div { font-weight: 700; font-size: 15px; }
.compare-head .col-us { background: var(--green-ghost); color: var(--green); display: flex; align-items: center; gap: 9px; }
.compare-head .col-us img { width: 22px; height: 22px; border-radius: 6px; }
.compare-row .feat { color: var(--text-2); }
.compare-row .col-us { background: color-mix(in srgb, var(--green) 7%, transparent); font-weight: 600; }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--muted); }
.compare .tick { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color 0.25s; }
.faq-item[open] { border-color: var(--green-line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { flex: none; width: 22px; height: 22px; position: relative; transition: transform 0.3s var(--ease); }
.faq-item .chev::before, .faq-item .chev::after { content: ""; position: absolute; top: 50%; width: 11px; height: 2px; background: var(--green); border-radius: 2px; }
.faq-item .chev::before { left: 1px; transform: rotate(45deg); }
.faq-item .chev::after { right: 1px; transform: rotate(-45deg); }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item .answer { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 64ch; }

/* ---------- final CTA ---------- */
.final-cta { position: relative; overflow: hidden; }
.final-cta-inner {
  position: relative; z-index: 2; text-align: center;
  border-radius: var(--r-xl); padding: 76px 40px;
  background: linear-gradient(155deg, var(--hero-grad-1), var(--bg-elev));
  border: 1px solid var(--green-line);
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  box-shadow: var(--glow);
}
.final-cta-inner h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.04em; max-width: 16ch; }
.final-cta-inner p { color: var(--text-2); font-size: 19px; max-width: 46ch; }
.final-cta .icon-lg { width: 84px; height: 84px; border-radius: 22px; box-shadow: var(--glow); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 40px; background: var(--bg-elev); }
[data-theme="light"] .footer { background: #ffffff; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 280px; }
.footer-brand .brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-2); font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.footer-disclaimer { font-size: 12px; color: var(--muted); line-height: 1.55; margin-top: 18px; max-width: 100%; opacity: 0.85; }

/* ---------- gallery screens ---------- */
.gal-screen { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
.gal-screen.active { opacity: 1; pointer-events: auto; }
.search-results {
  position: absolute; top: 100px; left: 16px; right: 16px; z-index: 12;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(16px); border-radius: 16px;
  overflow: hidden; box-shadow: 0 16px 40px -12px rgba(0,0,0,0.3);
}
.search-result { display: flex; align-items: center; gap: 12px; padding: 13px 16px; }
.search-result + .search-result { border-top: 1px solid rgba(10,20,16,0.07); }
.search-result .sr-pin { width: 26px; height: 26px; border-radius: 50%; background: var(--green-ghost); display: grid; place-items: center; color: var(--green-2); flex: none; font-size: 13px; }
.search-result .sr-name { font-size: 14.5px; font-weight: 600; color: #1a1a1a; }
.search-result .sr-sub { font-size: 12px; color: #9a9a9a; }
.search-result.is-top { background: rgba(0,181,126,0.07); }
.searchbar.focused { box-shadow: 0 0 0 2px var(--green-2), 0 10px 26px -10px rgba(0,0,0,0.28); }
.kbd { position: absolute; bottom: 0; left: 0; right: 0; height: 224px; background: linear-gradient(180deg,#d1d5da,#c4c9cf); z-index: 10; padding: 10px 5px 26px; display: flex; flex-direction: column; gap: 7px; }
.kbd-row { display: flex; gap: 5px; justify-content: center; }
.kbd-key { flex: 1; height: 34px; background: #fff; border-radius: 6px; box-shadow: 0 1px 0 rgba(0,0,0,0.28); }
.kbd-key.wide { flex: 2.4; }
.kbd-key.sp { flex: 5; }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); z-index: 200;
  background: var(--bg-elev); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column; gap: 6px; padding: 90px 26px 30px;
}
[data-theme="light"] .mobile-menu { background: #fff; }
body.menu-open .mobile-menu { transform: none; }
.mobile-menu a { font-size: 19px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--border); }
.mobile-menu .btn-store { margin-top: 18px; justify-content: center; }
.menu-scrim { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
body.menu-open .menu-scrim { opacity: 1; pointer-events: auto; }
@media (max-width: 980px) { .nav-burger { display: block; } }
@media (min-width: 981px) { .mobile-menu, .menu-scrim { display: none; } }

/* ---------- QR download (desktop) ---------- */
.qr-inline { display: none; align-items: center; gap: 14px; }
@media (min-width: 900px) { .qr-inline { display: flex; } }
.qr-final { justify-content: center; margin-top: 6px; }
.qr-card { background: #fff; padding: 9px; border-radius: 14px; box-shadow: 0 12px 28px -14px rgba(0,0,0,0.45); line-height: 0; flex: none; }
.qr-img { display: block; border-radius: 4px; image-rendering: pixelated; image-rendering: crisp-edges; }
.qr-img:not([src]) { width: 94px; height: 94px; background: repeating-conic-gradient(#0a1712 0% 25%, #fff 0% 50%) 0 0 / 12px 12px; opacity: 0.12; }
.qr-text { display: flex; flex-direction: column; gap: 2px; }
.qr-text b { font-size: 14.5px; font-weight: 600; color: var(--text); }
.qr-text span { font-size: 12.5px; color: var(--muted); }

/* ---------- scroll reveal ---------- */
.reveal { transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .tp-overlay .plane, .pin.dropping { animation: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-copy { align-items: center; }
  .eyebrow { align-self: center; }
  .hero .sub { max-width: 46ch; }
  .cta-row, .trust, .demo-chips { justify-content: center; }
  .feature-grid, .usecase-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; gap: 36px; }
  .gallery-stage { min-height: 560px; }
  .steps .connector { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .feature-grid, .usecase-grid, .steps, .footer-top { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1.2fr 0.9fr 0.9fr; }
  .compare-row > div { padding: 14px 13px; font-size: 13.5px; }
  .section { padding: 70px 0; }
  .hero { padding: 36px 0 64px; }
  .final-cta-inner { padding: 54px 22px; }
  .nav-download { display: none; }
}

/* ============================================================
   Multi-page additions (landing spokes + a11y)
   ============================================================ */
/* keyboard focus visibility (was missing) */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* breadcrumbs */
.crumbs { padding: 16px 0 0; }
.crumbs .wrap { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--text-2); transition: color 0.2s; }
.crumbs a:hover { color: var(--green); }
.crumbs .crumb-sep { opacity: 0.5; }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* unique intro prose on landing pages */
.prose { max-width: 760px; margin: 0 auto; color: var(--text-2); font-size: 17.5px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose h2 { color: var(--text); font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; margin-top: 38px; }
.prose h3 { color: var(--text); font-size: 21px; letter-spacing: -0.02em; margin-top: 28px; }
.prose strong { color: var(--text); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin: 16px 0 0; padding-left: 22px; }
.prose li { margin-top: 8px; }

/* related-links cards are anchors on spokes */
a.usecase { color: inherit; }
a.usecase:hover h3 { color: var(--green); }

/* ---------- custom iOS App Store banner (revealed by JS on iOS, all browsers) ---------- */
.app-banner {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-elev) 94%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 34px -14px rgba(0, 0, 0, 0.45);
}
.app-banner.show { display: flex; animation: banner-up 0.4s var(--ease-out); }
@keyframes banner-up { from { transform: translateY(100%); } to { transform: none; } }
.app-banner > img { width: 44px; height: 44px; border-radius: 10px; flex: none; box-shadow: 0 4px 14px -4px rgba(0, 224, 160, 0.5); }
.app-banner-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.app-banner-text b { font-size: 15px; letter-spacing: -0.01em; }
.app-banner-text span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-banner-text .stars { color: var(--star); letter-spacing: 0.5px; font-size: 11px; }
.app-banner-btn {
  margin-left: auto; flex: none;
  background: var(--green); color: #04221a; font-weight: 700; font-size: 14.5px;
  padding: 9px 22px; border-radius: 999px;
}
.app-banner-close {
  flex: none; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
  background: var(--surface-2); color: var(--text-2); font-size: 17px; line-height: 1; cursor: pointer;
}
.app-banner-close:hover { background: var(--surface-3); color: var(--text); }
@media (prefers-reduced-motion: reduce) { .app-banner.show { animation: none; } }
