/* Mopos — mopos.co.ke
   Refined, editorial, navy-and-green. One signature easing, textured dark
   surfaces with gradient borders, the product shown in real device frames. */

@font-face { font-family: "Lufga"; src: url("../fonts/Lufga-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lufga"; src: url("../fonts/Lufga-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lufga"; src: url("../fonts/Lufga-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lufga"; src: url("../fonts/Lufga-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lufga"; src: url("../fonts/Lufga-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --navy: #0F2F63; --navy-deep: #091E42; --navy-ink: #061531; --navy-lift: #174080;
  --green: #2CCE75; --green-deep: #1E9B62; --green-soft: rgba(44,206,117,.14);
  --ink: #0B1B36; --ink-muted: #5B6B86; --line: #DCE3EE; --mist: #EEF1F7; --canvas: #F6F8FB; --sheet: #FFFFFF;
  --on-navy-muted: rgba(255,255,255,.66);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --r: 24px;
  --shadow-sm: 0 2px 8px rgba(15,23,42,.05);
  --shadow-md: 0 14px 34px rgba(9,30,66,.12);
  --shadow-lg: 0 40px 90px rgba(6,21,49,.45);
  --wrap: 1180px;
  --font: "Lufga", "Sora", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--canvas); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.028em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: var(--green); }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--navy-deep); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* film grain over everything, barely there */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ── eyebrow, buttons ─────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; }
.eyebrow--ink { color: var(--green-deep); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(44,206,117,.16); }
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; padding: 13px 20px; border-radius: 14px; border: 1px solid transparent; white-space: nowrap;
  transition: transform .16s var(--ease), background-color .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:active { transform: scale(.96); }
.btn--lg { padding: 17px 26px; font-size: 1.02rem; border-radius: 18px; }
.btn--sm { padding: 10px 16px; font-size: .88rem; border-radius: 12px; }
.btn--green { background: var(--green); color: var(--navy-ink); box-shadow: 0 12px 28px rgba(44,206,117,.30), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--green:hover { background: #3EDB84; box-shadow: 0 16px 34px rgba(44,206,117,.4), inset 0 1px 0 rgba(255,255,255,.35); transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }

/* ── floating pill nav ───────────────────────────── */
.nav { position: sticky; top: 14px; z-index: 50; display: flex; flex-direction: column; align-items: center; padding: 0 16px; pointer-events: none; }
.nav__pill { pointer-events: auto; display: flex; align-items: center; gap: 26px; height: 60px; padding: 0 10px 0 16px; width: min(var(--wrap), 100%); border-radius: 20px;
  background: rgba(9,30,66,.62); backdrop-filter: saturate(170%) blur(18px); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 18px 50px rgba(6,21,49,.35), inset 0 1px 0 rgba(255,255,255,.08); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { color: rgba(255,255,255,.74); font-weight: 600; font-size: .9rem; position: relative; padding: 6px 0; transition: color .16s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); border-radius: 2px; }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav__burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile[hidden] { display: none; }
.nav__mobile { pointer-events: auto; display: flex; flex-direction: column; gap: 2px; margin-top: 8px; width: min(var(--wrap), 100%); padding: 10px 12px 14px; border-radius: 18px; background: rgba(9,30,66,.94); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.10); }
.nav__mobile a { color: #fff; font-weight: 600; padding: 12px 8px; border-radius: 10px; }
.nav__mobile .btn { margin-top: 8px; justify-content: center; }

/* ── hero ────────────────────────────────────────── */
.hero { position: relative; color: #fff; background: var(--navy-ink); overflow: hidden; isolation: isolate; margin-top: -74px; padding-top: 74px; }
.hero__photo { position: absolute; inset: 0; z-index: -3; background: url("../img/login_backdrop.jpg") center 32% / cover no-repeat; transform: scale(1.04); }
.hero__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,21,49,.97) 0%, rgba(6,21,49,.9) 40%, rgba(9,30,66,.62) 70%, rgba(6,21,49,.45) 100%),
              linear-gradient(to top, rgba(6,21,49,1) 0%, rgba(6,21,49,0) 38%); }
.hero__glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(14px); pointer-events: none; }
.hero__glow--a { width: 760px; height: 760px; right: -220px; top: -300px; background: radial-gradient(circle, rgba(44,206,117,.30) 0%, rgba(44,206,117,0) 60%); animation: breathe 8s var(--ease) infinite; }
.hero__glow--b { width: 520px; height: 520px; left: -220px; bottom: -200px; background: radial-gradient(circle, rgba(23,64,128,.9) 0%, rgba(23,64,128,0) 62%); }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .85 } 50% { transform: scale(1.1); opacity: 1 } }
.hero__in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; padding: 96px 0 130px; }
.hero__copy .lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--on-navy-muted); max-width: 52ch; margin: 24px 0 34px; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { list-style: none; margin: 44px 0 0; padding: 26px 0 0; display: flex; flex-wrap: wrap; gap: 24px 40px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__proof li { display: flex; flex-direction: column; gap: 2px; }
.hero__proof strong { font-size: 1rem; }
.hero__proof span { font-size: .85rem; color: var(--on-navy-muted); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.28); border-radius: 12px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--green); animation: scrollhint 1.8s var(--ease) infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(12px); opacity: 0 } 100% { opacity: 0 } }

