:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --border: #e2e8f0;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --footer: #020617;
  --radius: 24px;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
}
.nav { display: flex; gap: 24px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background .2s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -8px rgba(37,99,235,.45); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-soft); }

/* Hero */
.hero { position: relative; padding: 72px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .45;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}
.hero .container { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero { padding: 104px 0 112px; } .hero .container { grid-template-columns: 7fr 5fr; gap: 40px; } }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid #dbeafe; color: var(--brand-dark); font-size: 12px; font-weight: 700;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -.03em; margin: 24px 0 0; font-weight: 800; }
.hero h1 span { color: var(--brand); }
.hero p.lead { margin: 24px 0 0; font-size: 18px; color: var(--muted); max-width: 580px; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.stores { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.stores .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--subtle); }
.stores img, .store-badge img { height: 40px; width: auto; }

.stats {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(15,23,42,.12);
}
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--subtle); }
.stats .total { margin-top: 8px; font-size: clamp(40px, 7vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stats .sub { margin-top: 6px; font-size: 14px; color: var(--muted); }
.stats ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.stats li { display: flex; align-items: center; gap: 12px; }
.stats li img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); }
.stats .row { flex: 1; min-width: 0; }
.stats .row-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; }
.bar { margin-top: 6px; height: 6px; border-radius: 999px; background: #dbeafe; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.divider { margin-top: 24px; padding-top: 24px; border-top: 1px solid #f1f5f9; }
.stats .asof { margin-top: 24px; font-size: 12px; color: var(--subtle); }

/* Sections */
section.block { padding: 88px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .kicker { color: var(--brand); font-weight: 700; font-size: 14px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.02em; line-height: 1.2; margin: 10px 0 0; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 16px 0 0; }

.grid-2 { display: grid; gap: 24px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 20px 40px -20px rgba(15,23,42,.18); transform: translateY(-2px); }
.card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card .icon { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--border); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tag { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f1f5f9; color: var(--muted); }
.tag.new { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.card h3 { margin: 24px 0 0; font-size: 24px; letter-spacing: -.02em; font-weight: 800; }
.card .tagline { margin: 4px 0 0; font-weight: 600; }
.card .desc { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.card ul.features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 14px; }
.card ul.features li { display: flex; gap: 10px; }
.card ul.features li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--brand)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.1 13.6 4.5 10l1.1-1.1 2.5 2.5 6.3-6.3 1.1 1.1z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.card .foot {
  margin-top: auto; padding-top: 24px;
}
.card .foot-inner { padding-top: 20px; border-top: 1px solid #f1f5f9; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.card .dl strong { display: block; font-size: 20px; font-weight: 800; }
.card .dl span { font-size: 12px; color: var(--subtle); }
.store-row { display: flex; gap: 8px; flex-wrap: wrap; }
.store-badge { display: inline-block; border-radius: 8px; transition: opacity .2s; }
.store-badge:hover { opacity: .8; }

.pillar { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.pillar h3 { margin: 0; font-size: 16px; font-weight: 800; }
.pillar p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.step-no { color: var(--brand); font-weight: 800; font-size: 14px; }

.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { margin: 0; font-size: 16px; }
.contact-card p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.contact-card .value { margin-top: 14px; font-size: 17px; font-weight: 700; color: var(--text); word-break: break-word; }

/* Footer */
footer.site { background: var(--footer); color: #94a3b8; padding: 64px 0 40px; font-size: 14px; }
footer.site .cols { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1e293b; }
@media (min-width: 768px) { footer.site .cols { grid-template-columns: 2fr 1fr 1fr; } }
footer.site h4 { color: #fff; margin: 0 0 14px; font-size: 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer.site a { color: #cbd5e1; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .brand { color: #fff; }
footer.site .bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; color: #64748b; }

/* Legal pages */
.legal { padding: 48px 0 88px; background: var(--bg-soft); }
.legal .paper {
  max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 20px;
}
@media (min-width: 640px) { .legal .paper { padding: 48px; } }
.legal .paper-head { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.legal .paper-head img { width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--border); }
.legal .paper-head .kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.legal h1 { margin: 0; font-size: clamp(24px, 4vw, 32px); letter-spacing: -.02em; line-height: 1.2; }
.prose { color: #334155; font-size: 16px; }
.prose h2, .prose h3 { color: var(--text); font-size: 18px; margin: 32px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin: 4px 0; }
.prose .disclaimer { text-align: center; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 12px 16px; }
.prose .center { text-align: center; }
