/* ───────────────────────────────────────────────────────────────
   BBook — marketing site design system
   Palette · type scale · 8px spacing · components · sections
   ─────────────────────────────────────────────────────────────── */

:root {
  --navy: #101828;
  --navy-800: #1d2939;
  --navy-700: #344054;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --lime: #FFD400;
  --lime-dark: #E6BF00;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #101828;
  --muted: #667085;
  --border: #e4e7ec;
  --border-dark: rgba(255, 255, 255, 0.1);
  --muted-dark: #98a2b3;

  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 16px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 16px 48px rgba(16, 24, 40, 0.16);

  --container: 1200px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }

.h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.h-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .h-eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 16px; }

.on-dark .h-eyebrow { color: var(--lime); }
.on-dark h2 { color: #fff; }
.on-dark .section-head p { color: var(--muted-dark); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15.5px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 2px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35); }
.btn-primary:hover { background: var(--blue-dark); }

.btn-lime { background: var(--lime); color: var(--navy); box-shadow: 0 4px 14px rgba(255, 212, 0, 0.3); }
.btn-lime:hover { background: var(--lime-dark); }

.btn-ghost { border-color: var(--border); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--navy-700); }

.btn-ghost-dark { border-color: rgba(255, 255, 255, 0.25); color: #fff; background: transparent; }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── Navigation ── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav .container { display: flex; align-items: center; gap: 32px; width: 100%; }

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 21px; color: #fff; transition: color 0.25s ease; }
.nav.scrolled .brand { color: var(--navy); }

.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--lime);
  display: grid;
  place-items: center;
  flex: none;
}
.brand-mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -0.4px;
  color: var(--navy);
}

.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.85); transition: color 0.15s ease; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: var(--muted); }
.nav.scrolled .nav-links a:hover { color: var(--navy); }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  place-items: center;
  color: #fff;
}
.nav.scrolled .nav-burger, .nav.menu-open .nav-burger { color: var(--navy); }
.nav-burger svg { width: 26px; height: 26px; }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px 24px;
  z-index: 99;
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 4px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.nav-mobile .btn { width: 100%; margin-top: 16px; }
.nav.menu-open { background: #fff; border-bottom-color: var(--border); }
.nav.menu-open .brand { color: var(--navy); }

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: calc(var(--nav-h) + 72px) 0 112px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 65%);
  top: -160px; right: -120px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-dark);
  margin-bottom: 28px;
}
.hero-badge svg { width: 15px; height: 15px; stroke: var(--lime); }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  font-weight: 800;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--lime); }

.hero-sub { font-size: 18px; color: var(--muted-dark); max-width: 540px; margin-bottom: 20px; }
.hero-sub strong { color: #fff; font-weight: 600; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #cfe0ff;
}
.hero-chips svg { width: 14px; height: 14px; stroke: var(--lime); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero visual: route scene + floating app mockup */
.hero-visual { position: relative; min-height: 480px; }

.route-scene { position: absolute; inset: 0; }
.route-scene svg { width: 100%; height: 100%; }

.phone-card {
  position: relative;
  width: min(340px, 88%);
  margin-left: auto;
  background: #fff;
  color: var(--text);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  border: 1px solid var(--border);
}
.phone-card .pc-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.pc-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.25); }

.pc-rider { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pc-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-head);
  flex: none;
}
.pc-rider .name { font-weight: 700; font-size: 15.5px; }
.pc-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  padding: 2px 9px;
  border-radius: 999px;
  margin-top: 3px;
}
.pc-verified svg { width: 12px; height: 12px; }

.pc-rows { border-top: 1px solid var(--border); padding-top: 14px; display: grid; gap: 10px; margin-bottom: 18px; }
.pc-row { display: flex; justify-content: space-between; font-size: 13.5px; }
.pc-row .k { color: var(--muted); display: flex; align-items: center; gap: 7px; }
.pc-row .k svg { width: 14px; height: 14px; stroke: var(--muted); }
.pc-row .v { font-weight: 600; }
.pc-row .v.lime-pill { background: rgba(255, 212, 0, 0.35); padding: 1px 10px; border-radius: 999px; font-weight: 700; }

.pc-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pc-btn svg { width: 16px; height: 16px; }
.pc-note { text-align: center; font-size: 11px; color: var(--muted); margin-top: 12px; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.float-chip .ic svg { width: 18px; height: 18px; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }

.chip-notify { top: 2%; left: -4%; animation-delay: 0.8s; }
.chip-notify .ic { background: rgba(37, 99, 235, 0.12); }
.chip-notify .ic svg { stroke: var(--blue); }

.chip-distance { bottom: 4%; left: 2%; }
.chip-distance .ic { background: rgba(255, 212, 0, 0.4); }
.chip-distance .ic svg { stroke: var(--navy); }
.chip-distance .big { font-size: 16px; font-weight: 800; font-family: var(--font-head); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ── Problem cards ── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.p-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.p-card .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.p-card .ic svg { width: 23px; height: 23px; stroke: var(--lime); }
.p-card h3 { font-size: 19px; margin-bottom: 10px; }
.p-card p { color: var(--muted); font-size: 15px; }

.problem-hook {
  margin-top: 56px;
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--navy);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.problem-hook .accent { background: linear-gradient(transparent 62%, rgba(255, 212, 0, 0.7) 62%); }

/* ── Solution comparison ── */
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }

.sol-card { border-radius: var(--r-xl); padding: 40px 36px; }
.sol-card h3 { font-size: 21px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.sol-card li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 15.5px; }
.sol-card li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; }