/* device frames */
.device { position: absolute; width: 272px; aspect-ratio: 640 / 1296; border-radius: 44px; padding: 11px; background: linear-gradient(160deg, #1b2740, #080f22); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.10), inset 0 0 0 4px #0b1326; will-change: transform; }
.device::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 86px; height: 24px; border-radius: 14px; background: #0b1326; z-index: 2; }
.device::after { content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 70px; border-radius: 2px; background: #1b2740; }
.device__screen { border-radius: 34px; overflow: hidden; background: #fff; height: 100%; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device--back { left: 2%; top: 60px; transform: rotate(-8deg); filter: brightness(.9); }
.device--front { right: 2%; top: 0; transform: rotate(5deg); }
.hero__art { position: relative; height: 660px; perspective: 1200px; }
.hero__art .device, .hero__art .chip { transition: transform .5s var(--ease); }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px; padding: 11px 15px; box-shadow: var(--shadow-md), inset 0 1px 0 #fff; font-size: .86rem; font-weight: 700; }
.chip--a { left: 10%; bottom: 60px; }
.chip--b { right: -2%; top: 18%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.12); }
.chip__k { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.chip__v { font-size: 1.05rem; letter-spacing: -.02em; }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(44,206,117,.22); }

/* ── ticker ──────────────────────────────────────── */
.ticker { background: var(--navy); color: rgba(255,255,255,.78); overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.ticker__track { display: flex; align-items: center; gap: 22px; width: max-content; padding: 15px 0; animation: ticker 48s linear infinite; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ticker__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── sections ────────────────────────────────────── */
.section { padding: 112px 0; scroll-margin-top: 84px; }
.section--dark { background: var(--navy-ink); color: #fff; position: relative; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% 20%, rgba(44,206,117,.10), transparent 60%); pointer-events: none; }
.section--tint { background: var(--mist); }
.section--download { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-ink) 70%); color: #fff; position: relative; overflow: hidden; }
.section--download::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; bottom: -520px; border-radius: 50%; background: radial-gradient(circle, rgba(44,206,117,.18), rgba(44,206,117,0) 60%); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.sub { color: var(--ink-muted); font-size: 1.1rem; margin-top: 20px; max-width: 60ch; line-height: 1.6; }
.sub--onnavy { color: var(--on-navy-muted); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(240px, auto); gap: 18px; }
.bento__card { position: relative; border-radius: var(--r); padding: 30px; background: var(--sheet); border: 1px solid rgba(220,227,238,.8); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(44,206,117,.5); }
.bento__card p { color: var(--ink-muted); font-size: .98rem; max-width: 46ch; }
.bento__n { font-size: .72rem; font-weight: 800; letter-spacing: .16em; color: var(--ink-muted); margin-bottom: 6px; }
.bento__card--dark { background: linear-gradient(160deg, var(--navy-lift), var(--navy-ink)); color: #fff; border-color: rgba(255,255,255,.10); box-shadow: var(--shadow-md); }
.bento__card--dark p { color: var(--on-navy-muted); }
.bento__card--dark .bento__n { color: var(--green); }
.bento__card--dark::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255,255,255,.22), rgba(255,255,255,0) 40%, rgba(44,206,117,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.bento__card--pos { grid-column: span 7; grid-row: span 2; flex-direction: row; align-items: stretch; padding: 0; background: linear-gradient(135deg, #ffffff, #EEF4FB); }
.bento__card--pos .bento__text { padding: 34px 10px 34px 34px; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.bento__card--pos h3 { font-size: 1.7rem; }
.bento__shot--phone { width: 46%; position: relative; }
.device--sm { position: absolute; width: 230px; right: 22px; top: 44px; transform: rotate(-4deg); border-radius: 38px; padding: 9px; }
.device--sm::before { width: 72px; height: 20px; top: 18px; }
.device--sm .device__screen { border-radius: 30px; }
.bento__card--stock { grid-column: span 5; }
/* Stock watch banner, rebuilt in CSS so it stays sharp at any size */
.sw { position: relative; margin-top: auto; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 12px 14px; padding: 16px 16px 14px;
  border-radius: 18px; background: linear-gradient(135deg, #1A4A8F, #0A1F45); box-shadow: 0 18px 44px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.12); overflow: hidden; }
.sw::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,107,.26), rgba(255,107,107,0) 65%); pointer-events: none; }
.sw__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,107,107,.3), rgba(255,107,107,.1)); border: 1px solid rgba(255,107,107,.4); }
.sw__ico svg { width: 24px; height: 24px; fill: none; stroke: #FF6B6B; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sw__body { display: flex; flex-direction: column; min-width: 0; }
.sw__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.sw__eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.sw__title { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.sw__sub { color: var(--on-navy-muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw__btn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px; border-radius: 12px; background: var(--green); color: var(--navy-ink); font-weight: 800; font-size: .86rem; box-shadow: 0 10px 22px rgba(44,206,117,.35); }
.sw__btn b { font-size: 1.1rem; line-height: 1; }
.sw__strip { grid-column: 1 / -1; display: flex; gap: 2px; height: 5px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.10); }
.sw__out { flex: 2; background: #FF6B6B; }
.sw__low { flex: 5; background: #FFC14D; }
.bento__card--mpesa { grid-column: span 5; }
.mpesa { margin: 0 0 10px; }
.mpesa__push { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; width: fit-content; padding: 14px 18px; border-radius: 16px; background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-md); }
.mpesa__label { grid-column: 1 / -1; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 800; }
.mpesa__num { color: var(--on-navy-muted); font-size: .9rem; }
.mpesa__amt { font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.mpesa__ok { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .82rem; font-weight: 700; color: var(--green); }
.mpesa__ok i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(44,206,117,.2); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(44,206,117,.2) } 50% { box-shadow: 0 0 0 7px rgba(44,206,117,.08) } }
.bento__card--branches { grid-column: span 7; }
.branches { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.branches li { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 12px; font-size: .9rem; }
.branches b { color: var(--ink); }
.branches span { order: 3; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy); }
.branches i { order: 2; height: 8px; border-radius: 4px; background: var(--mist); position: relative; overflow: hidden; }
.branches i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--navy), var(--green)); }
.bento__card--offline { grid-column: span 5; }
.offline { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.offline__pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(44,206,117,.16); color: var(--green); font-weight: 700; font-size: .85rem; }
.offline__pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.offline__pill--off { background: rgba(255,255,255,.10); color: #fff; }
.offline__arrow { color: var(--on-navy-muted); font-size: 1.2rem; }

.more { margin-top: 26px; border-radius: var(--r); background: var(--sheet); border: 1px solid rgba(220,227,238,.8); padding: 34px; display: grid; grid-template-columns: 240px 1fr; gap: 30px; box-shadow: var(--shadow-sm); }
.more__head h3 { font-size: 1.35rem; }
.more__head p { color: var(--ink-muted); margin-top: 6px; }
.more__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.more__list li { display: flex; gap: 12px; padding: 10px 12px; border-radius: 14px; transition: background-color .2s var(--ease); }
.more__list li:hover { background: var(--canvas); }
.more__list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--green-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.more__list b { display: block; font-size: .98rem; }
.more__list span { font-size: .88rem; color: var(--ink-muted); }

/* back office split */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; position: relative; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: rgba(255,255,255,.86); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(44,206,117,.16); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.split__art { position: relative; }
.stage { position: relative; height: 640px; display: flex; align-items: center; justify-content: center; }
.stage__ring { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(44,206,117,.22) 0%, rgba(44,206,117,.06) 45%, rgba(44,206,117,0) 70%); filter: blur(6px); animation: breathe 9s var(--ease) infinite; }
.stage__ring::after { content: ""; position: absolute; inset: 70px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); }
.device--stage { position: relative; width: 292px; transform: rotate(-3deg); }
.chip--s1 { left: 0; top: 14%; }
.chip--s2 { right: 0; top: 30%; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.12); }
.chip--s3 { left: 2%; bottom: 12%; flex-direction: column; align-items: flex-start; gap: 0; }
.chip--s3 .chip__k { color: var(--green-deep); }
.chip--s3 .chip__v { font-size: .9rem; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--sheet); border-radius: var(--r); padding: 30px; border: 1px solid rgba(220,227,238,.8); box-shadow: var(--shadow-sm); position: relative; }
.step__n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--navy-deep); color: var(--green); font-weight: 800; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-muted); font-size: .97rem; }

