/* ─── Design Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:        #F6F1EA;
  --bg-soft:   #FBF8F2;
  --ink:       #1B1817;
  --ink-2:     #231F20;
  --ink-dim:   rgba(27,24,23,0.62);
  --ink-faint: rgba(27,24,23,0.40);
  --line:      rgba(27,24,23,0.10);
  --chip:      rgba(27,24,23,0.05);

  --peach:     #FFE0CF;  --peach-ink:     #7A3E1E;
  --butter:    #FFF2CF;  --butter-ink:    #7A5E10;
  --periwinkle:#D6E1FF;  --periwinkle-ink:#1F347E;
  --pink:      #FCB3C5;  --pink-ink:      #82203A;
  --sky:       #BCE2FE;  --sky-ink:       #0F4F7A;
  --mint:      #C6EFDD;  --mint-ink:      #1F5C3E;
  --gold:      #FFD27A;

  --display: "Manrope", "Inter", system-ui, sans-serif;
  --mono:    "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  --radius-card: 28px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.wrap   { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px;  margin: 0 auto; padding: 0 28px; }
@media (max-width: 540px) { .wrap, .narrow { padding: 0 18px; } }

/* ─── Typography ─────────────────────────────────────────────────────── */
.h1 { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: 0.96; letter-spacing: -2.4px; margin: 0; }
.h2 { font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -1.4px; margin: 0; }
.h3 { font-weight: 800; font-size: 22px; letter-spacing: -0.4px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--ink-dim); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 4px; background: var(--gold); display: inline-block; }
.body-text { font-size: 17px; line-height: 1.55; color: var(--ink-dim); }
@media (max-width: 540px) { .body-text { font-size: 15px; } }
.mono { font-family: var(--mono); }
.ic { display: inline-block; vertical-align: middle; }

/* ─── Wordmark ─────────────────────────────────────────────────────── */
.wordmark { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 800; letter-spacing: -0.5px; color: var(--ink); }
.wordmark .bills { opacity: 0.45; }
.wordmark .dot { width: 7px; height: 7px; border-radius: 4px; background: var(--gold); display: inline-block; margin-left: 4px; align-self: center; transform: translateY(-2px); }
.wordmark.lg { font-size: 28px; }
.wordmark.inv { color: #F6F4EF; }

/* ─── Buttons ──────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14.5px; border: 0; cursor: pointer; transition: transform .12s, background .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--chip); }
.btn-inv { background: #F6F4EF; color: var(--ink-2); }
.btn-inv:hover { background: #fff; }
.btn-inv-ghost { background: rgba(255,255,255,0.08); color: #F6F4EF; border: 1px solid rgba(255,255,255,0.16); }

.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); transition: background .15s; }
.store-btn:hover { background: #000; }
.store-btn .label { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-btn .label .top { font-size: 10.5px; font-weight: 600; opacity: 0.7; letter-spacing: 0.3px; }
.store-btn .label .name { font-size: 16px; font-weight: 800; letter-spacing: -0.2px; }

/* ─── Nav ──────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,241,234,0.72); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--ink-dim); display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.new-dot { width: 7px; height: 7px; border-radius: 4px; background: var(--gold); display: inline-block; box-shadow: 0 0 0 4px rgba(255,210,122,0.25); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: 0.7; } }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* hamburger — inline dropdown pattern (matches design) */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 12px; background: var(--chip); border: 0; cursor: pointer; padding: 0 11px; }
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .22s, opacity .18s; }
.nav-burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.on span:nth-child(2) { opacity: 0; }
.nav-burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drop menu — attached to header, not full-screen overlay */
.nav-mobile { display: none; flex-direction: column; gap: 2px; padding: 8px 28px 20px; border-top: 1px solid var(--line); background: rgba(246,241,234,0.96); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); }
.nav-mobile.on { display: flex; }
.nav-mobile a { font-size: 16px; font-weight: 700; color: var(--ink); padding: 12px 4px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile-cta { display: flex; gap: 10px; margin-top: 14px; }
.nav-mobile-cta .btn { flex: 1; padding: 14px; border-bottom: 0; }
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-signin { display: none !important; }
  .nav-inner { height: 64px; }
  .wordmark.lg { font-size: 24px; }
}
@media (max-width: 420px) {
  .nav-getapp { display: none; }
  .wordmark.lg { font-size: 22px; }
  .wordmark .dot { width: 5px; height: 5px; margin-left: 2px; }
}

/* ─── Page sections ─────────────────────────────────────────────────── */
section { padding: 96px 0; }
section.tight { padding: 32px 0; }
@media (max-width: 720px) { section { padding: 72px 0; } section.tight { padding: 24px 0; } }
@media (max-width: 640px) { section { padding: 56px 0; } section.tight { padding: 18px 0; } }
.divider { border: 0; height: 1px; background: var(--line); margin: 0; }

.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2 { margin-top: 14px; }
.sec-head p { margin-top: 18px; font-size: 18px; line-height: 1.5; color: var(--ink-dim); max-width: 580px; }
@media (max-width: 540px) { .sec-head { margin-bottom: 32px; } .sec-head p { font-size: 16px; } }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 540px) { .hero { padding: 32px 0 24px; } .hero-grid { gap: 20px; } }

