/* ============================================================
   Bharometer — landing site
   Design tokens mirror the app's Daylight palette (Theme.swift)
   Fonts: Bricolage Grotesque (display) + Manrope (body)
   India-centric fuel tracker · ₹ · petrol / diesel / CNG / EV
   ============================================================ */

:root {
  /* Surfaces */
  --bg:            #F1F6FB;
  --surface:       #FFFFFF;
  --surface-raised:#EBEFF3;
  --border:        #DAE1E9;
  --border-strong: #BFC9D4;

  /* Text */
  --text:      #0F1B2D;
  --text-2:    #475569;
  --muted:     #8E8E93;

  /* Brand */
  --primary:      #007EC7;   /* azure */
  --primary-deep: #006BA9;
  --navy:         #0B2A52;   /* deep navy */
  --navy-2:       #11355A;
  --sunshine:     #FFDF00;   /* signature yellow */
  --sunshine-deep:#C8860B;   /* legible gold for text */

  /* Fuel dot colors (match app) */
  --petrol: #007EC7;
  --diesel: #0E9E90;
  --cng:    #FFDF00;
  --ev:     #0C7F42;

  /* Semantic */
  --success:    #1E9E5A;
  --success-bg: #E1F5EE;
  --error:      #E23B3B;

  /* Type — Apple system fonts (SF Pro), matching the app on-device */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;

  /* Metrics */
  --radius-card: 20px;
  --radius-tile: 14px;
  --radius-chip: 12px;
  --shadow-sm: 0 1px 2px rgba(11,42,82,.06), 0 2px 8px rgba(11,42,82,.05);
  --shadow-md: 0 8px 30px rgba(11,42,82,.10);
  --shadow-lg: 0 24px 70px rgba(11,42,82,.16);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary);
}

/* ---------- Buttons (rounded-rect chips, never pills) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 14px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(0,126,199,.32); }
.btn-primary:hover { background: var(--primary-deep); }
.btn-sun { background: var(--sunshine); color: var(--navy); box-shadow: 0 6px 18px rgba(255,223,0,.4); }
.btn-sun:hover { filter: brightness(.97); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* App-store style download buttons */
.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff;
  padding: 11px 20px 11px 18px; border-radius: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-md);
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .st-small { font-size: 10.5px; letter-spacing: .04em; opacity: .8; line-height: 1; }
.store-btn .st-big { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.15; }
.store-btn.soon { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.store-btn.soon .badge-soon { font-size: 10px; font-weight: 800; color: var(--sunshine-deep); letter-spacing: .06em; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241,246,251,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
header.nav.scrolled { border-color: var(--border); background: rgba(241,246,251,.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 21px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.wm-1 { color: var(--text); } .wm-2 { color: var(--sunshine-deep); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 14.5px; color: var(--text-2); transition: color .15s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 74px 0 90px; overflow: hidden; }
.hero-bg-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0;
}
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(0,126,199,.30), transparent 70%); top: -160px; right: -140px; }
.blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(255,223,0,.28), transparent 70%); bottom: -180px; left: -120px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-flag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13px;
  color: var(--text-2); box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-flag .tri { display: inline-flex; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); margin-bottom: 20px; }