/* pricing */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--sheet); border-radius: 30px; padding: 48px; box-shadow: var(--shadow-md); border: 1px solid rgba(220,227,238,.8); }
.pricing__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pricing__list li { display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: 18px; background: var(--canvas); border: 1px solid var(--line); }
.pricing__list strong { color: var(--navy); }
.pricing__list span { font-size: .85rem; color: var(--ink-muted); }

/* downloads */
.dlhead { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 44px; }
.dlhead .sub { margin-top: 18px; }
.qr { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.qr img { width: 96px; height: 96px; }
.qr b { display: block; font-size: 1rem; }
.qr span { font-size: .82rem; color: var(--ink-muted); }
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl { position: relative; display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 28px 26px 26px; color: #fff; backdrop-filter: blur(8px);
  transition: transform .26s var(--ease), background-color .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease); }
.dl:hover { transform: translateY(-5px); background: rgba(255,255,255,.10); border-color: rgba(44,206,117,.6); box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.dl__ico { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: rgba(44,206,117,.14); margin-bottom: 8px; }
.dl__ico svg { width: 27px; height: 27px; fill: var(--green); }
.dl__tag { position: absolute; top: 24px; right: 24px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.dl p { color: var(--on-navy-muted); font-size: .93rem; }
.dl__meta { font-size: .82rem; color: var(--on-navy-muted); font-variant-numeric: tabular-nums; }
.dl__cta { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--green); }
.dl__cta::after { content: "→"; transition: transform .2s var(--ease); }
.dl:hover .dl__cta::after { transform: translateX(4px); }
.dl__note { margin-top: 28px; font-size: .9rem; color: var(--on-navy-muted); max-width: 70ch; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--sheet); border: 1px solid rgba(220,227,238,.9); border-radius: 18px; padding: 0 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--green-deep); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); padding: 0 0 20px; }

