/* Layout: one centred column (max 1100px) for the landing page, a narrow 620px column for the order steps,
   white header bar on a faint pink-grey page, magenta as the single action colour. */
:root {
  --bg: #FBF9FA;
  --surface: #FFFFFF;
  --surface-2: #F6F1F5;
  --ink: #1A1320;
  --muted: #6B5F70;
  --line: #ECE3EA;
  --line-strong: #DCCFD9;
  --accent: #B4009E;
  --accent-text: #B4009E;
  --accent-ink: #FFFFFF;
  --accent-soft: #FDECFA;
  --logo: #F20FCB;
  --ok: #13804A;
  --ok-soft: #E2F5E9;
  --warn: #9A5800;
  --warn-soft: #FFF1DA;
  --err: #C0262D;
  --err-soft: #FDE8E9;
  --tile-dark: #000000;
  --shadow: 0 22px 44px -22px rgba(110, 0, 92, .32), 0 2px 6px rgba(26, 19, 32, .05);
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0B11; --surface: #19141C; --surface-2: #231C27; --ink: #F5EEF6; --muted: #AA9EAF;
    --line: #2D2532; --line-strong: #3D3343; --accent: #D21BB5; --accent-text: #FF6BE6; --accent-ink: #FFFFFF;
    --accent-soft: #351331; --logo: #FF3ADF; --ok: #5BD08F; --ok-soft: #12301F; --warn: #F2B65A; --warn-soft: #33250F;
    --err: #FF7C82; --err-soft: #3A1518; --tile-dark: #000000;
    --shadow: 0 22px 44px -22px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F0B11; --surface: #19141C; --surface-2: #231C27; --ink: #F5EEF6; --muted: #AA9EAF;
  --line: #2D2532; --line-strong: #3D3343; --accent: #D21BB5; --accent-text: #FF6BE6; --accent-ink: #FFFFFF;
  --accent-soft: #351331; --logo: #FF3ADF; --ok: #5BD08F; --ok-soft: #12301F; --warn: #F2B65A; --warn-soft: #33250F;
  --err: #FF7C82; --err-soft: #3A1518; --tile-dark: #000000;
  --shadow: 0 22px 44px -22px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--accent-text); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 2.5px solid var(--accent-text); outline-offset: 2px; border-radius: 8px; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1100px; margin: 0 auto; padding-inline: 16px; }
