/* ==========================================================================
   Primora — marketing site
   Brand: navy #1c2230 · terracotta #c1704a · Inter
   ========================================================================== */

@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
    --navy-900: #161b26;
    --navy-800: #1c2230;
    --navy-700: #232939;
    --navy-600: #2f3648;
    --navy-500: #454c5e;
    --navy-400: #6b7181;
    --navy-300: #9ba0ae;

    --terra-50: #faf3ee;
    --terra-100: #f3e1d4;
    --terra-200: #e7c3a9;
    --terra-400: #cd8865;
    --terra-500: #c1704a;
    --terra-600: #a85d3b;
    --terra-700: #8b4c31;

    --bg: #fbfaf8;
    --surface: #ffffff;
    --line: #ebe7e1;
    --line-soft: #f2efea;
    --text: #1c2230;
    --muted: #5b6170;

    --green: #2f7d55;
    --green-bg: #e8f4ee;
    --amber: #a8641b;
    --amber-bg: #fbf0e1;
    --red: #b4402f;
    --red-bg: #fbeae7;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(28, 34, 48, .06);
    --shadow: 0 1px 2px rgba(28, 34, 48, .05), 0 8px 24px -8px rgba(28, 34, 48, .12);
    --shadow-lg: 0 2px 4px rgba(28, 34, 48, .04), 0 24px 60px -16px rgba(28, 34, 48, .22);

    --container: 1160px;
    --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--terra-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 22px;
    border-radius: 12px; border: 1px solid transparent;
    font-size: 15px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
    cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--terra-500); color: #fff; box-shadow: 0 1px 2px rgba(139, 76, 49, .3), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { background: var(--terra-600); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { background: var(--surface); color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-300); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--terra-50); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { border-color: rgba(255,255,255,.6); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 250, 248, .82);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(251, 250, 248, .94); }

/* Over the banner: header melts into the navy sky */
.site-header.is-dark { --logo-ink: #ffffff; background: var(--navy-800); border-bottom-color: rgba(255, 255, 255, .06); }
.site-header.is-dark .brand-name { color: #fff; }
.site-header.is-dark .brand-tag { color: var(--terra-400); }
.site-header.is-dark .nav-links a { color: #c3c7d0; }
.site-header.is-dark .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-header.is-dark .nav-signin { color: #c3c7d0; }
.site-header.is-dark .nav-signin:hover { color: #fff; }
.site-header.is-dark .nav-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.brand-name, .brand-tag, .nav-links a, .nav-signin, .nav-toggle { transition: color .25s, background-color .25s, border-color .25s; }
.nav { display: flex; align-items: center; height: 72px; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 21px; font-weight: 700; letter-spacing: -.025em; color: var(--navy-800); }
.brand-tag { margin-top: 4px; font-size: 9px; font-weight: 600; letter-spacing: .28em; color: var(--terra-500); }

.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--navy-500); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--navy-800); background: rgba(28, 34, 48, .04); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-signin { padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--navy-600); }
.nav-signin:hover { color: var(--navy-800); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu .container { padding-top: 12px; padding-bottom: 20px; }
.mobile-menu a.mobile-link { display: block; padding: 12px 4px; font-size: 16px; font-weight: 500; color: var(--navy-700); border-bottom: 1px solid var(--line-soft); }
.mobile-menu .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.nav-open .mobile-menu { display: block; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-600);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--terra-500); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { margin-top: 14px; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; color: var(--navy-800); text-wrap: balance; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--muted); text-wrap: pretty; }

section { scroll-margin-top: 72px; }
.section { padding: 112px 0; }

/* ---------- Serif accents ---------- */
.serif, .banner h1 em, .section-title em, .cta-box h2 em {
    font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    font-style: italic; font-weight: 400; letter-spacing: -.01em;
}
.section-title em { font-size: 1.08em; color: var(--terra-500); }
.how .section-title em, .cta-box h2 em { color: var(--terra-400); }

/* ---------- Banner (hero) ---------- */
.banner {
    position: relative; overflow: hidden; isolation: isolate;
    text-align: center; color: #fff;
    background:
        radial-gradient(75% 60% at 50% 100%, rgba(205, 136, 101, .55), rgba(193, 112, 74, .18) 45%, transparent 75%),
        radial-gradient(35% 40% at 88% 8%, rgba(193, 112, 74, .12), transparent 70%),
        linear-gradient(180deg, var(--navy-800) 0%, #1f2638 48%, #3b3036 100%);
}
/* faint stars, fading out towards the horizon */
.banner::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.2px);
    background-size: 46px 46px;
    opacity: .35;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
            mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}