.sol-old { background: var(--card); border: 1px solid var(--border); color: var(--muted); }
.sol-old h3 { color: var(--navy-700); }
.sol-old li svg { stroke: #d92d20; }

.sol-new { background: var(--navy); color: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.sol-new::after {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.22), transparent 70%);
  bottom: -90px; right: -70px;
}
.sol-new h3 { color: #fff; }
.sol-new h3 .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; background: var(--lime); color: var(--navy); padding: 3px 10px; border-radius: 999px; }
.sol-new li svg { stroke: var(--lime); }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 9%;
  right: 9%;
  border-top: 2px dashed var(--border);
  z-index: 0;
}

.step { position: relative; z-index: 1; }
.step .num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--bg);
}
.step h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.step h3 svg { width: 19px; height: 19px; stroke: var(--blue); flex: none; }
.step li { font-size: 14.5px; color: var(--muted); padding: 4px 0 4px 18px; position: relative; }
.step li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 2px; background: var(--lime); }

/* ── Features ── */
#features { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.f-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.f-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d0d5dd; }
.f-card .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.f-card .ic svg { width: 22px; height: 22px; stroke: var(--blue); }
.f-card h3 { font-size: 17.5px; margin-bottom: 4px; }
.f-card .f-tag { font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.f-card p, .f-card li { color: var(--muted); font-size: 14.5px; }
.f-card ul { margin-top: 4px; }
.f-card li { padding: 3.5px 0 3.5px 20px; position: relative; }
.f-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 12px;
  background: var(--lime);
  border-radius: 50%;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
  background: var(--blue);
}

.f-card .role { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-700); margin-top: 12px; }

/* live distance demo inside feature 4 */
.dist-demo {
  margin-top: auto;
  padding-top: 18px;
}
.dist-demo .screen {
  background: var(--navy);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.dist-demo .lbl { color: var(--muted-dark); font-size: 11.5px; }
.dist-demo .val {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  color: var(--lime);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

/* ── Safety ── */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.safe-list { display: grid; gap: 14px; }
.safe-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.safe-item .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 212, 0, 0.35);
  display: grid;
  place-items: center;
  flex: none;
}
.safe-item .ic svg { width: 19px; height: 19px; stroke: var(--navy); }
.safe-item b { display: block; font-size: 15px; font-family: var(--font-head); }
.safe-item span { font-size: 13.5px; color: var(--muted); }

.verify-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}
.verify-mock .shield {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--navy);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.verify-mock .shield svg { width: 32px; height: 32px; stroke: var(--lime); }
.verify-mock h3 { text-align: center; font-size: 18px; margin-bottom: 4px; }
.verify-mock .sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.verify-steps { display: grid; gap: 0; }
.verify-step { display: flex; gap: 14px; padding: 10px 0; position: relative; }
.verify-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px; top: 40px; bottom: -4px;
  border-left: 2px dashed var(--border);
}
.verify-step .ball {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: grid;
  place-items: center;
  flex: none;
  z-index: 1;
}
.verify-step .ball svg { width: 15px; height: 15px; stroke: var(--blue); }
.verify-step.done .ball { background: var(--lime); }
.verify-step.done .ball svg { stroke: var(--navy); }
.verify-step b { font-size: 14px; display: block; }
.verify-step span { font-size: 12.5px; color: var(--muted); }

/* ── Comparison table ── */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 18px 24px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.cmp thead th { font-family: var(--font-head); font-size: 15.5px; background: var(--bg); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:first-child { color: var(--muted); font-weight: 600; width: 26%; }
.cmp .col-bb { background: var(--navy); color: #fff; font-weight: 600; }
.cmp thead .col-bb { display: flex; align-items: center; gap: 8px; background: var(--navy); color: var(--lime); }
.cmp thead th.col-bb { display: table-cell; }
.cmp thead th.col-bb .inner { display: flex; align-items: center; gap: 8px; color: #fff; }
.cmp thead th.col-bb .inner .mark { width: 24px; height: 24px; border-radius: 7px; background: var(--lime); display: grid; place-items: center; }
.cmp thead th.col-bb .inner .mark svg { width: 14px; height: 14px; stroke: var(--navy); }
.cmp td.col-bb { position: relative; }
.cmp td.col-bb svg { width: 15px; height: 15px; stroke: var(--lime); display: inline-block; vertical-align: -2px; margin-right: 7px; }

/* ── Impact ── */
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.impact-list { display: grid; gap: 12px; }
.impact-item { display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 600; }
.impact-item .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 212, 0, 0.35);
  display: grid;
  place-items: center;
  flex: none;
}
.impact-item .ic svg { width: 19px; height: 19px; stroke: var(--navy); }
.impact-visual svg { width: 100%; height: auto; }

/* ── Investors ── */
#investors { background: var(--navy); position: relative; overflow: hidden; }
#investors .hero-grid-bg { mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.pillar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pillar:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-4px); }
.pillar .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 212, 0, 0.16);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.pillar .ic svg { width: 21px; height: 21px; stroke: var(--lime); }
.pillar h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.pillar p { color: var(--muted-dark); font-size: 14px; }

