.market-switcher { position: relative; flex: 0 0 auto; }
.market-switcher::before {
  border: 2px solid rgba(22, 112, 111, .45);
  border-radius: 999px; content: ""; inset: -4px; pointer-events: none;
  opacity: 0; position: absolute;
}
.market-switcher--home::before { animation: marketAttention 1.7s ease-out 2 both; }
.market-switcher details { position: relative; }
.market-switcher summary {
  align-items: center; background: linear-gradient(135deg, #edf8f5, #f4f8fc); border: 1px solid #c9ddd9;
  border-radius: 999px; color: #10243e; cursor: pointer; display: flex;
  font-size: 12px; font-weight: 800; gap: 7px; list-style: none;
  min-height: 38px; padding: 7px 11px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.market-switcher summary::-webkit-details-marker { display: none; }
.market-switcher summary:hover { border-color: #62a39c; box-shadow: 0 5px 18px rgba(12, 78, 80, .12); transform: translateY(-1px); }
.market-switcher summary strong { font-size: 12px; white-space: nowrap; }
.market-switcher summary small { color: #60758f; font-size: 10px; }
.market-switcher__signal {
  background: #19a474; border: 3px solid #d7f4e9; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(25, 164, 116, .28); height: 9px; width: 9px;
}
.market-switcher__chevron {
  border-bottom: 1.5px solid #536c7d; border-right: 1.5px solid #536c7d;
  height: 6px; margin: -3px 2px 0 1px; transform: rotate(45deg); transition: transform .18s ease; width: 6px;
}
.market-switcher details[open] .market-switcher__chevron { margin-top: 3px; transform: rotate(225deg); }
.market-switcher__menu {
  background: #fff; border: 1px solid #d9e2ec; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(15, 35, 60, .16); display: grid;
  gap: 4px; min-width: 310px; padding: 9px; position: absolute;
  right: 0; top: calc(100% + 8px); z-index: 80;
}
.market-switcher__menu > header { border-bottom: 1px solid #e5ebef; display: grid; gap: 2px; margin: 0 3px 5px; padding: 7px 8px 11px; }
.market-switcher__menu > header strong { color: #10243e; font-size: 13px; }
.market-switcher__menu > header span { color: #738397; font-size: 10px; }
.market-switcher details[open] .market-switcher__menu { animation: marketMenuIn .2s cubic-bezier(.2, .8, .2, 1); transform-origin: top right; }
.market-switcher__menu a {
  align-items: center; border-radius: 9px; color: #10243e; display: flex;
  font-size: 13px; gap: 10px; padding: 9px 10px;
}
.market-switcher__menu a:hover { background: #eef6ff; }
.market-switcher__menu a.is-current { background: #e8f5f1; box-shadow: inset 0 0 0 1px #b9dcd2; }
.market-switcher__code {
  align-items: center; background: #e7eef3; border-radius: 8px; color: #29445c;
  display: flex; flex: 0 0 34px; font-size: 10px; font-weight: 900;
  height: 30px; justify-content: center; letter-spacing: .04em;
}
.market-switcher__menu a.is-current .market-switcher__code { background: #0f6662; color: #fff; }
.market-switcher__country { display: grid; flex: 1; gap: 1px; }
.market-switcher__country strong { font-size: 12px; }
.market-switcher__country small { color: #748498; font-size: 10px; }
.market-switcher__menu em { color: #9a5c00; font-size: 10px; font-style: normal; }
.market-switcher__menu em.is-live { color: #138052; }
.market-switcher__menu > footer { color: #8290a0; font-size: 9px; padding: 8px 9px 4px; }
.site-footer-marketbar {
  align-items: center; border-bottom: 1px solid rgba(255,255,255,.14);
  display: flex; gap: 16px; justify-content: space-between; padding: 18px 24px;
}
.site-footer-marketbar p { margin: 0; }
.site-footer-marketbar strong { color: #fff; display: block; }
.site-footer-marketbar span { color: #bac7d5; font-size: 12px; }
.site-footer-marketbar__links { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer-marketbar__links a {
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff;
  font-size: 12px; padding: 7px 10px; text-decoration: none;
}
.market-launch { color: #12263f; margin: 0 auto; max-width: 1180px; padding: 26px 0 70px; }
.market-crumb { color: #677b91; display: flex; font-size: 13px; gap: 8px; margin-bottom: 18px; }
.market-crumb a { color: #1764a8; }
.market-launch__hero {
  background: linear-gradient(125deg, #072e34 0%, #0c4e50 54%, #d08724 150%);
  border-radius: 28px; color: #fff; display: grid; gap: 42px;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  overflow: hidden; padding: clamp(28px, 5vw, 64px); position: relative;
}
.market-launch__hero::after {
  background: radial-gradient(circle, rgba(255,255,255,.13) 0 2px, transparent 3px);
  background-size: 24px 24px; content: ""; inset: 0; opacity: .35;
  pointer-events: none; position: absolute;
}
.market-launch__hero > * { position: relative; z-index: 1; }
.market-launch__eyebrow, .market-launch__kicker {
  color: #f4b657; font-size: 12px; font-weight: 900; letter-spacing: .11em;
  margin: 0 0 12px; text-transform: uppercase;
}
.market-launch__hero h1 { color: #fff; font-size: clamp(34px, 5vw, 62px); letter-spacing: -.04em; line-height: 1.02; margin: 0; max-width: 800px; }
.market-launch__lede { color: #d7e8e8; font-size: 17px; line-height: 1.7; margin: 24px 0 0; max-width: 760px; }
.market-launch__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.market-launch__actions a { border-radius: 10px; font-size: 13px; font-weight: 850; padding: 13px 17px; text-decoration: none; }
.market-launch__primary { background: #f2aa3b; color: #112b30; }
.market-launch__secondary { border: 1px solid rgba(255,255,255,.42); color: #fff; }
.market-launch__status { align-self: center; backdrop-filter: blur(8px); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 22px; }
.market-launch__status > span { color: #bcd5d5; font-size: 11px; text-transform: uppercase; }
.market-launch__status > strong { display: block; font-size: 20px; margin: 5px 0 18px; }
.market-launch__status dl { margin: 0; }
.market-launch__status dl div { border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; padding: 10px 0; }
.market-launch__status dt { color: #bcd5d5; font-size: 12px; }
.market-launch__status dd { font-size: 12px; font-weight: 800; margin: 0; text-align: right; }
.market-launch__section, .market-launch__method, .market-launch__faq { margin-top: 64px; }
.market-launch__section h2, .market-launch__method h2, .market-launch__faq h2 { font-size: clamp(27px, 4vw, 42px); letter-spacing: -.03em; margin: 0 0 26px; }
.market-launch__grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.market-launch__grid article { background: #f5f8f7; border: 1px solid #dfe8e5; border-radius: 16px; padding: 22px; }
.market-launch__grid article > span { color: #b2670d; font-size: 12px; font-weight: 900; }
.market-launch__grid h3 { font-size: 17px; margin: 16px 0 9px; }
.market-launch__grid p { color: #5b6f82; font-size: 13px; line-height: 1.65; margin: 0; }
.market-launch__method { background: #fff7e8; border: 1px solid #f2d7a6; border-radius: 22px; display: grid; gap: 40px; grid-template-columns: .8fr 1.2fr; padding: clamp(24px, 4vw, 44px); }
.market-launch__method ol { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.market-launch__method li { border-left: 3px solid #d98a22; display: grid; gap: 4px; padding-left: 15px; }
.market-launch__method li strong { font-size: 14px; }
.market-launch__method li span { color: #647388; font-size: 13px; line-height: 1.55; }
.market-launch__faq details { border-top: 1px solid #dce4ea; padding: 17px 0; }
.market-launch__faq summary { cursor: pointer; font-size: 16px; font-weight: 800; }
.market-launch__faq details p { color: #5c6f83; line-height: 1.65; max-width: 850px; }
@media (max-width: 900px) {
  .market-launch__hero { grid-template-columns: 1fr; }
  .market-launch__grid { grid-template-columns: repeat(2, 1fr); }
  .market-launch__method { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .market-switcher { margin-left: auto; order: 2; }
  .market-switcher summary { min-height: 34px; padding: 6px 9px; }
  .site-footer-marketbar { align-items: flex-start; flex-direction: column; }
  .market-launch { padding-top: 14px; }
  .market-launch__hero { border-radius: 18px; gap: 24px; padding: 26px 20px; }
  .market-launch__hero h1 { font-size: 34px; }
  .market-launch__lede { font-size: 15px; }
  .market-launch__grid { grid-template-columns: 1fr; }
  .market-launch__section, .market-launch__method, .market-launch__faq { margin-top: 42px; }
}
@media (max-width: 600px) {
  .simple-nav .market-switcher {
    grid-area: market;
    min-width: 0;
    margin: 0;
    order: 0;
  }
  .simple-nav .market-switcher summary {
    min-height: 44px;
    max-width: 100%;
  }
}
@media (max-width: 380px) {
  .market-switcher summary strong { max-width: 76px; overflow: hidden; text-overflow: ellipsis; }
  .market-switcher summary small { display: none; }
  .market-switcher__menu { min-width: min(300px, calc(100vw - 20px)); right: -6px; }
  .market-launch__hero h1 { font-size: 29px; }
  .market-launch__actions { display: grid; }
  .market-launch__actions a { text-align: center; }
}
@keyframes marketAttention {
  0% { opacity: 0; transform: scale(.92); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.12); }
}

/* Country research hubs: useful before the locally verified catalogue opens. */
.market-hub { --hub-accent: #0d655c; --hub-deep: #092f35; padding-bottom: 64px; }
.market-hub--tanzania { --hub-accent: #155b91; --hub-deep: #102b47; }
.market-hub--uganda { --hub-accent: #825016; --hub-deep: #332a23; }
.market-hub h2 { color: #12263f; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.035em; line-height: 1.15; margin: 0 0 20px; }
.market-hub p { line-height: 1.75; }
.market-hub a { text-underline-offset: 4px; }
.market-hub a:focus-visible, .market-hub button:focus-visible, .market-hub input:focus-visible, .market-hub summary:focus-visible { outline: 3px solid #bd7711; outline-offset: 4px; }
.market-hub__hero { background: var(--hub-deep); border-radius: 24px; color: white; display: grid; grid-template-columns: 1.35fr 1fr; gap: 54px; padding: clamp(26px, 4.5vw, 58px); }
.market-hub__eyebrow { color: var(--hub-accent); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.market-hub__hero .market-hub__eyebrow { color: #eac17e; }
.market-hub__hero h1 { color: #fff; font-size: clamp(36px, 4.5vw, 61px); letter-spacing: -.05em; line-height: 1.05; margin: 0; }
.market-hub__lead { color: #e2e9ee; font-size: 17px; margin: 25px 0 20px; }
.market-hub__focus { color: #eac17e; font-size: 12px; }
.market-hub__brief { align-self: center; border: 1px solid #ffffff38; background: #ffffff0c; border-radius: 17px; padding: 28px; position: relative; }
.market-hub__brief h2 { color: white; font-size: 29px; }
.market-hub__country-code { float: right; border: 1px solid #ffffff45; border-radius: 9px; padding: 7px 10px; font-size: 13px; font-weight: 800; }
.market-hub__brief ol { list-style: none; margin: 0 0 24px; padding: 0; }
.market-hub__brief li { border-bottom: 1px solid #ffffff20; padding: 11px 0; font-size: 13px; }
.market-hub__brief li span { color: #eac17e; font-size: 11px; margin-right: 12px; }
.market-hub__brief p:last-child { color: #d2dee5; font-size: 12px; margin-bottom: 0; }
.market-hub__status { font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.market-hub__status span { color: #efbd69; margin-right: 5px; }
.market-hub__byline { display: flex; flex-wrap: wrap; gap: 10px 25px; padding: 20px 2px; color: #5b6f82; font-size: 12px; }
.market-hub__toc { display: flex; flex-wrap: wrap; gap: 8px; border-block: 1px solid #dce5e9; padding: 14px 0; }
.market-hub__toc a { background: #f0f5f6; color: #173647; border-radius: 7px; padding: 10px 14px; font-size: 12px; font-weight: 750; text-decoration: none; }
.market-hub__toc a:hover { background: #e0ebef; }
.market-hub__opening { max-width: 890px; padding: 58px 0 30px; }
.market-hub__opening > p:last-child { color: #506579; font-size: 17px; }
.market-hub__article { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 20px; border-top: 1px solid #dce5e9; padding: 36px 0; }
.market-hub__number { color: var(--hub-accent); font-size: 35px; font-weight: 800; letter-spacing: -.06em; }
.market-hub__article > div { max-width: 900px; }
.market-hub__article h2 { font-size: clamp(23px, 2.5vw, 30px); }
.market-hub__article p { color: #455e73; font-size: 15px; }
.market-hub__source { color: var(--hub-accent); font-size: 12px; font-weight: 750; }
.market-hub__ask { background: #f2f6f6; border-left: 3px solid var(--hub-accent); border-radius: 0 8px 8px 0; padding: 15px 19px; font-size: 14px; font-weight: 650; line-height: 1.6; }
.market-hub__planner { background: #f4f7f7; border: 1px solid #dce5e9; border-radius: 22px; padding: clamp(22px, 3.5vw, 42px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; margin: 28px 0 60px; }
.market-hub__planner > div > p { font-size: 14px; color: #4b6377; }
.market-hub__planner .market-hub__note { font-size: 12px; }
.market-hub__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.market-hub__inputs label { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 750; line-height: 1.5; }
.market-hub__inputs input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #bacbd4; border-radius: 8px; background: white; padding: 11px; color: #12263f; font: inherit; font-size: 16px; box-sizing: border-box; }
.market-hub__total { background: var(--hub-deep); color: white; border-radius: 12px; padding: 22px; margin: 20px 0 12px; display: grid; gap: 8px; }
.market-hub__total span, .market-hub__total small { font-size: 12px; color: #dce7ec; line-height: 1.5; }
.market-hub__total output { font-weight: 800; font-size: 25px; overflow-wrap: anywhere; }
.market-hub__quote-form button { border: 1px solid #a5b9c5; border-radius: 8px; color: #243e51; background: white; padding: 11px 17px; cursor: pointer; font-weight: 700; }
.market-hub__checklist { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; margin: 60px 0; }
.market-hub__checklist p { color: #4b6377; font-size: 14px; }
.market-hub__checklist label { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid #dce5e9; font-size: 14px; line-height: 1.6; cursor: pointer; }
.market-hub__checklist input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--hub-accent); }
.market-hub__checklist small { display: block; font-size: 11px; color: #526d80; margin-top: 15px; line-height: 1.6; }
.market-hub__guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 25px; }
.market-hub__guide { border: 1px solid #dce5e9; border-radius: 16px; overflow: hidden; display: block; text-decoration: none; color: #12263f; background: #fff; }
.market-hub__guide:hover { box-shadow: 0 10px 28px #12344314; }
.market-hub__guide img { width: 100%; height: auto; display: block; }
.market-hub__guide > div { padding: 23px; }
.market-hub__guide span { color: var(--hub-accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.market-hub__guide h3 { font-size: 23px; letter-spacing: -.025em; margin: 12px 0; }
.market-hub__guide p { color: #4b6377; font-size: 14px; }
.market-hub__guide strong { color: var(--hub-accent); font-size: 13px; }
.market-hub__sources { margin-top: 60px; }
.market-hub__sources > p { color: #4b6377; font-size: 14px; max-width: 850px; }
.market-hub__source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.market-hub__source-grid a { border-top: 3px solid var(--hub-accent); background: #f3f6f7; padding: 22px; color: #173647; text-decoration: none; }
.market-hub__source-grid h3 { font-size: 16px; margin-top: 0; }
.market-hub__source-grid p { font-size: 13px; margin-bottom: 0; }
.market-hub__release { margin-top: 50px; border-top: 1px solid #dce5e9; display: flex; align-items: center; gap: 30px; justify-content: space-between; padding-top: 24px; }
.market-hub__release p { color: #52697c; max-width: 790px; font-size: 12px; }
.market-hub__release > a { flex-shrink: 0; font-size: 13px; color: var(--hub-accent); }
.market-hub section, .market-hub aside[id] { scroll-margin-top: 90px; }
@media (max-width: 900px) {
  .market-hub__hero, .market-hub__planner, .market-hub__checklist { grid-template-columns: 1fr; gap: 28px; }
  .market-hub__source-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .market-hub__hero { padding: 28px 22px; border-radius: 18px; }
  .market-hub__hero h1 { font-size: 38px; }
  .market-hub__brief { padding: 22px; }
  .market-hub__lead { font-size: 15px; }
  .market-hub__article { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .market-hub__number { font-size: 23px; }
  .market-hub__opening { padding-top: 38px; }
  .market-hub__inputs, .market-hub__guide-grid { grid-template-columns: 1fr; }
  .market-hub__release { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@keyframes marketMenuIn {
  from { opacity: 0; transform: translateY(-7px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .market-switcher--home::before, .market-switcher details[open] .market-switcher__menu { animation: none; }
  .market-switcher summary, .market-switcher__chevron { transition: none; }
}