.banner-copy { position: relative; z-index: 2; max-width: 880px; padding-top: 84px; padding-bottom: 390px; }
.skyline {
    position: absolute; left: 0; bottom: 0; z-index: 1;
    width: 100%; height: 400px; object-fit: cover; object-position: center bottom;
    pointer-events: none; user-select: none;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px; font-weight: 500; color: #d5d8df;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-badge span { padding: 3px 10px; border-radius: 999px; background: rgba(193, 112, 74, .28); color: #f3d7c4; font-weight: 600; font-size: 12px; }

.banner h1 {
    margin-top: 28px;
    font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; color: #fff;
    text-wrap: balance;
}
.banner h1 em { display: inline-block; font-size: 1.1em; line-height: .9; color: #e2a882; padding-right: .06em; }
.hero-lead { margin: 26px auto 0; max-width: 620px; font-size: 19px; line-height: 1.65; color: #c3c7d0; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.hero-ctas .btn { height: 52px; padding: 0 28px; font-size: 16px; }
.hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px; font-size: 14px; color: #9ba0ae; }
.hero-note li { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--terra-400); }

/* ---------- Product showcase (rises out of the banner) ---------- */
.showcase { position: relative; z-index: 3; margin-top: -250px; padding-bottom: 96px; }
.showcase .mock-wrap { max-width: 1000px; margin: 0 auto; }
.showcase .mock { box-shadow: 0 2px 4px rgba(22, 27, 38, .1), 0 40px 90px -24px rgba(22, 27, 38, .55); }
.showcase .mock-body { grid-template-columns: 156px 1fr; min-height: 400px; }

/* ---------- Product mock (hero) ---------- */
.mock-wrap { position: relative; }
.mock {
    position: relative;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); background: #fcfbfa; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e4e0da; }
.mock-url { margin-left: 14px; flex: 1; max-width: 260px; height: 22px; border-radius: 6px; background: var(--line-soft); font-size: 11px; color: var(--navy-300); display: flex; align-items: center; padding: 0 10px; }
.mock-body { display: grid; grid-template-columns: 124px 1fr; min-height: 380px; }
.mock-side { border-right: 1px solid var(--line-soft); padding: 16px 12px; }
.mock-side .ms-brand { display: flex; align-items: center; gap: 6px; padding: 0 6px 14px; font-weight: 700; font-size: 13px; color: var(--navy-800); letter-spacing: -.02em; }
.mock-side .ms-brand svg { width: 18px; height: 18px; }
.mock-side .ms-label { padding: 10px 8px 4px; font-size: 8.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-300); }
.mock-side .ms-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 11.5px; color: var(--navy-400); }
.mock-side .ms-item b { width: 12px; height: 12px; border-radius: 4px; background: var(--line); }
.mock-side .ms-item.active { background: var(--terra-50); color: var(--terra-700); font-weight: 600; }
.mock-side .ms-item.active b { background: var(--terra-400); }
.mock-main { padding: 18px 20px 20px; background: #fbfaf9; }
.mock-title { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.mock-sub { font-size: 11px; color: var(--navy-300); margin-top: 1px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mock-stat { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 12px; }
.mock-stat .k { font-size: 10px; color: var(--navy-400); }
.mock-stat .v { margin-top: 2px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--navy-800); }
.mock-stat .v small { font-size: 10px; font-weight: 600; color: var(--navy-300); margin-right: 2px; }
.mock-stat .d { margin-top: 2px; font-size: 9.5px; font-weight: 600; color: var(--green); }
.mock-stat .d.warn { color: var(--red); }
.mock-panels { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin-top: 10px; }
.mock-panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px; }
.mock-panel h4 { font-size: 11px; font-weight: 600; color: var(--navy-700); display: flex; justify-content: space-between; gap: 8px; }
.mock-panel h4 span { font-weight: 500; color: var(--navy-300); }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 112px; margin-top: 12px; padding-bottom: 16px; position: relative; }
.chart .col { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 100%; position: relative; }
.chart .col i { display: block; width: 7px; border-radius: 3px 3px 1px 1px; background: var(--navy-800); }
.chart .col i + i { background: var(--terra-200); }
.chart .col em { position: absolute; bottom: -16px; font-size: 8.5px; font-style: normal; color: var(--navy-300); }
.legend { display: flex; gap: 12px; margin-top: 10px; font-size: 9.5px; color: var(--navy-400); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend span::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--navy-800); }
.legend span + span::before { background: var(--terra-200); }
.inv { margin-top: 8px; }
.inv li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.inv li:first-child { border-top: 0; }
.inv .n { font-size: 11px; font-weight: 600; color: var(--navy-800); }
.inv .m { font-size: 9.5px; color: var(--navy-300); grid-column: 1; }
.inv .a { font-size: 11px; font-weight: 600; color: var(--navy-700); text-align: right; }
.pill { justify-self: end; display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 9px; font-weight: 600; }
.pill.paid { background: var(--green-bg); color: var(--green); }
.pill.partial { background: var(--amber-bg); color: var(--amber); }
.pill.overdue { background: var(--red-bg); color: var(--red); }

