:root {
  --ink: #0b2136;
  --ink-soft: #5b7081;
  --navy: #071a31;
  --navy-mid: #0b2946;
  --blue: #0d6fa6;
  --cyan: #2ec5ce;
  --green: #1c9a68;
  --gold: #f0bd45;
  --coral: #f06a58;
  --paper: #ffffff;
  --mist: #f2f7f9;
  --line: #d8e4e9;
  --header-height: 82px;
  --content-width: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 12px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  min-height: var(--header-height);
  padding: 10px 32px 10px 22px;
  border-bottom: 1px solid rgba(214, 228, 234, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, min-height 180ms ease;
}

.public-header.is-scrolled {
  min-height: 70px;
  box-shadow: 0 12px 36px rgba(9, 37, 58, 0.1);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 13px;
  min-width: 0;
}

.public-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid #dbe7ec;
  background: #fff;
}

.public-brand span {
  display: grid;
  line-height: 1.1;
}

.public-brand strong {
  color: #0c4f78;
  font-size: 28px;
  font-weight: 850;
}

.public-brand small {
  margin-top: 7px;
  color: #5a7182;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.public-nav a {
  position: relative;
  padding: 8px 0;
  color: #294154;
  font-size: 16px;
  font-weight: 750;
}

.public-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.public-nav a:hover::after,
.public-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.language-picker {
  position: relative;
}

.language-trigger,
.language-menu button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 12px;
  color: #30495c;
  font-weight: 700;
}

.language-trigger svg {
  width: 16px;
  height: 16px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  width: 154px;
  padding: 6px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 44px rgba(10, 38, 58, 0.18);
}

.language-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-align: left;
}

.language-menu button:hover,
.language-menu button:focus-visible {
  color: var(--blue);
  background: #edf6f9;
}

.header-login,
.primary-action,
.secondary-action,
.final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 800;
}

.header-login {
  color: #fff;
  background: #0b6fa4;
  box-shadow: 0 10px 24px rgba(13, 111, 166, 0.22);
}

.header-login svg,
.primary-action svg,
.secondary-action svg,
.final-cta svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  background-image: url("/assets/marketing-africa-network.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 20, 40, 0.97) 0%, rgba(6, 24, 47, 0.89) 37%, rgba(6, 23, 44, 0.48) 70%, rgba(6, 20, 37, 0.32) 100%),
    linear-gradient(180deg, rgba(3, 15, 29, 0.12), rgba(3, 15, 29, 0.76));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--content-width), calc(100% - 80px));
  min-height: 790px;
  margin: 0 auto;
  grid-template-columns: minmax(430px, 0.84fr) minmax(590px, 1.16fr);
  align-items: center;
  gap: 42px;
  padding: 80px 0 105px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow > span:first-child {
  width: 38px;
  height: 3px;
  background: var(--gold);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: 72px;
  font-weight: 900;
  line-height: 1.08;
}

.hero h1 em {
  color: #74e5df;
  font-style: normal;
}

.hero-lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(232, 243, 248, 0.9);
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.primary-action {
  color: #06253a;
  background: #fff;
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(9, 39, 64, 0.46);
  backdrop-filter: blur(9px);
}

