/* The landing page (index.html). The app's colours: navy shield, amber signal, red only for danger. */
:root {
  --navy: #0B2545; --navy-deep: #071426; --amber: #F2A900; --red: #D7191F; --green: #2E9E5B; --blue: #1F5FBF;
  --bg: #F6F7FB; --surface: #FFFFFF; --line: #E3E7EF; --text: #0B1A2E; --muted: #5B6676;
  --hero-bg: radial-gradient(1200px 600px at 85% 10%, #143A6B 0%, rgba(20, 58, 107, 0) 60%), linear-gradient(180deg, #0B2545 0%, #071426 100%);
  --hero-text: #FFFFFF; --hero-muted: #B7C3D6;
  --shadow: 0 1px 2px rgba(11, 26, 46, .06), 0 10px 30px rgba(11, 26, 46, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070B12; --surface: #10161F; --line: #1E2733; --text: #EEF2F7; --muted: #95A1B2;
    --hero-bg: radial-gradient(1200px 600px at 85% 10%, #143A6B 0%, rgba(20, 58, 107, 0) 60%), linear-gradient(180deg, #0B2545 0%, #070B12 100%);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
html { overflow-x: clip; }
body { font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header, over the navy hero */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; color: #fff; }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: .2px; text-decoration: none; }
.logo { display: inline-grid; width: 36px; height: 36px; }
.logo svg { width: 100%; height: 100%; display: block; }
/* On navy, the shield sits on a white tile, as on the app's welcome screen */
.top .logo { width: 40px; height: 40px; padding: 4px; border-radius: 11px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
nav a { text-decoration: none; opacity: .85; }
nav a:hover { opacity: 1; }
nav .lang { border: 1px solid rgba(255, 255, 255, .3); padding: 6px 12px; border-radius: 99px; opacity: 1; }

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-text); padding: 128px 0 0; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px 6px 10px; border-radius: 99px; font-size: 13px; font-weight: 600;
  letter-spacing: .3px; color: var(--amber); background: rgba(242, 169, 0, .12); border: 1px solid rgba(242, 169, 0, .3); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242, 169, 0, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(242, 169, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 169, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.03; letter-spacing: -1.6px; margin: 0 0 20px; font-weight: 800; }
.lede { font-size: 19px; color: var(--hero-muted); margin: 0 0 32px; max-width: 32em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 8px 22px;
  border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff;
  text-align: center; line-height: 1.25; }
.btn.primary { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:not(.primary) { opacity: .75; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 8px; color: var(--hero-muted); font-size: 15px; }
.trust li { display: flex; gap: 10px; align-items: center; }
.trust li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(46, 158, 91, .2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2357D18A' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Two phones, the front one rising out of the hero, and a live alert floating beside them */
.hero-art { position: relative; height: 600px; align-self: end; }
.hero-art::before { /* the amber signal, faintly, behind the phones */
  content: ""; position: absolute; left: 50%; top: 40px; width: 620px; height: 620px; margin-left: -310px; border-radius: 50%;
  border: 2px solid rgba(242, 169, 0, .16); box-shadow: 0 0 0 70px rgba(242, 169, 0, .045), 0 0 0 140px rgba(242, 169, 0, .025);
}
.hero-art .phone { position: absolute; }
.hero-art .front { width: 300px; left: 50%; margin-left: -120px; top: 10px; z-index: 2; }
.hero-art .back { width: 260px; left: 50%; margin-left: -250px; top: 90px; transform: rotate(-6deg); opacity: .9; }
.toast { position: absolute; z-index: 3; left: -24px; bottom: 96px; display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px;
  background: rgba(255, 255, 255, .96); color: var(--text); border-radius: 18px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); max-width: 260px; }
.toast img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; flex: none; }
.toast b { display: block; font-size: 15px; }
.toast span { font-size: 13px; color: var(--green); font-weight: 600; }
@media (prefers-color-scheme: dark) { .toast { background: rgba(16, 22, 31, .96); } }

/* A real screenshot in a phone frame */
.phone { margin: 0; justify-self: center; width: 300px; padding: 9px; border-radius: 48px; background: #0d1117;
  box-shadow: 0 0 0 2px #2a3240, 0 40px 80px rgba(0, 0, 0, .35); }
.phone img { display: block; width: 100%; height: auto; border-radius: 39px; }

/* Section basics */
section h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.8px; line-height: 1.12; margin: 10px 0 14px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--navy); }
.kicker.red { color: var(--red); }
@media (prefers-color-scheme: dark) { .kicker { color: var(--amber); } .kicker.red { color: #ff5a5f; } }
.sub { color: var(--muted); font-size: 18px; margin: 0; max-width: 38em; }

/* Example alerts with photos */
.live { padding: 88px 0 40px; }
.live-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.example { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); border: 1px dashed var(--line); padding: 6px 12px; border-radius: 99px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(11, 26, 46, .06), 0 18px 40px rgba(11, 26, 46, .14); }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: #111; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .3px;
  color: #fff; background: rgba(11, 37, 69, .85); backdrop-filter: blur(6px); }
.tag.red { background: rgba(215, 25, 31, .92); }
.tag.amber { background: rgba(242, 169, 0, .95); color: var(--navy-deep); }
.card-body { padding: 16px 16px 18px; display: grid; gap: 8px; align-content: start; flex: 1; }
.card-text { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.35; }
.card-meta { margin: 0; color: var(--muted); font-size: 13px; }
.state { justify-self: start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; margin-top: 2px; }
.state.verified { color: #1E7A45; background: rgba(46, 158, 91, .14); }
.state.nearby { color: var(--blue); background: rgba(31, 95, 191, .12); }
.state.unverified { color: var(--muted); background: rgba(91, 102, 118, .12); }
@media (prefers-color-scheme: dark) {
  .state.verified { color: #57D18A; } .state.nearby { color: #7FA8F0; }
}

/* Real screens, each with what it does */
.story { padding: 72px 24px 24px; display: grid; gap: 96px; }
.story .row { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
.story .row.flip { grid-template-columns: 1fr 340px; }
.story .row.flip .phone { order: 2; }
.story p { color: var(--muted); font-size: 18px; margin: 0 0 20px; max-width: 34em; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.points li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(46, 158, 91, .15)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232E9E5B' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.mini-steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--muted); }
.mini-steps li b { color: var(--text); }
.mini-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; }
@media (prefers-color-scheme: dark) { .mini-steps li::before { background: var(--amber); color: var(--navy-deep); } }
.modes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.modes span { padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }

/* How a report becomes trusted */
.checked { margin-top: 72px; padding: 72px 0; background: var(--surface); border-block: 1px solid var(--line); }
.checked h2 { max-width: 20em; margin-bottom: 32px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.steps li { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.steps b { display: block; font-size: 18px; margin-top: 14px; }
.steps p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 99px; }
.badge.grey { color: var(--muted); background: rgba(91, 102, 118, .12); }
.badge.blue { color: var(--blue); background: rgba(31, 95, 191, .12); }
.badge.green { color: #1E7A45; background: rgba(46, 158, 91, .14); }
@media (prefers-color-scheme: dark) { .badge.blue { color: #7FA8F0; } .badge.green { color: #57D18A; } }

/* Closing call to action, back on navy */
.cta-band { margin-top: 96px; background: linear-gradient(180deg, #143A6B 0%, #0B2545 55%, #071426 100%); color: #fff; }
.cta { text-align: center; padding: 72px 24px 80px; display: grid; justify-items: center; }
.cta h2 { max-width: 18em; }
.logo.big { width: 84px; height: 84px; padding: 8px; margin-bottom: 18px; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.cta-sub { color: var(--hero-muted); margin: 0 0 26px; }
.cta .stores { justify-content: center; }

/* Footer */
.foot { padding: 28px 24px 40px; color: var(--muted); font-size: 14px; }
.foot .danger { font-weight: 600; color: var(--text); margin: 0 0 6px; }
.foot .small { margin: 0 0 4px; }
.foot .credit { font-size: 12px; }

/* Tablets and phones */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-art { height: 520px; }
  .story .row, .story .row.flip { grid-template-columns: 1fr; gap: 32px; }
  .story .row.flip .phone { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .live-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .cta { padding: 56px 16px 64px; }
  nav a:not(.lang) { display: none; }
  .hero { padding: 104px 0 0; }
  .lede { font-size: 17px; }
  .stores { flex-direction: column; }
  .btn { width: 100%; }
  .hero-art { height: 470px; }
  .hero-art::before { width: 440px; height: 440px; margin-left: -220px; }
  .hero-art .front { width: 240px; margin-left: -90px; }
  .hero-art .back { width: 200px; margin-left: -190px; top: 70px; }
  .toast { left: 0; bottom: 48px; max-width: none; white-space: nowrap; padding: 8px 14px 8px 8px; }
  .toast img { width: 44px; height: 44px; }
  .toast b { font-size: 14px; }
  /* A row to swipe through, the next card peeking in */
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card:hover { transform: none; }
  .phone { width: 260px; }
  .live { padding-top: 64px; }
  .story { padding: 56px 16px 16px; gap: 64px; }
  .story p { font-size: 16px; }
  .checked { padding: 56px 0; }
  .cta-band { margin-top: 64px; }
}
