.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand-icon {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  white-space: nowrap;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Prevent intrinsic image/form widths from forcing the contact grid beyond its container. */
.contact-image-form { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
.contact-image-form > * { min-width: 0; }
.contact-page-form { width: 100%; max-width: none; min-width: 0; }
.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea { min-width: 0; max-width: 100%; }
.help-contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 42px; align-items: center; }
.help-contact-copy,
.help-contact-image { min-width: 0; }
.help-contact-image img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; border: 1px solid var(--border); border-radius: 14px; }
.about-signal-single { display: flex; align-items: center; justify-content: center; }
.about-signal-single img { max-width: 760px; margin: 0 auto; }

/* Tier 4 navigation replaces the old flat-sitemap rules. */
@media (min-width: 900px) {
  nav .nav-links { flex: 0 1 auto; min-width: 0; gap: 18px !important; }
  nav .nav-links li a { font-size: 0.9rem; }
  nav .nav-actions { flex: 0 0 auto; min-width: 0; }
  nav .nav-cta { flex: 0 0 auto; font-size: 0.82rem; padding-left: 14px; padding-right: 14px; }
}

.homepage-footer .footer-inner.tier4-footer-grid {
  grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 900px) {
  .homepage-footer .footer-inner.tier4-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .brand-lockup { gap: 8px; }
  .brand-icon { flex-basis: 30px; width: 30px; height: 30px; }
  .brand-name { font-size: clamp(0.78rem, 3.8vw, 1rem); }
  .contact-image-form { grid-template-columns: 1fr; }
  .help-contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .help-contact-image { order: 2; }
  .about-signal-single img { height: 320px !important; }
}

@media (max-width: 560px) {
  .homepage-footer .footer-inner.tier4-footer-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 340px) {
  .brand-icon { flex-basis: 28px; width: 28px; height: 28px; }
  .brand-name { font-size: 0.78rem; gap: 0.25em; }
}