.float-card {
    position: absolute; z-index: 2;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.float-sms { left: -44px; bottom: -64px; width: 270px; padding: 14px 16px; }
.float-sms .fs-head { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--navy-400); }
.float-sms .fs-head b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--terra-50); color: var(--terra-500); }
.float-sms .fs-head b svg { width: 14px; height: 14px; }
.float-sms .fs-head strong { color: var(--navy-700); font-weight: 600; }
.float-sms p { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--navy-700); }
.float-occ { right: -28px; top: -30px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.ring { --p: 94; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--terra-500) calc(var(--p) * 1%), var(--terra-100) 0); }
.ring::after { content: ''; width: 34px; height: 34px; border-radius: 50%; background: #fff; grid-area: 1 / 1; }
.ring span { grid-area: 1 / 1; z-index: 1; font-size: 11px; font-weight: 700; color: var(--navy-800); }
.float-occ .t { font-size: 11px; color: var(--navy-400); line-height: 1.3; }
.float-occ .t strong { display: block; font-size: 13px; color: var(--navy-800); }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { display: flex; align-items: center; gap: 14px; padding: 26px 24px; }
.strip li + li { border-left: 1px solid var(--line); }
.strip .ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--terra-50); color: var(--terra-500); }
.strip .ic svg { width: 20px; height: 20px; }
.strip strong { display: block; font-size: 15px; font-weight: 600; color: var(--navy-800); line-height: 1.3; }
.strip small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    position: relative; padding: 30px 28px 32px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.feature:hover { border-color: var(--terra-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--navy-800); color: #fff; }
.feature .ic svg { width: 22px; height: 22px; }
.feature:nth-child(3n+2) .ic { background: var(--terra-500); }
.feature h3 { margin-top: 22px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--navy-800); }
.feature p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- How it works ---------- */
.how { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.how::before {
    content: ''; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px;
    background: url('../img/logo-mark.svg') no-repeat center / contain; opacity: .045; filter: invert(1);
}
.how .eyebrow { color: var(--terra-400); }
.how .eyebrow::before { background: var(--terra-400); }
.how .section-title { color: #fff; }
.how .section-lead { color: var(--navy-300); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { padding: 32px 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.step .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--terra-500); font-weight: 700; font-size: 16px; }
.step h3 { margin-top: 22px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.step p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--navy-300); }
.step ul { margin-top: 18px; display: grid; gap: 8px; }
.step li { display: flex; gap: 10px; font-size: 14px; color: #d8dbe2; }
.step li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--terra-400); }