.hero h1 .hl { color: var(--primary); }
.hero h1 .hl-sun { position: relative; }
.hero h1 .hl-sun::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 14px;
  background: var(--sunshine); opacity: .55; z-index: -1; border-radius: 4px;
}
.hero p.lede { font-size: 19px; color: var(--text-2); max-width: 520px; margin-bottom: 30px; }
.hero .microcopy { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero .microcopy b { color: var(--text-2); }

/* ---------- Phone mockup (CSS-drawn app dashboard) ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; height: 630px; background: #0A1826; border-radius: 46px;
  padding: 11px; box-shadow: var(--shadow-lg), 0 0 0 2px rgba(11,42,82,.06);
  position: relative; z-index: 2;
}
.phone::before { /* dynamic island */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #0A1826; border-radius: 14px; z-index: 5;
}
.screen {
  width: 100%; height: 100%; background: var(--bg); border-radius: 36px; overflow: hidden;
  position: relative; display: flex; flex-direction: column;
}
.scr-status { height: 52px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 24px 6px; font-size: 12px; font-weight: 700; color: var(--text); }
.scr-body { flex: 1; overflow: hidden; padding: 6px 15px 12px; }
.scr-hdr { display: flex; align-items: center; justify-content: space-between; margin: 4px 2px 12px; }
.scr-hdr .title { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.scr-hdr .gear { width: 30px; height: 30px; border-radius: 8px; background: var(--sunshine); display: grid; place-items: center; }

.hero-card {
  background: linear-gradient(135deg, #007EC7, #0059A0); color: #fff;
  border-radius: 16px; padding: 14px 15px; box-shadow: 0 8px 22px rgba(0,90,160,.28); margin-bottom: 12px;
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; opacity: .85; font-weight: 600; }
.hero-card .hc-city { display: flex; align-items: center; gap: 5px; }
.hero-card .pin { width: 8px; height: 8px; border-radius: 50%; background: var(--sunshine); }
.hero-card .hc-price { font-family: var(--font-display); font-weight: 800; font-size: 34px; margin: 8px 0 2px; letter-spacing: -.02em; }
.hero-card .hc-price small { font-size: 15px; font-weight: 600; opacity: .8; }
.hero-card .hc-delta { font-size: 11.5px; font-weight: 700; color: #BEEFD6; }
.hero-card .hc-fuels { display: flex; gap: 6px; margin-top: 11px; }
.chip-fuel { font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,.16); }
.chip-fuel.on { background: var(--sunshine); color: var(--navy); }

.tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.tile .tl-label { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tile .tl-val { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-top: 4px; }
.tile .tl-val small { font-size: 12px; font-weight: 600; color: var(--text-2); }
.tile .tl-sub { font-size: 10.5px; color: var(--success); font-weight: 700; margin-top: 2px; }

.gauge-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.gauge { width: 78px; height: 78px; flex: none; border-radius: 50%;
  background: conic-gradient(from 135deg, #007EC7 0deg, #FFDF00 200deg, var(--surface-raised) 200deg 270deg, transparent 270deg);
  display: grid; place-items: center; position: relative; }
.gauge::after { content: ""; position: absolute; inset: 11px; background: var(--surface); border-radius: 50%; }
.gauge .g-val { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.gauge .g-val small { font-size: 10px; color: var(--muted); display: block; font-weight: 600; }
.gauge-card .g-meta .gm-t { font-weight: 800; font-family: var(--font-display); font-size: 15px; }
.gauge-card .g-meta .gm-s { font-size: 11.5px; color: var(--text-2); margin-top: 2px; }

.scan-cta { background: linear-gradient(135deg, #FFE85C, #FFDF00); border-radius: 14px; padding: 12px 13px; display: flex; align-items: center; gap: 11px; }
.scan-cta .sc-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--primary); display: grid; place-items: center; flex: none; }
.scan-cta .sc-t { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--navy); }
.scan-cta .sc-s { font-size: 11px; color: #5A5320; font-weight: 600; }
.scan-cta .free { margin-left: auto; background: var(--navy); color: var(--sunshine); font-size: 9.5px; font-weight: 800; padding: 3px 8px; border-radius: 7px; }

.scr-tabbar { height: 60px; flex: none; background: var(--surface); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-around; padding-bottom: 6px; }
.tabitem { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; font-weight: 700; color: var(--muted); }
.tabitem.on { color: var(--primary); }
.tabitem .dot { width: 20px; height: 20px; border-radius: 6px; background: var(--surface-raised); }
.tabitem.on .dot { background: var(--primary); }

/* Floating mini-cards around phone */
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 11px 13px; box-shadow: var(--shadow-md); z-index: 3;
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px;
}
.float-card .fc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; }
.fc-1 { top: 74px; left: -34px; } .fc-2 { bottom: 128px; right: -40px; }
.fc-3 { bottom: 34px; left: -20px; }
.float-card .fc-sub { font-size: 11px; font-weight: 600; color: var(--muted); }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lede, .hero-flag { margin-left: auto; margin-right: auto; }
  .hero .store-row, .hero .microcopy { justify-content: center; }
  .phone-stage { margin-top: 46px; }
  .float-card { display: none; }
}

/* ---------- Trust strip ---------- */
.trust { padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-stat { text-align: center; flex: 1; min-width: 140px; }
.trust-stat .ts-n { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--navy); }
.trust-stat .ts-n .u { color: var(--primary); }
.trust-stat .ts-l { font-size: 13px; color: var(--text-2); font-weight: 600; margin-top: 2px; }
.trust-sep { width: 1px; height: 44px; background: var(--border); }
@media (max-width: 720px) { .trust-sep { display: none; } .trust-stat { min-width: 44%; } }

/* ---------- Section scaffolding ---------- */
section.pad { padding: 92px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 44px); margin: 14px 0 16px; }
.sec-head p { font-size: 18px; color: var(--text-2); }

/* ---------- Features grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; }
.feat-ic svg { width: 27px; height: 27px; }
.feat-card h3 { font-size: 20px; margin-bottom: 9px; }
.feat-card p { font-size: 14.5px; color: var(--text-2); }
.ic-azure { background: #E5F2F9; color: var(--primary); }
.ic-sun { background: #FFF7BF; color: var(--sunshine-deep); }
.ic-teal { background: #E1F5EE; color: var(--diesel); }
.ic-navy { background: #E4EBF4; color: var(--navy); }
.ic-green { background: #E1F5EE; color: var(--ev); }
.ic-coral { background: #FDE4E2; color: var(--error); }

/* ---------- India section ---------- */
.india { background: var(--navy); color: #fff; border-radius: 0; position: relative; overflow: hidden; }
.india::before { content:""; position:absolute; width:600px;height:600px;border-radius:50%; background: radial-gradient(circle, rgba(0,126,199,.35), transparent 70%); top:-260px; right:-160px; }
.india::after { content:""; position:absolute; width:420px;height:420px;border-radius:50%; background: radial-gradient(circle, rgba(255,223,0,.16), transparent 70%); bottom:-200px; left:-120px; }
.india .wrap { position: relative; z-index: 1; }
.india .sec-head h2 { color: #fff; }
.india .eyebrow { color: var(--sunshine); }
.india .sec-head p { color: #C4D2E2; }
.india-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .india-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .india-grid { grid-template-columns: 1fr; } }
.india-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: 18px; padding: 22px; backdrop-filter: blur(6px); }
.india-card .ic-emoji { font-size: 26px; margin-bottom: 12px; }
.india-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.india-card p { font-size: 14px; color: #B7C6D9; }
.india-card .accent { color: var(--sunshine); }

/* ---------- Alternating showcase rows ---------- */
.showcase { display: flex; flex-direction: column; gap: 100px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.show-row.rev .show-text { order: 2; }
.show-text h3 { font-size: clamp(26px, 3.6vw, 36px); margin: 12px 0 16px; }
.show-text p { font-size: 17px; color: var(--text-2); margin-bottom: 22px; }
.show-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.show-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; font-weight: 600; color: var(--text); }
.show-list .chk { width: 24px; height: 24px; border-radius: 8px; background: var(--success-bg); color: var(--success); display: grid; place-items: center; flex: none; }
.show-visual { display: flex; justify-content: center; }
@media (max-width: 880px) {
  .show-row, .show-row.rev { grid-template-columns: 1fr; gap: 34px; }
  .show-row.rev .show-text { order: 0; }
}

/* Mock card cluster used in showcase visuals */
.mock {
  width: 100%; max-width: 420px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.mock-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock-hd .mh-t { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.mock-hd .seg { display: flex; gap: 4px; background: var(--surface-raised); padding: 3px; border-radius: 10px; }
.mock-hd .seg span { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 7px; color: var(--text-2); }
.mock-hd .seg span.on { background: var(--primary); color: #fff; }

/* fake bar chart */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 6px 0 0; }
.bars .bar { flex: 1; border-radius: 7px 7px 3px 3px; background: linear-gradient(var(--primary), #4FB0E0); position: relative; }
.bars .bar span { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 700; color: var(--muted); }
.bars .bar.hi { background: linear-gradient(var(--sunshine-deep), var(--sunshine)); }
.bars-x { display: flex; gap: 10px; margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; font-size: 10.5px; color: var(--muted); font-weight: 600; }

/* log list */
.log-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.log-item:last-child { border-bottom: none; }
.log-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.log-main { flex: 1; }
.log-main .lm-t { font-weight: 700; font-size: 14.5px; }
.log-main .lm-s { font-size: 12px; color: var(--muted); }
.log-amt { font-family: var(--font-display); font-weight: 800; font-size: 15px; }

/* map mock */
.map-mock { height: 280px; border-radius: 16px; background:
  linear-gradient(135deg, #E5F2F9, #EBEFF3);
  border: 1px solid var(--border); position: relative; overflow: hidden; }
.map-mock .road { position: absolute; background: var(--border-strong); }
.map-mock .r1 { width: 4px; height: 100%; left: 40%; transform: rotate(8deg); }
.map-mock .r2 { width: 4px; height: 120%; left: 70%; top: -20px; transform: rotate(-14deg); }
.map-mock .r3 { height: 4px; width: 100%; top: 55%; }
.map-pin { position: absolute; width: 32px; height: 32px; border-radius: 50% 50% 50% 2px; transform: rotate(45deg);
  display: grid; place-items: center; box-shadow: var(--shadow-md); }
.map-pin i { transform: rotate(-45deg); color: #fff; font-style: normal; font-weight: 800; font-size: 13px; }
.map-pin.p1 { background: var(--primary); top: 30%; left: 32%; }
.map-pin.p2 { background: var(--sunshine); top: 58%; left: 62%; }
.map-pin.p2 i { color: var(--navy); }
.map-pin.p3 { background: var(--ev); top: 68%; left: 26%; }
.route-line { position: absolute; height: 4px; background: var(--primary); border-radius: 2px; opacity: .5; }

/* ---------- Themes strip ---------- */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 780px) { .themes { grid-template-columns: 1fr; } }
.theme-swatch { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.theme-swatch .sw-top { height: 130px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.theme-swatch .dot { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.theme-swatch .sw-meta { padding: 16px 18px; background: var(--surface); }
.theme-swatch h4 { font-size: 17px; }
.theme-swatch p { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.sw-daylight { background: #F1F6FB; }
.sw-highbeam { background: #0B1622; }
.sw-classic { background: #F2F2F7; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q .plus { font-size: 24px; color: var(--primary); transition: transform .2s ease; flex: none; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; font-size: 15.5px; color: var(--text-2); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.cta-box {
  background: linear-gradient(135deg, #007EC7, #0B2A52); border-radius: 30px;
  padding: 66px 40px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-box::before { content:""; position:absolute; width:340px;height:340px;border-radius:50%;
  background: radial-gradient(circle, rgba(255,223,0,.30), transparent 70%); top:-120px; right:-60px; }
.cta-box .inner { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(30px, 4.6vw, 46px); color: #fff; margin-bottom: 16px; }
.cta-box p { font-size: 18px; color: #D6E4F2; max-width: 520px; margin: 0 auto 30px; }
.cta-box .store-row { justify-content: center; }
.cta-box .store-btn { background: #fff; color: var(--navy); }
.cta-box .store-btn.soon { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.cta-box .store-btn.soon .badge-soon { color: var(--sunshine); }

/* ---------- Footer ---------- */
footer.foot { background: var(--navy); color: #C4D2E2; padding: 62px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand .brand .wm-1 { color: #fff; }
.foot-brand p { font-size: 14px; color: #96A8BE; max-width: 280px; }
.foot-col h5 { font-family: var(--font-display); color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14.5px; margin-bottom: 11px; color: #B7C6D9; transition: color .15s; }
.foot-col a:hover { color: var(--sunshine); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.10); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8298B0; }
.foot-bottom .made { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Legal / support pages ---------- */
.doc { padding: 60px 0 90px; }
.doc .wrap { max-width: 820px; }
.doc-back { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--primary); margin-bottom: 30px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 23px; margin: 40px 0 14px; }
.doc h3 { font-size: 18px; margin: 26px 0 10px; }
.doc p, .doc li { font-size: 16px; color: var(--text-2); margin-bottom: 14px; line-height: 1.7; }
.doc ul { padding-left: 22px; margin-bottom: 18px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--primary); font-weight: 600; }
.doc strong { color: var(--text); }
.doc .card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 28px 30px; margin: 26px 0; box-shadow: var(--shadow-sm);
}
.doc .card h3 { margin-top: 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; list-style: none; padding: 0; }
.pill-list li { background: var(--success-bg); color: var(--success); font-weight: 700; font-size: 13.5px; padding: 8px 15px; border-radius: 12px; margin: 0; }

/* support cards */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
@media (max-width: 680px) { .support-grid { grid-template-columns: 1fr; } }
.support-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px; box-shadow: var(--shadow-sm); }
.support-card .sc-ic { width: 46px; height: 46px; border-radius: 13px; background: #E5F2F9; color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.support-card h3 { margin-top: 0; font-size: 19px; }
.support-card p { font-size: 14.5px; }

/* ---------- Scan spotlight (world-class scanner) ---------- */
.spotlight { position: relative; overflow: hidden; background: linear-gradient(135deg, #0B2A52 0%, #0A2038 45%, #007EC7 130%); color: #fff; }
.spotlight::before { content:""; position:absolute; width:520px; height:520px; border-radius:50%; background: radial-gradient(circle, rgba(255,223,0,.20), transparent 70%); top:-220px; right:-120px; }
.spotlight::after { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(0,126,199,.35), transparent 70%); bottom:-200px; left:-140px; }
.spot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .spot-grid { grid-template-columns: 1fr; gap: 44px; } .scan-demo { order: -1; } }
.spot-text .eyebrow { color: var(--sunshine); }
.spot-text h2 { font-size: clamp(30px, 4.4vw, 46px); color: #fff; margin: 14px 0 18px; }
.spot-text .spot-lede { font-size: 18px; color: #C4D2E2; margin-bottom: 26px; max-width: 520px; }
.spot-list { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 28px; }
.spot-list li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; color: #EAF1F8; }
.spot-list li b { color: #fff; }
.spot-list .sc-ic { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.10); color: var(--sunshine); }
.ai-chip { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.ai-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #34C77F; box-shadow: 0 0 0 4px rgba(52,199,127,.25); }

/* Camera / scan device mockup */
.scan-demo { display: flex; justify-content: center; }
.scanner { width: 320px; background: #060D16; border-radius: 34px; padding: 12px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06); }
.scan-modes { display: flex; gap: 5px; background: rgba(255,255,255,.08); padding: 4px; border-radius: 12px; margin-bottom: 10px; }
.scan-modes span { flex: 1; text-align: center; font-size: 12.5px; font-weight: 700; padding: 8px; border-radius: 9px; color: #9FB0C4; }
.scan-modes span.on { background: var(--sunshine); color: #0B2A52; }
.cam { position: relative; height: 300px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #1c2c3e, #0a1420 80%); }
.cam-reticle { position: absolute; inset: 42px 30px; border-radius: 14px;
  box-shadow: 0 0 0 2px rgba(255,223,0,.9), 0 0 0 2000px rgba(0,0,0,.28); }
.cam-reticle span { position: absolute; width: 20px; height: 20px; border: 3px solid var(--sunshine); }
.cam-reticle .tl { top:-2px; left:-2px; border-right:none; border-bottom:none; border-radius: 8px 0 0 0; }
.cam-reticle .tr { top:-2px; right:-2px; border-left:none; border-bottom:none; border-radius: 0 8px 0 0; }
.cam-reticle .bl { bottom:-2px; left:-2px; border-right:none; border-top:none; border-radius: 0 0 0 8px; }
.cam-reticle .br { bottom:-2px; right:-2px; border-left:none; border-top:none; border-radius: 0 0 8px 0; }
.pump-display { position: absolute; inset: 62px 48px auto 48px; background: #0a0f0a; border-radius: 8px; padding: 12px 14px; border: 1px solid #1c2a1c; }
.pump-row { display: flex; align-items: baseline; justify-content: space-between; margin: 3px 0; }
.pump-row .pl { font-size: 9px; font-weight: 700; letter-spacing: .1em; color: #4a6a4a; }
.pump-row .pv { font-family: "DS-Digital", ui-monospace, monospace; font-weight: 800; font-size: 21px; color: #ff5b3b; letter-spacing: 1px; text-shadow: 0 0 8px rgba(255,91,59,.5); }
.pump-row .pv.g { color: #39d353; text-shadow: 0 0 8px rgba(57,211,83,.5); }
.scan-line { position: absolute; left: 30px; right: 30px; height: 2px; background: linear-gradient(90deg, transparent, var(--sunshine), transparent); top: 42px; animation: scanmove 2.6s ease-in-out infinite; }
@keyframes scanmove { 0%,100% { top: 46px; opacity:.3; } 50% { top: 292px; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scan-line { animation: none; opacity:.6; } }
.scan-out { background: #0d1926; border-radius: 0 0 20px 20px; margin: -6px 6px 0; padding: 14px 15px 6px; }
.scan-out-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.scan-out-hd .so-t { font-weight: 800; font-size: 13.5px; color: #EAF1F8; }
.scan-out-hd .so-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; color: #34C77F; background: rgba(52,199,127,.14); padding: 4px 9px; border-radius: 8px; }
.scan-field { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.scan-field:last-child { border-bottom: none; }
.scan-field .sf-l { font-size: 12px; color: #9FB0C4; font-weight: 600; }
.scan-field .sf-v { font-weight: 800; font-size: 14.5px; color: #fff; display: flex; align-items: center; gap: 8px; }
.scan-field .sf-v .tick { color: #34C77F; }

/* ---------- Interactive theme switcher (Make it yours) ---------- */
/* Scoped palettes mirror Theme.swift (Daylight / Highbeam / Classic). */
#themes[data-theme="daylight"] { --t-bg:#F1F6FB; --t-surface:#FFFFFF; --t-border:#DAE1E9; --t-text:#0F1B2D; --t-text2:#475569; --t-primary:#007EC7; --t-accent:#FFDF00; --t-hero:#007EC7; --t-onhero:#FFFFFF; --t-diesel:#0E9E90; --t-scan:linear-gradient(135deg,#FFE85C,#FFDF00); --t-scan-text:#0B2A52; --t-scan-icon:#007EC7; --t-scan-icon-fg:#FFFFFF; --t-free-bg:#0B2A52; --t-free-fg:#FFDF00; }
#themes[data-theme="highbeam"] { --t-bg:#0B1622; --t-surface:#16263A; --t-border:#2C3E54; --t-text:#EAF1F8; --t-text2:#BFC9D4; --t-primary:#409FD5; --t-accent:#FFE21A; --t-hero:#122B45; --t-onhero:#EAF1F8; --t-diesel:#2DD4BF; --t-scan:linear-gradient(135deg,#FFE85C,#FFDF00); --t-scan-text:#0B2A52; --t-scan-icon:#007EC7; --t-scan-icon-fg:#FFFFFF; --t-free-bg:#0B2A52; --t-free-fg:#FFDF00; }
#themes[data-theme="classic"] { --t-bg:#F2F2F7; --t-surface:#FFFFFF; --t-border:#DAE1E9; --t-text:#0F1B2D; --t-text2:#475569; --t-primary:#007EC7; --t-accent:#E8A200; --t-hero:#11355A; --t-onhero:#F2F6FB; --t-diesel:#0F9488; --t-scan:linear-gradient(135deg,#007EC7,#0A6CB0); --t-scan-text:#FFFFFF; --t-scan-icon:rgba(255,255,255,.18); --t-scan-icon-fg:#FFFFFF; --t-free-bg:#FFDF00; --t-free-fg:#04263C; }

#themes { background: var(--t-bg) !important; transition: background .45s ease; }
#themes .sec-head h2 { color: var(--t-text); transition: color .45s ease; }
#themes .sec-head p { color: var(--t-text2); transition: color .45s ease; }
#themes .eyebrow { color: var(--t-primary); transition: color .45s ease; }
#themes .themes-foot { color: var(--t-text2) !important; transition: color .45s ease; }

.theme-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 720px; margin: 0 auto 46px; }
@media (max-width: 680px) { .theme-switch { grid-template-columns: 1fr; } }
.theme-swatch { cursor: pointer; background: var(--t-surface); border: 1px solid var(--t-border); outline: 2.5px solid transparent; outline-offset: 2px; transition: outline-color .25s ease, transform .2s ease, background .45s ease, border-color .45s ease; }
.theme-swatch:hover { transform: translateY(-3px); }
.theme-swatch.active { outline-color: var(--t-primary); }
.theme-swatch.active .sw-check { opacity: 1; transform: scale(1); }
.theme-swatch .sw-meta { background: var(--t-surface); transition: background .45s ease; position: relative; }
.theme-swatch h4 { color: var(--t-text); transition: color .45s ease; }
.theme-swatch p { color: var(--t-text2); transition: color .45s ease; }
.sw-check { position: absolute; top: 14px; right: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--t-primary); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .2s ease; }

/* Live app preview that repaints into the active theme */
.theme-preview { max-width: 440px; margin: 0 auto; background: var(--t-surface); border: 1px solid var(--t-border); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); padding: 18px; transition: background .45s ease, border-color .45s ease; }
.tp-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tp-title { font-weight: 800; font-size: 19px; color: var(--t-text); transition: color .45s ease; }
.tp-gear { width: 30px; height: 30px; border-radius: 9px; background: var(--t-accent); display: grid; place-items: center; color: #0B2A52; transition: background .45s ease; }
.tp-hero { background: var(--t-hero); color: var(--t-onhero); border-radius: 14px; padding: 15px 16px; margin-bottom: 12px; transition: background .45s ease, color .45s ease; }
.tp-hero-top { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 600; opacity: .88; }
.tp-hero-top .tp-pin { width: 8px; height: 8px; border-radius: 50%; background: var(--t-accent); display: inline-block; margin-right: 6px; }
.tp-price { font-weight: 800; font-size: 34px; letter-spacing: -.02em; margin: 8px 0 2px; }
.tp-price small { font-size: 15px; font-weight: 600; opacity: .8; }
.tp-hsub { font-size: 11.5px; font-weight: 600; opacity: .8; }
.tp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.tp-tile { background: var(--t-bg); border: 1px solid var(--t-border); border-radius: 12px; padding: 11px 12px; transition: background .45s ease, border-color .45s ease; }
.tp-l { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--t-text2); transition: color .45s ease; }
.tp-v { font-weight: 800; font-size: 20px; color: var(--t-text); margin-top: 3px; transition: color .45s ease; }
.tp-v small { font-size: 12px; font-weight: 600; color: var(--t-text2); }
.tp-log { background: var(--t-bg); border: 1px solid var(--t-border); border-radius: 12px; padding: 4px 12px; transition: background .45s ease, border-color .45s ease; }
.tp-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--t-border); }
.tp-row:last-child { border-bottom: none; }
.tp-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.tp-rmain { flex: 1; }
.tp-rt { font-weight: 700; font-size: 13.5px; color: var(--t-text); transition: color .45s ease; }
.tp-rs { font-size: 11px; color: var(--t-text2); transition: color .45s ease; }
.tp-ra { font-weight: 800; font-size: 14px; color: var(--t-text); transition: color .45s ease; }
/* Scan CTA inside the preview — its contrast changes per theme */
.tp-scan { margin-top: 12px; background: var(--t-scan); color: var(--t-scan-text); border-radius: 12px; padding: 11px 13px; display: flex; align-items: center; gap: 11px; transition: background .45s ease, color .45s ease; }
.tp-scan .ts-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--t-scan-icon); color: var(--t-scan-icon-fg); display: grid; place-items: center; flex: none; transition: background .45s ease; }
.tp-scan .ts-t { font-weight: 800; font-size: 13.5px; line-height: 1.15; }
.tp-scan .ts-s { font-size: 10.5px; opacity: .82; font-weight: 600; }
.tp-scan .ts-free { margin-left: auto; background: var(--t-free-bg); color: var(--t-free-fg); font-size: 9.5px; font-weight: 800; padding: 3px 8px; border-radius: 7px; transition: background .45s ease, color .45s ease; }

/* ---------- Screenshots gallery ---------- */
.shots-scroll { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 26px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots-scroll::-webkit-scrollbar { height: 8px; }
.shots-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
.shot-frame { flex: none; width: 236px; scroll-snap-align: center; }
.shot-phone { width: 236px; height: 500px; background: #0A1826; border-radius: 36px; padding: 9px; box-shadow: var(--shadow-lg); position: relative; }
.shot-phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 74px; height: 20px; background: #0A1826; border-radius: 11px; z-index: 2; }
.shot-screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #EBF2F9, #F1F6FB); display: grid; place-items: center; position: relative; }
.shot-screen .ph-badge { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); }
.shot-screen .ph-badge svg { width: 34px; height: 34px; opacity: .5; }
.shot-screen .ph-badge span { font-size: 12.5px; font-weight: 700; }
.shot-screen.placeholder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); background-size: 220% 100%; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .shot-screen.placeholder::after { animation: none; } }
.shot-cap { text-align: center; margin-top: 16px; font-weight: 700; font-size: 14.5px; color: var(--text); }
.shot-cap small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* Fail-safe: never keep content hidden for reduced-motion users or if JS/observer is unavailable */
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