.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; background: var(--peach); color: var(--peach-ink); border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; }
.hero-tag .bubble { background: var(--ink-2); color: var(--peach); padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; }
@media (max-width: 540px) { .hero-tag { font-size: 11.5px; gap: 6px; padding: 5px 10px 5px 5px; } .hero-tag .bubble { font-size: 10px; padding: 3px 8px; } }
.hero-sub { max-width: 540px; margin-top: 22px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-dim); line-height: 1.5; }
@media (max-width: 540px) { .hero-sub { margin-top: 14px; font-size: 15px; } }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 540px) { .hero-cta-row { margin-top: 20px; gap: 8px; } .hero-cta-row .store-btn { padding: 10px 14px; } .hero-cta-row .store-btn .label .name { font-size: 13px; } .hero-cta-row .store-btn .label .top { font-size: 9px; } .hero-cta-row .store-btn svg { width: 18px; height: 18px; } }
.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: var(--ink-dim); }
@media (max-width: 540px) { .hero-meta { margin-top: 18px; gap: 12px; font-size: 11.5px; } }
.hero-meta .item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .item svg { color: var(--mint-ink); }
/* The hero headline is a full sentence, not the three short stabs the old copy
   used, so it can't ride the global .h1 scale — at 96px it overflows its grid
   column and re-wraps on top of the line breaks we set, which is what made it
   look ragged. Sized to fit the column at its widest line instead. */
.hero h1 { font-size: clamp(30px, 4.2vw, 58px); letter-spacing: -1.6px; line-height: 1.04; text-wrap: balance; }
.hero h1 .accent { background: var(--gold); padding: 0 6px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero h1 .stroke { color: var(--peach-ink); font-style: italic; font-weight: 800; }

.hero-art { position: relative; min-height: 580px; display: flex; align-items: center; justify-content: center; }
.hero-art .phone-main { position: relative; z-index: 2; transform: rotate(-3deg); }
.hero-art .phone-side { position: absolute; right: -16px; bottom: 30px; transform: rotate(8deg) scale(0.78); transform-origin: bottom right; z-index: 1; filter: drop-shadow(-12px 18px 30px rgba(0,0,0,0.12)); }
.hero-art .blob-a { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--butter); top: 30px; left: -20px; filter: blur(6px); opacity: 0.7; }
.hero-art .blob-b { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--peach); bottom: 30px; right: 60px; opacity: 0.55; }
@media (max-width: 960px) { .hero-art { min-height: auto; } .hero-art .phone-side { display: none; } .hero-art .phone-main .phone { transform: scale(0.8); } }