.primary-action:hover,
.secondary-action:hover,
.header-login:hover,
.final-cta a:hover {
  transform: translateY(-2px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: #c8dbe4;
  font-size: 13px;
  font-weight: 700;
}

.hero-proof > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.hero-product {
  position: relative;
  min-height: 540px;
  perspective: 1400px;
}

.product-window {
  position: absolute;
  top: 53%;
  right: -90px;
  width: 790px;
  overflow: hidden;
  border: 1px solid rgba(167, 224, 235, 0.32);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(99, 225, 231, 0.18),
    0 0 52px rgba(35, 202, 217, 0.25),
    0 46px 110px rgba(0, 0, 0, 0.52);
  transform: translateY(-50%) rotateY(-8deg) rotateX(1deg);
  transform-origin: center;
}

.window-bar {
  display: flex;
  align-items: center;
  height: 36px;
  gap: 7px;
  padding: 0 14px;
  color: #607787;
  background: #e9f0f3;
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ee745f;
}

.window-bar span:nth-child(2) {
  background: #e9b64a;
}

.window-bar span:nth-child(3) {
  background: #41ae76;
}

.window-bar strong {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
}

.product-window img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.hero-dashboard {
  position: absolute;
  top: 50%;
  right: -80px;
  z-index: 1;
  width: 820px;
  overflow: hidden;
  border: 1px solid rgba(119, 219, 229, 0.38);
  border-radius: 16px;
  color: #e8f5fa;
  background: #081728;
  box-shadow:
    0 0 0 1px rgba(69, 205, 220, 0.16),
    0 0 64px rgba(41, 209, 220, 0.25),
    0 48px 110px rgba(0, 0, 0, 0.52);
  transform: translateY(-50%) rotateY(-6deg) rotateX(1deg);
  transform-origin: center;
}

.dashboard-topbar {
  display: grid;
  height: 42px;
  align-items: center;
  padding: 0 16px;
  grid-template-columns: 1fr auto 1fr;
  border-bottom: 1px solid rgba(150, 204, 218, 0.14);
  color: #819aa9;
  background: #0e2032;
}

.dashboard-topbar > strong {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.dashboard-lights {
  display: flex;
  gap: 6px;
}

.dashboard-lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ee745f;
}

.dashboard-lights i:nth-child(2) {
  background: #e9b64a;
}

.dashboard-lights i:nth-child(3) {
  background: #41ae76;
}

.dashboard-live {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  color: #6ee1db;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.dashboard-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #41d6a0;
  box-shadow: 0 0 0 4px rgba(65, 214, 160, 0.1);
}

.dashboard-live.dashboard-demo {
  color: #f5c85c;
}

.dashboard-live.dashboard-demo i {
  background: #f0b940;
  box-shadow: 0 0 0 4px rgba(240, 185, 64, 0.12);
}

.dashboard-body {
  padding: 16px;
  background:
    radial-gradient(circle at 16% 4%, rgba(35, 174, 190, 0.12), transparent 28%),
    linear-gradient(180deg, #091a2b, #071522);
}

.dashboard-kpis {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.dashboard-kpis article {
  display: grid;
  min-height: 82px;
  align-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(143, 197, 211, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-kpis article > span {
  color: #87a1b0;
  font-size: 9px;
}

.dashboard-kpis article > strong {
  margin-top: 2px;
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
}

.dashboard-kpis article > small {
  margin-top: 4px;
  color: #688393;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.dashboard-kpis article > small b {
  margin-right: 4px;
  color: #47d7a1;
}

.dashboard-kpis .dashboard-kpi-alert > small b,
.dashboard-kpis .dashboard-kpi-alert > strong {
  color: #ff987c;
}

.dashboard-main {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  grid-template-columns: 1.62fr 0.88fr;
}

.dashboard-panel {
  min-height: 216px;
  padding: 14px;
  border: 1px solid rgba(143, 197, 211, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #c9dce5;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.dashboard-panel-head > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dashboard-panel-head > div i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3aa7ff;
}

.dashboard-panel-head > div i:nth-of-type(2) {
  margin-left: 5px;
  background: #43d7a8;
}

.dashboard-panel-head small {
  color: #6e8999;
  font-size: 8px;
}

#heroTrendChart {
  display: block;
  width: 100%;
  height: 145px;
  margin-top: 7px;
}

.dashboard-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  color: #5e7888;
  font-size: 7px;
}

.dashboard-donut {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 18px auto 12px;
  place-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0b1c2d 0 54%, transparent 55%),
    var(--market-gradient, conic-gradient(#35a7ff 0 31%, #46d7a5 31% 58%, #f4bc4b 58% 81%, #9c83ff 81%));
  box-shadow: inset 0 0 20px rgba(70, 186, 209, 0.12);
  text-align: center;
}

.dashboard-donut strong {
  color: #fff;
  font-size: 19px;
  line-height: 1;
}

.dashboard-donut small {
  margin-top: 4px;
  color: #6f8a99;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.dashboard-market-list {
  display: grid;
  gap: 6px;
}

.dashboard-market-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #91a9b6;
  font-size: 8px;
}

.dashboard-market-list div > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-market-list i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #35a7ff;
}

.dashboard-market-list div:nth-child(2) i {
  background: #46d7a5;
}

.dashboard-market-list div:nth-child(3) i {
  background: #f4bc4b;
}

.dashboard-market-list div:nth-child(4) i {
  background: #9c83ff;
}

.dashboard-market-list strong {
  color: #d9e8ee;
}

.dashboard-signals {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.dashboard-signals article {
  display: grid;
  min-height: 56px;
  align-items: center;
  padding: 9px 10px;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  border: 1px solid rgba(143, 197, 211, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-signals svg {
  width: 16px;
  height: 16px;
  color: #65dcd6;
}

.dashboard-signals article > span {
  display: grid;
}

.dashboard-signals small {
  color: #718b9a;
  font-size: 7px;
}

.dashboard-signals strong {
  color: #d9e9ee;
  font-size: 9px;
}

.dashboard-signals b {
  padding: 3px 5px;
  border-radius: 3px;
  color: #ff9a7e;
  background: rgba(255, 112, 87, 0.1);
  font-size: 7px;
}

.dashboard-signals article:nth-child(2) b {
  color: #50d69f;
  background: rgba(67, 214, 164, 0.1);
}

.dashboard-signals article:nth-child(3) b {
  color: #61b8ff;
  background: rgba(58, 167, 255, 0.1);
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 13px 15px;
  border: 1px solid rgba(167, 232, 235, 0.28);
  color: #fff;
  background: rgba(5, 26, 47, 0.78);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(13px);
}

.floating-card svg {
  width: 24px;
  height: 24px;
  color: #71e1dc;
}

.floating-card span {
  display: grid;
}

.floating-card small {
  color: #9eb8c7;
  font-size: 11px;
}

.floating-card strong {
  font-size: 14px;
}

.floating-card-market {
  top: 32px;
  right: 24px;
}

.floating-card-signal {
  right: -8px;
  bottom: 34px;
}

.floating-card-growth {
  bottom: 4px;
  left: -10px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  transform: translateX(-50%);
}

.hero-scroll svg {
  width: 18px;
}

.metric-band {
  position: relative;
  z-index: 5;
  width: min(var(--content-width), calc(100% - 80px));
  margin: -68px auto 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 42, 64, 0.14);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-grid article {
  display: grid;
  min-height: 176px;
  align-content: center;
  padding: 28px 34px;
  border-right: 1px solid var(--line);
}

.metric-grid article:last-child {
  border-right: 0;
}

.metric-grid strong {
  color: #073d5f;
  font-size: 44px;
  line-height: 1.1;
}

.metric-grid > article > span {
  margin-top: 10px;
  font-weight: 850;
}

.metric-grid small,
.metric-note {
  color: var(--ink-soft);
}

.metric-grid small {
  margin-top: 4px;
}

.metric-note {
  margin: 0;
  padding: 15px 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  text-align: center;
}

.capability-section,
.intelligence-section,
.market-section,
.selection-section,
.platter-section,
.loop-section,
.operations-section,
.trust-section {
  padding: 120px max(40px, calc((100% - var(--content-width)) / 2));
}

.section-head {
  max-width: 760px;
}

.section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2,
.selection-copy h2,
.platter-copy h2,
.trust-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.22;
}

.section-head > p:last-child,
.selection-copy > p,
.platter-copy > p,
.trust-copy > p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.capability-grid {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.capability-grid article {
  position: relative;
  min-height: 330px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.capability-grid article:last-child {
  border-right: 0;
}

.capability-grid article:hover {
  color: #fff;
  background: var(--navy-mid);
  transform: translateY(-5px);
}

.capability-grid article:hover p,
.capability-grid article:hover small,
.capability-grid article:hover h3 {
  color: #fff;
}

.capability-index {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #b7c8d0;
  font-size: 13px;
  font-weight: 800;
}

.capability-grid svg {
  width: 34px;
  height: 34px;
  color: var(--green);
}

.capability-grid h3 {
  margin: 76px 0 12px;
  color: var(--ink);
  font-size: 24px;
}

.capability-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.capability-grid small {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(160, 183, 193, 0.4);
  color: var(--blue);
  font-weight: 750;
}

.intelligence-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(45, 186, 197, 0.12), transparent 25%),
    radial-gradient(circle at 90% 84%, rgba(13, 111, 166, 0.1), transparent 28%),
    #eef5f7;
}

.intelligence-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(101, 143, 161, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 143, 161, 0.11) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}

.intelligence-section > * {
  position: relative;
}

.intelligence-window {
  max-width: 1280px;
  margin: 58px auto 0;
  overflow: hidden;
  border: 1px solid #c9dce3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(10, 47, 69, 0.18);
}

.intelligence-window-bar {
  height: 44px;
  color: #78909d;
  background: #eaf1f4;
}

.intelligence-window-bar strong {
  color: #4b6674;
  letter-spacing: 0.08em;
}

.intelligence-window-bar small {
  margin-left: auto;
  color: #66818f;
  font-size: 10px;
}

.intelligence-tabs {
  display: grid;
  padding: 0 30px;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.intelligence-tabs button {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: #718693;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.intelligence-tabs button::after {
  position: absolute;
  right: 20%;
  bottom: 0;
  left: 20%;
  height: 3px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.intelligence-tabs button svg {
  width: 22px;
  height: 22px;
}

.intelligence-tabs button.is-active {
  color: var(--blue);
}

.intelligence-tabs button.is-active::after {
  transform: scaleX(1);
}

.intelligence-grid {
  display: grid;
  gap: 14px;
  padding: 22px;
  grid-template-columns: repeat(12, 1fr);
  background: #f4f8fa;
}

.intelligence-card {
  position: relative;
  min-height: 310px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #d7e4e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(18, 63, 83, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.intelligence-card.is-focus {
  border-color: rgba(13, 111, 166, 0.55);
  box-shadow:
    0 0 0 3px rgba(13, 111, 166, 0.07),
    0 16px 34px rgba(18, 63, 83, 0.1);
  transform: translateY(-2px);
}

.trend-visual {
  grid-column: span 7;
}

.market-visual-card {
  grid-column: span 5;
}

.funnel-visual {
  grid-column: span 5;
}

.risk-visual {
  grid-column: span 7;
}

.visual-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.visual-card-head > span {
  display: grid;
}

.visual-card-head small {
  color: #97aab4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.visual-card-head strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
}

.visual-card-head > svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.visual-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #758b98;
}

.visual-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.visual-legend i:nth-of-type(2) {
  margin-left: 6px;
  background: var(--green);
}

.visual-legend small {
  letter-spacing: 0;
}

#operationsTrendChart {
  display: block;
  width: 100%;
  height: 180px;
  margin-top: 8px;
}

.visual-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  color: #9babb4;
  font-size: 9px;
}

.trend-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.trend-summary > span {
  display: grid;
}

.trend-summary small {
  color: #8aa0ac;
  font-size: 9px;
}

.trend-summary strong {
  margin-top: 2px;
  color: #425e6e;
  font-size: 12px;
}

.trend-summary b {
  color: var(--green);
  font-size: 20px;
}

.market-visual-card {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-content: start;
}

.market-visual-card .visual-card-head {
  grid-column: 1 / -1;
}

.market-donut-large {
  display: grid;
  width: 170px;
  height: 170px;
  align-self: center;
  margin: 32px auto 0;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 55%, transparent 56%),
    var(--market-gradient, conic-gradient(#0d75ad 0 31%, #27a773 31% 58%, #f0bd45 58% 81%, #8f75e9 81%));
  box-shadow: inset 0 0 28px rgba(18, 91, 120, 0.1);
}

.market-donut-large > span {
  display: grid;
  text-align: center;
}

.market-donut-large strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.market-donut-large small {
  margin-top: 6px;
  color: #78909d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.market-share-list {
  display: grid;
  align-content: center;
  gap: 15px;
  margin-top: 30px;
}

.market-share-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #607684;
  font-size: 11px;
}

.market-share-list div span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.market-share-list i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #0d75ad;
}

.market-share-list div:nth-child(2) i {
  background: #27a773;
}

.market-share-list div:nth-child(3) i {
  background: #f0bd45;
}

.market-share-list div:nth-child(4) i {
  background: #8f75e9;
}

.market-share-list strong {
  color: var(--ink);
}

.fulfilment-funnel {
  display: grid;
  gap: 7px;
  margin-top: 27px;
  justify-items: center;
}

.fulfilment-funnel div {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
  background: #0c6f9f;
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
}

.fulfilment-funnel div:nth-child(1) {
  width: 100%;
}

.fulfilment-funnel div:nth-child(2) {
  width: 82%;
  background: #138ba3;
}

.fulfilment-funnel div:nth-child(3) {
  width: 64%;
  background: #22a384;
}

.fulfilment-funnel div:nth-child(4) {
  width: 46%;
  background: #ef795e;
}

.fulfilment-funnel span {
  font-size: 11px;
  font-weight: 750;
}

.fulfilment-funnel strong {
  font-size: 16px;
}

.funnel-visual > p,
.risk-visual > p {
  margin: 20px 0 0;
  color: #718793;
  font-size: 11px;
}

.risk-bars {
  display: grid;
  gap: 13px;
  margin-top: 27px;
}

.risk-bars > div {
  display: grid;
  align-items: center;
  grid-template-columns: 86px 1fr 28px;
  gap: 10px;
  color: #607582;
  font-size: 10px;
}

.risk-bars > div > b {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8f0f3;
}

.risk-bars > div > b i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f7aaf, #2ac4c3);
}

.risk-bars > div:nth-child(2) > b i {
  background: linear-gradient(90deg, #25a16f, #69d8a8);
}

.risk-bars > div:nth-child(3) > b i {
  background: linear-gradient(90deg, #edae2c, #f7d06b);
}

.risk-bars > div:nth-child(4) > b i {
  background: linear-gradient(90deg, #e96653, #f49c85);
}

.risk-bars strong {
  color: var(--ink);
  text-align: right;
}

.risk-matrix {
  display: grid;
  gap: 5px;
  margin-top: 25px;
  grid-template-columns: repeat(5, 1fr);
}

.risk-matrix span {
  height: 24px;
  border-radius: 4px;
  background: rgba(13, 111, 166, 0.12);
}

.risk-matrix span:nth-child(3n) {
  background: rgba(35, 169, 112, 0.27);
}

.risk-matrix span:nth-child(4n) {
  background: rgba(240, 189, 69, 0.46);
}

.risk-matrix span:nth-child(7n) {
  background: rgba(239, 105, 84, 0.65);
}

.intelligence-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  color: #667f8d;
  background: #fff;
  font-size: 11px;
  text-align: center;
}

.intelligence-note svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.backend-frame {
  display: grid;
  min-height: 690px;
  grid-template-columns: 164px minmax(0, 1fr);
  background: #f3f7f9;
}

.backend-sidebar {
  padding: 18px 11px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
    #0b4f7d;
}

.backend-mini-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 4px 22px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.backend-mini-brand img {
  width: 30px;
  height: 30px;
  padding: 3px;
  border-radius: 5px;
  background: #fff;
  object-fit: contain;
}

.backend-mini-brand > span {
  display: grid;
  min-width: 0;
}

.backend-mini-brand strong {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.backend-mini-brand small {
  margin-top: 1px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backend-menu-title {
  display: block;
  margin: 18px 10px 7px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.backend-sidebar button,
.backend-static-link {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 720;
  text-align: left;
}

.backend-sidebar button svg,
.backend-static-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.backend-sidebar button:hover,
.backend-sidebar button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 3px 0 #5ee5dc;
}

.backend-static-link {
  cursor: default;
}

.intelligence-panels {
  min-width: 0;
  padding: 20px;
}

.intelligence-panel[hidden] {
  display: none !important;
}

.intelligence-panel.is-active {
  animation: intelligence-panel-in 180ms ease both;
}

@keyframes intelligence-panel-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.backend-page-head {
  display: flex;
  min-height: 58px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 0 2px 13px;
}

.backend-page-head > span {
  display: grid;
}

.backend-page-head > span > small {
  color: #7c9cac;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.backend-page-head > span > strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 19px;
}

.backend-page-head p {
  margin: 3px 0 0;
  color: #6d8491;
  font-size: 10px;
}

.backend-page-head > b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 6px 9px;
  border: 1px solid #dce8ec;
  border-radius: 99px;
  color: #6b8390;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.backend-page-head > b > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27a773;
  box-shadow: 0 0 0 3px rgba(39, 167, 115, 0.12);
}

.backend-page-head > b.demo-badge {
  border-color: rgba(226, 166, 52, 0.28);
  color: #997021;
  background: #fffbef;
}

.backend-page-head > b.demo-badge > i {
  background: #e4aa36;
  box-shadow: 0 0 0 3px rgba(228, 170, 54, 0.13);
}

.backend-page-head em {
  color: #294d61;
  font-style: normal;
}

.backend-toolbar {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 7px;
  margin-bottom: 12px;
  padding: 9px;
  border: 1px solid #dce8ec;
  border-radius: 8px;
  background: #fff;
}

.backend-toolbar label {
  display: grid;
  min-width: 112px;
  min-height: 38px;
  padding: 5px 27px 4px 9px;
  position: relative;
  border: 1px solid #dce8ec;
  border-radius: 5px;
  background: #fbfdfe;
}

.backend-toolbar label > span {
  color: #94a7b1;
  font-size: 7px;
  line-height: 1.1;
}

.backend-toolbar label > b {
  margin-top: 2px;
  overflow: hidden;
  color: #405d6c;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backend-toolbar label > svg {
  position: absolute;
  top: 12px;
  right: 8px;
  width: 13px;
  height: 13px;
  color: #8299a5;
}

.backend-toolbar .backend-search {
  min-width: 170px;
  flex: 1 1 auto;
}

.backend-toolbar > button {
  min-width: 58px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(13, 111, 166, 0.18);
}

.backend-kpis {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.backend-kpis article {
  display: grid;
  min-height: 84px;
  padding: 13px 14px;
  border: 1px solid #dce8ec;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 111, 166, 0.035), transparent 56%),
    #fff;
  box-shadow: 0 5px 16px rgba(18, 63, 83, 0.04);
}

.backend-kpis article > span {
  color: #738a96;
  font-size: 9px;
  font-weight: 720;
}

.backend-kpis article > strong {
  margin-top: 4px;
  color: #12384d;
  font-size: 23px;
  line-height: 1;
}

.backend-kpis article > small {
  margin-top: 8px;
  overflow: hidden;
  color: #9aabb4;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backend-kpis article > small b {
  color: #1a9a67;
}

.backend-kpis .backend-kpi-warning {
  border-color: rgba(234, 113, 82, 0.3);
  background:
    linear-gradient(135deg, rgba(238, 111, 78, 0.08), transparent 62%),
    #fff;
}

.backend-kpis .backend-kpi-warning > strong,
.backend-kpis .backend-kpi-warning > small b {
  color: #dc654d;
}

.backend-content-grid {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.trend-backend-grid {
  grid-template-columns: minmax(0, 1.75fr) minmax(220px, 0.75fr);
}

.market-backend-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(235px, 0.65fr);
}

.funnel-backend-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(245px, 0.75fr);
}

.inventory-backend-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.backend-data-card,
.backend-table-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce8ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(18, 63, 83, 0.045);
}

.backend-table-card {
  margin-top: 10px;
}

.backend-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.backend-card-head > span {
  display: grid;
}

.backend-card-head strong {
  color: #183d51;
  font-size: 12px;
}

.backend-card-head small {
  margin-top: 2px;
  color: #91a5af;
  font-size: 7px;
}

.backend-card-head > svg {
  width: 17px;
  height: 17px;
  color: var(--blue);
}

.backend-trend-card {
  min-height: 290px;
}

.backend-trend-card #operationsTrendChart {
  height: 204px;
  margin-top: 13px;
}

.backend-action-list,
.fulfilment-alerts,
.inventory-priority-list {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.backend-action-list > div {
  display: grid;
  min-height: 61px;
  align-items: center;
  padding: 9px;
  border: 1px solid #e2ecef;
  border-radius: 6px;
  grid-template-columns: 7px 1fr auto;
  gap: 9px;
  background: #fbfdfe;
}

.backend-action-list > div > i {
  width: 7px;
  height: 29px;
  border-radius: 4px;
  background: #27a773;
}

.backend-action-list > div > i.is-danger {
  background: #e66b53;
}

.backend-action-list > div > i.is-warning {
  background: #efb640;
}

.backend-action-list > div > span {
  display: grid;
}

.backend-action-list strong {
  color: #294d60;
  font-size: 10px;
}

.backend-action-list small {
  margin-top: 2px;
  color: #91a4ad;
  font-size: 7px;
}

.backend-action-list > div > b {
  color: #6e8591;
  font-size: 7px;
}

.country-performance-card {
  min-height: 260px;
}

.country-bars {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.country-bars > div {
  display: grid;
  align-items: center;
  grid-template-columns: 75px minmax(80px, 1fr) 62px;
  gap: 11px;
}

.country-bars > div > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.country-bars > div > span > i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #0d75ad;
}

.country-bars > div:nth-child(2) > span > i {
  background: #27a773;
}

.country-bars > div:nth-child(3) > span > i {
  background: #f0bd45;
}

.country-bars > div:nth-child(4) > span > i {
  background: #8f75e9;
}

.country-bars span b {
  overflow: hidden;
  color: #4d6877;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-bars > div > em {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9f0f3;
}

.country-bars > div > em > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d75ad, #39b9c2);
}

.country-bars > div > strong {
  color: #23475a;
  font-size: 10px;
  text-align: right;
}

.country-bars > div > strong small {
  display: block;
  margin-top: 1px;
  color: #8ba0aa;
  font-size: 7px;
}

.country-mix-card {
  display: grid;
  min-height: 260px;
  grid-template-columns: 1fr 0.8fr;
  align-content: start;
}

.country-mix-card .backend-card-head {
  grid-column: 1 / -1;
}

.country-mix-card .market-donut-large {
  width: 122px;
  height: 122px;
  margin-top: 23px;
}

.country-mix-card .market-donut-large strong {
  font-size: 23px;
}

.country-mix-card .market-share-list {
  gap: 10px;
  margin: 20px 0 0;
}

.backend-table {
  min-width: 650px;
  margin-top: 13px;
}

.backend-table-card {
  overflow-x: auto;
}

.backend-table > div {
  display: grid;
  min-height: 37px;
  align-items: center;
  padding: 0 10px;
  border-top: 1px solid #edf2f4;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 0.85fr 1.2fr;
  gap: 8px;
  color: #647b87;
  font-size: 8px;
}

.backend-table > div:not(.backend-table-head):hover {
  background: #f7fbfc;
}

.backend-table .backend-table-head {
  min-height: 31px;
  border: 0;
  color: #91a4ad;
  background: #f5f9fa;
  font-weight: 800;
}

.backend-table strong {
  color: #2d5062;
}

.backend-table > div > b {
  justify-self: start;
  color: #507083;
  font-weight: 760;
}

.is-good-text {
  color: #189465 !important;
}

.is-warning-text {
  color: #d28d19 !important;
}

.is-danger-text {
  color: #d85a49 !important;
}

.table-badge {
  padding: 4px 7px;
  border-radius: 99px;
  color: #517080 !important;
  background: #edf3f5;
  font-size: 7px;
}

.table-badge.is-danger {
  color: #c65343 !important;
  background: rgba(229, 94, 75, 0.12);
}

.table-badge.is-warning {
  color: #bd7e15 !important;
  background: rgba(239, 182, 64, 0.16);
}

.table-badge.is-good {
  color: #16845a !important;
  background: rgba(39, 167, 115, 0.12);
}

.fulfilment-flow-card {
  min-height: 276px;
}

.backend-funnel {
  display: grid;
  gap: 12px;
  margin-top: 17px;
}

.backend-funnel > div {
  display: grid;
  min-height: 43px;
  align-items: center;
  grid-template-columns: minmax(130px, 1fr) 62px minmax(100px, 0.7fr);
  gap: 12px;
}

.backend-funnel > div > span {
  display: grid;
}

.backend-funnel strong {
  color: #284d60;
  font-size: 9px;
}

.backend-funnel small {
  margin-top: 2px;
  color: #92a4ad;
  font-size: 7px;
}

.backend-funnel > div > b {
  color: #183f54;
  font-size: 10px;
  text-align: right;
}

.backend-funnel > div > em {
  display: flex;
  height: 20px;
  align-items: center;
  padding: 3px;
  border-radius: 4px;
  background: #edf3f5;
}

.backend-funnel > div > em > i {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0e75ac, #36bec2);
}

.backend-funnel > div:nth-child(2) > em > i {
  background: linear-gradient(90deg, #1789a5, #36c0b8);
}

.backend-funnel > div:nth-child(3) > em > i {
  background: linear-gradient(90deg, #209a72, #52c28e);
}

.backend-funnel > div.is-alert > em > i {
  background: linear-gradient(90deg, #dd664f, #f0a25f);
}

.fulfilment-alerts > div {
  display: grid;
  min-height: 42px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #e5edef;
  border-radius: 5px;
  grid-template-columns: 1fr auto 42px;
  gap: 7px;
}

.fulfilment-alerts > div > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fulfilment-alerts > div > span > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e36b54;
}

.fulfilment-alerts > div:nth-child(2) > span > i,
.fulfilment-alerts > div:nth-child(3) > span > i {
  background: #efb640;
}

.fulfilment-alerts > div:nth-child(4) > span > i {
  background: #27a773;
}

.fulfilment-alerts strong {
  color: #405e6d;
  font-size: 8px;
}

.fulfilment-alerts > div > b {
  color: #294d60;
  font-size: 8px;
}

.fulfilment-alerts > div > small {
  color: #90a3ad;
  font-size: 6px;
  text-align: right;
}

.inventory-age-card,
.inventory-risk-list-card {
  min-height: 285px;
}

.inventory-age-chart {
  display: flex;
  height: 185px;
  align-items: flex-end;
  justify-content: space-around;
  gap: 14px;
  margin-top: 12px;
  padding: 20px 12px 8px;
  border-bottom: 1px solid #dce8ec;
  background:
    repeating-linear-gradient(to bottom, rgba(139, 163, 174, 0.12) 0 1px, transparent 1px 43px);
}

.inventory-age-chart > div {
  display: grid;
  height: 100%;
  flex: 1 1 0;
  align-items: end;
  justify-items: center;
  grid-template-rows: 1fr auto auto;
}

.inventory-age-chart > div > b {
  display: flex;
  width: min(42px, 74%);
  height: 100%;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: rgba(13, 111, 166, 0.06);
}

.inventory-age-chart > div > b > i {
  display: block;
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #38bdc0, #0d75ad);
}

.inventory-age-chart > div:first-child > b > i {
  background: linear-gradient(180deg, #efb640, #e38231);
}

.inventory-age-chart > div:last-child > b > i {
  background: linear-gradient(180deg, #ee8b65, #dc5f4b);
}

.inventory-age-chart > div > strong {
  margin-top: 5px;
  color: #294d60;
  font-size: 9px;
}

.inventory-age-chart > div > small {
  margin-top: 2px;
  color: #8da1ab;
  font-size: 7px;
}

.inventory-age-legend {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.inventory-age-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #728894;
  font-size: 7px;
}

.inventory-age-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e9a63a;
}

.inventory-age-legend span:nth-child(2) i {
  background: #24a779;
}

.inventory-age-legend span:nth-child(3) i {
  background: #df6650;
}

.inventory-priority-list > div {
  display: grid;
  min-height: 47px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid #e4edef;
  border-radius: 5px;
  grid-template-columns: 55px 1fr auto;
  gap: 8px;
}

.inventory-priority-list > div > b {
  padding: 4px 5px;
  border-radius: 4px;
  color: #4f7080;
  background: #edf3f5;
  font-size: 6px;
  text-align: center;
}

.inventory-priority-list .severity-critical {
  color: #c85443;
  background: rgba(229, 94, 75, 0.13);
}

.inventory-priority-list .severity-low {
  color: #bd7e15;
  background: rgba(239, 182, 64, 0.16);
}

.inventory-priority-list .severity-over {
  color: #9c6520;
  background: rgba(227, 140, 49, 0.15);
}

.inventory-priority-list .severity-healthy {
  color: #16845a;
  background: rgba(39, 167, 115, 0.12);
}

.inventory-priority-list > div > span {
  display: grid;
}

.inventory-priority-list strong {
  color: #35586a;
  font-size: 8px;
}

.inventory-priority-list small {
  margin-top: 2px;
  color: #92a4ad;
  font-size: 6px;
}

.inventory-priority-list > div > em {
  color: #547182;
  font-size: 7px;
  font-style: normal;
}

.market-section {
  color: #fff;
  background: var(--navy);
}

.market-section .section-head h2,
.market-section .section-head > p:last-child {
  color: #fff;
}

.market-section .section-head > p:last-child {
  color: #b7cbd6;
}

.market-switcher {
  display: grid;
  max-width: 940px;
  margin: 50px auto 36px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(179, 213, 224, 0.3);
}

.market-switcher button {
  min-height: 76px;
  border: 0;
  border-right: 1px solid rgba(179, 213, 224, 0.3);
  color: #d7e7ed;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.market-switcher button:last-child {
  border-right: 0;
}

.market-switcher button span {
  display: block;
  color: #86a1b0;
  font-size: 12px;
}

.market-switcher button.is-active {
  color: #fff;
  background: var(--blue);
}

.market-switcher button.is-active span {
  color: #c8eaf5;
}

.market-stage {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  min-height: 550px;
  border: 1px solid rgba(179, 213, 224, 0.28);
  background: #fff;
}

.market-visual {
  position: relative;
  min-height: 550px;
  background-image: url("/assets/marketing-market-panorama.webp");
  background-repeat: no-repeat;
  background-position: 0% center;
  background-size: 400% 100%;
  transition: background-position 450ms ease;
}

.market-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(5, 22, 40, 0.78));
}

.market-visual-label {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.market-visual-label span {
  font-size: 54px;
  font-weight: 900;
}

.market-visual-label strong {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.market-insight {
  display: grid;
  align-content: center;
  padding: 54px;
  color: var(--ink);
}

.market-code {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
}

.market-insight h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.3;
}

.market-insight > p:not(.market-code) {
  margin: 20px 0 28px;
  color: var(--ink-soft);
}

.market-facts {
  display: grid;
  border-top: 1px solid var(--line);
}

.market-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.market-facts span {
  color: var(--green);
  font-weight: 800;
}

.market-facts strong {
  text-align: right;
}

.selection-section,
.platter-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
}

.selection-section {
  background: #fff;
}

.platter-section {
  grid-template-columns: 1.22fr 0.78fr;
  background: var(--mist);
}

.selection-points,
.decision-lines {
  margin-top: 34px;
}

.selection-points div,
.decision-lines div {
  display: grid;
  padding: 17px 0;
  grid-template-columns: 42px 1fr;
  border-bottom: 1px solid var(--line);
}

.selection-points span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
}

.selection-points strong,
.decision-lines strong {
  font-size: 17px;
}

.selection-points small {
  grid-column: 2;
  color: var(--ink-soft);
}

.dashboard-showcase {
  position: relative;
  min-height: 600px;
}

.showcase-glow {
  position: absolute;
  inset: 13% 10%;
  background: #18b7b6;
  opacity: 0.17;
  filter: blur(65px);
}

.product-window-large {
  top: 50%;
  right: auto;
  left: 0;
  width: 940px;
  max-width: 118%;
  transform: translateY(-50%) rotateY(-4deg);
  box-shadow: 0 36px 90px rgba(8, 35, 56, 0.24);
}

.showcase-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 40px rgba(9, 42, 64, 0.14);
  font-weight: 800;
}

.showcase-chip svg {
  width: 20px;
  color: var(--green);
}

.chip-top {
  top: 60px;
  right: -4px;
}

.chip-bottom {
  right: 34px;
  bottom: 48px;
}

.dashboard-showcase-platter .product-window-large {
  right: 0;
  left: auto;
  transform: translateY(-50%) rotateY(4deg);
}

.dashboard-showcase-platter .chip-top {
  right: auto;
  left: 0;
}

.dashboard-showcase-platter .chip-bottom {
  right: auto;
  left: 34px;
}

.decision-lines div {
  grid-template-columns: 120px 1fr;
}

.decision-lines span {
  color: var(--green);
  font-weight: 850;
}

.loop-section {
  background: #fff;
}

.data-loop {
  display: grid;
  margin: 58px 0 0;
  padding: 0;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  border: 1px solid var(--line);
}

.data-loop li {
  position: relative;
  display: grid;
  min-height: 220px;
  align-content: center;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.data-loop li:last-child {
  border-right: 0;
}

.data-loop li > span {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #a5b9c3;
  font-size: 12px;
  font-weight: 850;
}

.data-loop svg {
  width: 30px;
  color: var(--blue);
}

.data-loop strong {
  margin-top: 20px;
  font-size: 20px;
}

.data-loop small {
  color: var(--ink-soft);
}

.operations-section {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(6, 26, 49, 0.96), rgba(8, 51, 69, 0.88)),
    url("/assets/marketing-africa-network.webp") center / cover no-repeat;
}

.operations-inner {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 70px;
  align-items: center;
}

.operations-section .section-head h2,
.operations-section .section-head > p:last-child {
  color: #fff;
}

.operations-section .section-head > p:last-child {
  color: #bfd0da;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(186, 218, 226, 0.3);
}

.audience-grid article {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid rgba(186, 218, 226, 0.25);
  border-bottom: 1px solid rgba(186, 218, 226, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.audience-grid article:nth-child(2n) {
  border-right: 0;
}

.audience-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.audience-grid svg {
  color: var(--gold);
}

.audience-grid strong {
  display: block;
  margin-top: 25px;
  font-size: 21px;
}

.audience-grid p {
  margin: 8px 0 0;
  color: #bfd0da;
}

.trust-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.trust-points {
  display: grid;
  border-top: 1px solid var(--line);
}

.trust-points > div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.trust-points svg {
  width: 32px;
  height: 32px;
  color: var(--green);
}

.trust-points span {
  display: grid;
}

.trust-points strong {
  font-size: 18px;
}

.trust-points small {
  color: var(--ink-soft);
}

.final-cta {
  padding: 110px 40px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 26, 49, 0.94), rgba(7, 50, 65, 0.76)),
    url("/assets/marketing-africa-network.webp") center / cover no-repeat;
}

.final-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.final-cta p {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.final-cta h2 {
  margin: 20px 0 34px;
  font-size: 48px;
  line-height: 1.25;
}

.final-cta a {
  color: var(--navy);
  background: #fff;
}

.public-footer {
  display: grid;
  padding: 58px max(40px, calc((100% - var(--content-width)) / 2)) 28px;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 60px;
  color: #d7e4ea;
  background: #061523;
}

.public-brand-footer strong {
  color: #fff;
}

.public-brand-footer small {
  color: #91a9b5;
}

.footer-main p {
  max-width: 430px;
  margin: 22px 0 0;
  color: #91a9b5;
}

.footer-links span {
  color: #7795a4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-links p,
.footer-links a {
  margin: 12px 0 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
}

.footer-links svg {
  width: 16px;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(162, 191, 204, 0.16);
  color: #728d9b;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[lang="en"] .market-switcher button span {
  display: none;
}

@media (max-width: 1240px) {
  .public-header {
    grid-template-columns: auto 1fr auto;
  }

  .public-nav {
    gap: 18px;
  }

  .hero-grid {
    width: calc(100% - 48px);
    grid-template-columns: 0.9fr 1.1fr;
  }

  .hero h1 {
    font-size: 60px;
  }

  .product-window {
    right: -170px;
  }

  .hero-dashboard {
    right: -155px;
    width: 780px;
  }

  .capability-section,
  .intelligence-section,
  .market-section,
  .selection-section,
  .platter-section,
  .loop-section,
  .operations-section,
  .trust-section {
    padding-right: 32px;
    padding-left: 32px;
  }

  .product-window-large {
    width: 780px;
  }
}

@media (max-width: 1020px) {
  .public-header {
    grid-template-columns: 1fr auto;
  }

  .public-nav {
    display: none;
  }

  .hero-grid {
    min-height: 1080px;
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 70px;
  }

  .hero {
    min-height: 1080px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-product {
    min-height: 500px;
  }

  .product-window {
    top: 50%;
    right: 0;
    left: 4%;
    width: 92%;
    transform: translateY(-50%);
  }

  .hero-dashboard {
    top: 50%;
    right: 2%;
    left: 2%;
    width: 96%;
    transform: translateY(-50%);
  }

  .floating-card-market {
    top: -10px;
    right: 0;
  }

  .floating-card-growth {
    left: 0;
  }

  .metric-grid,
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-grid article:nth-child(2) {
    border-right: 0;
  }

  .metric-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .capability-grid article:nth-child(2) {
    border-right: 0;
  }

  .capability-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .intelligence-window {
    margin-top: 46px;
  }

  .trend-visual,
  .market-visual-card,
  .funnel-visual,
  .risk-visual {
    grid-column: span 6;
  }

  .market-visual-card {
    grid-template-columns: 1fr;
  }

  .market-donut-large {
    width: 150px;
    height: 150px;
    margin-top: 22px;
  }

  .market-share-list {
    margin-top: 20px;
  }

  .market-stage,
  .selection-section,
  .platter-section,
  .operations-inner,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .selection-section,
  .platter-section {
    gap: 30px;
  }

  .dashboard-showcase {
    min-height: 520px;
  }

  .product-window-large,
  .dashboard-showcase-platter .product-window-large {
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(-50%);
  }

  .platter-copy {
    grid-row: 1;
  }

  .data-loop {
    grid-template-columns: repeat(3, 1fr);
  }

  .data-loop li:nth-child(3) {
    border-right: 0;
  }

  .data-loop li:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .backend-frame {
    grid-template-columns: 122px minmax(0, 1fr);
  }

  .backend-mini-brand small {
    display: none;
  }

  .backend-sidebar button,
  .backend-static-link {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 8px;
  }

  .intelligence-panels {
    padding: 16px;
  }

  .backend-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trend-backend-grid,
  .market-backend-grid,
  .funnel-backend-grid,
  .inventory-backend-grid {
    grid-template-columns: 1fr;
  }

  .country-mix-card {
    grid-template-columns: 1fr 1fr;
  }

  .country-mix-card .market-donut-large {
    width: 126px;
    height: 126px;
  }

  .backend-toolbar {
    flex-wrap: wrap;
  }

  .backend-toolbar label {
    min-width: 108px;
    flex: 1 1 128px;
  }

  .backend-toolbar > button {
    min-height: 38px;
    flex: 0 0 64px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .public-header {
    padding: 8px 12px;
  }

  .public-brand {
    gap: 8px;
  }

  .public-brand img {
    width: 44px;
    height: 44px;
  }

  .public-brand strong {
    font-size: 22px;
  }

  .public-brand small {
    display: none;
  }

  .language-trigger {
    min-height: 40px;
    padding: 0 6px;
  }

  .language-trigger #languageLabel {
    display: none;
  }

  .header-login {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero,
  .hero-grid {
    min-height: 930px;
  }

  .hero-grid {
    width: calc(100% - 32px);
    padding: 58px 0 92px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-proof {
    display: grid;
    gap: 8px;
  }

  .hero-product {
    min-height: 280px;
  }

  .hero-dashboard {
    top: 8px;
    right: auto;
    left: 50%;
    width: 720px;
    transform: translateX(-50%) scale(0.46);
    transform-origin: top center;
  }

  .floating-card {
    min-width: 154px;
    padding: 10px;
  }

  .floating-card-market {
    display: none;
  }

  .floating-card-signal {
    display: none;
  }

  .floating-card-growth {
    display: none;
  }

  .metric-band {
    width: calc(100% - 24px);
    margin-top: -48px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid article {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-grid article:last-child {
    border-bottom: 0;
  }

  .metric-grid strong {
    font-size: 36px;
  }

  .capability-section,
  .intelligence-section,
  .market-section,
  .selection-section,
  .platter-section,
  .loop-section,
  .operations-section,
  .trust-section {
    padding: 82px 18px;
  }

  .section-head h2,
  .selection-copy h2,
  .platter-copy h2,
  .trust-copy h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .capability-grid,
  .market-switcher,
  .audience-grid,
  .data-loop {
    grid-template-columns: 1fr;
  }

  .intelligence-window {
    margin-top: 34px;
    border-radius: 10px;
  }

  .intelligence-window-bar {
    padding-right: 10px;
    padding-left: 10px;
  }

  .intelligence-window-bar strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .intelligence-window-bar small {
    display: none;
  }

  .intelligence-tabs {
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .intelligence-tabs button {
    min-height: 58px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .intelligence-tabs button:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .intelligence-grid {
    padding: 12px;
  }

  .trend-visual,
  .market-visual-card,
  .funnel-visual,
  .risk-visual {
    grid-column: span 12;
  }

  .intelligence-card {
    min-height: 290px;
    padding: 19px;
  }

  .market-visual-card {
    grid-template-columns: 1fr 0.85fr;
  }

  #operationsTrendChart {
    height: 160px;
  }

  .intelligence-note {
    align-items: flex-start;
    padding: 14px 16px;
    text-align: left;
  }

  .backend-frame {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .backend-sidebar {
    display: none;
  }

  .intelligence-panels {
    padding: 11px;
  }

  .backend-page-head {
    min-height: 70px;
    align-items: flex-start;
    gap: 8px;
  }

  .backend-page-head > span > strong {
    font-size: 17px;
  }

  .backend-page-head p {
    max-width: 225px;
    font-size: 9px;
    line-height: 1.45;
  }

  .backend-page-head > b {
    padding: 5px 7px;
  }

  .backend-page-head > b > span {
    display: none;
  }

  .backend-toolbar {
    display: grid;
    padding: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .backend-toolbar label,
  .backend-toolbar .backend-search {
    min-width: 0;
    width: 100%;
  }

  .backend-toolbar > button {
    min-height: 38px;
    grid-column: span 2;
  }

  .backend-kpis {
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .backend-kpis article {
    min-height: 80px;
    padding: 11px;
  }

  .backend-kpis article > strong {
    font-size: 20px;
  }

  .backend-data-card,
  .backend-table-card {
    padding: 13px;
  }

  .backend-trend-card {
    min-height: 262px;
  }

  .backend-trend-card #operationsTrendChart {
    height: 170px;
  }

  .country-bars > div {
    grid-template-columns: 66px minmax(65px, 1fr) 48px;
    gap: 7px;
  }

  .country-mix-card {
    grid-template-columns: 1fr 0.85fr;
  }

  .country-mix-card .market-donut-large {
    width: 112px;
    height: 112px;
  }

  .country-mix-card .market-share-list {
    gap: 8px;
  }

  .backend-funnel > div {
    grid-template-columns: minmax(110px, 1fr) 54px;
    gap: 8px;
  }

  .backend-funnel > div > em {
    height: 8px;
    grid-column: 1 / -1;
  }

  .inventory-age-chart {
    gap: 7px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .inventory-priority-list > div {
    grid-template-columns: 52px 1fr;
  }

  .inventory-priority-list > div > em {
    display: none;
  }

  .capability-grid article,
  .market-switcher button,
  .audience-grid article,
  .data-loop li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .market-switcher button {
    min-height: 58px;
  }

  .market-stage,
  .market-visual {
    min-height: 390px;
  }

  .market-insight {
    padding: 34px 24px;
  }

  .market-insight h3 {
    font-size: 29px;
  }

  .dashboard-showcase {
    min-height: 360px;
  }

  .showcase-chip {
    padding: 9px 11px;
    font-size: 12px;
  }

  .chip-top {
    top: 24px;
  }

  .chip-bottom {
    right: 12px;
    bottom: 22px;
  }

  .dashboard-showcase-platter .chip-bottom {
    left: 12px;
  }

  .data-loop li {
    min-height: 170px;
  }

  .audience-grid article:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(186, 218, 226, 0.25);
  }

  .audience-grid article:last-child,
  .data-loop li:last-child {
    border-bottom: 0;
  }

  .public-footer {
    padding: 48px 20px 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
