:root {
  --blue: #1f6feb;
  --blue-dark: #1558c7;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f5f8fc;
  --card: #ffffff;
  --radius: 16px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8edf5;
    --muted: #9aa8bc;
    --line: #243044;
    --bg: #0b1220;
    --soft: #111a2c;
    --card: #131d31;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.top a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav.top a:hover { color: var(--ink); }
@media (max-width: 640px) { nav.top a.hide-sm { display: none; } }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 span { color: var(--blue); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; transition: transform .1s, background .2s;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); color: #fff; }
.btn.ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn.ghost:hover { border-color: var(--muted); color: var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { display: block; font-weight: 500; font-size: 12px; opacity: .8; line-height: 1.1; }
.btn .two { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.soon { cursor: default; opacity: .75; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; letter-spacing: -0.01em; text-align: center; }
p.sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 44px; font-size: 17px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue);
}
.icon svg { width: 24px; height: 24px; }

.apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.apps span { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }

details { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 16px 20px; margin: 0 auto 12px; max-width: 760px; }
details summary { cursor: pointer; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Legal / text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; letter-spacing: -0.01em; }
.doc .date { color: var(--muted); margin: 0 0 32px; }
.doc h2 { text-align: left; font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc .summary { background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; padding: 16px 20px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.doc code { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .92em; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer.site nav a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer.site nav a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- Home page */
.home header.site { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .25s, border-color .25s; }
.home header.site .brand, .home header.site nav.top a { color: #fff; }
.home header.site nav.top a { opacity: .85; }
.home header.site nav.top a:hover { opacity: 1; color: #fff; }
.home header.site.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom-color: var(--line); }
.home header.site.scrolled .brand, .home header.site.scrolled nav.top a { color: var(--ink); }
.home header.site.scrolled nav.top a { color: var(--muted); opacity: 1; }

.home .hero {
  position: relative; overflow: hidden; text-align: left; color: #fff;
  padding: 136px 0 72px;
  background: #1f6feb url(/img/hero-bg.jpg) center / cover no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: center; max-width: 1200px; }
.home .hero h1 { font-size: clamp(36px, 5.2vw, 62px); letter-spacing: -0.025em; margin: 0 0 20px; }
.home .hero h1 span { color: #fff; background: linear-gradient(90deg, #ffffff, #8fe9ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home .hero p.lead { color: #dbe7ff; margin: 0 0 30px; max-width: 520px; }
.home .hero .ctas { justify-content: flex-start; }
.home .hero .note { color: #b9cdf5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff;
}
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 3px #fff; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 3px #fff, 0 0 0 8px rgba(255,59,48,.25); } }
@media (prefers-reduced-motion: reduce) { .eyebrow .dot { animation: none; } }
.home .btn.primary { background: #fff; color: #0b3aa8; box-shadow: 0 10px 30px rgba(2,10,46,.25); }
.home .btn.primary:hover { background: #eef4ff; color: #0b3aa8; }
.home .hero .btn.ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.hero-art img { width: 115%; max-width: none; height: auto; display: block; margin-right: -15%; filter: drop-shadow(0 30px 40px rgba(2,10,46,.25)); }
@media (max-width: 900px) {
  .home .hero { padding: 112px 0 40px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .home .hero p.lead { margin-left: auto; margin-right: auto; }
  .home .hero .ctas { justify-content: center; }
  .hero-art img { width: 100%; margin: 0; }
}

.stats { background: #0a2a7a; color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 22px; padding-bottom: 22px; }
.stats div { text-align: center; }
.stats b { display: block; font-size: 24px; letter-spacing: -0.01em; }
.stats span { font-size: 14px; color: #a9c2f2; }
@media (max-width: 640px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } }

.kicker { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--blue); margin: 0 0 10px; }
.feature { transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.10); }
.art-icon { width: 72px; height: 72px; display: block; filter: drop-shadow(0 8px 14px rgba(31,111,235,.30)); }

.steps { counter-reset: s; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { padding: 0; overflow: hidden; position: relative; }
.step img { width: 100%; height: auto; display: block; }
.step-body { padding: 20px 24px 24px; }
.step h3 { margin-top: 0; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--blue); display: grid; place-items: center; font-weight: 800;
  box-shadow: 0 4px 12px rgba(2,10,46,.25);
}
.apps-title { margin: 48px auto 8px !important; }

.privacy { background: radial-gradient(120% 140% at 20% 30%, #12348f 0%, #071a52 55%, #040d2e 100%); color: #fff; }
.privacy-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; max-width: 960px; }
.privacy-grid img { width: 100%; height: auto; max-width: 400px; justify-self: center; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.privacy .kicker, .privacy h2 { text-align: left; }
.privacy .kicker { color: #7fe6ff; }
.privacy p { color: #c4d4f5; font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.checks li { padding: 6px 14px 6px 32px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 14px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 9px; height: 5px; border: solid #7fe6ff; border-width: 0 0 2px 2px; transform: translateY(-70%) rotate(-45deg); }
.privacy a.more { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  .privacy-grid { grid-template-columns: 1fr; text-align: center; }
  .privacy-grid img { max-width: 260px; }
  .privacy .kicker, .privacy h2 { text-align: center; }
  .checks { justify-content: center; }
}

.cta-band { text-align: center; color: #fff; background: #1f6feb url(/img/hero-bg.jpg) center / cover; }
.cta-band img { width: 96px; height: 96px; border-radius: 22px; filter: drop-shadow(0 14px 24px rgba(2,10,46,.35)); }
.cta-band h2 { margin-top: 18px; }
.cta-band p { color: #dbe7ff; margin: 0 0 26px; font-size: 18px; }

/* Store badges (Google Play badge style: black, grey hairline border, full-colour logo) */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 16px;
  background: #000; color: #fff; border: 1.5px solid #a6a6a6; border-radius: 12px;
  text-decoration: none; font-family: "Google Sans", "Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 10px 28px rgba(2,10,46,.28); transition: transform .12s, box-shadow .2s;
}
.store-badge:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(2,10,46,.36); }
.store-badge:active { transform: translateY(0); }
.store-badge .two { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: .06em; margin-bottom: 4px; }
.store-badge .two { font-size: 23px; font-weight: 500; letter-spacing: -0.01em; }
.store-badge .play-logo { width: 30px; height: 32px; flex: none; }
.store-badge svg { width: 30px; height: 30px; flex: none; }
.store-badge.soon { cursor: default; opacity: .7; box-shadow: none; }
.store-badge.soon:hover { transform: none; }
.store-badge.soon .two { font-size: 20px; }
