:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  background: #ffffff;
  color: #14253d;
  --panel: #ffffff;
  --line: #dce4ee;
  --muted: #50617a;
  --accent: #5226da;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 78% 0%, #f0edff, transparent 54rem); min-height: 100vh; }
main { width: min(100% - 2rem, 75rem); margin: auto; padding-bottom: 4rem; }
header { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.brand { color: inherit; font-size: 1.45rem; font-weight: 850; letter-spacing: -.05em; text-decoration: none; }
.brand span { display: inline-grid; place-items: center; width: 2rem; height: 2rem; background: #5226da; color: #ffffff; border-radius: .55rem; }
nav { display: flex; flex-wrap: wrap; gap: .35rem; }
nav a { color: var(--muted); padding: .45rem .7rem; border-radius: .45rem; text-decoration: none; }
nav a:hover, nav a[aria-current] { color: white; background: #eef0fb; }
.environment { margin-left: auto; color: #086b51; border: 1px solid #b9e6d8; padding: .3rem .6rem; border-radius: .45rem; font-size: .8rem; }
h1 { font-size: clamp(2.25rem, 7vw, 5.25rem); letter-spacing: -.07em; line-height: 1.02; margin: 0 0 1rem; }
h1 em { color: var(--accent); font-style: normal; }
h2 { letter-spacing: -.035em; margin: 0 0 .85rem; }
p { color: var(--muted); line-height: 1.6; }
a { color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem; padding: clamp(2.5rem, 8vw, 6rem) 0 3rem; }
.hero p { max-width: 35rem; font-size: 1.1rem; }
.hero-actions, #actions, #paynow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.hero-visual { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 19rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.5rem; background: radial-gradient(circle, #614db3, #231b48 56%, #13172d); }
.orbit { position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid #ad9bff; border-radius: 50%; transform: rotate(-24deg) scaleY(.53); box-shadow: 0 0 0 26px #a98cff34, 0 0 0 52px #61eecb21, 0 0 0 79px #a98cff17; }
.signal { z-index: 1; display: grid; place-items: center; width: 7rem; height: 7rem; border: 1px solid #c4b8ff; border-radius: 1.7rem; color: #ffffff; background: linear-gradient(145deg,#e1d7ff,#9980ff); font-size: 5rem; box-shadow: 0 0 60px #aa89ff92; transform: rotate(-10deg); }
.workspaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.workspaces a { display: grid; gap: .45rem; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: .8rem; padding: 1.1rem; text-decoration: none; color: inherit; }
.workspaces a:nth-child(2) { border-top-color: #81e8c6; }
.workspaces a:nth-child(3) { border-top-color: #ffadce; }
.workspaces a:hover { background: #f6f8fd; }
.workspaces span { color: var(--muted); }
.sandbox { margin-top: 3rem; }
.workspace h1 { font-size: clamp(2rem, 5vw, 3.75rem); margin-top: 2rem; }
section { margin-top: 1rem; padding: clamp(1rem, 3vw, 1.6rem); background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; }
.workspace section, .workspace > main > form { max-width: 56rem; }
dl { margin: 0 0 1rem; }
dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
dt { color: var(--muted); }
button, .button { display: inline-block; border: 0; border-radius: .55rem; background: #5226da; color: #ffffff; padding: .72rem 1rem; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #411caf; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #086b51; outline-offset: 3px; }
form { display: grid; gap: .9rem; justify-items: start; margin-block: 1rem; }
label { display: grid; gap: .35rem; width: min(100%, 32rem); color: var(--muted); }
input, select { width: 100%; min-width: 0; font: inherit; color: inherit; padding: .65rem; background: #f8faff; border: 1px solid #b8c7db; border-radius: .45rem; }
li { padding: .55rem .2rem; overflow-wrap: anywhere; }
#order { font-size: 1.25rem; color: #14253d; }
#share { margin-top: 1rem; }
#share button, #share a { margin-top: .6rem; display: inline-block; }
[hidden] { display: none !important; }
@media (max-width: 660px) {
  header { gap: .65rem; }
  nav { order: 3; width: 100%; }
  nav a { padding-inline: .48rem; }
  .hero, .workspaces { grid-template-columns: 1fr; }
  .hero-visual { min-height: 13rem; }
}

textarea { width: 100%; font: inherit; color: inherit; padding: .65rem; background: #f8faff; border: 1px solid #b8c7db; border-radius: .45rem; resize: vertical; }

#account-actions { display: grid; gap: .65rem; padding: 1rem; border: 1px solid var(--line); border-radius: .65rem; background: #f8faff; }
#account-actions a { padding: .3rem; text-decoration: none; }
#account-actions button { justify-self: start; order: 1; }
#pending-applications input[type="checkbox"] { width: auto; }
#pending-applications label:has(input[type="checkbox"]) { display: flex; align-items: center; }
@media (min-width: 760px) {
  #seller:has(#account-actions:not([hidden])) { display: grid; grid-template-columns: 12rem minmax(0,1fr); column-gap: 1.5rem; }
  #seller:has(#account-actions:not([hidden])) > :not(#account-actions) { grid-column: 2; }
  #account-actions { grid-column: 1; grid-row: 1 / span 7; align-self: start; position: sticky; top: 1rem; }
}

.portal {
  --sidebar-width: 15rem;
  --portal-canvas: #f7f9fc;
  background: var(--portal-canvas);
}
.portal-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  overflow-y: auto;
  padding: 1.35rem .85rem;
  background: #fff;
  border-right: 1px solid var(--line);
}
.portal-brand {
  display: flex;
  gap: .65rem;
  align-items: center;
  width: fit-content;
  margin: 0 .55rem 1.7rem;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 780;
  letter-spacing: -.05em;
  text-decoration: none;
}
.portal-brand svg { width: 1.9rem; height: 1.9rem; padding: .35rem; border-radius: .5rem; background: var(--accent); color: white; }
.portal-nav { display: grid; gap: .25rem; }
.portal-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .65rem;
  font-size: .875rem;
  font-weight: 600;
}
.portal-nav svg { width: 1.1rem; height: 1.1rem; flex: none; }
.portal-nav a:hover, .portal-nav a[aria-current] { color: #4330b5; background: #efecff; }
.portal-local:not(:empty) + .portal-workspaces { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.portal-main { margin-left: var(--sidebar-width); min-width: 0; }
.portal-topbar {
  min-height: 3.7rem;
  padding: .8rem clamp(1rem, 4vw, 2.6rem);
  background: white;
  font-size: .875rem;
  font-weight: 650;
}
.portal-main main { width: auto; max-width: 76rem; margin: 0 auto; padding: 1.75rem clamp(1rem, 4vw, 2.6rem) 4rem; }
.portal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 .55rem; letter-spacing: -.045em; }
.portal h2 { font-size: 1.12rem; }
.portal section, .portal .portal-card {
  max-width: none;
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: white;
}
.portal #seller { padding: 0; border: 0; background: none; }
.portal #seller > .portal-card { margin-block: 1rem; }
.portal #account-actions {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  background: none;
  border: 0;
}
.portal #seller:has(#account-actions:not([hidden])) { display: block; }
.portal input, .portal select, .portal textarea { background: #fff; }
.portal button { font-size: .875rem; border-radius: .45rem; padding: .58rem .85rem; }
.portal button.secondary { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.portal main ul { padding: 0; list-style: none; }
.portal main li { padding: .8rem 0; border-top: 1px solid var(--line); }
.portal main li label { margin-top: .5rem; }
.portal main li button { margin: .4rem .45rem 0 0; }
.portal #details { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(0, 2fr); gap: .65rem 1rem; }
.portal #buyer { max-width: 40rem; margin-inline: auto; }
.portal-checkout:has(#buyer:not([hidden])) .portal-sidebar { display: none; }
.portal-checkout:has(#buyer:not([hidden])) .portal-main { margin-left: 0; }
.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 5; background: white; padding: .5rem; }
.skip-link:focus { top: .5rem; }
@media (max-width: 760px) {
  .portal-sidebar { position: static; width: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: .8rem 1rem; }
  .portal-brand { margin: 0 0 .6rem; }
  .portal-nav { display: flex; width: auto; flex-wrap: wrap; }
  .portal-local:not(:empty) + .portal-workspaces { margin-top: .45rem; padding-top: .45rem; }
  .portal-main { margin-left: 0; }
}

/* Shared workspace chrome */
.portal, .portal-receipt {
  --accent: #5226da;
  --line: #dfe4eb;
  --muted: #46566a;
  --portal-canvas: #f5f7fa;
  color: #151120;
  background: var(--portal-canvas);
}
.portal {
  --sidebar-width: clamp(15rem, 19vw, 20rem);
  --header-height: 5rem;
}
.portal-topbar {
  position: sticky;
  z-index: 4;
  top: 0;
  height: var(--header-height);
  justify-content: space-between;
  padding: 0 clamp(1rem, 2vw, 2rem);
}
.portal-brand { margin: 0; gap: .65rem; font-size: 1.8rem; line-height: .95; }
.portal-brand > span > span { color: var(--accent); }
.portal-brand small { display: block; margin-top: .3rem; font-size: .75rem; font-weight: 550; letter-spacing: 0; }
.portal-brand svg { width: 2.25rem; height: 2.25rem; }
.portal-header-actions { display: flex; align-items: center; gap: .85rem; }
.portal-account { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent); color: white; text-decoration: none; }
.portal-sidebar {
  top: var(--header-height);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1.15rem;
}
.portal-nav .nav-label { margin: .25rem .75rem .15rem; color: var(--accent); text-transform: uppercase; letter-spacing: .07em; font-size: .72rem; font-weight: 750; }
.portal-nav a { position: relative; padding: .8rem .75rem; }
.portal-nav a:hover, .portal-nav a[aria-current] { color: #4921bc; background: #f0eafd; }
.portal-nav a[aria-current]::before { content: ""; position: absolute; inset: .55rem auto .55rem -.7rem; width: .22rem; border-radius: .2rem; background: var(--accent); }
.sidebar-footer { margin-top: auto; border-top: 1px solid var(--line); padding: 1rem .7rem .25rem; font-size: .875rem; }
.sidebar-footer a { text-decoration: none; font-weight: 650; }
.portal-menu {
  position: fixed;
  z-index: 5;
  top: calc(var(--header-height) + 1rem);
  left: calc(var(--sidebar-width) - .9rem);
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  padding: .28rem !important;
  border: 1px solid var(--line);
  border-radius: 50% !important;
  background: white;
  color: var(--muted);
}
.portal-menu:hover { background: #f0eafd; }
.portal-menu svg { width: 1rem; }
.portal-collapsed .portal-sidebar { display: none; }
.portal-collapsed .portal-main { margin-left: 0; }
.portal-collapsed .portal-menu { left: .5rem; }
.portal-collapsed .portal-menu svg { transform: rotate(180deg); }
.portal-main main { max-width: 100rem; padding-inline: clamp(2.25rem, 3vw, 3rem); }
.portal-crumb { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.6rem; font-size: .9rem; }
.portal-crumb a { padding: 0; }
.portal-crumb a:hover { background: transparent; color: var(--accent); }
.portal-crumb > span:last-child { font-weight: 650; }
.portal h1 { letter-spacing: -.035em; }
.portal section, .portal .portal-card, .portal-receipt section { border-radius: .95rem; }
.portal :is(section,form,div)[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }
.portal :is(button,.button), .portal-receipt button { background: var(--accent); }
.portal :is(button,.button):hover, .portal-receipt button:hover { background: #411caf; }
.portal .portal-menu { background: white; }
.portal .portal-menu:hover, .portal button.secondary:hover { background: #f0eafd; }
.portal-checkout:has(#buyer:not([hidden])) :is(.portal-menu,.portal-crumb,.portal-account) { display: none; }
.portal-checkout:has(#buyer:not([hidden])) .portal-main main { padding-inline: 1rem; }
.portal-receipt main { max-width: 46rem; }
.portal-receipt h1 { font-size: 2rem; margin-top: 0; }
@media (max-width: 760px) {
  .portal { --header-height: 4.2rem; --sidebar-width: min(78vw, 19rem); }
  .portal-sidebar { position: fixed; box-shadow: .5rem 0 2rem #182a431a; z-index: 4; }
  .portal-main main { padding-inline: 2.7rem 1rem; }
  .portal-nav { order: initial; display: grid; }
  .portal-crumb { order: initial; width: auto; }
}


.brand-logo { display: block; width: clamp(7rem, 15vw, 10.5rem); height: auto; }
.portal-account { background: #f0eafd; }
.portal-account img { display: block; }
.signal img { width: 72%; height: auto; }
nav a:hover, nav a[aria-current="page"] { color: #4921bc; }

.marketing { background: #fff; color: #151120; font-family: "DM Sans", Inter, system-ui, sans-serif; }
.marketing-header { padding: 1rem clamp(1rem,4vw,4rem); justify-content: space-between; }
.marketing-header nav { justify-content: center; }
.marketing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.marketing .button { border-radius: 100px; padding: .8rem 1.4rem; }
.marketing main { width: min(92%, 94rem); }
.marketing-hero { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(1.5rem,5vw,5rem); align-items: center; padding: clamp(2rem,7vw,7rem) 0 3rem; }
.marketing-hero h1 { font-weight: 550; font-size: clamp(3rem,6vw,6rem); letter-spacing: -.065em; }
.marketing-hero p { max-width: 36rem; font-size: 1.15rem; }
.marketing-hero .pilot-note { font-size: .875rem; }
.carousel-stage { display: grid; padding: 1rem clamp(.75rem,4vw,4rem); background: radial-gradient(ellipse,#ede0ff,transparent 75%); }
.carousel-stage article { padding: 1.5rem; min-width: 0; min-height: 24rem; border: 1px solid #e4d8fa; border-radius: 1.5rem; background: linear-gradient(145deg,#fff,#eee5ff); box-shadow: 0 18px 40px #5226da20; animation: marketing-slide .45s ease both; }
.slide-art { display: grid; place-items: center; min-height: 15rem; background: radial-gradient(ellipse,#c8aafc,transparent 75%); }
.payment-slip { display: grid; gap: .5rem; max-width: 100%; padding: 1.3rem; border: 1px solid #e4d8fa; border-radius: 1rem; background: #fff; box-shadow: 0 12px 25px #4921bc25; transform: rotate(-5deg); }
.payment-slip img { width: 2rem; }
.payment-slip span { color: #4921bc; font-weight: 750; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; }
.carousel-controls button { background: #f0eafd; color: #4921bc; }
.marketing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: 1.25rem; }
.marketing-grid li { padding: 1rem; }
.marketing details { border-top: 1px solid var(--line); padding: .9rem 0; }
.marketing summary { cursor: pointer; font-weight: 650; }
.marketing-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
@keyframes marketing-slide { from { opacity: 0; transform: translateX(1.2rem); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 760px) { .marketing-hero { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .carousel-stage article { animation: none; } }

.marketing .tapzup-footer { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); align-items: start; gap: 1.5rem; }
.tapzup-footer nav { display: grid; gap: .55rem; }
.tapzup-footer nav a { padding: 0; }
.tapzup-footer p { margin: .55rem 0 0; }
@media (max-width: 760px) { .marketing .tapzup-footer { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 380px) { .marketing .tapzup-footer { grid-template-columns: 1fr; } }

.funding-landing { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:1rem; }
.funding-intro,.funding-flow { border:1px solid var(--line); border-radius:1rem; padding:clamp(1.35rem,4vw,3.25rem); }
.funding-intro { background:radial-gradient(ellipse at top right,#e7d9ff,transparent 70%),#fff; }
.funding-intro h1 { font-size:clamp(2.4rem,5vw,4.6rem); max-width:12ch; }
.funding-kicker { color:var(--accent); font-weight:750; }
.funding-flow { background:#fff; }
.funding-flow ol { padding-left:1.4rem; }
.funding-flow li::marker { color:var(--accent); font-weight:750; }
.funding-flow li p { margin:.25rem 0 0; }
.funding-actions,.funding-dashboard-header { display:flex; flex-wrap:wrap; gap:.85rem; align-items:center; }
.funding-dashboard-header { justify-content:space-between; }
.funding-secondary { font-weight:650; }
#markets li { display:flex; justify-content:space-between; gap:1rem; align-items:center; }
.funding-route-state { font-size:.82rem; background:#f1eafd; color:#4921bc; border-radius:1rem; padding:.25rem .65rem; }
@media(max-width:900px) { .funding-landing { grid-template-columns:1fr; } }

.checkout-footer { display:flex; gap:1rem; padding:1.25rem; font-size:.875rem; }
.photo-help,.checkout-terms { font-size:.875rem; }
#share { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; }
#share[hidden],.order-photos[hidden] { display:none; }
#share label { flex-basis:100%; }
.buyer-checkout .portal-sidebar,.buyer-checkout .portal-menu,.buyer-checkout .portal-account,.buyer-checkout .portal-crumb { display:none; }
.buyer-checkout .portal-main { margin-inline-start:0; }
.buyer-checkout main,.buyer-checkout .checkout-footer { max-width:760px; margin-inline:auto; }
.buyer-card { background:white; border:1px solid #e5dff2; border-radius:20px; overflow:hidden; }
.buyer-product-summary,.buyer-payment { padding:clamp(1.25rem,4vw,2rem); }
.buyer-product-summary h1 { margin:0; overflow-wrap:anywhere; }
.order-price { color:#4824ab; font-weight:750; font-size:1.65rem; margin:.4rem 0 0; }
.buyer-payment { border-top:1px solid #e5dff2; }
.order-photos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; padding:.75rem; background:#f7f4fd; }
.order-photos img { width:100%; aspect-ratio:1; object-fit:contain; border-radius:10px; background:white; }
.order-photos img:only-child { grid-column:1/-1; max-height:360px; aspect-ratio:4/3; }
.buyer-payment .provider-button { display:inline-flex; align-items:center; gap:.65rem; background:white; color:#27144b; border:1px solid #bfb1df; }
.buyer-payment .provider-button[hidden] { display:none; }
.provider-button img { object-fit:contain; }
.terms-page main { max-width:800px; margin:2rem auto; padding:1.25rem; }
.terms-page header { padding:1rem 1.25rem; border-bottom:1px solid #e5dff2; }

.payment-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:.5rem; margin:.75rem 0; max-width:490px; }
.buyer-payment .payment-choice { display:grid; align-content:start; justify-items:center; gap:.3rem; text-align:center; background:#fff; border:1px solid #bfb1df; color:#27144b; border-radius:10px; padding:.625rem; }
.buyer-payment .payment-choice[hidden] { display:none; }
.buyer-payment .payment-choice:hover:not(:disabled) { border-color:#5226da; background:#f8f5ff; }
.payment-choice img { width:100%; height:48px; object-fit:contain; }
.payment-choice span { font-size:.75rem; font-weight:400; color:#514764; }

#ecocash-pay img { width:82px; }


.paynow-timing { font-size:.8125rem; margin:.65rem 0; }
.paynow-timing dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.3rem .75rem; }
.paynow-timing dd { margin:0; }

.capability-table { overflow-x:auto; }
.capability-table th,.capability-table td { padding:.5rem; text-align:start; vertical-align:top; }

.marketing-header { position:sticky; top:0; z-index:5; background:#fff; transition:transform .18s ease; }
.marketing-header.header-hidden:not(:focus-within) { transform:translateY(-100%); }
.marketing main [id] { scroll-margin-top:calc(var(--marketing-header-height,6rem) + 1rem); }
.portal-topbar { z-index:6; }
@media (prefers-reduced-motion: reduce) { .marketing-header { transition:none; } }

.technical-heading { display:flex; justify-content:space-between; align-items:center; gap:.75rem; }
.technical-heading h2 { margin:0; }
#technical details { margin-block:.8rem; }
#technical .technical-grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.55rem;
  list-style:none; padding:0; margin:.6rem 0;
}
.technical-grid li { display:flex; margin:0; min-width:0; }
.technical-console {
  display:flex; flex-direction:column; align-items:flex-start; gap:.25rem;
  width:100%; padding:.55rem .65rem; border:1px solid #ded5ef;
  border-radius:.65rem; background:white; text-decoration:none; overflow-wrap:anywhere;
}
.technical-console:hover, .technical-console:focus-visible { border-color:#5226da; background:#f8f5ff; }
.technical-console strong { font-size:.86rem; line-height:1.2; }
.technical-console small { font-size:.73rem; line-height:1.25; color:#514764; }
.technical-mark {
  display:inline-grid; place-items:center; min-width:1.7rem; height:1.7rem; padding-inline:.25rem;
  border-radius:.35rem; background:#efe9fb; color:#38216d; font-weight:700; font-size:.7rem;
}
.technical-mark:has(img) { background:white; padding:0; }
.technical-mark img { width:4.5rem; height:1.7rem; object-fit:contain; object-position:left; }
.technical-badge { font-size:.68rem; color:#514764; border-radius:1rem; background:#f1eef5; padding:.1rem .35rem; }
.technical-badge.is-configured { background:#e5f4eb; color:#155837; }
@media (max-width:760px) {
  #technical .technical-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.funding-summary { padding:.8rem 1rem; }
.funding-table { overflow-x:auto; }
.funding-table table { width:100%; border-collapse:collapse; text-align:left; white-space:nowrap; }
.funding-table th,.funding-table td { padding:.6rem .75rem; }
.funding-table th { color:#514764; font-size:.76rem; }
.funding-table td { border-top:1px solid #e5dff2; font-variant-numeric:tabular-nums; }
#opportunities > li { padding:.85rem 0; border-bottom:1px solid #e5dff2; }
#opportunities > li:last-child { border-bottom:0; }



.auth-screen .portal-sidebar, .auth-screen .portal-menu, .auth-screen .portal-account,
.auth-screen .portal-crumb { display: none; }
.auth-screen .portal-main { margin-left: 0; }
.auth-screen:not(.buyer-checkout) #portal-main { max-width: 32rem; margin: 0 auto; padding: 2rem 1rem; }
.auth-screen:not(.buyer-checkout) #seller { padding: 1.5rem; border: 1px solid #e6e0f1; border-radius: 1rem; background: white; }
.auth-screen:not(.buyer-checkout) #seller h1 { margin-top: 0; }
.auth-screen .portal-header-actions { gap: .5rem; }
@media (max-width: 760px) {
  .auth-screen:not(.buyer-checkout) #portal-main { padding: 1rem; }
  .auth-screen:not(.buyer-checkout) #seller { padding: 1.2rem; }
}

#buyer-workspace { max-width: 36rem; margin: 2rem auto; padding: 1.5rem; border: 1px solid #e6e0f1; border-radius: 1rem; }
#buyer-workspace nav { margin: 1rem 0; }

.coverage-layout{display:grid;grid-template-columns:minmax(23rem,1.12fr) minmax(0,.88fr);gap:clamp(1rem,3vw,2.5rem);align-items:start}
#coverage{padding:clamp(1rem,2.4vw,2rem)}
#coverage > h2{margin-top:0;margin-bottom:.65rem}
.coverage-intro > p{margin-top:0;line-height:1.45;max-width:34rem}
.coverage-intro h3{font-size:1rem;margin-bottom:.45rem}
.coverage-markets{columns:3;column-gap:.65rem;padding:0;list-style:none;margin:0}
.coverage-markets li{padding:0;break-inside:avoid}
.coverage-markets button{display:block;width:100%;min-height:1.55rem;line-height:1.2}
.coverage-markets button{border:0;background:transparent;color:#554968;padding:.18rem .2rem;font-size:.85rem;font-weight:400;text-align:left;cursor:pointer}
.coverage-markets button[aria-pressed="true"],.coverage-markets button:hover{color:#4921bc;text-decoration:underline}
.coverage-map{position:relative;min-height:14rem;background:#f7f4fd;border:1px solid #e6e0f1;border-radius:1rem;padding:.5rem;overflow:hidden}
.coverage-map svg{display:block;width:100%;height:auto;max-height:clamp(13rem,45svh,21.5rem)}
.coverage-map path{fill:#e8e2f1;stroke:#9b8daf;stroke-width:1;cursor:pointer}
.coverage-map path.covered{fill:#c5b1f3;stroke:#7158ab}
.coverage-map path:hover,.coverage-map path:focus-visible,.coverage-map path.is-selected{fill:#7850cb;stroke:#3f2474;stroke-width:2;outline:none}
.coverage-hint{margin:.15rem .65rem .55rem;font-size:.8rem;color:#554968}
.coverage-popup{position:absolute;inset:auto .8rem 2.4rem auto;width:min(21rem,calc(100% - 1.6rem));background:white;border:1px solid #e0d6f1;border-radius:.75rem;box-shadow:0 .4rem 1.5rem #3d28652a;padding:.85rem 1rem}
.coverage-popup h3,.coverage-popup p{margin:0 1.25rem .35rem 0}.coverage-popup small,.coverage-popup a{display:block;margin-top:.35rem}
.coverage-popup button{float:right;background:none;border:0;color:#4921bc;cursor:pointer;font-size:1.2rem}
#coverage-status:empty{display:none}
.coverage-providers{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(1rem,4vw,3rem);margin-top:.8rem;padding-top:.7rem;border-top:1px solid #e6e0f1}
.coverage-providers img{width:5.75rem;height:2rem;object-fit:contain}
.coverage-providers .coverage-provider-ecocash{width:6.5rem;height:2.4rem}
.coverage-provider-momo{font-weight:600}
@media(max-width:850px){.coverage-layout{grid-template-columns:1fr}.coverage-map{order:-1}}
@media(max-width:450px){.coverage-markets{columns:2}.coverage-markets button{min-height:2rem}}



.portal [data-portal-inactive] { display: none !important; }
.portal [data-portal-dashboard] { margin-block: 1.25rem; }
.portal-dashboard-links { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: .8rem; }
.portal-dashboard-links > a {
  display: grid; align-content: start; gap: .35rem; padding: 1.05rem;
  background: #fff; color: inherit; border: 1px solid var(--line);
  border-radius: .8rem; text-decoration: none;
}
.portal-dashboard-links > a:hover, .portal-dashboard-links > a:focus-visible {
  border-color: var(--accent); background: #f7f3ff;
}
.portal-dashboard-links span { color: var(--muted); font-size: .9rem; }
.portal :is(h1,h2):focus { scroll-margin-top: calc(var(--header-height) + 1rem); }

.coverage-stage { font-weight: 650; color: #4921bc; font-size: .85rem; }
.coverage-stage:empty { display: none; }
.coverage-popup { max-height: calc(100% - 3rem); overflow: auto; }

.language-picker { display:inline-flex; align-items:center; flex-wrap:wrap; gap:.25rem .45rem; font-size:.8rem; line-height:1.2; }
.language-picker select { width:auto; min-width:6.2rem; padding:.3rem .45rem; font:inherit; color:#27144b; background:#fff; border:1px solid #c8bddf; border-radius:.45rem; }
.language-picker .language-fallback { flex-basis:100%; color:#514764; }
.portal-header-actions > .language-picker { margin:0; }
.language-suggestion { color:#514764; }
.coverage-popup .coverage-language { float:none; margin:.15rem; border:1px solid #bfb1df; border-radius:.4rem; font-size:.8rem; padding:.25rem .45rem; }
.coverage-popup .coverage-language[aria-pressed="true"] { background:#ede5ff; }

/* Shared account and commerce typography */
.portal:not(.buyer-checkout) h1 { font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.18; }
.portal h2 { font-size: clamp(1.06rem, 2vw, 1.35rem); line-height: 1.3; }
.auth-screen:not(.buyer-checkout) #portal-main { max-width: 27rem; padding-block: 2.25rem; }
.auth-screen:not(.buyer-checkout) #seller { padding: clamp(1rem, 4vw, 1.65rem); }
.auth-screen:not(.buyer-checkout) #seller h1 { font-size: clamp(1.4rem, 4vw, 1.65rem); }
.auth-screen #seller :is(p,label,input,select,button) { font-size: .94rem; }
.operations-locked .portal-main { visibility: hidden; }
.commerce-page { background: #f5f6fa; }
.commerce-page > main { box-sizing: border-box; width: min(100%, 64rem); margin: 0 auto; padding: clamp(1rem, 4vw, 2.25rem); }
.commerce-page label, .commerce-page input, .commerce-page button { font-size: .94rem; }
.commerce-page #search { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: .75rem; }
.commerce-page #search label { margin: 0; }
.commerce-page #search input { width: 100%; }
.commerce-page #search button { margin: 0; }
.commerce-page #workspace > details { margin: .75rem 0; }
.commerce-operations :is(#supplier-search,#commerce-signup,#purchases,#register-business,#register-truck,#create-freight-trip) { display: none; }
@media (max-width: 40rem) {
  .commerce-page #search { grid-template-columns: 1fr; align-items: stretch; }
}

.register-section { margin-block: 2.75rem; }
.register-grid, .shop-products { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap: 1rem; }
.register-card { display: flex; flex-direction: column; gap: .7rem; background: #fff; color: #17142a; border: 1px solid #e3e0ed; border-radius: .9rem; padding: 1.25rem; text-decoration: none; }
.register-card:hover, .register-card:focus-visible { border-color: #6b49da; box-shadow: 0 5px 20px #21154714; }
.register-card strong { font-size: 1.15rem; }
.register-card span { font-size: .92rem; }
.register-card .register-action { margin-top: auto; color: #542bd4; font-weight: 650; }
.register-secondary { margin-top: 1rem; font-size: .88rem; }
.portal :is(input,select,textarea,button) { font-size: .94rem; }
.portal :is(h1,h2,h3) { text-wrap: balance; }
.shop-page { --shop-accent: #5226da; background: #f7f7fa; color: #141522; }
.shop-shell { width: min(100% - 2rem,70rem); margin: auto; padding: 2.25rem 0; }
.shop-header { display: flex; gap: 1.25rem; align-items: center; border-top: .3rem solid var(--shop-accent); padding-block: 1.5rem .75rem; }
.shop-header h1 { font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -.04em; margin: 0 0 .45rem; }
.shop-header p { margin: 0; }
.shop-header img { width: 4rem; height: 4rem; object-fit: contain; border-radius: .75rem; background: white; }
.shop-shell h2 { font-size: 1.25rem; letter-spacing: -.02em; }
.shop-shell h3 { margin: .25rem 0; font-size: 1.08rem; }
.shop-shell :is(form,article,#shop-share) { border: 1px solid #e5e4ed; background: #fff; border-radius: 1rem; padding: 1rem; }
#shop-manager:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,19rem),1fr)); gap: 1rem; }
.shop-products article { display: flex; flex-direction: column; gap: .55rem; align-items: stretch; }
.shop-products img { width: 100%; height: 12rem; object-fit: cover; border-radius: .6rem; }
.shop-products p { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.shop-products button { margin-top: auto; background: #161625; color: white; }
.shop-products strong { padding-bottom: .45rem; color: #161625; }
.shop-shell form :is(input,textarea):not([type=checkbox]) { display: block; box-sizing: border-box; width: 100%; }
.shop-shell .shop-check { display: flex; gap: .5rem; align-items: center; }
.shop-shell footer { margin-top: 2rem; font-size: .85rem; }

.integration-shell { width: min(100% - 2rem, 66rem); margin: 0 auto; padding: 2rem 0; }
.integration-shell > section, .integration-grid > section, #api-workspace > section { margin-block: 0 1rem; }
.integration-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,23rem),1fr)); gap: 1rem; }
.integration-actions { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.integration-shell details { margin-block: .8rem; }
.integration-shell summary { cursor: pointer; font-weight: 650; }
.integration-shell pre, #api-secret { background: #f4f2fa; border-radius: .65rem; padding: .8rem; overflow-wrap: anywhere; white-space: pre-wrap; }
#api-secret { display: block; margin-bottom: .7rem; }
.integration-shell form input { box-sizing: border-box; width: 100%; }
.integration-shell button, .integration-shell a.button { min-height: 2.35rem; }

.marketing-header { display:flex; flex-wrap:nowrap; gap:clamp(.75rem,2vw,1.65rem); padding:.8rem clamp(1rem,3vw,2.4rem); }
.marketing-header > a:first-child { flex:none; }
.marketing-header .brand-logo { display:block; width:clamp(6.5rem,10vw,9rem); height:auto; }
.marketing-header .marketing-actions { display:flex; flex-wrap:nowrap; align-items:center; margin:0; gap:.75rem; white-space:nowrap; font-size:.88rem; }
.marketing-header .marketing-actions .button { padding:.65rem .9rem; }
.marketing-header .site-navigation { display:flex; align-items:center; flex-wrap:nowrap; gap:clamp(.15rem,.8vw,.7rem); }
.site-nav-group { position:relative; margin:0; }
.site-nav-group summary { display:flex; align-items:center; gap:.35rem; padding:.55rem .26rem; color:#28223a; font-size:.9rem; font-weight:650; white-space:nowrap; cursor:pointer; list-style:none; }
.site-nav-group summary::-webkit-details-marker { display:none; }
.site-nav-group summary::after { content:''; width:.32rem; height:.32rem; border:solid currentColor; border-width:0 1px 1px 0; transform:translateY(-.12rem) rotate(45deg); }
.site-nav-group[open] summary { color:#5226da; }
.site-nav-group[open] summary::after { transform:translateY(.08rem) rotate(225deg); }
.site-nav-group ul { position:absolute; inset-block-start:100%; inset-inline-start:0; min-width:16.5rem; list-style:none; margin:.7rem 0 0; padding:.4rem; background:#fff; border:1px solid #e7e0f2; border-radius:.85rem; box-shadow:0 12px 28px #2516431a; }
.site-nav-group:nth-of-type(n+5) ul { inset-inline:auto 0; }
.site-nav-group li a { display:flex; flex-direction:column; gap:.15rem; padding:.62rem .75rem; color:#211735; }
.site-nav-group li span { font-size:.82rem; line-height:1.35; color:#514963; }
.marketing-header .site-menu-toggle, .marketing-header .site-mobile-start { display:none; }
@media (max-width: 60rem) {
  .marketing-header { gap:.65rem; }
  .marketing-header .site-menu-toggle { display:inline-flex; margin:0; padding:.45rem .6rem; background:#f2eefb; color:#34205f; font-size:.88rem; }
  .marketing-header .marketing-actions .button, .marketing-header .site-navigation { display:none; }
  .marketing-header .site-menu-toggle[aria-expanded="true"] + .site-navigation { display:block; position:absolute; top:100%; inset-inline:0; max-height:calc(100dvh - var(--marketing-header-height,4rem)); overflow:auto; background:white; border-bottom:1px solid #e7e0f2; box-shadow:0 10px 22px #25164314; padding:.65rem 1rem 1rem; }
  .site-nav-group summary { padding:.6rem .5rem; justify-content:space-between; }
  .site-nav-group ul { position:static; min-width:0; margin:0 0 .35rem; box-shadow:none; }
  .marketing-header .site-mobile-start { display:block; margin-top:.4rem; color:#5226da; font-weight:650; }
}

.shared-site-header { position:sticky; top:0; transform:none; z-index:15; }
.shared-site-header .site-brand { margin-right:auto; }
.shared-site-header .site-navigation { margin-inline:auto; }
.shared-site-header .portal-header-actions { margin-left:0; flex:none; }
.shared-site-header .marketing-actions { margin-left:auto; }
.site-content-page, .portal-receipt { background:#f7f8fc; }
.site-content-page > main, .portal-receipt > main { width:min(100% - 2rem,72rem); margin:0 auto; padding:clamp(1.5rem,4vw,3rem) 0; }
.site-content-page h1, .portal-receipt h1, .workspace.portal:not(.buyer-checkout) h1 { font-size:clamp(1.55rem,3vw,2.3rem); letter-spacing:-.035em; line-height:1.15; }
.site-content-page main section, .commerce-page #supplier-search { background:white; border:1px solid #e7e4ef; border-radius:1rem; padding:clamp(1rem,3vw,1.6rem); margin-bottom:1rem; }
.site-content-page main section h2 { font-size:1.25rem; }
.site-editorial { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr)); align-items:center; gap:1.5rem; }
.site-editorial img { width:100%; height:auto; object-fit:cover; border-radius:.8rem; }
.site-footer { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap:1.5rem; padding:2rem clamp(1rem,4vw,3rem); border-top:1px solid #e5e2ec; background:#f8f8fc; color:#241c38; }
.site-footer nav { display:flex; flex-direction:column; align-items:flex-start; gap:.3rem; }
.site-footer nav a { padding:.15rem 0; }
.site-footer .brand-logo { width:8rem; height:auto; }
.site-footer-status { grid-column:1/-1; font-size:.83rem; margin:0; }
.workspace .portal-sidebar { background:#fff; border-right:1px solid #e5e2ec; }
.workspace.portal:not(.auth-screen):has(.portal-sidebar) > .site-footer { margin-left:var(--sidebar-width); }
.commerce-page #search { grid-template-columns:1.4fr 1fr 1fr auto; }
.commerce-page #search select { width:100%; }
.commerce-page #directory { list-style:none; padding:0; }
.commerce-page #directory li { border-top:1px solid #eeeaf4; padding:.8rem 0; }
.compact-business-form { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:.7rem 1rem; padding-top:.6rem; }
.compact-business-form label { margin:0; }
.compact-business-form button { justify-self:start; align-self:end; }
.commerce-application :is(#supplier-search,#purchases,#identity,#register-truck,#create-freight-trip,#approvals,#records,#account,#workspace > h2,#workspace > p) { display:none; }
.commerce-directory #workspace { display:none; }
@media (max-width: 74rem) {
  .shared-site-header .site-menu-toggle { display:inline-flex; margin:0; padding:.45rem .6rem; background:#f2eefb; color:#34205f; font-size:.88rem; }
  .shared-site-header .marketing-actions .button, .shared-site-header .site-navigation { display:none; }
  .shared-site-header .site-menu-toggle[aria-expanded="true"] + .site-navigation { display:block; position:absolute; top:100%; inset-inline:0; max-height:calc(100dvh - var(--marketing-header-height,4rem)); overflow:auto; background:#fff; padding:.65rem 1rem; }
  .shared-site-header .site-nav-group ul { position:static; min-width:0; margin:0 0 .35rem; box-shadow:none; }
  .shared-site-header .site-mobile-start { display:block; }
}
@media (max-width: 44rem) {
  .shared-site-header .portal-header-actions { display:none; }
  .commerce-page #search { grid-template-columns:1fr; }
  .workspace.portal:not(.auth-screen):has(.portal-sidebar) > .site-footer { margin-left:0; }
}
.aux-workspace { --aux-sidebar-width: 13rem; }
.aux-workspace-sidebar { position:fixed; inset-block-start:var(--marketing-header-height,4rem); inset-block-end:0; inset-inline-start:0; width:var(--aux-sidebar-width); background:#fff; border-inline-end:1px solid #e5e2ec; z-index:4; padding:.7rem; box-sizing:border-box; overflow:auto; }
.aux-workspace-sidebar nav { flex-direction:column; }
.aux-workspace-sidebar a { color:#302443; }
.aux-workspace > main { max-width:calc(100% - var(--aux-sidebar-width) - 2rem); margin-inline-start:calc(var(--aux-sidebar-width) + 1rem); }
.aux-workspace > footer { margin-inline-start:var(--aux-sidebar-width); }
.shared-site-header ~ :is(main, .portal-main) [id] { scroll-margin-top:calc(var(--marketing-header-height,4rem) + .75rem); }
.commerce-application #register-business { border:1px solid #e7e4ef; background:white; border-radius:1rem; padding:clamp(1rem,3vw,1.6rem); }
.commerce-application #register-business summary { font-weight:650; }
@media (max-width: 44rem) {
  .aux-workspace-sidebar { position:static; width:auto; border-inline-end:0; border-bottom:1px solid #e5e2ec; }
  .aux-workspace-sidebar nav { flex-direction:row; }
  .aux-workspace > main { max-width:none; margin-inline:auto; }
  .aux-workspace > footer { margin-inline-start:0; }
}

.shared-site-header[hidden], .site-footer[hidden], .aux-workspace-sidebar[hidden] { display:none; }

.auth-screen:not(.buyer-checkout) #portal-main { padding-block:clamp(1rem,3vw,1.7rem); }
.auth-screen #seller form { display:grid; gap:.55rem .85rem; }
.auth-screen #seller form label { margin:0; }
.auth-screen #seller form :is(input,select) { min-height:2.5rem; }
.auth-screen #seller form button { justify-self:start; }
.auth-screen #seller #checkout-status:empty { display:none; }
.auth-screen #seller #checkout-status:not(:empty) { color:#5323a0; margin:.35rem 0 .8rem; }
@media (min-width:38rem) {
.auth-screen:has(#password-signup:not([hidden])) #portal-main { max-width:37rem; }
#password-signup:not([hidden]) { grid-template-columns:repeat(2,minmax(0,1fr)); }
#password-signup > :is(button,p) { grid-column:1/-1; }
}
.auth-screen #seller form[hidden] { display:none; }

.portal-support-launch { position:fixed; inset-inline-end:1rem; inset-block-end:1rem; z-index:20; border-radius:100px; box-shadow:0 6px 20px #21154427; }
.portal-support-dialog { width:min(29rem,calc(100% - 2rem)); box-sizing:border-box; border:1px solid #e6e0ef; border-radius:1rem; padding:1rem; }
.portal-support-dialog::backdrop { background:#21173573; }
.portal-support-dialog ol { max-height:38vh; overflow-y:auto; list-style:none; padding:0; }
.portal-support-dialog li { background:#f5f2fb; padding:.55rem .7rem; border-radius:.6rem; margin:.45rem 0; }
.portal-support-dialog li p { white-space:pre-wrap; overflow-wrap:anywhere; margin:.25rem 0; }
.portal-support-dialog textarea { width:100%; box-sizing:border-box; }
#inbox-messages li { white-space:pre-wrap; overflow-wrap:anywhere; }