/* cta + footer */
.cta { background: var(--navy-ink); color: #fff; padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1000px; height: 1000px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(44,206,117,.16), rgba(44,206,117,0) 60%); }
.cta__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta__mark { width: 96px; height: 96px; margin-bottom: 8px; filter: drop-shadow(0 20px 36px rgba(0,0,0,.45)); }
.cta p { color: var(--on-navy-muted); font-size: 1.1rem; margin-bottom: 14px; }
.foot { background: #040f26; color: rgba(255,255,255,.7); padding: 36px 0; font-size: .9rem; }
.foot__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand strong { display: block; color: #fff; }
.foot__brand span { font-size: .8rem; }
.foot__links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.foot__links a:hover { color: #fff; }
.foot__legal { width: 100%; font-size: .78rem; color: rgba(255,255,255,.45); }

/* ── reveal on scroll ────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px) scale(.985); filter: blur(6px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms), filter .7s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero__glow, .ticker__track, .mpesa__ok i, .hero__scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ──────────────────────────────────── */
@media (max-width: 1040px) {
  .hero__in { grid-template-columns: 1fr; padding: 72px 0 96px; }
  .hero__art { height: 580px; max-width: 520px; margin: 10px auto 0; width: 100%; }
  .bento__card--pos, .bento__card--stock, .bento__card--mpesa, .bento__card--branches, .bento__card--offline { grid-column: span 12; }
  .bento__card--pos { grid-row: auto; min-height: 420px; }
  .more { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .stage { height: 560px; }
  .chip--s3 { bottom: 4%; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .split, .pricing, .dlhead { grid-template-columns: 1fr; }
  .split__art { padding-right: 50px; }
  .steps, .downloads { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .pricing { padding: 28px; }
  .more__list { grid-template-columns: 1fr; }
  .qr { width: fit-content; }
}
@media (max-width: 560px) {
  .hero__art { height: 500px; }
  .device { width: 214px; }
  .stage { height: 520px; }
  .device--stage { width: 230px; }
  .stage__ring { width: 380px; height: 380px; }
  .chip--s2 { top: 6%; }
  .chip--s1 { top: 2%; }
  .device--back { left: 0; top: 46px; }
  .device--front { right: 0; }
  .chip--a { bottom: 40px; left: 0; }
  .chip--b { right: 0; top: 8%; }
  .bento__card--pos { flex-direction: column; min-height: 0; }
  .bento__card--pos .bento__text { padding: 28px 24px 0; }
  .bento__shot--phone { width: 100%; height: 300px; }
  .device--sm { right: 50%; transform: translateX(50%) rotate(0); top: 24px; }
  .pricing__list { grid-template-columns: 1fr; }
  .hero__proof { gap: 18px 26px; }
  .hero__scroll { display: none; }
}