/* ---------- Local / split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checklist { display: grid; gap: 22px; margin-top: 36px; }
.checklist li { display: flex; gap: 16px; }
.checklist .ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--terra-50); color: var(--terra-500); margin-top: 1px; }
.checklist .ic svg { width: 15px; height: 15px; }
.checklist strong { display: block; font-size: 16px; font-weight: 600; color: var(--navy-800); }
.checklist span { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }

.methods { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.methods h4 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-400); }
.method-list { margin-top: 16px; display: grid; gap: 10px; }
.method { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--bg); }
.method .logo { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-size: 11px; font-weight: 700; letter-spacing: -.01em; }
.method .label { font-size: 15px; font-weight: 500; color: var(--navy-700); }
.method .amt { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--navy-800); }
.lg-mtn { background: #ffcb05; color: #1c2230; }
.lg-airtel { background: #e40000; color: #fff; }
.lg-bank { background: var(--navy-800); color: #fff; }
.lg-cash { background: var(--green-bg); color: var(--green); }
.methods .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.methods .total span { font-size: 14px; color: var(--muted); }
.methods .total strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--navy-800); }
.methods .foot { margin-top: 10px; font-size: 13px; color: var(--navy-400); }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg), var(--terra-50) 160%); }
.price-card {
    display: grid; grid-template-columns: 1.1fr 1fr;
    background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.price-calc { padding: 44px; }
.price-calc .units-label { display: block; margin-top: 30px; font-size: 15px; font-weight: 600; color: var(--navy-800); }

.cycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.cycle label { position: relative; cursor: pointer; }
.cycle input { position: absolute; opacity: 0; pointer-events: none; }
.cycle span { display: block; padding: 9px 8px; border-radius: 10px; text-align: center; font-size: 14px; font-weight: 600; color: var(--navy-400); transition: background-color .2s, color .2s, box-shadow .2s; }
.cycle label:hover span { color: var(--navy-800); }
.cycle input:checked + span { background: var(--surface); color: var(--navy-800); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.cycle input:focus-visible + span { outline: 2px solid var(--terra-500); outline-offset: 2px; }
.units-readout { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.units-readout output { font-size: 44px; font-weight: 700; letter-spacing: -.03em; color: var(--navy-800); line-height: 1; }
.units-readout span { font-size: 15px; color: var(--muted); }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 26px 0 8px; border-radius: 99px; background: linear-gradient(90deg, var(--terra-500) var(--fill, 10%), var(--line) var(--fill, 10%)); outline: none; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--terra-500); box-shadow: 0 2px 8px rgba(28,34,48,.18); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--terra-500); box-shadow: 0 2px 8px rgba(28,34,48,.18); cursor: grab; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--terra-100); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--navy-300); }

.price-out { margin-top: 34px; padding: 24px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line-soft); }
.price-out .tier { font-size: 13px; font-weight: 600; color: var(--terra-600); }
.price-out .amount { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.price-out .amount small { font-size: 16px; font-weight: 600; color: var(--navy-400); }
.price-out .amount strong { font-size: 46px; font-weight: 700; letter-spacing: -.035em; color: var(--navy-800); line-height: 1.05; }
.price-out .amount span { font-size: 16px; color: var(--muted); }
.price-out .annual { margin-top: 6px; font-size: 14px; color: var(--muted); }
.price-calc .btn { margin-top: 24px; height: 52px; font-size: 16px; }
.price-calc .fine { margin-top: 12px; text-align: center; font-size: 13px; color: var(--navy-400); }

.price-incl { padding: 44px; background: var(--navy-800); color: #fff; }
.price-incl h3 { font-size: 18px; font-weight: 600; }
.price-incl > p { margin-top: 6px; font-size: 15px; color: var(--navy-300); }
.incl-list { margin-top: 24px; display: grid; gap: 12px; }
.incl-list li { display: flex; gap: 12px; font-size: 15px; color: #e3e5ea; }
.incl-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--terra-400); }

.tier-table { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.tier-table h4 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-300); }
.tier-table ul { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.tier-table li { display: flex; justify-content: space-between; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; font-size: 14px; color: var(--navy-300); transition: background-color .2s, color .2s; }
.tier-table li b { font-weight: 600; color: #fff; }
.tier-table li.is-active { background: rgba(193, 112, 74, .2); color: #fff; }

.plan-pick { margin-bottom: 14px; }

.compare { margin-top: 40px; }
.compare-title { text-align: center; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--navy-800); }
.compare-scroll { margin-top: 18px; max-width: 100%; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.compare-scroll:focus-visible { outline: 2px solid var(--terra-500); outline-offset: 2px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { vertical-align: bottom; text-align: center; border-bottom: 1px solid var(--line); background: var(--bg); }
.compare-table thead th:first-child { text-align: left; }
.compare-table .plan-name { display: block; font-size: 16px; font-weight: 600; color: var(--navy-800); }
.compare-table .plan-from { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.compare-table .plan-from b { font-weight: 600; color: var(--navy-800); }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--text); }
.compare-table td { text-align: center; }
.compare-table td.yes svg { display: block; margin: 0 auto; width: 20px; height: 20px; color: var(--green); }
.compare-table td.no { color: var(--navy-300); font-size: 18px; }
.compare-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--navy-400); }
/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.faq-aside .btn { margin-top: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 22px 0; cursor: pointer; list-style: none;
    font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--navy-800);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .2s, border-color .2s, transform .25s; }
.faq-list summary .pm::before, .faq-list summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--navy-600); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-list summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq-list details[open] summary .pm { background: var(--terra-500); border-color: var(--terra-500); }
.faq-list details[open] summary .pm::before, .faq-list details[open] summary .pm::after { background: #fff; }
.faq-list details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { padding: 0 52px 24px 0; font-size: 16px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { padding: 0 0 112px; }
.cta-box {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    padding: 56px 60px; border-radius: 28px;
    background: var(--navy-800); color: #fff;
}
.cta-box::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(50% 120% at 100% 0%, rgba(193, 112, 74, .35), transparent 70%);
}
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -.03em; max-width: 560px; text-wrap: balance; }
.cta-box p { margin-top: 12px; font-size: 17px; color: var(--navy-300); max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-actions .btn { height: 52px; padding: 0 26px; font-size: 16px; }

/* ---------- Contact ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.contact-points { margin-top: 36px; display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 14px; align-items: center; }
.contact-points .ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--terra-50); color: var(--terra-500); }
.contact-points .ic svg { width: 20px; height: 20px; }
.contact-points small { display: block; font-size: 13px; color: var(--navy-400); }
.contact-points a, .contact-points strong { font-size: 16px; font-weight: 600; color: var(--navy-800); }
.contact-points a:hover { color: var(--terra-600); }

.form { padding: 36px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; color: var(--navy-700); }
.field label .opt { font-weight: 400; color: var(--navy-300); }
.field input, .field select, .field textarea {
    display: block; width: 100%;
    padding: 12px 14px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--surface);
    font-size: 15px; color: var(--navy-800);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7181'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.17l3.71-3.94a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: var(--navy-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra-500); box-shadow: 0 0 0 3px var(--terra-100); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { height: 50px; }
.form .fine { margin-top: 12px; font-size: 13px; color: var(--navy-400); text-align: center; }

.alert { display: flex; gap: 12px; margin-bottom: 22px; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.alert svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.alert-success { background: var(--green-bg); color: #1f5c3d; }
.alert-error { background: var(--red-bg); color: #8a2f22; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--navy-300); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.site-footer .brand-name { color: #fff; }
.footer-about { margin-top: 18px; max-width: 320px; font-size: 15px; line-height: 1.6; }
.site-footer h4 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.footer-links { margin-top: 18px; display: grid; gap: 10px; }
.footer-links a { font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }

/* ---------- Scroll reveal (added by JS only, so content never hides without it) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
    .showcase .mock-wrap { max-width: 820px; }
    .float-sms { left: -16px; }
    .float-occ { right: -12px; }
    .strip ul { grid-template-columns: repeat(2, 1fr); }
    .strip li:nth-child(3) { border-left: 0; }
    .strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(3n+2) .ic { background: var(--navy-800); }
    .feature:nth-child(4n+2) .ic, .feature:nth-child(4n+3) .ic { background: var(--terra-500); }
    .split, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .price-card { grid-template-columns: 1fr; }
    .cta-box { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: inline-flex; }
    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; }
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 40px; }
    .banner-copy { padding-top: 52px; padding-bottom: 210px; }
    .skyline { height: 230px; }
    .hero-badge { font-size: 12px; }
    .hero-lead { font-size: 17px; }
    .hero-ctas .btn { flex: 1 1 100%; }
    .showcase { margin-top: -130px; padding-bottom: 72px; }
    .showcase .mock-body, .mock-body { grid-template-columns: 1fr; min-height: 0; }
    .mock-side { display: none; }
    .mock-main { padding: 14px; }
    .mock-stats { gap: 6px; }
    .mock-stat { padding: 8px; }
    .mock-stat .v { font-size: 13px; }
    .mock-panels { grid-template-columns: 1fr; }
    .float-occ { display: none; }
    .float-sms { position: relative; left: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
    .strip ul { grid-template-columns: 1fr; }
    .strip li { padding: 18px 4px; }
    .strip li + li { border-left: 0; border-top: 1px solid var(--line); }
    .features-grid { grid-template-columns: 1fr; }
    .feature .ic { background: var(--navy-800) !important; }
    .feature:nth-child(even) .ic { background: var(--terra-500) !important; }
    .price-calc, .price-incl { padding: 28px 22px; }
    .price-out .amount strong { font-size: 38px; }
    .tier-table ul { grid-template-columns: 1fr; }
    .compare-table th, .compare-table td { padding: 12px 10px; }
    .compare-table { font-size: 14px; }
    .compare-table .plan-from { white-space: normal; }
    .compare-table .plan-name { font-size: 15px; }
    .faq-list summary { font-size: 16px; }
    .faq-list details p { padding-right: 0; }
    .cta { padding-bottom: 80px; }
    .cta-box { padding: 40px 24px; border-radius: 22px; }
    .cta-actions, .cta-actions .btn { width: 100%; }
    .form { padding: 22px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Legal pages (privacy.php)
   ========================================================================== */