.sticker { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.sticker.s-left { top: 60px; left: -18px; transform: rotate(-6deg); }
.sticker.s-right { bottom: 80px; right: -20px; transform: rotate(5deg); background: var(--ink-2); color: #F6F4EF; border-color: transparent; }
.sticker .icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.sticker .meta .t { font-size: 12px; font-weight: 800; }
.sticker .meta .s { font-size: 11px; opacity: 0.6; margin-top: 2px; }
@media (max-width: 1100px) { .sticker { display: none; } }

/* ─── Phone mockup ─────────────────────────────────────────────────── */
.phone { width: 310px; height: 640px; border-radius: 42px; background: var(--ink); padding: 9px; box-shadow: 0 30px 70px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(255,255,255,0.04); position: relative; }
.phone .screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); position: relative; display: flex; flex-direction: column; }
.phone .statusbar { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-size: 11.5px; font-weight: 700; color: inherit; position: relative; flex-shrink: 0; }
.phone .notch { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 12px; background: #0a0a0a; }
.phone .gesture { height: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phone .gesture .pill { width: 100px; height: 3px; border-radius: 2px; background: currentColor; opacity: 0.5; }
.phone .body { flex: 1; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.phone.dark .screen { background: var(--ink-2); color: #F6F4EF; }

/* ─── Phone — Home screen ──────────────────────────────────────────── */
.scr-home { color: #F6F4EF; }
.scr-home .hero-slab { background: var(--ink-2); padding: 10px 18px 22px; border-radius: 0 0 22px 22px; }
.scr-home .topline { display: flex; align-items: center; justify-content: space-between; }
.scr-home .avatar { width: 32px; height: 32px; border-radius: 16px; background: var(--peach); color: var(--peach-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.scr-home .greet { display: flex; align-items: center; gap: 8px; }
.scr-home .greet .meta { line-height: 1.15; }
.scr-home .greet .a { font-size: 10px; opacity: 0.55; }
.scr-home .greet .b { font-size: 12px; font-weight: 700; }
.scr-home .ic-btn { width: 30px; height: 30px; border-radius: 15px; background: rgba(255,255,255,0.07); display: inline-flex; align-items: center; justify-content: center; color: #F6F4EF; }
.scr-home .ic-row { display: flex; gap: 6px; }
.scr-home .wallet-eyebrow { font-size: 9.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; opacity: 0.55; margin-top: 18px; }
.scr-home .balance { font-size: 36px; font-weight: 800; letter-spacing: -1.2px; margin-top: 2px; line-height: 1; }
.scr-home .acct-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); padding: 5px 10px; border-radius: 20px; font-size: 10.5px; font-weight: 700; margin-top: 12px; }
.scr-home .hero-btns { display: flex; gap: 6px; margin-top: 14px; }
.scr-home .hero-btn { flex: 1; padding: 9px 6px; border-radius: 11px; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 4px; background: rgba(255,255,255,0.08); color: #F6F4EF; }
.scr-home .hero-btn.pri { background: #F6F4EF; color: var(--ink-2); }
.scr-home .body-area { padding: 14px 16px 0; color: var(--ink); background: var(--bg); flex: 1; }
.scr-home .sec-label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.scr-home .quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.scr-home .qa { padding: 10px 4px 8px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; }
.scr-home .loan-card { margin-top: 14px; background: var(--ink-2); color: #F6F4EF; padding: 14px; border-radius: 18px; }
.scr-home .loan-card .l-label { font-size: 9.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.55; }
.scr-home .loan-card .l-amt { font-size: 24px; font-weight: 800; letter-spacing: -0.6px; margin-top: 2px; }
.scr-home .loan-card .l-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); margin-top: 10px; overflow: hidden; }
.scr-home .loan-card .l-bar > div { height: 100%; width: 62%; background: var(--gold); }
.scr-home .loan-card .l-meta { display: flex; justify-content: space-between; font-size: 10px; opacity: 0.6; margin-top: 8px; }
.scr-home .loan-card .ontrack { display: inline-block; background: var(--mint); color: var(--mint-ink); font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.scr-home .loan-card .row { display: flex; align-items: center; justify-content: space-between; }

/* ─── Phone — Loan screen ─────────────────────────────────────────── */
.scr-loan { background: var(--bg); color: var(--ink); flex: 1; display: flex; flex-direction: column; }
.scr-loan .topbar { display: flex; align-items: center; padding: 6px 14px 12px; }
.scr-loan .back { width: 30px; height: 30px; border-radius: 15px; background: var(--chip); display: inline-flex; align-items: center; justify-content: center; }
.scr-loan .title { flex: 1; text-align: center; font-size: 13px; font-weight: 800; }
.scr-loan .pad { padding: 0 18px; }
.scr-loan h4 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin: 6px 0 4px; line-height: 1.1; }
.scr-loan .sub { font-size: 12px; color: var(--ink-dim); }
.scr-loan .amt-card { background: var(--ink-2); color: #F6F4EF; border-radius: 22px; padding: 18px; margin-top: 16px; }
.scr-loan .amt-card .l { font-size: 10px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.55; }
.scr-loan .amt-card .v { font-family: var(--mono); font-size: 36px; font-weight: 800; letter-spacing: -0.6px; margin-top: 6px; }
.scr-loan .slider { margin-top: 14px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; position: relative; }
.scr-loan .slider .fill { height: 100%; width: 45%; background: var(--gold); border-radius: 2px; }
.scr-loan .slider .knob { position: absolute; left: 44%; top: -7px; width: 18px; height: 18px; border-radius: 9px; background: #F6F4EF; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.scr-loan .terms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.scr-loan .term { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.scr-loan .term .k { font-size: 10px; color: var(--ink-dim); font-weight: 700; }
.scr-loan .term .v { font-size: 16px; font-weight: 800; margin-top: 2px; font-family: var(--mono); }
.scr-loan .pay-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 12px 14px; background: var(--peach); color: var(--peach-ink); border-radius: 14px; font-size: 12px; font-weight: 700; }
.scr-loan .cta { margin: 14px 0 0; padding: 12px; border-radius: 999px; background: var(--ink); color: var(--bg); text-align: center; font-weight: 800; font-size: 13px; }

/* ─── Phone — Bills screen ────────────────────────────────────────── */
.scr-bills { background: var(--bg); color: var(--ink); flex: 1; display: flex; flex-direction: column; }
.scr-bills .topbar { display: flex; align-items: center; padding: 6px 14px 12px; }
.scr-bills .pad { padding: 0 18px; }
.scr-bills h4 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin: 4px 0 14px; }
.scr-bills .search { background: var(--chip); border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-dim); }
.scr-bills .cat-row { display: flex; gap: 8px; margin: 14px 0 6px; overflow: hidden; }
.scr-bills .cat { padding: 7px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--chip); }
.scr-bills .cat.on { background: var(--ink); color: var(--bg); }
.scr-bills .biller-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.scr-bills .biller { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; }
.scr-bills .biller .mark { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.scr-bills .biller .name { font-size: 10.5px; font-weight: 700; }

/* Biller colours */
.bm-mtn    { background: #FFE76A; color: var(--ink-2); }
.bm-glo    { background: #9EE6B0; color: #11472A; }
.bm-airtel { background: #FFB4B4; color: #7A1F22; }
.bm-9mob   { background: #C7E4FF; color: #0F4F7A; }
.bm-ikedc  { background: var(--peach);      color: var(--peach-ink); }
.bm-ekedc  { background: var(--butter);     color: var(--butter-ink); }
.bm-dstv   { background: var(--ink-2);      color: #FFE76A; }
.bm-gotv   { background: var(--ink-2);      color: #9EE6B0; }
.bm-spect  { background: var(--periwinkle); color: var(--periwinkle-ink); }

/* ─── Trust strip ─────────────────────────────────────────────────── */
.trust-strip { padding: 24px 0 12px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.trust-row .l { font-size: 12px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-dim); }
.trust-row .partners { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; color: var(--ink); font-weight: 800; font-size: 18px; opacity: 0.55; }
.trust-row .partners span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row .partners span::before { content: "•"; opacity: 0.4; margin-right: 8px; font-size: 14px; }
.trust-row .partners span:first-child::before { content: ""; margin: 0; }
@media (max-width: 540px) { .trust-row .partners { gap: 12px; font-size: 14px; } }

/* ─── Feature cards ─────────────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feat-card { grid-column: span 6; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 32px; position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; }
.feat-card.big { grid-column: span 6; min-height: 380px; }
.feat-card.tint-peach { background: var(--peach); color: var(--peach-ink); border-color: transparent; }
.feat-card.tint-butter { background: var(--butter); color: var(--butter-ink); border-color: transparent; }
.feat-card.tint-mint { background: var(--mint); color: var(--mint-ink); border-color: transparent; }
.feat-card.tint-peri { background: var(--periwinkle); color: var(--periwinkle-ink); border-color: transparent; }
.feat-card.tint-dark { background: var(--ink-2); color: #F6F4EF; border-color: transparent; }
.feat-card .badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,0.06); font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; align-self: flex-start; }
.feat-card.tint-dark .badge { background: rgba(255,255,255,0.1); color: var(--gold); }
.feat-card h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.6px; margin: 18px 0 0; line-height: 1.1; }
.feat-card p { font-size: 15px; line-height: 1.5; opacity: 0.78; margin: 12px 0 0; max-width: 380px; }
.feat-card .art { margin-top: auto; padding-top: 24px; }
@media (max-width: 880px) { .feat-card, .feat-card.big { grid-column: span 12; min-height: auto; } }
@media (max-width: 540px) { .feat-card, .feat-card.big { padding: 22px; } .feat-card h3 { font-size: 22px; } .feat-card p { font-size: 14px; } }

.art-credit { display: flex; gap: 8px; flex-wrap: wrap; }
.art-credit .chip-on-credit { background: rgba(0,0,0,0.08); padding: 8px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.feat-card.tint-dark .art-credit .chip-on-credit { background: rgba(255,255,255,0.08); color: #F6F4EF; }
.art-credit .chip-on-credit .dot { width: 8px; height: 8px; border-radius: 5px; background: currentColor; opacity: 0.5; }

.art-data { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.art-data .bundle { background: rgba(0,0,0,0.06); border-radius: 14px; padding: 12px; }
.art-data .bundle .b1 { font-size: 18px; font-weight: 800; letter-spacing: -0.4px; }
.art-data .bundle .b2 { font-size: 11px; opacity: 0.7; margin-top: 2px; }
.art-data .bundle .b3 { font-size: 11px; font-weight: 700; margin-top: 6px; }

.art-billers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 340px; }
.art-billers .b { aspect-ratio: 1; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }

.art-ussd { background: rgba(0,0,0,0.06); border-radius: 16px; padding: 16px; }
.feat-card.tint-dark .art-ussd { background: rgba(255,255,255,0.06); }
.art-ussd .label { font-size: 10px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.6; }
.art-ussd .dial { font-family: var(--mono); font-size: 22px; font-weight: 800; margin-top: 4px; letter-spacing: 1px; }
.art-ussd .note { font-size: 12px; opacity: 0.7; margin-top: 6px; }

/* ─── Steps ─────────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: 30px; position: relative; min-height: 260px; display: flex; flex-direction: column; }
.step .num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink-faint); }
.step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin: 12px 0 0; line-height: 1.15; }
.step p { font-size: 14.5px; line-height: 1.5; color: var(--ink-dim); margin: 12px 0 0; }
.step .art { margin-top: auto; padding-top: 20px; display: flex; align-items: flex-end; }
.step.lit { background: var(--ink-2); color: #F6F4EF; border-color: transparent; }
.step.lit p { color: rgba(246,244,239,0.65); }
.step.lit .num { color: var(--gold); }
@media (max-width: 880px) { .steps-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .step { padding: 22px; min-height: auto; } .step h3 { font-size: 18px; } }

.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; background: var(--chip); }
.tag.peach { background: var(--peach); color: var(--peach-ink); }
.tag.butter { background: var(--butter); color: var(--butter-ink); }
.tag.mint { background: var(--mint); color: var(--mint-ink); }
.tag.peri { background: var(--periwinkle); color: var(--periwinkle-ink); }
.tag.pink { background: var(--pink); color: var(--pink-ink); }

/* ─── Showcase ───────────────────────────────────────────────────────── */
.showcase { background: var(--ink-2); color: #F6F4EF; border-radius: 32px; padding: 64px 32px 0; overflow: hidden; }
.showcase h2 { color: #F6F4EF; }
.showcase .sec-head p { color: rgba(246,244,239,0.7); }
.showcase .reel { display: flex; gap: 36px; padding: 30px 0 0; justify-content: center; flex-wrap: wrap; align-items: flex-end; }
.showcase .reel .phone { transform: translateY(40px); }
.showcase .reel .phone:nth-child(2) { transform: translateY(0); }
.showcase .reel .phone:nth-child(3) { transform: translateY(60px); }
@media (max-width: 980px) { .showcase .reel { gap: 18px; } .showcase .reel .phone { transform: none !important; } }
@media (max-width: 540px) { .showcase { padding: 40px 18px 0; border-radius: 24px; } .showcase .reel .phone { transform: scale(0.7) !important; margin: -30px -40px; } }

/* ─── Why / Trust grid ───────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.why-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.why-card.span-6 { grid-column: span 6; }
.why-card.span-4 { grid-column: span 4; }
.why-card.span-8 { grid-column: span 8; }
.why-card.lit { background: var(--ink-2); color: #F6F4EF; border: 0; }
.why-card.tint { background: var(--butter); color: var(--butter-ink); border: 0; }
.why-card .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(0,0,0,0.07); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.why-card.lit .ico { background: rgba(255,255,255,0.1); }
.why-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; margin: 0; }
.why-card p { font-size: 14.5px; color: var(--ink-dim); margin: 8px 0 0; line-height: 1.5; }
.why-card.lit p { color: rgba(246,244,239,0.7); }
.why-card .stat { font-size: 42px; font-weight: 800; letter-spacing: -1.2px; line-height: 1; }
.why-card .stat .unit { font-size: 18px; opacity: 0.5; }
@media (max-width: 880px) { .why-card.span-6, .why-card.span-4, .why-card.span-8 { grid-column: span 12; } }
@media (max-width: 540px) { .why-card { padding: 20px; } .why-card .stat { font-size: 30px; } }

/* ─── Help / SMS ─────────────────────────────────────────────────────── */
.help { background: var(--peach); color: var(--peach-ink); border-radius: 32px; padding: 50px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.help h2 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -1.2px; line-height: 1.05; }
.help .body-text { color: var(--peach-ink); opacity: 0.82; margin-top: 16px; max-width: 460px; font-size: 16px; }
.help .dial { background: var(--ink-2); color: var(--peach); border-radius: 22px; padding: 24px; font-family: var(--mono); }
.help .dial .l { font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; opacity: 0.6; font-family: var(--display); }
.help .dial .v { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; letter-spacing: 1px; margin-top: 6px; line-height: 1; }
.help .dial .n { font-size: 12px; opacity: 0.7; margin-top: 12px; font-family: var(--display); line-height: 1.4; }
.help .meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; font-weight: 600; }
.help .meta .x { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 880px) { .help { grid-template-columns: 1fr; padding: 32px; } }
@media (max-width: 540px) { .help { padding: 24px 20px; border-radius: 22px; } .help .dial { padding: 18px; } .help .dial .v { font-size: clamp(28px, 8vw, 42px); } }

/* ─── Testimonials ───────────────────────────────────────────────────── */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.test { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.test.tint-mint  { background: var(--mint);      color: var(--mint-ink);  border-color: transparent; }
.test.tint-peri  { background: var(--periwinkle); color: var(--periwinkle-ink); border-color: transparent; }
.test.tint-pink  { background: var(--pink);       color: var(--pink-ink); border-color: transparent; }
.test .stars { display: flex; gap: 3px; align-items: center; margin-bottom: 14px; }
.test blockquote { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; letter-spacing: -0.2px; }
.test .who { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 10px; }
.test .who .av { width: 38px; height: 38px; border-radius: 19px; background: rgba(0,0,0,0.08); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.test .who .meta .n { font-size: 13px; font-weight: 800; }
.test .who .meta .s { font-size: 11.5px; opacity: 0.7; }
@media (max-width: 880px) { .test-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .test { padding: 22px; } .test blockquote { font-size: 15px; } }

/* ─── FAQ ─────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq-item summary { padding: 20px 24px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 24px; font-weight: 600; color: var(--ink-dim); transition: transform .2s; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .a { padding: 0 24px 22px; font-size: 14.5px; line-height: 1.55; color: var(--ink-dim); }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 540px) { .faq-item summary { padding: 16px 18px; font-size: 14px; } .faq-item .a { padding: 0 18px 18px; font-size: 13.5px; } }

/* ─── Download CTA ───────────────────────────────────────────────────── */
.dl { background: var(--ink-2); color: #F6F4EF; border-radius: 36px; padding: 64px 56px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.dl h2 { color: #F6F4EF; max-width: 540px; }
.dl p { color: rgba(246,244,239,0.7); margin: 18px 0 0; font-size: 17px; max-width: 480px; }
.dl .cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.dl .qr { background: #F6F4EF; color: var(--ink-2); padding: 18px; border-radius: 18px; display: inline-flex; align-items: center; gap: 16px; margin-top: 24px; max-width: 320px; }
.dl .qr .grid { width: 76px; height: 76px; border-radius: 8px; background: repeating-conic-gradient(var(--ink-2) 0% 25%, #F6F4EF 0% 50%) 50% / 16px 16px; position: relative; flex-shrink: 0; }
.dl .qr .grid::after { content: ""; position: absolute; inset: 8px; border: 4px solid #F6F4EF; box-shadow: 0 0 0 4px var(--ink-2); border-radius: 4px; }
/* Uploaded/default QR image: fixed box, scales to fit ANY source size without distortion. */
.dl .qr .qr-img { width: 84px; height: 84px; border-radius: 8px; flex-shrink: 0; display: block; object-fit: contain; background: #fff; padding: 4px; box-sizing: border-box; }
.dl .qr .t { font-size: 12px; opacity: 0.7; font-weight: 700; }
.dl .qr .b { font-size: 15px; font-weight: 800; margin-top: 2px; }
.dl .art-side { position: relative; height: 460px; }
.dl .art-side .phone { position: absolute; right: -8px; top: 50%; transform: translateY(-50%) rotate(8deg); }
.dl .art-side .blob { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--gold); right: 80px; top: 30px; opacity: 0.2; filter: blur(10px); }
@media (max-width: 980px) { .dl { grid-template-columns: 1fr; padding: 40px; } .dl .art-side { display: none; } }
@media (max-width: 540px) { .dl { padding: 28px 22px; border-radius: 24px; } .dl h2 { font-size: clamp(28px, 6vw, 36px); } .dl p { font-size: 15px; } .dl .qr { max-width: 100%; } }

/* ─── Marquee ──────────────────────────────────────────────────────── */
.marquee { background: var(--gold); color: var(--ink-2); overflow: hidden; padding: 14px 0; border-top: 1px solid rgba(0,0,0,0.08); border-bottom: 1px solid rgba(0,0,0,0.08); }
.marquee-inner { display: flex; gap: 48px; white-space: nowrap; animation: scroll 28s linear infinite; font-weight: 800; font-size: 18px; letter-spacing: -0.3px; align-items: center; }
.marquee-inner span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-inner span::after { content: ""; width: 8px; height: 8px; border-radius: 5px; background: var(--ink-2); margin-left: 38px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Footer ──────────────────────────────────────────────────────── */
footer { padding: 64px 0 104px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 36px 28px; align-items: start; }
.foot .brand-block { max-width: 320px; }
.foot .brand-block p { margin-top: 14px; color: var(--ink-dim); font-size: 14px; line-height: 1.55; }
.foot h5 { font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { font-size: 14px; color: var(--ink-dim); display: inline-flex; align-items: center; gap: 6px; }
.foot ul a:hover { color: var(--ink); }
.foot .meta { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--ink-dim); }
.foot .meta .legal a { margin-left: 16px; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }

/* ─── Cards (shared sub-pages) ──────────────────────────────────────── */
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.card.tint-peach { background: var(--peach); color: var(--peach-ink); border-color: transparent; }
.card.tint-butter { background: var(--butter); color: var(--butter-ink); border-color: transparent; }
.card.tint-mint  { background: var(--mint);  color: var(--mint-ink);  border-color: transparent; }
.card.tint-peri  { background: var(--periwinkle); color: var(--periwinkle-ink); border-color: transparent; }
.card.tint-pink  { background: var(--pink);  color: var(--pink-ink);  border-color: transparent; }
.card.tint-dark  { background: var(--ink-2); color: #F6F4EF;          border-color: transparent; }

/* ─── Page hero (sub-pages) ──────────────────────────────────────────── */
.page-hero { padding: 72px 0 56px; }
.page-hero h1 { margin-top: 16px; }
.page-hero p { margin-top: 22px; font-size: 19px; line-height: 1.5; color: var(--ink-dim); max-width: 640px; }
@media (max-width: 540px) { .page-hero { padding: 40px 0 32px; } .page-hero p { font-size: 16px; } }

/* ─── Consolidated phone-width responsiveness (matches design ≤640 / ≤420) ── */
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }

  /* Hero — keep the phone, scale it (don't hide) */
  .hero { padding: 32px 0 24px; }
  .hero-grid { gap: 28px; }
  .hero-art { display: flex; min-height: 0; margin-top: 8px; }
  .hero-art .phone-main { transform: rotate(0); }
  .hero-art .blob-a { width: 180px; height: 180px; top: 10px; left: 0; }
  .hero-art .blob-b { width: 140px; height: 140px; }
  .hero-sub { margin-top: 18px; }
  .hero-cta-row { gap: 10px; }
  .hero-cta-row .store-btn { flex: 1; justify-content: center; min-width: calc(50% - 5px); }
  .hero-meta { gap: 12px 18px; margin-top: 22px; }

  .sec-head { margin-bottom: 32px; }
  .sec-head p { font-size: 16px; }

  .feat-card, .feat-card.big { padding: 24px; min-height: 0; }
  .feat-card h3 { font-size: 23px; }
  .step { padding: 24px; min-height: 0; }
  .why-card { padding: 22px; }

  .trust-row { gap: 12px; }
  .trust-row .partners { gap: 14px; font-size: 15px; }

  .showcase { padding: 44px 20px 0; border-radius: 24px; }
  .showcase .reel { gap: 24px; }
  .showcase .reel .phone { transform: scale(0.82); transform-origin: top center; margin: 0 -28px; }

  .help { padding: 26px; border-radius: 24px; }
  .help .dial { padding: 20px; }

  .dl { padding: 32px 24px; border-radius: 28px; }
  .dl p { font-size: 16px; }
  .dl .cta-row { gap: 10px; }
  .dl .cta-row .store-btn { flex: 1; justify-content: center; min-width: calc(50% - 5px); }
  .dl .qr { max-width: none; }

  .faq-item summary { padding: 18px 20px; font-size: 15px; }

  footer { padding: 48px 0 110px; }
  .foot-grid { gap: 32px 24px; }
  .foot .meta { flex-direction: column; gap: 10px; }
  .foot .meta .legal a { margin-left: 0; margin-right: 16px; }

  .marquee-inner { font-size: 16px; gap: 32px; }
}

@media (max-width: 420px) {
  .h1 { font-size: 40px; letter-spacing: -1.6px; }
  .hero-cta-row .store-btn { min-width: 100%; }
  .dl .cta-row .store-btn { min-width: 100%; }
  .showcase .reel .phone { transform: scale(0.72); margin: 0 -42px; }
  .test, .feat-card, .feat-card.big { padding: 22px; }
  .hero-art .phone-main { transform: scale(0.88); transform-origin: top center; }
}

/* ─── Mobile stack utilities (override inline two-column grids) ───────── */
@media (max-width: 768px) {
  .cta-split { grid-template-columns: 1fr !important; }
  .m-stack   { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .cta-split { padding: 32px !important; }
  /* security compliance cards: stack to one column, drop the span-2 + tall min-height */
  .sec-cards { grid-template-columns: 1fr !important; }
  .sec-cards > * { grid-column: auto !important; min-height: 0 !important; }
}

/* ─── Tweaks panel ───────────────────────────────────────────────────── */
#tweaks { position: fixed; right: 18px; bottom: 18px; z-index: 100; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 18px 50px rgba(0,0,0,0.12); display: none; max-width: 280px; font-family: var(--display); }
#tweaks.on { display: block; }
#tweaks h6 { margin: 0 0 4px; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; }
#tweaks .close { background: var(--chip); border: 0; width: 24px; height: 24px; border-radius: 12px; cursor: pointer; font-size: 14px; line-height: 1; }
#tweaks .sec { margin-top: 12px; }
#tweaks .sec > .label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 8px; }
#tweaks .swatches { display: flex; gap: 6px; flex-wrap: wrap; }
#tweaks .sw { width: 28px; height: 28px; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
#tweaks .sw.on { border-color: var(--ink); }
#tweaks .seg { display: flex; gap: 4px; background: var(--chip); padding: 3px; border-radius: 12px; }
#tweaks .seg button { flex: 1; padding: 8px 10px; border-radius: 9px; border: 0; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--ink-dim); }
#tweaks .seg button.on { background: var(--ink); color: var(--bg); }

/* ─── Accent overrides ───────────────────────────────────────────────── */
body[data-accent="butter"] .hero-tag { background: var(--butter); color: var(--butter-ink); }
body[data-accent="butter"] .hero-tag .bubble { background: var(--ink-2); color: var(--butter); }
body[data-accent="butter"] .help { background: var(--butter); color: var(--butter-ink); }
body[data-accent="butter"] .help .body-text { color: var(--butter-ink); }
body[data-accent="butter"] .help .dial { color: var(--butter); }
body[data-accent="mint"] .hero-tag { background: var(--mint); color: var(--mint-ink); }
body[data-accent="mint"] .hero-tag .bubble { background: var(--ink-2); color: var(--mint); }
body[data-accent="mint"] .help { background: var(--mint); color: var(--mint-ink); }
body[data-accent="mint"] .help .dial { color: var(--mint); }
body[data-accent="peri"] .hero-tag { background: var(--periwinkle); color: var(--periwinkle-ink); }
body[data-accent="peri"] .hero-tag .bubble { background: var(--ink-2); color: var(--periwinkle); }
body[data-accent="peri"] .help { background: var(--periwinkle); color: var(--periwinkle-ink); }
body[data-accent="peri"] .help .dial { color: var(--periwinkle); }

/* ─── Hero tone variants ─────────────────────────────────────────────── */
body[data-tone="naija"]  .h1-formal { display: none; }
body[data-tone="naija"]  .h1-naija  { display: block; }
body[data-tone="formal"] .h1-formal { display: block; }
body[data-tone="formal"] .h1-naija  { display: none; }

/* ─── Legal pages ────────────────────────────────────────────────────── */
.legal-hero { padding: 64px 0 28px; }
.legal-hero h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -1.6px; line-height: 1; margin: 14px 0 0; }
.legal-hero p.sub { font-size: 17px; color: var(--ink-dim); margin: 18px 0 0; max-width: 640px; line-height: 1.5; }
.legal-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.legal-meta span b { color: var(--ink); font-weight: 700; }
.tldr { background: var(--butter); color: var(--butter-ink); border-radius: 22px; padding: 26px 30px; margin: 32px 0; max-width: 780px; }
.tldr .label { font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; opacity: 0.6; }
.tldr h3 { font-size: 22px; font-weight: 800; margin: 4px 0 12px; letter-spacing: -0.4px; }
.tldr ul { margin: 0; padding-left: 18px; }
.tldr li { font-size: 15px; line-height: 1.55; margin-bottom: 6px; }
.prose { font-size: 16px; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin: 48px 0 14px; }
.prose h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.2px; margin: 28px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); background: var(--chip); padding: 1px 6px; border-radius: 6px; font-size: 14px; }
.prose .updated { color: var(--ink-faint); font-size: 13px; font-family: var(--mono); }
@media (max-width: 540px) {
  .legal-hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .tldr { padding: 20px 22px; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 22px; margin: 36px 0 10px; }
  .prose h3 { font-size: 17px; }
}

/* ── On-site ads (dashboard-managed placements) ─────────────────────────── */
.ad-section { padding: 16px 0; }
.ad-strip { max-width: 1180px; margin: 0 auto; padding: 0 22px 20px; }
.ad-banner { display: flex; align-items: center; gap: 18px; text-decoration: none;
  background: var(--ad-accent, var(--butter)); color: var(--ink-2);
  border-radius: 18px; padding: 16px 20px; border: 1px solid rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease; }
.ad-banner:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.ad-banner-img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px;
  background: #fff; flex-shrink: 0; }
.ad-banner-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.ad-banner .ad-headline { font-weight: 800; font-size: 16px; }
.ad-banner .ad-body { font-size: 13.5px; opacity: .82; }
.ad-banner .ad-cta { font-weight: 800; font-size: 14px; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 600px) { .ad-banner { flex-wrap: wrap; } .ad-banner .ad-cta { width: 100%; } }

/* Landing pop-up */
.ad-popup-overlay { position: fixed; inset: 0; background: rgba(15,14,14,.6);
  display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.ad-popup-overlay[hidden] { display: none; }
.ad-popup { position: relative; background: #fff; border-radius: 22px; max-width: 420px;
  width: 100%; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.ad-popup-close { position: absolute; top: 10px; right: 12px; z-index: 2; border: none;
  background: rgba(0,0,0,.45); color: #fff; width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; cursor: pointer; line-height: 1; }
.ad-popup-link { display: block; text-decoration: none; color: var(--ink-2); }
.ad-popup-img { width: 100%; display: block; object-fit: cover; max-height: 240px; }
.ad-popup-body { display: block; padding: 24px; text-align: center; }
.ad-popup-head { display: block; font-weight: 900; font-size: 22px; margin-bottom: 8px; }
.ad-popup-sub { display: block; font-size: 14.5px; opacity: .82; margin-bottom: 18px; }
.ad-popup-cta { display: inline-block; background: var(--ink); color: var(--bg);
  font-weight: 800; padding: 12px 26px; border-radius: 14px; font-size: 15px; }

/* ── Cookie consent ─────────────────────────────────────────────────────── */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10001;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--ink-2); color: #F6F4EF; border-radius: 16px; padding: 14px 20px;
  box-shadow: 0 16px 50px rgba(0,0,0,.3); max-width: 760px; margin: 0 auto; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 13.5px; opacity: .9; }
.cookie-bar a { color: #FFE0CF; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn { font: inherit; font-size: 13px; font-weight: 800; padding: 9px 18px; border-radius: 10px;
  border: none; background: #FFE0CF; color: #7A3E1E; cursor: pointer; }
.cookie-btn.ghost { background: transparent; color: #F6F4EF; border: 1px solid rgba(255,255,255,.3); }

/* ── Newsletter pop-up ──────────────────────────────────────────────────── */
.nl-popup-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(15,14,14,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.nl-popup-overlay[hidden] { display: none; }
.nl-popup { position: relative; background: #fff; border-radius: 22px; max-width: 420px; width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.nl-close { position: absolute; top: 10px; right: 12px; border: none; background: rgba(0,0,0,.08);
  color: var(--ink-2); width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; line-height: 1; }
.nl-body { padding: 30px 28px 28px; text-align: center; }
.nl-body h3 { margin: 0 0 8px; font-size: 23px; font-weight: 900; color: var(--ink-2); }
.nl-body p { margin: 0 0 18px; font-size: 14.5px; opacity: .8; color: var(--ink-2); }
.nl-body form { display: flex; gap: 8px; }
.nl-body input { flex: 1; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line, #e5e0d8); background: #fff; min-width: 0; }
.nl-body form button { font: inherit; font-size: 15px; font-weight: 800; padding: 12px 20px;
  border-radius: 12px; border: none; background: var(--ink); color: var(--bg); cursor: pointer; white-space: nowrap; }
.nl-msg { margin-top: 12px; font-size: 13.5px; font-weight: 700; }
.nl-msg.ok { color: #1e8a4c; }
.nl-msg.err { color: #c0392b; }
@media (max-width: 460px) { .nl-body form { flex-direction: column; } }

/* ── Web-push soft prompt ────────────────────────────────────────────────── */
.push-prompt { position: fixed; right: 16px; bottom: 16px; z-index: 9997; max-width: 340px;
  background: #fff; border: 1px solid var(--line, #e5e0d8); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.push-prompt[hidden] { display: none; }
.push-prompt-text strong { display: block; font-size: 15px; font-weight: 800; color: var(--ink-2); }
.push-prompt-text span { display: block; font-size: 13px; opacity: .8; margin-top: 3px; color: var(--ink-2); }
.push-prompt-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.push-btn { font: inherit; font-size: 13px; font-weight: 800; padding: 8px 16px; border-radius: 10px;
  border: none; background: var(--ink); color: var(--bg); cursor: pointer; }
.push-btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line, #e5e0d8); }

/* App-store button in "coming soon" state (link not set in dashboard yet) */
.store-btn.store-soon{opacity:.55;pointer-events:none;}
