: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; }
.portal-checkout:not(:has(#create:not([hidden]))) .portal-local a[href="#create"],
.portal-checkout:not(:has(#seller-timeline:not([hidden]))) .portal-local a[href="#seller-timeline"],
.portal-checkout:not(:has(#funding-application:not([hidden]))) .portal-local a[href="#funding-application"],
.portal-funders:not(:has(#dashboard:not([hidden]))) .portal-local a:not([href="#routes-panel"]),
.portal-operations:not(:has(#record:not([hidden]))) .portal-local a[href="#record"],
.portal-operations:not(:has(#funding-review:not([hidden]))) .portal-local a[href="#funding-review"],
.portal-operations:not(:has(#wallet-review:not([hidden]))) .portal-local a[href="#wallet-review"] { display: none; }
.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; }
}
.portal-checkout:not(:has(#seller-wallet:not([hidden]))) .portal-local a[href="#seller-wallet"] { display: none; }

/* 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-tabs { display: flex; gap: 1rem; margin: 1.25rem 0; border-bottom: 1px solid var(--line); }
.portal-tabs a { border-radius: 0; padding: .65rem .25rem; border-bottom: 2px solid transparent; }
.portal-tabs a:hover, .portal-tabs a[aria-current] { color: var(--accent); background: transparent; border-color: var(--accent); }
.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, .portal-tabs { 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,.funding-dashboard-grid { 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,.funding-dashboard-grid { 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; }

.portal-operations .inactive-operations-panel { display:none; }
.portal-operations:not(.portal-collapsed) .portal-tabs { display:none; }
.portal-operations .portal-tabs { flex-wrap:wrap; gap:.25rem .9rem; }
.portal-operations .portal-tabs[hidden] { display:none; }

.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, .auth-screen .portal-tabs { 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; }