.site-header.is-plain { border-bottom-color: var(--line); background: rgba(251, 250, 248, .94); }
.legal-back { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--navy-600); }
.legal-back:hover { color: var(--navy-800); }
.legal { padding: 64px 0 96px; }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.15; letter-spacing: -.025em; color: var(--navy-800); }
.legal .legal-meta { margin-top: 12px; font-size: 14px; color: var(--muted); }
.legal .legal-lead { margin-top: 24px; font-size: 17px; color: var(--navy-600); }
.legal-toc { margin-top: 32px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal .legal-toc h2 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.legal-toc a { color: var(--terra-600); }
.legal-toc a:hover { text-decoration: underline; }
.legal h2 { margin-top: 48px; font-size: 22px; letter-spacing: -.015em; color: var(--navy-800); scroll-margin-top: 96px; }
.legal h3 { margin-top: 24px; font-size: 17px; color: var(--navy-800); }
.legal p { margin-top: 12px; color: var(--navy-600); }
.legal ul.bullets { margin-top: 12px; padding-left: 22px; list-style: disc; display: grid; gap: 6px; color: var(--navy-600); }
.legal-body a:not(.btn) { color: var(--terra-600); text-decoration: underline; text-underline-offset: 2px; }
.legal .callout { margin-top: 16px; padding: 16px 20px; background: var(--terra-50); border: 1px solid var(--terra-100); border-radius: var(--radius-sm); color: var(--navy-700); }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 640px) {
    .legal { padding: 40px 0 72px; }
    .legal h2 { margin-top: 40px; font-size: 20px; }
}

