/* TRUE OBD — marketing site. Dark premium automotive theme matching the app palette:
   amber (#FFC107/#FF9800) on deep slate (#00121C), teal (#007F73) accents. */

:root {
  --bg-0: #00121c;
  --bg-1: #041a26;
  --card: #0a2230;
  --card-raised: #0e2c3d;
  --border: rgba(148, 163, 184, 0.16);
  --amber: #ffc107;
  --amber-deep: #ff9800;
  --teal: #1fb7a6;
  --teal-deep: #007f73;
  --text: #eaf2f6;
  --muted: #9fb3c0;
  --faint: #6b8190;
  --danger: #ff6b6b;
  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1120px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(255, 152, 0, 0.10), transparent 60%),
    radial-gradient(1000px 600px at -10% 10%, rgba(0, 127, 115, 0.14), transparent 55%),
    var(--bg-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(0, 18, 28, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .3px; color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span b { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #1a1206 !important; font-weight: 800; padding: 9px 16px; border-radius: 999px;
}
.nav-cta:hover { text-decoration: none; filter: brightness(1.05); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--teal); background: rgba(31, 183, 166, 0.10);
  border: 1px solid rgba(31, 183, 166, 0.28); padding: 6px 13px; border-radius: 999px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.05; margin: 20px 0 16px; font-weight: 800; letter-spacing: -1px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--amber), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px;
  padding: 14px 24px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--amber), var(--amber-deep)); color: #1a1206; }