.inv-cta { margin-top: 56px; text-align: center; position: relative; }
.inv-cta p { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 20px; }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq[open] { box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 19px; height: 19px; stroke: var(--muted); flex: none; transition: transform 0.25s ease; }
.faq[open] summary svg { transform: rotate(180deg); stroke: var(--blue); }
.faq .faq-a { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* ── Waitlist / final CTA ── */
#waitlist { background: var(--navy); position: relative; overflow: hidden; }

.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.wl-copy h2 { color: #fff; font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-bottom: 20px; }
.wl-copy p { color: var(--muted-dark); font-size: 17px; max-width: 480px; }
.wl-points { margin-top: 28px; display: grid; gap: 12px; }
.wl-points li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, 0.9); font-size: 15px; font-weight: 500; }
.wl-points svg { width: 18px; height: 18px; stroke: var(--lime); flex: none; }

.wl-form {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.wl-form h3 { font-size: 21px; margin-bottom: 6px; }
.wl-form .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.field .err { display: none; color: #d92d20; font-size: 12.5px; margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d92d20; }
.field.invalid .err { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.wl-form .btn { width: 100%; margin-top: 8px; }
.form-msg { display: none; margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; border-radius: 10px; padding: 12px; }
.form-msg.ok { display: block; background: #ecfdf3; color: #15803d; border: 1px solid #abefc6; }
.form-msg.bad { display: block; background: #fef3f2; color: #d92d20; border: 1px solid #fecdca; }

.wl-success { text-align: center; padding: 32px 0; }
.wl-success .ic {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.wl-success .ic svg { width: 30px; height: 30px; stroke: var(--navy); }
.wl-success h3 { margin-bottom: 8px; }
.wl-success p { color: var(--muted); font-size: 15px; }

/* ── Footer ── */
.footer { background: #0b1220; color: var(--muted-dark); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-desc { font-size: 14.5px; max-width: 360px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--muted-dark); transition: color 0.15s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { min-height: 0; }
  .phone-card { margin: 0 auto; }
  .chip-notify { left: 0; }
  .chip-distance { left: 4%; bottom: -6%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .safety-grid, .impact-grid, .wl-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta .btn-ghost-dark, .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-lime { display: none; }
  .nav-burger { display: grid; }
  .cards-3, .solution-grid, .steps, .feat-grid, .pillars { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 80px; }
  .hero-ctas .btn { width: 100%; }
  .wl-form { padding: 28px 22px; }
  .float-chip { position: static; margin: 14px auto 0; width: fit-content; animation: none; }
  .hero-visual { display: flex; flex-direction: column; }
}

.field textarea { resize: vertical; min-height: 96px; font-family: inherit; }

/* ───────────────────────────────────────────────────────────────
   APPENDED BLOCK — shared with the legal pages
   1. Footer with a fourth "Legal" column.
   2. Storage-preference bar (markup in index.html, logic in legal.js).
   Nothing above this comment was changed.
   ─────────────────────────────────────────────────────────────── */

.footer-grid.has-legal { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }

@media (max-width: 1024px) {
  .footer-grid.has-legal { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .footer-grid.has-legal { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Storage-preference bar ── */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cookie-bar.is-in { opacity: 1; transform: none; }
.cookie-bar[hidden] { display: none; }

.cookie-bar .cookie-ic {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(255, 212, 0, 0.35);
  display: grid;
  place-items: center;
  flex: none;
}
.cookie-bar .cookie-ic svg { width: 20px; height: 20px; stroke: var(--navy); }

.cookie-bar .cookie-text { flex: 1 1 320px; font-size: 13.5px; color: var(--muted); }
.cookie-bar .cookie-text b { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--navy); margin-bottom: 2px; }
.cookie-bar .cookie-text a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.cookie-bar .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; margin-left: auto; }
.cookie-bar .cookie-actions .btn { padding: 10px 18px; font-size: 14px; }

@media (max-width: 600px) {
  .cookie-bar { gap: 12px; padding: 16px; }
  .cookie-bar .cookie-actions { width: 100%; margin-left: 0; }
  .cookie-bar .cookie-actions .btn { flex: 1 1 0; }
}