/* ==========================================================================
   Mobile app & USSD (Nov 2026)
   ========================================================================== */
a.hero-badge { transition: border-color .2s, background .2s; }
a.hero-badge:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
.lg-ussd { background: var(--terra-50); color: var(--terra-600); border: 1px solid var(--terra-100); }

/* ---------- App section ---------- */
.app { background: linear-gradient(180deg, var(--surface), var(--bg)); border-top: 1px solid var(--line); overflow: hidden; }
.app-split { grid-template-columns: 1.05fr 1fr; }
.app-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.app-roles h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--navy-800); }
.app-roles h3 .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--navy-800); color: #fff; }
.app-roles > div + div h3 .ic { background: var(--terra-500); }
.app-roles h3 .ic svg { width: 17px; height: 17px; }
.app-roles ul { margin-top: 14px; display: grid; gap: 9px; }
.app-roles li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.app-roles li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--terra-500); }
.app-get { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.app-get .meta { font-size: 13px; color: var(--navy-400); }
.app-note { margin-top: 14px; max-width: 520px; font-size: 14px; color: var(--muted); }
.app-note strong { color: var(--navy-700); font-weight: 600; }
.app-note a { color: var(--terra-600); text-decoration: underline; text-underline-offset: 2px; }

/* Phones */
.devices { position: relative; height: 620px; }
.devices::before {
    content: ''; position: absolute; inset: 8% 2% 6% 6%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(193, 112, 74, .22), rgba(193, 112, 74, 0));
}
.phone {
    position: absolute; width: 272px; padding: 10px; border-radius: 44px;
    background: linear-gradient(145deg, #2c3343, #12161f);
    box-shadow: 0 40px 80px -24px rgba(22, 27, 38, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone::before { content: ''; position: absolute; z-index: 2; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 999px; background: #0d1017; }
.phone::after { content: ''; position: absolute; right: -3px; top: 120px; width: 3px; height: 64px; border-radius: 0 3px 3px 0; background: #2c3343; }
.phone-screen {
    position: relative; height: 560px; padding: 46px 14px 0; border-radius: 35px; overflow: hidden;
    background: #f5f2ee; font-size: 12px; color: var(--navy-800);
    display: flex; flex-direction: column; gap: 10px;
}
.phone-front { right: 4%; top: 0; z-index: 2; }
.phone-back { left: 2%; top: 56px; transform: rotate(-7deg) scale(.9); transform-origin: bottom center; }
.ps-status { position: absolute; top: 18px; left: 26px; right: 26px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }
.ps-sig { display: flex; align-items: flex-end; gap: 2px; }
.ps-sig i { width: 3px; border-radius: 1px; background: currentColor; }
.ps-sig i:nth-child(1) { height: 5px; }
.ps-sig i:nth-child(2) { height: 7px; }
.ps-sig i:nth-child(3) { height: 9px; }
.ps-tabs { margin: auto -14px 0; display: flex; justify-content: space-around; padding: 12px 10px 18px; background: #fff; border-top: 1px solid var(--line-soft); }
.ps-tabs i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }
.ps-tabs i.on { background: var(--terra-500); }

/* Landlord dashboard */
.pl-head { display: flex; align-items: center; gap: 10px; }
.pl-head small { display: block; font-size: 10px; color: var(--muted); }
.pl-head strong { display: block; font-size: 14px; letter-spacing: -.01em; }
.pl-logo { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--navy-800); }
.pl-logo svg { width: 20px; height: 20px; }
.pl-bell { position: relative; margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.pl-bell svg { width: 15px; height: 15px; }
.pl-bell b { position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--terra-500); box-shadow: 0 0 0 2px #fff; }
.pl-hero { padding: 14px; border-radius: 18px; background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); color: #fff; }
.pl-hero small { font-size: 10px; color: #c9ccd4; }
.pl-hero strong { display: block; margin-top: 3px; font-size: 21px; letter-spacing: -.02em; }
.pl-hero strong span { font-size: 11px; font-weight: 500; color: #c9ccd4; }
.pl-hero em { font-style: normal; font-size: 10px; color: #8fd3ad; }
.pl-bars { margin-top: 12px; height: 46px; display: flex; align-items: flex-end; gap: 7px; }
.pl-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, .16); }
.pl-bars i.on { background: var(--terra-500); }
.pl-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-stats div { padding: 10px 11px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); }
.pl-stats small { font-size: 10px; color: var(--muted); }
.pl-stats strong { display: block; font-size: 17px; letter-spacing: -.02em; }
.pl-stats strong.warn { color: var(--red); }
.pl-stats span { font-size: 10px; color: var(--navy-400); }
.pl-list { padding: 10px 11px 4px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); }
.pl-list-h { margin-bottom: 4px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-400); }
.pl-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; }
.pl-row + .pl-row { border-top: 1px solid var(--line-soft); }
.pl-row strong { display: block; font-size: 11.5px; }
.pl-row small { display: block; font-size: 10px; color: var(--muted); }
.pl-row b { margin-left: auto; font-size: 11.5px; color: var(--green); }
.pl-av { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-800); color: #fff; font-size: 9px; font-weight: 700; }
.pl-av.is-terra { background: var(--terra-500); }
.pl-av.is-green { background: var(--green); }

/* Tenant screen */
.pt-head small { display: block; font-size: 11px; color: var(--muted); }
.pt-head strong { font-size: 18px; letter-spacing: -.02em; }
.pt-owe { padding: 15px; border-radius: 18px; background: var(--navy-800); color: #fff; }
.pt-owe small { font-size: 10px; color: #c9ccd4; }
.pt-owe strong { display: block; margin-top: 4px; font-size: 22px; letter-spacing: -.02em; }
.pt-owe span { display: block; font-size: 10px; color: #c9ccd4; }
.pt-owe b { display: block; margin-top: 12px; padding: 9px; border-radius: 10px; background: var(--terra-500); text-align: center; font-weight: 600; }
.pt-card { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); }
.pt-card strong { display: block; font-size: 11.5px; }
.pt-card small { display: block; font-size: 10px; color: var(--muted); }
.pt-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--terra-50); color: var(--terra-500); }
.pt-ic.is-green { background: var(--green-bg); color: var(--green); }
.pt-ic svg { width: 15px; height: 15px; }

/* Notification */
.push-card {
    position: absolute; z-index: 3; left: -36px; bottom: 34px; width: 244px;
    display: flex; gap: 10px; padding: 12px 14px; border-radius: 18px;
    background: rgba(255, 255, 255, .97); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    font-size: 12px; color: var(--muted); line-height: 1.4;
    animation: push-float 5s ease-in-out infinite;
}
.push-card small { display: block; font-size: 10px; color: var(--navy-400); }
.push-card strong { display: block; font-size: 13px; color: var(--navy-800); }
.push-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--terra-500); }
.push-ic svg { width: 21px; height: 21px; }
@keyframes push-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- USSD section ---------- */
.ussd { position: relative; overflow: hidden; background: var(--navy-800); color: #fff; }
.ussd::before {
    content: ''; position: absolute; left: -160px; bottom: -200px; width: 560px; height: 560px;
    background: url('../img/logo-mark.svg') no-repeat center / contain; opacity: .04; filter: invert(1);
}
.ussd .container { position: relative; }
.ussd .eyebrow { color: var(--terra-400); }
.ussd .eyebrow::before { background: var(--terra-400); }
.ussd .section-title { color: #fff; }
.ussd .section-title em { color: var(--terra-400); }
.ussd .section-lead { color: var(--navy-300); }
.ussd-inline { color: #fff; font-weight: 700; white-space: nowrap; border-bottom: 2px solid var(--terra-500); }
.ussd-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ussd-flow::before { content: ''; position: absolute; left: 6%; right: 6%; top: 150px; border-top: 2px dashed rgba(255, 255, 255, .14); }
.uf-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.uf-visual { height: 300px; width: 100%; display: flex; align-items: center; justify-content: center; }
.uf-text { text-align: center; }
.uf-text b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--terra-500); font-size: 14px; }
.uf-text strong { display: block; margin-top: 12px; font-size: 16px; font-weight: 600; }
.uf-text span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--navy-300); }

