.nav-bar { display: flex; align-items: center; gap: 1.25rem; }
.site-nav { margin: 0 auto; gap: 1.35rem; }
.site-nav > a, .nav-drop summary { font-size: 0.92rem; color: #f8fafc; }
.desk-cta, .btn-nav { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.78rem; padding: 0.72rem 1.05rem; white-space: nowrap; }
.mobile-cta { display: none; }
.is-home .site-header { background: #050b16; border-bottom-color: transparent; box-shadow: none; }
.is-home .hero {
  background:
    radial-gradient(520px 280px at 78% 18%, rgba(37,99,235,.28), transparent 70%),
    radial-gradient(420px 240px at 88% 70%, rgba(33,182,215,.16), transparent 70%),
    linear-gradient(180deg, #050b16 0%, #071629 72%, #0a1a30 100%);
  padding: 1.4rem 0 2.6rem;
}
.is-home .hero h1 {
  text-transform: uppercase;
  font-size: clamp(2.15rem, 2.7vw, 2.7rem);
  line-height: 1.02;
  max-width: none;
}
.is-home .hero h1 span { display: block; white-space: nowrap; }
.is-home .hero .lede { font-size: 1rem; max-width: 38rem; color: #c5d0e0; }
.hero-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 1rem; align-items: center; }

.scene { position: relative; height: 540px; }
.scene-photo { height: auto; margin: 0; display: flex; align-items: center; justify-content: center; }
.scene-photo img { width: 100%; height: auto; max-height: 560px; object-fit: contain; display: block; border-radius: 5px; }
.scene-globe { position: absolute; width: 430px; height: 430px; right: -30px; top: -36px; opacity: .95; }
.chip {
  position: absolute; z-index: 5; color: white; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  background: rgba(7,22,41,.72); border: 1px solid rgba(214,173,85,.55);
  border-radius: 999px; padding: .35rem .7rem; backdrop-filter: blur(8px);
}
.chip-web { top: 18px; left: 8px; }
.chip-mobile { left: 0; top: 196px; }
.chip-ai { right: 8px; bottom: 28px; }
.scene-laptop, .scene-phone, .scene-pad { position: absolute; }
.scene-laptop { width: 430px; left: 78px; top: 78px; z-index: 2; }
.scene-screen { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); }
.scene-screen.light { background: #f7f9fc; color: #0f172a; }
.scene-screen.app { background: linear-gradient(180deg, #12325f, #0b1d38); color: white; }
.scene-top { display: flex; align-items: center; gap: 6px; padding: .55rem .7rem; font-size: .72rem; background: rgba(15,23,42,.06); }
.app .scene-top { background: rgba(255,255,255,.06); }
.scene-top i { width: 7px; height: 7px; border-radius: 50%; background: #d6ad55; display: block; }
.scene-top b { margin-left: auto; font-weight: 650; }
.scene-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; padding: .65rem; }
.scene-kpis span { background: white; border: 1px solid #e6ebf3; border-radius: 10px; padding: .4rem .45rem; }
.scene-kpis small { display: block; color: #64748b; font-size: .65rem; }
.scene-bars { height: 92px; display: flex; align-items: end; gap: 7px; padding: 0 .7rem .45rem; }
.scene-bars em { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #38bdf8, #2563eb); display: block; }
.scene-bars.slim { height: 70px; }
.scene-lines { display: grid; gap: 6px; padding: 0 .7rem .7rem; }
.scene-lines i { height: 8px; border-radius: 6px; background: #e8eef6; display: block; }
.scene-base { height: 14px; margin: 0 46px; background: linear-gradient(#d7deea, #b7c3d4); border-radius: 0 0 12px 12px; }
.scene-phone { width: 158px; left: 0; top: 248px; z-index: 4; }
.scene-phone .scene-screen { border-radius: 22px; border: 3px solid #d6ad55; }
.app-balance { margin: .7rem; padding: .7rem; border-radius: 12px; background: linear-gradient(160deg, #2563eb, #21b6d7); }
.app-balance small { display: block; opacity: .85; font-size: .68rem; }
.scene-phone ul { list-style: none; margin: 0; padding: 0 .7rem .7rem; }
.scene-phone li { display: flex; gap: .4rem; align-items: center; font-size: .72rem; padding: .28rem 0; color: #e8eef7; }
.scene-phone li span { width: 16px; height: 16px; border-radius: 5px; background: rgba(255,255,255,.14); }
.scene-pad { width: 210px; right: 0; top: 250px; z-index: 4; }
.assistant { display: grid; grid-template-columns: 36px 1fr; gap: .5rem; padding: .7rem; align-items: center; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(160deg, #d6ad55, #2563eb); }
.assistant p { margin: 0; color: #64748b; font-size: .72rem; }
.scene-pad ol { display: flex; gap: .35rem; list-style: none; margin: 0; padding: 0 .7rem .75rem; }
.scene-pad li { font-size: .68rem; color: #94a3b8; padding: .2rem .4rem; border-radius: 999px; background: #eef3f9; }
.scene-pad li.on { background: #071629; color: #d6ad55; }

.trust-band { background: white; padding: 1.5rem 0 0.4rem; border-bottom: 1px solid #e8eef5; }
.band-label { margin: 0 0 .9rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #071629; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-row article { display: flex; gap: .7rem; align-items: flex-start; }
.trust-ico { width: 34px; height: 34px; border-radius: 10px; background: #f8f1de; color: #8a6a22; display: grid; place-items: center; flex: none; }
.trust-row h3 { font-size: .95rem; margin-bottom: .15rem; }
.trust-row p { color: #64748b; font-size: .86rem; margin: 0; }

.is-home .section { padding: 4rem 0; }
.is-home h2 { text-transform: uppercase; letter-spacing: -0.03em; }
.services-band { background: #f7f9fc; }
.service-card { border-radius: 16px; min-height: 210px; box-shadow: 0 10px 30px rgba(7,22,41,.04); }
.service-card h3 { font-size: 1.05rem; }
.service-icon { background: #eef4ff; color: #2563eb; border-radius: 12px; }

.why-band {
  background:
    radial-gradient(500px 240px at 15% 40%, rgba(37,99,235,.25), transparent 70%),
    linear-gradient(180deg, #071629, #0b1c33);
  color: white;
}
.why-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center; }
.why-stage { margin: 0; }
.why-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 5px;
  display: block;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1.2rem; margin: 1.2rem 0 1.3rem; }
.why-grid article { display: flex; gap: .65rem; }
.why-grid span { width: 32px; height: 32px; border-radius: 9px; background: rgba(214,173,85,.15); color: #e4c47a; display: grid; place-items: center; flex: none; }
.why-grid h3 { font-size: .98rem; margin: 0 0 .15rem; }
.why-grid p { margin: 0; color: #c5d0e0; font-size: .86rem; }

.portfolio-band { background: white; }
.shot-ui { min-height: 180px; background: #0e1c30; padding: .7rem; }
.shot-top { height: 10px; width: 42%; border-radius: 6px; background: rgba(255,255,255,.2); margin-bottom: .7rem; }
.shot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.shot-row i { height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: block; }
.shot-chart { height: 64px; margin-top: 8px; border-radius: 8px; background: linear-gradient(180deg, rgba(56,189,248,.7), rgba(37,99,235,.15)); }
.shot-lines { display: grid; gap: 6px; margin-top: 8px; }
.shot-lines b { height: 8px; border-radius: 6px; background: rgba(255,255,255,.1); display: block; }
.shot-ui[data-tone="afripaystudio"] { background: linear-gradient(160deg, #1e1b4b, #0f172a); }
.shot-ui[data-tone="afripay-global"] { background: linear-gradient(160deg, #064e3b, #0f172a); }
.shot-ui[data-tone="afripay-cbt"] { background: linear-gradient(160deg, #1e3a8a, #0f172a); }
.shot-ui[data-tone="smart-policing"] { background: linear-gradient(160deg, #111827, #1f2937); }
.shot-ui[data-tone="societal-learning"] { background: linear-gradient(160deg, #7c2d12, #1c1917); }
.project-card { border: 0; box-shadow: 0 12px 30px rgba(7,22,41,.06); }
.project-visual img { height: 210px; object-position: center top; }
.project-body .eyebrow { color: #2563eb; margin-bottom: .25rem; }

.process-band { background: #f7f9fc; }
.process { position: relative; }
.process:before {
  content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px; background: #ead9ae;
}
.process li span { position: relative; z-index: 1; box-shadow: 0 0 0 6px #f7f9fc; }
.process h3 { font-size: .92rem; text-transform: uppercase; }

.industry-band { background: white; }
.ind-card { background: white; border: 1px solid #e8eef5; border-radius: 16px; padding: 1rem; }
.ind-card h3 { font-size: .95rem; }
.ind-card p { color: #64748b; font-size: .84rem; }
.ind-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: .7rem; }
.ind-card[data-tone="bank"] .ind-ico { background: #e7f0ff; color: #2563eb; }
.ind-card[data-tone="building"] .ind-ico { background: #fff4d6; color: #a16207; }
.ind-card[data-tone="graduation"] .ind-ico { background: #fce7f3; color: #be185d; }
.ind-card[data-tone="heart"] .ind-ico { background: #dcfce7; color: #15803d; }
.ind-card[data-tone="cart"] .ind-ico { background: #ffedd5; color: #c2410c; }
.ind-card[data-tone="truck"] .ind-ico { background: #e0f2fe; color: #0369a1; }
.ind-card[data-tone="briefcase"] .ind-ico { background: #ede9fe; color: #6d28d9; }
.ind-card[data-tone="users"] .ind-ico { background: #ccfbf1; color: #0f766e; }
.ind-card[data-tone="home"] .ind-ico { background: #fef9c3; color: #a16207; }
.ind-card[data-tone="siren"] .ind-ico { background: #e2e8f0; color: #1e293b; }

.final-cta { background: #071629; color: white; padding: 3.2rem 0; }
.final-cta-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.final-cta h2 { margin-bottom: .4rem; }
.final-cta p { margin: 0; color: #c5d0e0; max-width: 38rem; }
.final-cta-actions { text-align: right; }
.final-cta-actions p { margin-top: .55rem; font-size: .8rem; color: #94a3b8; }

.site-footer { background: #050b16; }
.site-footer a { font-size: 0.9rem; line-height: 1.45; }
.site-footer h2 { font-size: .78rem; letter-spacing: .12em; }
.footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); }

@media (max-width: 1100px) {
  .hero-layout, .why-layout, .trust-row, .final-cta-inner { grid-template-columns: 1fr; display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .final-cta-inner { display: grid; }
  .final-cta-actions { text-align: left; }
  .scene { height: 460px; }
  .scene-photo { height: auto; }
  .scene-laptop { width: min(430px, 86%); left: 40px; }
  .why-photo { height: 320px; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .desk-cta { display: none; }
  .mobile-cta { display: inline-flex; margin-top: .4rem; }
  .nav-bar { display: flex; }
  .site-nav { margin: 0; }
  .hero-copy { min-width: 0; max-width: 100%; }
  .is-home .hero h1 { font-size: 1.55rem; line-height: 1.05; max-width: none; }
  .is-home .hero .eyebrow, .trust-line { max-width: 100%; overflow-wrap: anywhere; }
  .scene { height: 320px; width: 100%; overflow: hidden; }
  .scene-photo { height: auto; width: 100%; overflow: visible; }
  .scene-photo img { max-height: none; }
  .scene-laptop { left: 8px; top: 28px; width: 78%; }
  .scene-phone { left: 0; top: 150px; width: 132px; }
  .scene-pad, .chip-ai, .scene-globe { display: none; }
  .process:before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
}

.is-home { background: #f5f8fd; }
.is-home .site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid #e6eef8; }
.is-home .site-header.is-scrolled { background: #fff; box-shadow: 0 8px 24px rgba(16,29,58,.06); }
.is-home .site-nav > a, .is-home .nav-drop summary { color: #101d3a; }
.is-home .site-nav > a.is-active, .is-home .nav-drop summary.is-active { color: #0869ed; }
.is-home .brand-text strong, .is-home .brand-text small { color: #101d3a; }
.is-home .brand-mark { background: #0869ed; color: #fff; }
.is-home .desk-cta, .is-home .mobile-cta {
  background: #0869ed; color: #fff; border: 0; text-transform: none; letter-spacing: 0;
  border-radius: 999px; font-weight: 700;
}
.is-home .nav-toggle { color: #101d3a; }

.hx { padding: 2.2rem 0 0; background: linear-gradient(180deg, #fff 0%, #f5f8fd 70%); overflow: hidden; }
.hx-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 1.5rem; align-items: center; }
.hx-kicker { color: #0869ed; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .7rem; }
.hx-copy h1 { color: #101d3a; font-size: clamp(2.2rem, 3.4vw, 3.35rem); line-height: 1.05; letter-spacing: -.03em; text-transform: none; max-width: 11em; margin: 0 0 1rem; }
.hx-copy h1 span { display: block; }
.hx-copy h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #0869ed, #36a2ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-copy p { color: #65738c; font-size: 1.05rem; max-width: 38rem; }
.hx-primary { background: #0869ed; color: #fff; border-radius: 999px; padding: .9rem 1.3rem; }
.hx-secondary { background: #fff; color: #0869ed; border: 1.5px solid #c9ddfb; border-radius: 999px; padding: .9rem 1.3rem; }
.hx-stage { position: relative; min-height: 460px; }
.hx-rig { position: relative; height: 420px; transform-style: preserve-3d; }
.hx-tag {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.92); color: #101d3a; border-radius: 999px;
  padding: .4rem .7rem; font-size: .75rem; font-weight: 700;
  box-shadow: 0 10px 24px rgba(16,29,58,.12);
}
.hx-tag-web { top: 18px; left: 8%; }
.hx-tag-mobile { top: 36px; right: 0; }
.hx-tag-soft { right: 4%; bottom: 92px; }
.hx-tag-shop { left: 0; bottom: 70px; }
.hx-monitor, .hx-laptop, .hx-phone { position: absolute; }
.hx-monitor { width: 58%; left: 18%; top: 0; z-index: 1; }
.hx-laptop { width: 46%; left: 4%; top: 168px; z-index: 2; }
.hx-phone { width: 22%; right: 6%; top: 120px; z-index: 3; }
.hx-bezel { background: #101d3a; border-radius: 16px; padding: 8px; box-shadow: 0 18px 40px rgba(16,29,58,.18); overflow: hidden; }
.hx-phone .hx-bezel { border-radius: 22px; padding: 7px; }
.hx-screen { display: none; aspect-ratio: 16/10; background: #eef4ff; }
.hx-phone .hx-screen { aspect-ratio: 9/16; }
.hx-stage[data-active="0"] .hx-screen[data-i="0"],
.hx-stage[data-active="1"] .hx-screen[data-i="1"],
.hx-stage[data-active="2"] .hx-screen[data-i="2"],
.hx-stage[data-active="3"] .hx-screen[data-i="3"] { display: block; }
.hx-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hx-stand { width: 34%; height: 10px; margin: 0 auto; background: #d5deea; border-radius: 0 0 8px 8px; }
.hx-mock { height: 100%; background:
  linear-gradient(#fff, #fff) 8% 12% / 84% 14% no-repeat,
  linear-gradient(#dbeafe, #dbeafe) 8% 34% / 38% 48% no-repeat,
  linear-gradient(#e0f2fe, #e0f2fe) 50% 34% / 42% 22% no-repeat,
  linear-gradient(#0869ed, #36a2ff) 50% 60% / 42% 22% no-repeat,
  #f8fbff; }
.hx-mock-mobile { background:
  linear-gradient(#0869ed, #0869ed) 0 0 / 100% 18% no-repeat,
  linear-gradient(#fff, #fff) 10% 28% / 80% 12% no-repeat,
  linear-gradient(#dbeafe, #dbeafe) 10% 46% / 80% 16% no-repeat,
  linear-gradient(#36a2ff, #36a2ff) 10% 68% / 80% 16% no-repeat,
  #f5f8fd; }
.hx-mock-commerce { background:
  linear-gradient(#fff, #fff) 6% 8% / 28% 38% no-repeat,
  linear-gradient(#fff, #fff) 36% 8% / 28% 38% no-repeat,
  linear-gradient(#fff, #fff) 66% 8% / 28% 38% no-repeat,
  linear-gradient(#ff9d24, #ff9d24) 6% 72% / 40% 14% no-repeat,
  #eef4ff; }
.hx-switch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin-top: .8rem; }
.hx-switch button {
  border: 1px solid #d5e4f8; background: #fff; color: #101d3a; border-radius: 999px;
  padding: .4rem .3rem; font: inherit; font-size: .68rem; font-weight: 700; cursor: pointer;
  white-space: nowrap; text-align: center;
}
.hx-switch button[aria-selected="true"] { background: #0869ed; color: #fff; border-color: #0869ed; }
.hx-caption { color: #65738c; font-size: .82rem; margin: .55rem 0 0; max-width: 40rem; }
.hx-tech { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: 1rem 0 1.4rem; text-align: center; }
.hx-tech p { margin: 0; color: #65738c; font-size: .82rem; font-weight: 700; }
.hx-tech ul { display: flex; justify-content: center; gap: .4rem; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; width: 100%; }
.hx-tech li { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid #e6eef8; border-radius: 999px; padding: .28rem .55rem; font-size: .72rem; font-weight: 700; color: #101d3a; white-space: nowrap; }
.hx-tech-mark { width: 16px; height: 16px; display: block; flex: none; }
.hx-flow { background: #fff; padding: 2.4rem 0; }
.hx-flow h2 { margin-top: 0; color: #101d3a; }
.hx-flow ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; list-style: none; margin: 1rem 0 0; padding: 0; position: relative; }
.hx-flow ol:before { content: ""; position: absolute; top: 18px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, #0869ed, #36a2ff); }
.hx-flow li { text-align: center; }
.hx-flow li span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto .45rem; background: #0869ed; color: #fff; font-weight: 800; position: relative; z-index: 1; }
.hx-flow h3 { font-size: .95rem; margin: 0 0 .2rem; color: #101d3a; }
.hx-flow p { margin: 0; color: #65738c; font-size: .82rem; }
.hx-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hx-service { background: #fff; border: 1px solid #e6eef8; border-radius: 18px; padding: 1.15rem; box-shadow: 0 10px 30px rgba(16,29,58,.04); transition: transform .25s ease, box-shadow .25s ease; }
.hx-service:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(8,105,237,.12); }
.final-cta .hx-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.final-cta-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }

@media (prefers-reduced-motion: no-preference) {
  .hx-copy h1 span { animation: hx-rise .7s ease both; }
  .hx-copy h1 span:nth-child(2) { animation-delay: .12s; }
  .hx-laptop { animation: hx-float 6s ease-in-out infinite; }
  .hx-phone { animation: hx-float 7s ease-in-out infinite reverse; }
  .hx-flow.is-in ol:before { transform-origin: left; animation: hx-line .8s ease both; }
}
@keyframes hx-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hx-float { 50% { transform: translateY(-8px); } }
@keyframes hx-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .hx-copy h1 span, .hx-laptop, .hx-phone, .hx-flow ol:before { animation: none; }
  .hx-service { transition: none; }
}
@media (max-width: 980px) {
  .hx-grid, .hx-services, .hx-flow ol { grid-template-columns: 1fr; }
  .hx-copy h1 { max-width: none; }
  .hx-primary, .hx-secondary { display: flex; justify-content: center; }
  .cta-row { display: grid; }
  .hx-monitor, .hx-tag-web, .hx-tag-soft { display: none; }
  .hx-rig { height: 360px; }
  .hx-laptop { width: 70%; left: 0; top: 30px; }
  .hx-phone { width: 28%; right: 0; top: 70px; }
  .hx-flow ol:before { display: none; }
  .hx-flow li { text-align: left; display: grid; grid-template-columns: 36px 1fr; gap: .2rem .7rem; }
  .hx-flow li span { grid-row: span 2; margin: 0; }
  .final-cta-actions { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .hx-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-switch button { font-size: .78rem; padding: .5rem .55rem; }
  .hx-tech ul { flex-wrap: wrap; }
  .hx-tech li { font-size: .78rem; }
}