.narrow { max-width: 640px; margin: 0 auto; padding-inline: 16px; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo svg { height: 30px; width: auto; display: block; fill: var(--logo); }
.nav { display: flex; gap: 4px; }
.nav button { padding: 8px 13px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.nav button:hover { color: var(--ink); background: var(--surface-2); }
.nav button.on { color: var(--accent-text); background: var(--accent-soft); font-weight: 600; }
.top-r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn-ghost { height: 40px; padding: 0 15px; border-radius: 10px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 14px; background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }
.lang { position: relative; }
.lang > button { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; background: var(--surface); }
.lang > button svg.i { width: 15px; height: 15px; }
.menu { position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 150px; display: grid; }
.menu button { text-align: left; padding: 9px 12px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.menu button:hover { background: var(--surface-2); }
.bal { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 4px 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--surface); font-variant-numeric: tabular-nums; }
.bal span.plus { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.bal span.plus svg.i { width: 17px; height: 17px; stroke-width: 2.6; }
.nav-m { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 30px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.btn.block { width: 100%; }
.btn.sm { height: 44px; font-size: 15px; padding: 0 20px; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--surface); font-weight: 600; font-size: 16px; width: 100%; }
.btn-line:hover { background: var(--surface-2); }
.link { color: var(--accent-text); font-weight: 600; font-size: 14px; }
.link:hover { text-decoration: underline; }

/* ---------- landing ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-block: 56px 40px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 32em; margin: 22px 0 22px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding-block: 16px; }
.stats div { text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stats small { color: var(--muted); font-size: 12px; }

.demo { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.demo-card { position: relative; width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px 26px; box-shadow: var(--shadow); transform: rotate(-1.6deg); transition: opacity .35s, transform .35s; }
.demo-card.swap { opacity: 0; transform: rotate(-1.6deg) translateY(8px); }
.demo-tag { position: absolute; top: -11px; left: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; padding: 3px 9px; color: var(--muted); }
.demo-row { display: flex; align-items: center; gap: 10px; }
.demo-row .svc { font-weight: 700; }
.demo-row .svc span { color: var(--muted); font-weight: 400; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pill svg.i { width: 13px; height: 13px; stroke-width: 2.6; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.err { background: var(--err-soft); color: var(--err); }
.pill.mute { background: var(--surface-2); color: var(--muted); }
.pill.acc { background: var(--accent-soft); color: var(--accent-text); }
.demo .delivered { margin-left: auto; transition: opacity .3s, transform .3s; }
.demo .delivered.hide { opacity: 0; transform: scale(.85); }
.demo-user { margin-top: 16px; font-weight: 600; font-size: 16px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #8E3BF6, #F04E8A 60%, #FF9A3C); flex: none; }
.demo-num { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.demo-num b { font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.demo-num .unit { color: var(--muted); font-size: 16px; }
.demo-num .pill { margin-left: auto; align-self: center; }
.bar { height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 16px; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; }

.sec { padding-block: 34px; }
.sec h2 { font-size: 23px; font-weight: 700; margin-bottom: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pcard { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--accent-text); transform: translateY(-1px); }
.pcard b { display: block; font-weight: 700; }
.pcard small { color: var(--muted); font-size: 13.5px; }
.tile { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; }
.tile svg { width: 58%; height: 58%; fill: currentColor; }
.tile.lg { width: 46px; height: 46px; border-radius: 12px; }
.tile.sm { width: 34px; height: 34px; border-radius: 9px; }
.tile.xs { width: 26px; height: 26px; border-radius: 7px; }
.t-tiktok { background: var(--tile-dark); }
.t-instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.t-facebook { background: #0866FF; }
.t-telegram { background: #26A5E4; }
.t-youtube { background: #FF0000; }
.t-whatsapp { background: #25D366; }
.t-others { background: var(--surface); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 50%; }
.t-others svg.i { stroke-width: 3; }
.t-x, .t-threads { background: var(--tile-dark); }
.t-spotify { background: #1ED760; }
.t-twitch { background: #9146FF; }
.t-snapchat { background: #FFFC00; color: #111; }
.t-discord { background: #5865F2; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; gap: 14px; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; flex: none; }
.step b { display: block; font-size: 16.5px; margin: 4px 0 4px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: 13.5px; background: var(--surface); }
.trust { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; font-size: 16px; }
.ico-soft { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; }
.faq h2 { margin-bottom: 6px; }
.faq .sub { color: var(--muted); margin: 0 0 18px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.acc-i + .acc-i { border-top: 1px solid var(--line); }
.acc-i > button { width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; padding: 21px 20px; font-weight: 700; font-size: 16px; }
.acc-i > button svg.i { transition: transform .2s; }
.acc-i.open > button svg.i { transform: rotate(90deg); }
.acc-i .ans { padding: 0 20px 20px 48px; color: var(--muted); margin: -6px 0 0; }
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 40px 20px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.cta h2 { font-size: 22px; }
.cta .btn { min-width: 240px; }
.cta p { margin: 0; color: var(--muted); font-size: 14px; }
.foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; padding-block: 22px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.foot button { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.foot button:hover { color: var(--ink); }
.foot small { margin-left: auto; color: var(--muted); }

/* ---------- order flow ---------- */
.flow { padding-block: 22px 140px; }
.prog-h { display: flex; align-items: flex-start; gap: 12px; }
.back { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; margin-top: 6px; flex: none; }
.back:hover { background: var(--surface-2); }
.prog { flex: 1; }
.prog small { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.prog .segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.prog .segs i { height: 5px; border-radius: 9px; background: var(--line-strong); }
.prog .segs i.on { background: var(--accent); }
.flow h1 { font-size: 29px; font-weight: 800; margin: 18px 0 6px; display: flex; align-items: center; gap: 12px; }
.flow h2.q { font-size: 21px; font-weight: 700; margin: 18px 0 12px; }
.note { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; }
.pgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.pbox { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 6px 16px; display: grid; justify-items: center; gap: 12px; font-weight: 700; font-size: 14.5px; transition: border-color .15s, transform .15s; }
.pbox:hover { border-color: var(--accent-text); transform: translateY(-1px); }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; }
.row + .row { border-top: 1px solid var(--line); }
.row:hover { background: var(--surface-2); }
.row b { display: block; font-weight: 700; }
.row small { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.row .go { margin-left: auto; color: var(--muted); }
.row .tx { min-width: 0; }
.opts { display: grid; gap: 9px; }
.opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 13px; transition: border-color .15s; }
.opt:hover { border-color: var(--accent-text); }
.opt .tx { min-width: 0; flex: 1; }
.opt b { display: block; font-weight: 700; }
.opt small { color: var(--muted); font-size: 13.5px; }
.opt .pr { text-align: right; font-variant-numeric: tabular-nums; }
.opt .pr b { font-size: 16.5px; }
.opt .pr small { font-size: 12px; }
.sum { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; margin-top: 14px; }
.sum-r { display: flex; align-items: center; gap: 11px; }
.sum-r + .sum-r { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.sum-r .tx { min-width: 0; flex: 1; }
.sum-r b { font-weight: 700; font-size: 15px; display: block; }
.sum-r small { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sum-r small svg.i { width: 12px; height: 12px; }
.sum-r .chg { color: var(--accent-text); font-weight: 700; font-size: 14px; padding: 4px; }
.sum-r .qtyline { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.presets { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pre { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px; display: grid; justify-items: center; font-variant-numeric: tabular-nums; }
.pre b { font-size: 17px; font-weight: 700; }
.pre small { color: var(--muted); font-size: 12.5px; }
.pre.on { border: 2px solid var(--accent-text); background: var(--accent-soft); padding: 7px; }
.pre.on small { color: var(--accent-text); }
.own { display: flex; justify-content: space-between; margin: 18px 0 8px; font-weight: 600; font-size: 14.5px; }
.own small { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; }
.stepper > button { height: 44px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.field { position: relative; }
.field input, .field textarea, .inp { width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; height: 44px; padding: 0 14px; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .inp:focus { border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input.qty { text-align: center; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.field .adorn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: flex; }
.field .adorn.btnish { pointer-events: auto; }
.field textarea { height: 170px; padding: 12px 14px; resize: vertical; line-height: 1.55; font-size: 15px; }
.field input.big { height: 58px; }
.err-t { color: var(--err); font-size: 13.5px; margin: 7px 0 0; font-weight: 500; }
.help { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
label.lb { display: block; font-weight: 700; font-size: 14.5px; margin: 0 0 8px; }
label.lb small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.about { margin-top: 16px; }
.about > button { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; color: var(--muted); }
.about > button svg.i { width: 16px; height: 16px; transition: transform .2s; }
.about.open > button svg.i { transform: rotate(90deg); }
.about ul { margin: 10px 0 0; padding: 14px 16px 14px 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 2px solid var(--accent); padding-bottom: env(safe-area-inset-bottom, 0px); }
.dock::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 40px; background: linear-gradient(to top, var(--accent-soft), transparent); pointer-events: none; opacity: .8; }
.dock-in { display: flex; align-items: center; gap: 12px; padding-block: 12px 10px; }
.dock .what { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.dock .tot { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dock .btn { margin-left: auto; height: 52px; min-width: 140px; }
.dock .hint { text-align: center; color: var(--muted); font-size: 12px; padding-bottom: 8px; margin: -2px 0 0; }

/* ---------- auth ---------- */
.auth { max-width: 460px; margin: 0 auto; padding: 26px 16px 60px; }
.auth h1 { font-size: 29px; font-weight: 800; }
.auth .sub { color: var(--muted); margin: 6px 0 18px; }
.saved { display: flex; gap: 10px; background: var(--accent-soft); border-radius: 12px; padding: 13px 14px; margin-bottom: 16px; font-size: 14px; }
.saved b { display: block; }
.gbtn { width: 100%; height: 52px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 16px; }
.gbtn:hover { border-color: var(--line-strong); }
.gbtn svg { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.auth form { display: grid; gap: 14px; }
.auth .alt { text-align: center; margin-top: 16px; }
.auth .alt a, .auth .alt button { color: var(--accent-text); font-weight: 700; text-decoration: underline; }
.ref-t { color: var(--muted); font-size: 13.5px; text-decoration: underline; justify-self: start; }

/* ---------- app pages ---------- */
.page { padding-block: 22px 60px; }
.page h1 { font-size: 30px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.banner { background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; display: flex; gap: 10px; font-size: 14px; margin-bottom: 18px; }
.banner b { display: block; font-size: 15px; }
.banner p { margin: 2px 0; }
.banner .link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.banner .link svg.i { width: 15px; height: 15px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.paym { display: flex; align-items: center; gap: 14px; width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 16px 12px 14px; text-align: left; font-weight: 700; font-size: 16px; }
.paym + .paym { margin-top: 9px; }
.paym:hover { border-color: var(--accent-text); }
.paym .go { margin-left: auto; color: var(--muted); }
.plogo { width: 64px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; }
.mpesa { font: 900 12px/1 var(--body); color: #3BB54A; letter-spacing: -.02em; }
.mpesa i { color: #E31E24; font-style: normal; }
.amtrow { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.cur { height: 48px; padding: 0 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-strong); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.amts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.amts button { height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; background: var(--surface); }
.amts button.on { border-color: var(--accent-text); color: var(--accent-text); background: var(--accent-soft); }
.lim { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 15px; }
.kv + .kv { border-top: 1px dashed var(--line-strong); }
.kv span { color: var(--muted); }
.kv b { font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.kv.total b { font-family: var(--display); font-size: 21px; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; }
.tabs button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; white-space: nowrap; background: var(--surface); }
.tabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ord { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px; }
.ord + .ord { margin-top: 10px; }
.ord-h { display: flex; gap: 11px; align-items: flex-start; }
.ord-h .tx { flex: 1; min-width: 0; }
.ord-h b { display: block; }
.ord-h small { color: var(--muted); font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-m { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; font-size: 13px; }
.ord-m span { color: var(--muted); display: block; font-size: 12px; }
.ord-m b { font-variant-numeric: tabular-nums; }
.ord .bar { margin-top: 12px; height: 6px; }
.ord .bar i { transition: width .6s; }
.empty { text-align: center; padding: 44px 16px; display: grid; justify-items: center; gap: 10px; }
.empty p { color: var(--muted); margin: 0 0 6px; }
.empty .ico-soft { width: 52px; height: 52px; border-radius: 14px; }
.empty .ico-soft svg.i { width: 24px; height: 24px; }
.tx-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 14.5px; }
.tx-row + .tx-row { border-top: 1px solid var(--line); }
.tx-row .tx { flex: 1; min-width: 0; }
.tx-row small { color: var(--muted); display: block; font-size: 12.5px; }
.tx-row b { font-variant-numeric: tabular-nums; }
.wallet-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.wallet-head .big { font-family: var(--display); font-size: 38px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.wallet-head small { color: var(--muted); display: block; margin-bottom: 6px; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; background: var(--surface-2); border-radius: 10px; padding: 12px; overflow-wrap: anywhere; user-select: all; }
.qr { width: 150px; height: 150px; margin: 0 auto 14px; display: block; background: #fff; padding: 8px; border-radius: 10px; }
.prose { max-width: 680px; }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; }
.prose h2 { font-size: 19px; margin: 22px 0 4px; }

/* ---------- modal + toast ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15, 8, 18, .5); z-index: 50; display: grid; place-items: end center; padding: 16px; animation: fade .2s; }
@media (min-width: 640px) { .scrim { place-items: center; } }
.modal { width: min(420px, 100%); background: var(--surface); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); animation: rise .25s; }
.modal h3 { font-size: 21px; margin-bottom: 6px; }
.modal p { color: var(--muted); margin: 0 0 16px; font-size: 14.5px; }
.modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.modal .center { text-align: center; display: grid; justify-items: center; gap: 4px; }
.spin { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; margin: 6px auto 12px; }
.bigcheck { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 4px auto 12px; }
.bigcheck svg.i { width: 28px; height: 28px; stroke-width: 2.6; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--bg); border-radius: 12px; padding: 11px 16px; font-weight: 600; font-size: 14.5px; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow); animation: rise .25s; max-width: calc(100% - 32px); }
.toast svg.i { width: 17px; height: 17px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.toast { animation-name: toastrise; }
@keyframes toastrise { from { opacity: 0; transform: translate(-50%, 10px); } }
.more-list .row b { font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 34px 10px; gap: 18px; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; gap: 6px; }
  .nav { display: none; }
  .nav-m { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; }
  .nav-m button { padding: 7px 13px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
  .nav-m button.on { color: var(--accent-text); background: var(--accent-soft); }
}
@media (max-width: 620px) {
  .grid3, .steps { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .top-in { gap: 10px; }
  .logo svg { height: 25px; }
  .btn-ghost { padding: 0 12px; }
  .hero .btn { width: 100%; }
  .ord-m { grid-template-columns: 1fr 1fr; }
  .amts button { font-size: 13px; }
  .dock .btn { min-width: 120px; }
  .foot small { margin-left: 0; width: 100%; }
}
@media (max-width: 380px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bal { padding-left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- More + sub-pages ---------- */
.flag { display: inline-flex; width: 22px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); flex: none; }
.flag svg { width: 100%; height: 100%; display: block; }
.profile { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.profile .initial { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.profile b { display: block; font-size: 17px; }
.profile small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.mgroup { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mgroup + .mgroup { margin-top: 12px; }
.mgroup.pad { padding: 14px; display: grid; gap: 8px; }
.mrow { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; min-height: 58px; }
.mrow + .mrow { border-top: 1px solid var(--line); }
button.mrow:hover { background: var(--surface-2); }
.mrow .tx { flex: 1; min-width: 0; }
.mrow b { display: block; font-weight: 600; font-size: 15px; }
.mrow small { color: var(--muted); font-size: 13px; }
.mrow .right { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.mrow .right .amt { color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.mico { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; flex: none; }
.mico svg.i { width: 18px; height: 18px; }
.pill.new { background: var(--accent); color: var(--accent-ink); font-size: 11.5px; letter-spacing: .02em; }
.smbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-strong); font-weight: 600; font-size: 13.5px; color: var(--ink); }
.smbtn:hover { border-color: var(--muted); }
.smbtn svg.i { width: 15px; height: 15px; }
.lbl { display: block; font-size: 14px; font-weight: 700; margin: 4px 0 6px; }
.chooser { display: grid; gap: 8px; }
.chooser.two { grid-template-columns: 1fr 1fr; }
.chooser.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chooser button { border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 6px; font-weight: 600; font-size: 14px; display: grid; justify-items: center; gap: 3px; background: var(--surface); }
.chooser button.on { border: 1.5px solid var(--accent-text); background: var(--accent-soft); }
.chooser svg.i { width: 16px; height: 16px; }
.logout { margin: 16px auto 0; display: flex; align-items: center; gap: 8px; color: var(--err); font-weight: 600; padding: 10px 14px; border-radius: 10px; }
.logout:hover { background: var(--err-soft); }
.btn.danger { background: var(--err); }
.muted-p { color: var(--muted); margin: -4px 0 16px; }
.h2s { font-size: 18px; margin: 22px 0 10px; }
.invite { display: grid; gap: 10px; padding: 18px; }
.invite .lead-row { display: flex; gap: 12px; align-items: center; }
.invite .lead-row p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ico-soft.round { width: 48px; height: 48px; border-radius: 50%; }
.ico-soft.round svg.i { width: 24px; height: 24px; }
.codebox { border: 2px dashed var(--line-strong); background: var(--surface-2); border-radius: 12px; text-align: center; padding: 16px; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: .02em; user-select: all; overflow-wrap: anywhere; }
.link.center { justify-self: center; display: inline-flex; align-items: center; gap: 6px; }
.link.center svg.i { width: 15px; height: 15px; }
.invite .btn, .invite .btn-line { height: 48px; font-size: 16px; text-decoration: none; color: inherit; }
.invite .btn { color: var(--accent-ink); }
.wa svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.numlist { display: grid; gap: 12px; }
.numlist > div { display: flex; gap: 12px; align-items: flex-start; }
.numlist .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.numlist p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: left; display: grid; gap: 6px; justify-items: start; }
.hcard:hover { border-color: var(--accent-text); }
.hcard .ico-soft { margin-bottom: 6px; }
.hcard small { color: var(--muted); font-size: 13.5px; }
select.inp { appearance: auto; }
.thread { display: grid; gap: 10px; margin-bottom: 14px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; }
.bubble p { margin: 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble small { display: block; font-size: 11.5px; margin-top: 4px; opacity: .75; }
.bubble.me { justify-self: end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.bubble.them { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bubble.typing p { color: var(--muted); font-style: italic; font-size: 14px; }
.reply { display: flex; gap: 8px; }
.reply .btn { height: 44px; width: 52px; padding: 0; }
.api { margin-top: 10px; }
.api-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.api .help { margin: 8px 0; }
pre { margin: 0; background: var(--surface-2); border-radius: 10px; padding: 12px; overflow-x: auto; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.video { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; background: linear-gradient(135deg, #2A0B26, #6B0A5C 55%, #B4009E); display: grid; place-items: center; align-content: center; gap: 12px; color: #fff; font-weight: 600; text-align: center; padding: 16px; }
.playbtn { width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.95); color: #B4009E; display: grid; place-items: center; }
.playbtn svg { width: 30px; height: 30px; margin-left: 4px; }
.legal h2 { font-size: 23px; margin-top: 18px; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin: 4px 0 8px; }
.legal h3 { font-family: var(--display); font-size: 18px; margin: 22px 0 6px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.legal li b { color: var(--ink); }
.legal ul { padding-left: 20px; display: grid; gap: 4px; }
.legal .sel { color: var(--accent-text); user-select: all; }
.utabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; margin: 0 -4px; }
.utabs button { padding: 12px 12px; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.utabs button.on { color: var(--accent-text); border-bottom-color: var(--accent-text); }
.clist { display: grid; gap: 6px; max-height: 50vh; overflow-y: auto; }
.clist button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; text-align: left; font-weight: 600; }
.clist button span:not(.flag) { flex: 1; }
.clist button small { color: var(--muted); font-weight: 500; }
.clist button.on { border-color: var(--accent-text); background: var(--accent-soft); }
.plogo span { display: inline-block; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } .codebox { font-size: 23px; } }

/* ---------- crypto coins ---------- */
.coins { display: flex; }
.coins svg { width: 22px; height: 22px; display: block; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.coins svg + svg { margin-left: -7px; }
.coinpick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.coinbtn { display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 6px; font-weight: 700; font-size: 14px; background: var(--surface); }
.coinbtn.on { border: 1.5px solid var(--accent-text); background: var(--accent-soft); }
.cico { display: inline-flex; flex: none; }
.cico svg { width: 22px; height: 22px; display: block; }
.cico.lg svg { width: 34px; height: 34px; }
.sendto { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; }

/* ---------- mobile app shell ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  .nav, .nav-m { display: none !important; }
  .top-in { height: 58px; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .tabbar button { display: grid; justify-items: center; align-content: center; gap: 3px; padding: 4px 0; color: var(--muted); font-size: 11.5px; font-weight: 600; min-height: 50px; }
  .tabbar button svg.i { width: 22px; height: 22px; }
  .tabbar button.on { color: var(--accent-text); }
  .tb-plus { width: 30px; height: 30px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; }
  .tb-plus svg.i { width: 18px !important; height: 18px !important; stroke-width: 2.6; }
  .tabbar button.on .tb-plus { background: var(--accent); color: var(--accent-ink); }
  body.has-tabs { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  body.has-tabs .dock { bottom: calc(63px + env(safe-area-inset-bottom, 0px)); padding-bottom: 0; }
  body.has-tabs .flow { padding-bottom: 210px; }
  body.has-tabs .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .page h1 { font-size: 26px; }
  .flow h1 { font-size: 25px; }
  .hero h1 { font-size: 40px; }
  .bal { height: 36px; font-size: 13.5px; padding-left: 11px; }
  .bal span.plus { width: 28px; height: 28px; }
  .lang > button, .btn-ghost { height: 36px; }
  .dock .tot { font-size: 22px; }
  .dock-in { padding-block: 10px 8px; }
  .modal { border-radius: 20px 20px 16px 16px; }
  .scrim { padding: 10px; }
  .card, .mgroup { border-radius: 14px; }
  .opt, .row, .mrow { min-height: 56px; }
  .wallet-head .big { font-size: 32px; }
}
@media (max-width: 380px) {
  .top-in { gap: 6px; }
  .lang > button { padding: 0 8px; }
  .coinbtn { font-size: 12.5px; gap: 5px; }
  .cico svg { width: 18px; height: 18px; }
}
.plogo .coins { display: flex; }

/* ---------- live app bits ---------- */
.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; }
.boot-logo svg { height: 40px; width: auto; fill: var(--logo); display: block; }
.spin-sm { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
.nav button, .tabbar button { position: relative; }
.dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--err); }
.instr { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.detail { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line-strong); }
.detail > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.detail > div .cico { grid-row: span 2; }
.detail small { color: var(--muted); font-size: 12.5px; }
.detail b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; overflow-wrap: anywhere; grid-column: 2; }
.detail > div > small:first-child, .detail > div > b:nth-child(2) { grid-column: 1 / -1; }
.bigcheck.err { background: var(--err-soft); color: var(--err); }
.gsi-wrap { min-height: 44px; display: flex; justify-content: center; }
.empty .spin { margin: 10px auto; }

/* uploaded platform icons */
.tile.img { background: var(--surface); border: 1px solid var(--line); overflow: hidden; padding: 0; }
.tile.img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- deposits: paybill steps + crypto (Binance) ---------- */
.step-h { font: 800 13px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); margin: 18px 2px 8px; }
.step-card { border-color: var(--accent-soft); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); }
.big-detail { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-strong); }
.big-detail > div { min-width: 0; }
.big-detail small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.big-detail b { display: block; font: 800 28px/1.15 var(--display); letter-spacing: .02em; overflow-wrap: anywhere; margin-top: 2px; }
.step-card .detail:first-of-type { border-top: 0; }
.payamt { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); }
.payamt span { color: var(--muted); font-size: 14.5px; }
.payamt b { font: 800 20px/1.2 var(--display); color: var(--accent-text); text-align: right; }
.payamt b small { display: block; font: 600 12.5px var(--body); color: var(--muted); }
.payamt.alt { padding-block: 10px; background: transparent; border-style: dashed; }
.payamt.alt b { font-size: 16px; color: var(--ink); }
.coin-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.coin-tabs button { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface); text-align: left; color: var(--ink); min-width: 0; }
.coin-tabs button.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.coin-tabs button span:last-child { min-width: 0; }
.coin-tabs b { display: block; font-size: 15px; }
.coin-tabs small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.25; }
.coin-tabs .cico svg { width: 28px; height: 28px; }
.dep-card h3 { text-align: center; font: 800 21px/1.2 var(--display); margin: 4px 0 14px; }
.qr { position: relative; width: min(230px, 70vw); aspect-ratio: 1; margin: 0 auto 16px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.qr svg { display: block; width: 100%; height: 100%; }
.qr-coin { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); background: #fff; border-radius: 50%; padding: 4%; box-sizing: border-box; }
.qr-coin svg { width: 100%; height: 100%; }
.dep-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 15px; }
.dep-row span { color: var(--muted); flex: none; }
.dep-row b { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.dep-row b.addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 700; }
.dep-warn { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.btn-line.block { width: 100%; display: flex; justify-content: center; align-items: center; gap: 7px; height: 44px; }
