/* ============================================================
   RoadWatch GH — Marketing site
   Design tokens
   ============================================================ */
:root{
  --asphalt:#15130f;       /* hero / footer background — warm near-black, like wet asphalt */
  --asphalt-soft:#1e1c17;
  --paper:#faf9f6;         /* content background */
  --paper-dim:#f2f0ea;
  --ink:#1f1e1b;
  --muted:#7b776f;
  --line:#e6e3db;
  --green:#137742;
  --green-bright:#06a04c;
  --yellow:#efa400;
  --red:#c6292d;

  --display:"Poppins", "Inter", sans-serif;
  --body:"Inter", "Poppins", sans-serif;

  --radius-s:10px;
  --radius-m:16px;
  --radius-l:28px;
  --container:1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.06;
  margin:0 0 .5em;
  color:var(--ink);
}
h1{ font-size:clamp(2.4rem, 5vw, 4rem); }
h2{ font-size:clamp(1.9rem, 3.4vw, 2.7rem); }
h3{ font-size:1.25rem; }
p{ margin:0 0 1em; color:var(--ink); }
.eyebrow{
  font-family:var(--body);
  font-weight:700;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--green);
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:18px; height:2px;
  background:var(--yellow);
  display:inline-block;
}

/* Ghana-tricolor structural rule — used site-wide under headings, echoes the app's own onboarding dots */
.tri-rule{
  width:96px; height:5px; border-radius:3px; overflow:hidden;
  display:flex; margin:18px 0 28px;
}
.tri-rule.center{ margin-left:auto; margin-right:auto; }
.tri-rule span{ flex:1; }
.tri-rule .g{ background:var(--green); }
.tri-rule .y{ background:var(--yellow); }
.tri-rule .r{ background:var(--red); }

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--body); font-weight:700; font-size:.95rem;
  padding:14px 26px; border-radius:999px;
  border:1.5px solid transparent;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{ background:var(--green); color:#fff; box-shadow:0 6px 18px rgba(19,119,66,.28); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(19,119,66,.34); }
.btn-ghost{ background:transparent; border-color:rgba(255,255,255,.28); color:#fff; }
.btn-ghost:hover{ background:rgba(255,255,255,.08); }
.btn-dark{ background:var(--asphalt); color:#fff; }
.btn-dark:hover{ transform:translateY(-2px); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(21,19,15,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ width:36px; height:36px; }
.brand span{ font-family:var(--display); font-weight:800; letter-spacing:-0.02em; color:#fff; font-size:1.15rem; }
.nav-links{ display:flex; align-items:center; gap:34px; list-style:none; margin:0; padding:0; }
.nav-links a{
  color:rgba(255,255,255,.78); font-weight:600; font-size:.92rem;
  padding:6px 2px; border-bottom:2px solid transparent; transition:color .15s, border-color .15s;
}
.nav-links a:hover, .nav-links a.active{ color:#fff; border-color:var(--yellow); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:0; color:#fff; font-size:1.6rem; cursor:pointer; }

@media (max-width:860px){
  .nav-links{
    position:fixed; inset:64px 0 0 0; background:var(--asphalt);
    flex-direction:column; align-items:flex-start; padding:28px;
    gap:22px; transform:translateY(-110%); transition:transform .25s ease;
  }
  .nav-links.open{ transform:translateY(0); }
  .nav-toggle{ display:block; }
  .nav-cta .btn-ghost{ display:none; }
}

/* ============================================================
   Page header band (non-home pages) — dark, consistent with hero
   ============================================================ */
.page-head{
  background:var(--asphalt); color:#fff; padding:76px 0 64px;
  position:relative; overflow:hidden;
}
.page-head .container{ position:relative; z-index:2; }
.page-head p.lede{ color:rgba(255,255,255,.72); font-size:1.05rem; max-width:640px; }
.page-head h1{ color:#fff; }

/* ============================================================
   Hero (home)
   ============================================================ */
.hero{
  background:var(--asphalt); color:#fff;
  padding:96px 0 60px; position:relative; overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
  position:relative; z-index:2;
}
.hero h1{ color:#fff; }
.hero .lede{ color:rgba(255,255,255,.72); font-size:1.15rem; max-width:520px; }
.hero-actions{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:34px; margin-top:52px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family:var(--display); font-size:1.7rem; font-weight:800; color:#fff; }
.hero-stats div span{ font-size:.8rem; color:rgba(255,255,255,.55); text-transform:uppercase; letter-spacing:.08em; }

.road-motif{
  position:absolute; inset:0; z-index:1; opacity:.5; pointer-events:none;
}

.hero-visual{ position:relative; z-index:2; display:flex; justify-content:center; }
.phone-frame{
  width:280px; background:#000; border-radius:38px; padding:10px;
  box-shadow:0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
}
.phone-screen{
  background:linear-gradient(180deg,#efece3,#e6e2d6); border-radius:28px; overflow:hidden; aspect-ratio:9/17.5;
  position:relative;
}
.phone-pin{
  position:absolute; left:50%; top:44%; transform:translate(-50%,-50%);
  width:96px; height:96px; border-radius:50%; border:10px solid var(--yellow);
  display:flex; align-items:center; justify-content:center; background:#fff;
}
.phone-pin::after{
  content:"!"; font-family:var(--display); font-weight:800; color:#fff;
  width:52px; height:52px; background:var(--red); border-radius:10px;
  display:flex; align-items:center; justify-content:center; font-size:1.4rem;
  clip-path:polygon(50% 6%, 94% 92%, 6% 92%);
}
.phone-search{
  position:absolute; top:24px; left:16px; right:16px; height:38px; background:#fff;
  border-radius:12px; box-shadow:0 6px 14px rgba(0,0,0,.12);
}

/* ============================================================
   Sections
   ============================================================ */
section{ padding:88px 0; }
.section-alt{ background:var(--paper-dim); }
.section-dark{ background:var(--asphalt); color:#fff; }
.section-dark h2, .section-dark .eyebrow{ color:#fff; }
.section-dark .eyebrow{ color:var(--yellow); }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Feature grid */
.feature-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.feature-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-m);
  padding:30px 24px; transition:transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover{ transform:translateY(-4px); box-shadow:0 16px 30px rgba(21,19,15,.08); }
.feature-icon{
  width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; background:var(--paper-dim);
}
.feature-icon img{ width:28px; height:28px; object-fit:contain; }
.feature-card h3{ margin-bottom:8px; }
.feature-card p{ color:var(--muted); font-size:.95rem; margin:0; }

/* Hazard taxonomy strip */
.taxonomy{ display:flex; flex-wrap:wrap; gap:12px; }
.tax-chip{
  display:flex; align-items:center; gap:10px;
  background:#fff; border:1px solid var(--line); border-radius:999px;
  padding:10px 18px 10px 12px; font-weight:600; font-size:.9rem;
}
.tax-dot{ width:26px; height:26px; border-radius:50%; flex:none; }

/* Steps (See it / Snap it / Share it) */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.step-card{ position:relative; padding-top:8px; }
.step-phase{
  font-family:var(--display); font-weight:800; font-size:.78rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--yellow); margin-bottom:14px; display:block;
}
.step-card h3{ font-size:1.4rem; }
.step-card p{ color:var(--muted); }
.step-divider{ height:2px; background:linear-gradient(90deg,var(--green),var(--yellow),var(--red)); margin:10px 0 40px; opacity:.35; }

/* Two column content */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split img, .split .media{ border-radius:var(--radius-l); }
.media-block{
  background:var(--asphalt); border-radius:var(--radius-l); aspect-ratio:4/3;
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}

/* Stats band */
.stats-band{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stats-band strong{ display:block; font-family:var(--display); font-size:2.2rem; font-weight:800; }
.stats-band span{ color:rgba(255,255,255,.6); font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; }

/* Cards / policy blocks */
.policy-block{ max-width:760px; margin:0 auto; }
.policy-block h2{ font-size:1.5rem; margin-top:2.2em; }
.policy-block h2:first-child{ margin-top:0; }
.policy-block ul{ padding-left:1.2em; color:var(--ink); }
.policy-block li{ margin-bottom:.5em; }
.callout{
  background:#fff; border:1px solid var(--line); border-left:4px solid var(--green);
  border-radius:var(--radius-s); padding:20px 24px; margin:28px 0; font-size:.95rem; color:var(--muted);
}

/* Contact */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:600; font-size:.85rem; margin-bottom:6px; }
.field input, .field textarea{
  width:100%; padding:13px 14px; border-radius:10px; border:1.5px solid var(--line);
  font-family:var(--body); font-size:.95rem; background:#fff; color:var(--ink);
}
.field textarea{ min-height:130px; resize:vertical; }
.contact-info-item{ display:flex; gap:16px; margin-bottom:24px; }
.contact-info-item .dot{ width:40px; height:40px; border-radius:12px; background:var(--paper-dim); flex:none; display:flex; align-items:center; justify-content:center; font-weight:800; color:var(--green); }

/* CTA band */
.cta-band{
  background:var(--green); color:#fff; border-radius:var(--radius-l);
  padding:64px 56px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; margin-bottom:6px; }
.cta-band p{ color:rgba(255,255,255,.85); margin:0; }

/* ============================================================
   Store badges — clearly-labeled placeholder buttons.
   NOTE: swap for the official Apple / Google artwork + guidelines
   (developer.apple.com/app-store/marketing/guidelines/,
   play.google.com/intl/en_us/badges/) once the app is live.
   ============================================================ */
.store-badges{ display:flex; gap:12px; flex-wrap:wrap; }
.store-badge{
  display:flex; align-items:center; gap:10px;
  background:#000; color:#fff; border:1px solid rgba(255,255,255,.25);
  border-radius:10px; padding:9px 18px 9px 14px; min-width:172px;
}
.store-badge svg{ width:24px; height:24px; flex:none; }
.store-badge .badge-text{ line-height:1.15; }
.store-badge .badge-text small{ display:block; font-size:.62rem; letter-spacing:.04em; color:rgba(255,255,255,.75); text-transform:uppercase; }
.store-badge .badge-text strong{ display:block; font-family:var(--display); font-size:1rem; font-weight:700; }
.store-badge.disabled{ opacity:.55; cursor:default; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ background:var(--asphalt); color:rgba(255,255,255,.7); padding:70px 0 30px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .brand span{ color:#fff; }
.footer-brand p{ color:rgba(255,255,255,.55); font-size:.9rem; max-width:280px; margin-top:14px; }
.footer-col h4{ color:#fff; font-family:var(--body); font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px; }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color:rgba(255,255,255,.65); font-size:.92rem; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; flex-wrap:wrap; gap:14px; }
.footer-bottom small{ color:rgba(255,255,255,.45); font-size:.82rem; }
.footer-flag{ display:flex; gap:5px; }
.footer-flag span{ width:16px; height:5px; border-radius:2px; }

@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .stats-band{ grid-template-columns:repeat(2,1fr); gap:32px; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
}
@media (max-width:560px){
  .feature-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  section{ padding:64px 0; }
}