.btn-primary:hover { text-decoration: none; filter: brightness(1.06); transform: translateY(-1px); transition: .15s; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { text-decoration: none; border-color: var(--amber); color: var(--amber); }
.trust { margin-top: 22px; font-size: 14px; color: var(--faint); display: flex; gap: 18px; flex-wrap: wrap; }
.trust b { color: var(--muted); }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .glow {
  position: absolute; inset: -10% -10% 0 -10%;
  background: radial-gradient(circle at 50% 35%, rgba(255, 193, 7, 0.18), transparent 60%);
  filter: blur(20px);
}
.device {
  position: relative; width: min(320px, 78vw); aspect-ratio: 9/19;
  border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #16313f, #07171f);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}
.device-screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #0d2c3c, #00121c);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px;
}
.device-screen img { width: 96px; height: 96px; border-radius: 22px; }
.device-screen .dname { font-weight: 800; letter-spacing: .5px; }
.gauge { width: 150px; height: 150px; border-radius: 50%;
  background: conic-gradient(var(--amber) 0 72%, rgba(255,255,255,.06) 72% 100%);
  display: grid; place-items: center; position: relative; }
.gauge::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: #061a24; }
.gauge .val { position: relative; text-align: center; }
.gauge .val b { font-size: 30px; display: block; color: var(--amber); }
.gauge .val small { color: var(--faint); font-size: 11px; letter-spacing: 1px; }
.mini-row { display: flex; gap: 10px; width: 100%; }
.mini { flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 12px; padding: 10px; text-align: center; }
.mini b { display: block; color: var(--teal); font-size: 16px; }
.mini small { color: var(--faint); font-size: 10px; letter-spacing: .5px; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(27px, 4vw, 40px); margin: 6px 0 12px; letter-spacing: -.5px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.card {
  background: linear-gradient(180deg, var(--card-raised), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 26px 30px;
  transition: transform .18s ease, border-color .18s ease;
  /* Centred, and every card in a row the same height — the grid stretches them, the flex column
     keeps the icon on one line whatever the copy below does. No sentence is shortened to fit. */
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 193, 7, 0.35); }
.card .ico {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px;
  background: radial-gradient(circle at 50% 35%, rgba(255, 193, 7, 0.20), rgba(255, 193, 7, 0.05) 70%);
  border: 1px solid rgba(255, 193, 7, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: border-color .18s ease, transform .18s ease;
}
/* Line art rather than emoji: emoji are a different typeface on every platform, sit off the optical
   centre of their box, and carried the weight of the card's illustration at 22px. */
.card .ico svg { width: 36px; height: 36px; fill: none; stroke: var(--amber); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; }
.card:hover .ico { transform: scale(1.06); border-color: rgba(255, 193, 7, 0.55); }
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { margin: 0 auto; color: var(--muted); font-size: 15px; max-width: 34ch; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center; }
.step .num { font-size: 17px; font-weight: 800; color: #1a1206; background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px;
  box-shadow: 0 10px 24px rgba(255, 152, 0, 0.22); }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0 auto; color: var(--muted); font-size: 15px; max-width: 34ch; }

/* privacy band */
.band { background: linear-gradient(135deg, rgba(0,127,115,.16), rgba(255,152,0,.08));
  border: 1px solid var(--border); border-radius: 26px; padding: 44px; }
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.band h2 { font-size: clamp(25px, 3.5vw, 36px); margin: 10px 0 14px; letter-spacing: -.5px; }
.band p { color: var(--muted); font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.checks li::before { content: "✓"; color: #1a1206; background: var(--teal); width: 24px; height: 24px; min-width: 24px;
  border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; margin-top: 2px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: clamp(25px, 3.5vw, 36px); margin: 8px 0 12px; }
.contact-info p { color: var(--muted); }
.contact-info .email-pill { display: inline-flex; gap: 10px; align-items: center; margin-top: 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; color: var(--text); font-weight: 600; }
form .field { margin-bottom: 16px; }
form label { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
form input, form textarea {
  width: 100%; background: #061a24; border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); padding: 13px 15px; font-size: 15px; font-family: inherit; resize: vertical;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--amber); }
form .hint { font-size: 13px; color: var(--faint); margin-top: 10px; }
.form-note { font-size: 13px; color: var(--teal); margin-top: 10px; min-height: 18px; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 30px; color: var(--faint); }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-weight: 600; font-size: 14px; }

/* legal page */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 0; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 6px; }
.legal .updated { color: var(--faint); margin-bottom: 30px; }
.legal h2 { margin-top: 34px; font-size: 22px; color: var(--amber); }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal .disclaimer { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; margin-top: 18px; }
.legal a { font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid, .band-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-1); border-bottom: 1px solid var(--border); padding: 18px 22px; gap: 16px; }
  .menu-btn { display: block; }
}
@media (max-width: 560px) {
  .features, .steps { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 40px; }
}

/* google play badge + download card (2026-09-23) */
.play-badge { display: inline-flex; align-items: center; line-height: 0; border-radius: 10px;
  transition: transform .15s ease, filter .15s ease; }
.play-badge img { height: 68px; width: auto; display: block; }
.play-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }
.play-badge:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
/* The badge carries Google's own artwork, whose clear space is part of the mark — the button around
   it adds none of its own padding, and the image is never recoloured or cropped. */

#get { padding-top: 10px; }
.get-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 46px 28px; text-align: center; max-width: 680px; margin: 0 auto; }
.get-card h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 12px; }
.get-card p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }
.get-card .play-badge { margin: 0 auto; }
.get-note { font-size: 13px; color: var(--faint); margin: 24px auto 0 !important; }

@media (max-width: 560px) {
  .play-badge img { height: 58px; }
  .get-card { padding: 36px 20px; }
}

/* the downloadable guide (2026-09-23) */
.guide-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center;
  max-width: 820px; margin: 0 auto; }
.guide-cover { display: block; border-radius: 12px; overflow: hidden; line-height: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); transition: transform .18s ease; }
.guide-cover:hover { transform: translateY(-3px); }
.guide-cover img { width: 100%; height: auto; display: block; }
.guide-copy h2 { font-size: clamp(22px, 3vw, 30px); margin: 8px 0 10px; }
.guide-copy p { color: var(--muted); margin: 0 0 20px; }
.guide-dl { display: inline-flex; align-items: center; gap: 10px; }
.guide-dl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.guide-note { font-size: 13px; color: var(--faint); margin: 16px 0 0 !important; }

@media (max-width: 700px) {
  .guide-card { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .guide-cover { max-width: 170px; margin: 0 auto; }
}