/* Basic phone */
.feature-phone {
    width: 150px; display: flex; flex-direction: column; align-items: center; padding: 16px 14px 18px; border-radius: 34px 34px 40px 40px;
    background: linear-gradient(160deg, #3a4254, #1a1f2b);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.fp-screen {
    width: 100%; height: 92px; padding: 10px; border-radius: 10px; background: #b9d3b0; color: #1f3320;
    display: flex; align-items: flex-end; justify-content: center; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .25);
    font-family: 'Courier New', monospace;
}
.fp-dial { font-size: 16px; font-weight: 700; }
.fp-cursor { width: 2px; height: 16px; margin-left: 2px; background: #1f3320; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fp-keys { width: 100%; margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fp-keys i { display: grid; place-items: center; height: 22px; border-radius: 8px; background: rgba(255, 255, 255, .1); font-style: normal; font-size: 11px; font-weight: 600; color: #e5e7ec; }
.fp-call { width: 46px; height: 14px; margin-top: 10px; border-radius: 999px; background: #3f9a67; }

/* USSD dialog, as Android shows it */
.ussd-box {
    width: 100%; max-width: 200px; padding: 16px 14px 10px; border-radius: 14px; background: #fff; color: #1c2230;
    box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6); font-size: 12px; line-height: 1.45;
}
.ub-input { margin-top: 12px; padding: 4px 2px 5px; border-bottom: 2px solid var(--terra-500); font-weight: 600; }
.ub-actions { margin-top: 12px; display: flex; justify-content: flex-end; gap: 18px; font-size: 12px; font-weight: 700; color: var(--terra-600); text-transform: uppercase; letter-spacing: .04em; }
.ussd-box.is-pin { border-top: 5px solid #ffcb05; }

/* Receipts */
.sms-stack { width: 100%; max-width: 210px; display: flex; flex-direction: column; gap: 12px; }
.sms { padding: 11px 13px; border-radius: 16px 16px 16px 4px; background: #2f3648; border: 1px solid rgba(255, 255, 255, .1); font-size: 12px; line-height: 1.45; color: #e5e7ec; }
.sms small { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--terra-400); }
.sms.is-app { border-radius: 16px 16px 4px 16px; background: #fff; color: var(--navy-800); }
.sms.is-app strong { font-size: 13px; }
.ussd-note { margin-top: 48px; text-align: center; font-size: 13px; color: var(--navy-400); }

@media (prefers-reduced-motion: reduce) { .push-card, .fp-cursor { animation: none; } }

@media (max-width: 1080px) {
    .app-split { grid-template-columns: 1fr; }
    .devices { width: 100%; max-width: 560px; margin: 0 auto; }
    .ussd-flow { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
    .ussd-flow::before { display: none; }
}
@media (max-width: 640px) {
    .app-roles { grid-template-columns: 1fr; gap: 24px; }
    .app-get .btn { width: 100%; }
    .devices { height: 600px; }
    .phone { width: 250px; }
    .phone-screen { height: 520px; }
    .phone-front { right: auto; left: 50%; margin-left: -125px; }
    .phone-back { display: none; }
    .push-card { left: 50%; bottom: 0; width: min(290px, 94%); margin-left: max(-145px, -47%); animation: none; }
    .ussd-flow { grid-template-columns: 1fr; row-gap: 40px; }
    .uf-visual { height: auto; }
}

/* ==========================================================================
   Brand gradient background: the same drifting glow as the Primora web app
   (.app-bg in the app's resources/css/app.css) and the mobile app.
   Dark sections (banner, how it works, USSD, CTA, footer) paint over it.
   ========================================================================== */
body { background: #fbfaf9; }
body::before, body::after {
    content: ''; position: fixed; inset: -15vmax; z-index: -1; pointer-events: none; will-change: transform;
}
body::before {
    background:
        radial-gradient(42vmax 34vmax at 82% 8%, rgba(214, 140, 104, .30), rgba(214, 140, 104, .12) 45%, transparent 72%),
        radial-gradient(40vmax 36vmax at 6% 42%, rgba(110, 146, 226, .24), rgba(110, 146, 226, .09) 48%, transparent 72%);
    animation: app-drift-a 28s ease-in-out infinite alternate;
}
body::after {
    background:
        radial-gradient(44vmax 32vmax at 62% 100%, rgba(170, 146, 232, .24), rgba(170, 146, 232, .08) 48%, transparent 72%),
        radial-gradient(30vmax 26vmax at 98% 62%, rgba(236, 170, 190, .18), transparent 70%);
    animation: app-drift-b 34s ease-in-out infinite alternate;
}
@keyframes app-drift-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-3vmax, 2.5vmax, 0); } }
@keyframes app-drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(3vmax, -2.5vmax, 0); } }
@media (prefers-reduced-motion: reduce) { body::before, body::after { animation: none; } }
html { overflow-x: clip; }

/* Light sections let the glow through; cards stay solid white. */
.strip { background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.app, .pricing { background: transparent; }
.app { border-top: 0; }
.mobile-menu { background: rgba(251, 250, 249, .97); }