/* Tier 4 typography normalization */
h1,
.page-title {
  font-size: clamp(2.55rem, 4.4vw, 4rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em;
}

h2 { font-size: clamp(1.9rem, 2.7vw, 3rem) !important; line-height: 1.08 !important; letter-spacing: -0.035em; }
h3 { font-size: clamp(1.15rem, 1.45vw, 1.45rem) !important; line-height: 1.2 !important; letter-spacing: -0.025em; }
.section-lead,
.hero-subtitle { font-size: clamp(1rem, 1.15vw, 1.18rem); line-height: 1.72; }
body { font-size: 16px; line-height: 1.7; }
.label,
.tag,
.stat-label,
.choice-meta,
.terminal-header,
.editorial-number,
.signal-top,
.signal-status { font-size: 0.72rem; line-height: 1.4; }

@media (min-width: 901px) {
  .hero-title { font-size: clamp(3rem, 4.2vw, 4.6rem) !important; line-height: 1.02 !important; max-width: 12ch; }
}

@media (max-width: 640px) {
  h1,
  .page-title,
  .hero-title { font-size: clamp(2.35rem, 10vw, 2.7rem) !important; line-height: 1.05 !important; }
  h2 { font-size: clamp(1.75rem, 7vw, 2.2rem) !important; }
  h3 { font-size: 1.15rem !important; }
  .section-lead,
  .hero-subtitle { font-size: 1rem; line-height: 1.68; }
}

/* Tier 4 color discipline: green is a deliberate brand/performance signal,
   while generic UI chrome stays neutral. */
:root {
  --accent-soft: rgba(57,255,154,.10);
  --accent-line: rgba(57,255,154,.18);
  --neutral-highlight: rgba(255,255,255,.06);
}

main a:not(.btn):not(.btn-primary),
footer a:not(.btn),
.legal-content a,
.help-content a { color: var(--text-muted); }
main a:not(.btn):not(.btn-primary):hover,
footer a:not(.btn):hover,
.legal-content a:hover,
.help-content a:hover { color: var(--text); }
.label,
.tag,
.path-diagram span,
.principle > span,
.editorial-number { color: var(--text-muted); }
.label { background: var(--neutral-highlight); border-color: var(--border); }
.label:before { background: var(--text-dim); box-shadow: none; }
.path-diagram b { color: var(--text); }
.card-accent-green,
.card-accent-orange,
.card-accent-blue { border-top-color: var(--border); }
th { color: var(--text-muted); }

@media (max-width: 900px) {
  .about-signal-single img { height: 320px !important; }
}


/* AfricaLatency wordmark: single-color SVG, crisp at mobile sizes. */
.brand-wordmark{display:block;width:clamp(150px,42vw,190px);height:auto;max-height:28px;object-fit:contain;flex:0 0 auto}
.footer-wordmark{display:block;width:180px;height:auto;max-height:28px;margin:0 0 18px;object-fit:contain}
@media(max-width:380px){.brand-wordmark{width:150px;max-height:24px}}

/* Keep the mobile menu brand label in its canonical title case. */
.site-menu .menu-head .label{text-transform:none;letter-spacing:-.01em}


/* AfricaLatency design-system foundation: light surfaces, navy typography, one blue accent. */
:root{
  --bg:#F7F9FC;
  --bg-elevated:#FFFFFF;
  --bg-card:#FFFFFF;
  --border:#DCE4EC;
  --border-strong:#CBD5E1;
  --text:#102A43;
  --text-muted:#526579;
  --text-dim:#64748B;
  --accent:#1769AA;
  --blue:#1769AA;
  --orange:#A85B16;
  --error:#B42318;
  --warning:#946200;
  --max-width:1120px;
  --radius:12px;
  --accent-soft:#EAF3FB;
  --accent-line:#B7D5EF;
  --neutral-highlight:#EFF4F8;
}
html{scroll-behavior:smooth}
body{background:#F7F9FC!important;color:#243B53!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:16px;line-height:1.65}
body:before{display:none!important}
h1,h2,h3,h4{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;color:#102A43!important;letter-spacing:-.03em}
h1,.page-title,.hero-title{font-size:clamp(32px,8vw,56px)!important;line-height:1.08!important;font-weight:700!important}
h2{font-size:clamp(26px,6vw,40px)!important;line-height:1.15!important;font-weight:700!important}
h3{font-size:20px!important;line-height:1.3!important;font-weight:650!important}
p{line-height:1.65}
a{color:#1769AA}
main a:not(.btn):not(.btn-primary),footer a:not(.btn),.legal-content a,.help-content a{color:#1769AA}
main a:not(.btn):not(.btn-primary):hover,footer a:not(.btn):hover,.legal-content a:hover,.help-content a:hover{color:#102A43}
.container{max-width:1120px!important;padding-left:20px!important;padding-right:20px!important}
.section{padding:88px 0}
.compact-section{padding:64px 0}
.hero-section{padding:80px 0 72px}
.section-heading{margin-bottom:32px}
.section-lead,.hero-subtitle{color:#526579!important;font-size:16px;line-height:1.65}
.label,.tag{color:#526579!important;background:#EFF4F8!important;border:1px solid #DCE4EC!important;border-radius:6px!important;box-shadow:none!important;font:600 12px/1.4 Inter,ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.06em!important}
.label:before{display:none!important;box-shadow:none!important}
.btn{min-height:44px;border-radius:8px!important;padding:0 18px;box-shadow:none!important;transition:background-color .15s ease,border-color .15s ease,color .15s ease!important}
.btn:hover{transform:none!important;box-shadow:none!important}
.btn-primary{background:#1769AA!important;border-color:#1769AA!important;color:#FFFFFF!important}
.btn-primary:hover{background:#12558B!important;border-color:#12558B!important}
.btn-secondary{background:#FFFFFF!important;border:1px solid #CBD5E1!important;color:#102A43!important}
.btn-secondary:hover{background:#EFF4F8!important;border-color:#94A3B8!important}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #1769AA!important;outline-offset:3px!important}
nav{background:rgba(255,255,255,.96)!important;border-bottom:1px solid #DCE4EC!important;backdrop-filter:blur(12px)}
.nav-inner{padding:14px 20px!important}
.nav-brand{color:#102A43!important;font-family:Inter,ui-sans-serif,system-ui,sans-serif!important}
.menu-toggle{background:#FFFFFF!important;border-color:#CBD5E1!important;color:#102A43!important}
.menu-toggle:after{color:#102A43!important}
.site-menu{background:#102A43!important}
.site-menu .menu-head .label{background:transparent!important;border:0!important;color:#FFFFFF!important}
.site-menu .menu-column>a,.site-menu .menu-group-title{color:#FFFFFF!important}
.site-menu .menu-column>a:hover,.site-menu .menu-group-title:hover{color:#8CC8F5!important}
.site-menu .menu-label{color:#CBD5E1!important}
.site-menu .menu-close{color:#FFFFFF!important;border-color:rgba(255,255,255,.35)!important}
.site-menu .menu-footer{border-color:rgba(255,255,255,.2)!important}
.site-menu .btn-secondary{background:transparent!important;color:#FFFFFF!important;border-color:rgba(255,255,255,.45)!important}
.site-menu .btn-secondary:hover{background:rgba(255,255,255,.08)!important}
.card,.principle,.privacy-card,.contact-choice,.process-cards .process-card,.tier4-home-proof-card,.tier4-proof-card,.tier4-topology-card,.dogfood-card,.tier4-live-card{background:#FFFFFF!important;border:1px solid #DCE4EC!important;border-radius:12px!important;box-shadow:none!important}
.section-elevated,.section[style*="background:var(--bg-elevated)"],.section[style*="background: var(--bg-elevated)"]{background:#F0F4F8!important}
.hero-highlight,.contact-gradient,.cta-section,.compact-band{background:#102A43!important;background-image:none!important}
.hero-highlight h1,.hero-highlight h2,.hero-highlight h3,.hero-highlight p,.hero-highlight .label,.contact-gradient h1,.contact-gradient h2,.contact-gradient h3,.contact-gradient p,.cta-section h1,.cta-section h2,.cta-section h3,.cta-section p{color:#FFFFFF!important}
.hero-highlight .hero-subtitle,.contact-gradient .section-lead,.cta-section .section-lead{color:#D8E3ED!important}
.hero-highlight .label,.contact-gradient .label,.cta-section .label{color:#D8E3ED!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.18)!important}
.homepage-footer,.contact-footer,footer{background:#102A43!important;background-image:none!important;color:#FFFFFF!important;border-color:rgba(255,255,255,.15)!important}
.homepage-footer h3,.contact-footer h3,footer h3,footer h4{color:#FFFFFF!important}
.homepage-footer p,.contact-footer p,footer p{color:#D8E3ED!important}
.homepage-footer a:not(.btn),.contact-footer a:not(.btn),footer a:not(.btn){color:#D8E3ED!important}
.homepage-footer a:not(.btn):hover,.contact-footer a:not(.btn):hover,footer a:not(.btn):hover{color:#FFFFFF!important}
.footer-wordmark{width:180px;height:auto;max-height:28px;margin-bottom:18px}
input,select,textarea,.form-input{background:#FFFFFF!important;color:#102A43!important;border:1px solid #CBD5E1!important;border-radius:8px!important;min-height:44px}
input::placeholder,textarea::placeholder{color:#64748B!important}
.scan-availability-note{background:#EFF4F8!important;color:#526579!important;border-color:#DCE4EC!important}
.tier4-reveal,.tier4-home .section.tier4-reveal{opacity:1!important;transform:none!important}
@media(max-width:640px){
  .section{padding:56px 0}
  .compact-section{padding:48px 0}
  .hero-section{padding:56px 0 48px}
  .container{padding-left:20px!important;padding-right:20px!important}
  .hero-grid,.about-hero{grid-template-columns:1fr;gap:28px}
  .btn-group{gap:10px}
  .btn-group .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* Homepage sections: evidence strip, public audit scope and simple pricing. */
.proof-strip{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(170px,.7fr) minmax(250px,1.5fr);align-items:center;gap:24px;padding:22px 0;border-top:1px solid #DCE4EC;border-bottom:1px solid #DCE4EC}
.proof-strip-item{display:flex;flex-direction:column;gap:4px}
.proof-strip-item strong{color:#102A43;font-size:20px;line-height:1.25}
.proof-strip-item span,.proof-strip>p{margin:0;color:#526579;font-size:14px;line-height:1.55}
.principles-grid .principle{padding:24px!important}
.principles-grid .principle>i,.audience-card>i{width:24px;height:24px;color:#1769AA;margin-bottom:14px;stroke-width:1.8}
.regional-image{margin:28px 0 0;overflow:hidden;border:1px solid #DCE4EC;border-radius:12px;background:#EAF0F5}
.regional-image img{display:block;width:100%;height:auto;max-height:380px;object-fit:cover}
.process-cards .process-card{padding:24px!important}
.process-cards .process-card h3{margin:0 0 8px}
.process-cards .process-card p{color:#526579;font-size:15px;line-height:1.6}
.audit-scope-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:24px;align-items:start}
.audit-scope-list{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.audit-scope-list li{padding:16px;border:1px solid #DCE4EC;border-radius:12px;background:#FFFFFF;color:#526579;font-size:15px;line-height:1.55}
.audit-scope-list li strong{display:block;color:#102A43;margin-bottom:5px}
.custom-scope-note{padding:24px;border:1px solid #DCE4EC;border-radius:12px;background:#EFF4F8}
.custom-scope-note h3{margin:0 0 10px}
.custom-scope-note p{color:#526579;font-size:15px}
.custom-scope-note a{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.pricing-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:26px;border:1px solid #DCE4EC;border-radius:12px;background:#FFFFFF}
.pricing-card .label{margin:0 0 18px}
.pricing-card h3{margin:0 0 10px}
.pricing-card .price{font-size:24px;line-height:1.25;font-weight:700;color:#102A43;margin:0 0 14px}
.pricing-card .price span{font-size:13px;font-weight:500;color:#526579}
.pricing-card>p:not(.price){color:#526579;font-size:15px;margin-bottom:24px}
.pricing-card .btn{margin-top:auto;width:100%}
.pricing-card-featured{border-color:#1769AA;box-shadow:inset 0 0 0 1px #1769AA!important}
.pricing-note{color:#526579;font-size:13px;margin:18px 0 0}
#who-its-for .audience-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#who-its-for .audience-card{min-width:0;padding:22px;border:1px solid #DCE4EC;border-radius:12px;background:#FFFFFF}
#who-its-for .audience-card h3{margin:0 0 8px}
#who-its-for .audience-card p{font-size:14px;color:#526579;margin:0}
.faq-section{margin-top:64px;max-width:860px}
.faq-section .section-heading{margin-bottom:20px}
.faq-section .faq{display:grid;gap:10px}
.faq-section .faq-item{border:1px solid #DCE4EC;border-radius:10px;background:#FFFFFF;overflow:hidden}
.faq-section .faq-question{width:100%;min-height:56px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#FFFFFF;color:#102A43;text-align:left;border:0;font:600 16px/1.4 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}
.faq-section .faq-answer{padding:0 18px 18px;color:#526579;font-size:15px;line-height:1.65}
.cta-section{padding:72px 0}
.cta-section .container{max-width:820px}
.cta-section .section-lead{max-width:640px}
.nairobi-probe-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:20px;margin:22px 0;border:1px solid #DCE4EC;border-radius:12px;background:#FFFFFF}
.nairobi-probe-copy{min-width:0;flex:1}
.nairobi-probe-card h2{font-size:20px!important;margin:0 0 6px}
.nairobi-probe-card p{margin:0;color:#526579;font-size:14px}
.nairobi-probe-card button{min-height:44px;padding:0 18px;border:1px solid #1769AA;border-radius:8px;background:#1769AA;color:#FFFFFF;font:600 14px Inter,ui-sans-serif,system-ui,sans-serif}
.nairobi-probe-card button:disabled{opacity:.65;cursor:wait}
.nairobi-probe-status{width:100%;color:#526579;font-size:14px;line-height:1.55}
.dashboard .brand img,.header-inner .brand img{display:block;width:180px;max-width:100%;height:auto}
@media(max-width:800px){
  .proof-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .proof-strip>p{grid-column:1/-1}
  .audit-scope-layout{grid-template-columns:1fr}
  #who-its-for .audience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pricing-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .audit-scope-list{grid-template-columns:1fr}
  .proof-strip{gap:12px}
  .proof-strip-item strong{font-size:18px}
  #who-its-for .audience-grid{grid-template-columns:1fr}
  .nairobi-probe-card{align-items:stretch}
  .nairobi-probe-card button{width:100%}
}

.menu-wordmark{display:block;width:180px;height:auto;max-height:28px;object-fit:contain}
@media(max-width:380px){.menu-wordmark{width:156px;max-height:24px}}

.social-icons a svg,.footer-social a svg{display:block;width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}

.inline-icon{display:inline-block;width:16px;height:16px;vertical-align:-3px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}

.latency-collage:after{display:none!important}
.latency-collage>img{border:0!important;border-radius:12px!important;filter:none!important;box-shadow:none!important}

main .use-case-card,main .secondary-offer,main .proof-metric,main .case-card,main .service-card,main .feature-card,main .choice-card,main .audience-card{background:#FFFFFF!important;border:1px solid #DCE4EC!important;border-radius:12px!important;box-shadow:none!important}
main .card .card{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.data-centers-callout a,.contact-form-note a{color:#1769AA!important}
.footer-social a:hover{border-color:rgba(255,255,255,.55)!important;color:#FFFFFF!important}
