:root {
  --ink: #102a43;
  --ink-soft: #486174;
  --ink-muted: #6b7f8f;
  --navy: #082f2d;
  --navy-deep: #052422;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --teal-light: #dff4ef;
  --mint: #9ce1d0;
  --gold: #d79a28;
  --gold-light: #fff4d9;
  --blue: #34699a;
  --blue-light: #eaf2fb;
  --plum: #7c4d82;
  --plum-light: #f4ecf5;
  --coral: #b45d45;
  --coral-light: #fbeee9;
  --surface: #ffffff;
  --surface-soft: #f4f8f7;
  --surface-warm: #fbfaf6;
  --border: #dbe5e6;
  --border-dark: #c9d7d8;
  --success: #14735f;
  --danger: #9a3f32;
  --shadow-sm: 0 8px 24px rgba(16, 42, 67, 0.07);
  --shadow-md: 0 18px 48px rgba(16, 42, 67, 0.11);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select {
  font-family: var(--font);
}

img,
svg {
  display: block;
}

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

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

p {
  color: var(--ink-soft);
}

::selection {
  color: #fff;
  background: var(--teal);
}

:focus-visible {
  outline: 3px solid #e4aa38;
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--mint);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(156, 225, 208, 0.12);
}

.section-kicker {
  margin-bottom: 10px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 750;
  line-height: 1.2;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease,
    box-shadow 180ms ease;
}

.button svg,
.text-link svg,
.card__link svg,
.button--header svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.button:hover,
.card__link:hover {
  transform: translateY(-1px);
}

.button:hover svg,
.card__link:hover svg {
  transform: translateX(3px);
}

.button--primary {
  color: #082f2d;
  background: #a8e7d7;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.button--primary:hover {
  background: #c0f0e4;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.button--secondary {
  color: var(--teal-dark);
  background: var(--surface);
  border-color: var(--border-dark);
}

.button--secondary:hover {
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button--large {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 0.9375rem;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 230, 0.8);
  backdrop-filter: blur(16px);
}

.header__inner {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--teal);
  border-radius: 50% 50% 50% 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transform: rotate(-45deg);
}

.brand__mark::before,
.brand__mark span {
  content: "";
  display: block;
  border-radius: 50%;
}

.brand__mark::before {
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
}

.brand__mark span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
}

.brand__name {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand__name span {
  color: var(--teal);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: #3f596a;
  font-size: 0.875rem;
  font-weight: 650;
}

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

.primary-nav a:hover {
  color: var(--navy);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.button--header {
  min-height: 42px;
  margin-left: 18px;
  color: #fff;
  background: var(--navy);
}

.button--header:hover {
  background: var(--teal-dark);
}

.mobile-nav {
  position: relative;
  display: none;
}

.mobile-nav summary {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy);
  background: #f6f9f8;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.mobile-nav summary svg path {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.mobile-nav[open] summary {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.mobile-nav[open] summary svg path:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.mobile-nav[open] summary svg path:nth-child(2) {
  opacity: 0;
}

.mobile-nav[open] summary svg path:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav > nav {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(280px, calc(100vw - 32px));
  gap: 3px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.mobile-nav > nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  color: #3c5869;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.mobile-nav > nav a:hover {
  color: var(--teal-dark);
  background: #eef7f5;
}

.mobile-nav > nav .mobile-nav__cta {
  justify-content: center;
  margin-top: 4px;
  color: #fff;
  background: var(--navy);
}

.mobile-nav > nav .mobile-nav__cta:hover {
  color: #fff;
  background: var(--teal-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 100%),
    linear-gradient(145deg, var(--navy-deep), var(--navy) 64%, #0a3d39);
  background-size: 28px 28px, auto;
}

.hero::after {
  position: absolute;
  right: -12%;
  bottom: -48%;
  width: 750px;
  height: 750px;
  border: 1px solid rgba(156, 225, 208, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(156, 225, 208, 0.025), 0 0 0 160px rgba(156, 225, 208, 0.018);
  content: "";
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero__glow--one {
  top: -160px;
  left: -130px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(42, 138, 126, 0.22), transparent 68%);
}

.hero__glow--two {
  top: 20%;
  right: 5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(215, 154, 40, 0.08), transparent 65%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 650px;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  padding-top: 68px;
  padding-bottom: 90px;
}

.hero__content {
  max-width: 690px;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(3rem, 5.5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: #c7d9d7;
  font-size: clamp(1.05rem, 1.6vw, 1.23rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e4efed;
  font-size: 0.9375rem;
  font-weight: 700;
}

.text-link svg {
  width: 16px;
  stroke-width: 2;
}

.text-link:hover {
  color: var(--mint);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 42px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(213, 231, 228, 0.13);
  list-style: none;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b8cecb;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero__trust svg {
  width: 16px;
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero__visual {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
}

.radar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 490px;
  height: 490px;
  border: 1px solid rgba(156, 225, 208, 0.09);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar::before,
.radar::after {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 84%;
  height: 1px;
  background: rgba(156, 225, 208, 0.08);
  content: "";
}

.radar::after {
  transform: rotate(90deg);
}

.radar__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(156, 225, 208, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar__ring--one {
  width: 72%;
  height: 72%;
}

.radar__ring--two {
  width: 45%;
  height: 45%;
}

.radar__ring--three {
  width: 18%;
  height: 18%;
}

.radar__sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 47%;
  height: 47%;
  overflow: hidden;
  transform-origin: top left;
  animation: sweep 9s linear infinite;
}

.radar__sweep::before {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(93, 199, 178, 0.16), transparent 65%);
  content: "";
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.radar__point {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--mint);
  border: 2px solid var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(156, 225, 208, 0.12);
}

.radar__point--one {
  top: 17%;
  right: 22%;
}

.radar__point--two {
  right: 10%;
  bottom: 35%;
}

.radar__point--three {
  bottom: 16%;
  left: 20%;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

.preview-card {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  padding: 18px;
  background: rgba(250, 253, 252, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  transform: rotate(1.4deg);
}

.preview-card__header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 2px 17px;
  border-bottom: 1px solid #e5ecec;
}

.preview-card__icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 11px;
}

.preview-card__icon svg,
.pathway__icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.preview-card__header > span:nth-child(2) {
  display: grid;
  margin-right: auto;
}

.preview-card small,
.pathway small,
.match-preview__card small {
  color: var(--ink-muted);
  font-size: 0.67rem;
  line-height: 1.4;
}

.preview-card strong,
.pathway strong {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: -0.012em;
}

.preview-card__live,
.live-data {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: var(--success);
  background: #e6f5ef;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 750;
}

.preview-card__live i,
.live-data i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.preview-card__pathways {
  display: grid;
  gap: 9px;
  padding-block: 16px;
}

.pathway {
  display: grid;
  align-items: center;
  gap: 11px;
  padding: 12px;
  background: #f8faf9;
  border: 1px solid #e7eeee;
  border-radius: 12px;
  grid-template-columns: auto 1fr auto;
}

.pathway__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
}

.pathway--teal .pathway__icon {
  color: var(--teal);
  background: var(--teal-light);
}

.pathway--gold .pathway__icon {
  color: #a06a08;
  background: var(--gold-light);
}

.pathway--blue .pathway__icon {
  color: var(--blue);
  background: var(--blue-light);
}

.pathway > span:nth-child(2) {
  display: grid;
}

.pathway__arrow {
  width: 16px;
  fill: none;
  stroke: #82939f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.preview-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 3px 2px;
  border-top: 1px solid #e5ecec;
  color: #5e7280;
  font-size: 0.68rem;
  font-weight: 600;
}

.avatar-stack {
  display: flex;
  padding-left: 5px;
}

.avatar-stack i {
  display: grid;
  width: 27px;
  height: 27px;
  margin-left: -5px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 750;
}

.avatar-stack i:nth-child(2) {
  background: var(--blue);
}

.avatar-stack i:nth-child(3) {
  background: var(--gold);
}

/* Discovery and filters */
.discover-section {
  padding: 0 0 112px;
  background: var(--surface-soft);
}

.filter-panel {
  position: relative;
  z-index: 5;
  top: -48px;
  margin-bottom: 6px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.filter-panel__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 25px;
}

.filter-panel__heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
}

.filter-panel__heading > p {
  max-width: 390px;
  margin: 0 0 2px;
  font-size: 0.9rem;
}

.filters-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(280px, 1.65fr) repeat(3, minmax(150px, 1fr));
}

.field label,
.category-filter legend {
  display: block;
  margin-bottom: 8px;
  color: #345064;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.3;
}

.input-wrap,
.select-wrap {
  position: relative;
}

.input-wrap > svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  width: 19px;
  fill: none;
  stroke: #708591;
  stroke-linecap: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

.field input,
.field select {
  width: 100%;
  min-height: 49px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field input {
  padding: 11px 15px 11px 44px;
}

.field input::placeholder {
  color: #7f929d;
}

.field select {
  padding: 11px 39px 11px 13px;
  appearance: none;
  text-overflow: ellipsis;
}

.select-wrap > svg {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 18px;
  fill: none;
  stroke: #637b88;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

.field input:hover,
.field select:hover {
  border-color: #a8bcbc;
}

.field input:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.category-filter {
  min-width: 0;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.category-filter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-chip {
  min-height: 40px;
  padding: 8px 13px;
  color: #415c6d;
  background: #f7f9f9;
  border: 1px solid #dce5e5;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.category-chip:hover {
  color: var(--teal-dark);
  background: #f0f8f6;
  border-color: #a9d3ca;
  transform: translateY(-1px);
}

.category-chip.is-active {
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.filter-panel__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e8eeee;
}

.reset-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--teal-dark);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 750;
}

.reset-button:hover {
  background: var(--teal-light);
}

.reset-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.trust-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: -18px 0 34px;
  padding: 17px 19px;
  background: #edf7f4;
  border: 1px solid #cfe7e1;
  border-radius: 14px;
  scroll-margin-top: 96px;
}

.trust-notice__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--teal-dark);
  background: #d8efe9;
  border-radius: 10px;
}

.trust-notice__icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.trust-notice p {
  margin: 0;
  color: #4f6877;
  font-size: 0.8rem;
  line-height: 1.6;
}

.trust-notice strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 0.82rem;
}

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 0 28px;
}

.results-heading h2 {
  max-width: 580px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.results-heading__meta {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.result-count {
  margin: 0;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 750;
}

.verification-key {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #71838e;
  font-size: 0.68rem;
}

.verification-key > span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: var(--success);
  background: #dff3ec;
  border-radius: 50%;
}

.verification-key svg {
  width: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.opportunity-grid,
.loading-grid {
  display: grid;
  align-items: stretch;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.opportunity-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 23px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(16, 42, 67, 0.02);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.opportunity-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--category-color, var(--teal));
  content: "";
  opacity: 0.85;
}

.opportunity-card:hover {
  border-color: #c8d8d8;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.opportunity-card[data-category="scholarships"] {
  --category-color: var(--teal);
  --category-bg: var(--teal-light);
  --category-text: #0a625b;
}

.opportunity-card[data-category="competitions"] {
  --category-color: var(--gold);
  --category-bg: var(--gold-light);
  --category-text: #80530a;
}

.opportunity-card[data-category="fellowships"] {
  --category-color: var(--plum);
  --category-bg: var(--plum-light);
  --category-text: #653c6b;
}

.opportunity-card[data-category="research-programs"] {
  --category-color: var(--blue);
  --category-bg: var(--blue-light);
  --category-text: #28577f;
}

.opportunity-card[data-category="summer-programs"] {
  --category-color: var(--coral);
  --category-bg: var(--coral-light);
  --category-text: #8f4937;
}

.opportunity-card[data-category="internships"] {
  --category-color: #527457;
  --category-bg: #eaf2e9;
  --category-text: #3e6545;
}

.card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card__category {
  max-width: 64%;
  padding: 5px 9px;
  overflow: hidden;
  color: var(--category-text, var(--teal-dark));
  background: var(--category-bg, var(--teal-light));
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.4;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: #536b78;
  font-size: 0.66rem;
  font-weight: 750;
}

.card__status i {
  width: 7px;
  height: 7px;
  background: #718692;
  border-radius: 50%;
}

.card__status[data-status="open"] {
  color: #116a58;
}

.card__status[data-status="open"] i {
  background: #159273;
  box-shadow: 0 0 0 3px rgba(21, 146, 115, 0.12);
}

.card__status[data-status="upcoming"] {
  color: #8b5b08;
}

.card__status[data-status="upcoming"] i {
  background: #d79a28;
}

.card__status[data-status="rolling"] {
  color: #365f8d;
}

.card__status[data-status="rolling"] i {
  background: #4b7eb4;
}

.card__status[data-status="closed"] {
  color: #7b858b;
}

.card__status[data-status="closed"] i {
  background: #a1aeb4;
}

.card__title-row {
  margin-bottom: 8px;
}

.card__title {
  margin-bottom: 7px;
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  line-height: 1.25;
}

.card__verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3e6d62;
  font-size: 0.65rem;
  font-weight: 700;
}

.card__verified svg {
  width: 15px;
  height: 15px;
  padding: 2px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  background: #e1f2ec;
  border-radius: 50%;
}

.card__verified.is-unverified {
  color: #7d6a40;
}

.card__description {
  margin-bottom: 16px;
  color: #5c7180;
  font-size: 0.79rem;
  line-height: 1.65;
}

.card__details {
  display: grid;
  gap: 0 14px;
  margin: 0 0 16px;
  padding: 12px 0;
  border-top: 1px solid #e8eeee;
  border-bottom: 1px solid #e8eeee;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card__detail {
  min-width: 0;
}

.card__detail--wide {
  display: grid;
  align-items: start;
  gap: 8px;
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf2f2;
  grid-column: 1 / -1;
  grid-template-columns: 82px 1fr;
}

.card__detail--compact {
  padding: 3px 0 11px;
}

.card__detail--source {
  margin: 2px 0 0;
  padding-top: 11px;
  padding-bottom: 0;
  border-top: 1px solid #edf2f2;
  border-bottom: 0;
}

.card__details dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #718591;
  font-size: 0.7rem;
  font-weight: 700;
}

.card__details dt svg {
  width: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: #79909a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.card__details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #334f61;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.5;
}

.card__detail--compact dt {
  margin-bottom: 5px;
}

.card__deadline {
  color: var(--category-text, var(--teal-dark)) !important;
}

.card__last-verified {
  color: var(--success) !important;
}

.card__link {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  color: #fff;
  background: var(--navy);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 750;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.card__link:hover {
  background: var(--teal-dark);
  box-shadow: 0 8px 20px rgba(8, 47, 45, 0.16);
}

.card__link svg {
  width: 16px;
}

.loading-grid[hidden],
.loading-grid:empty {
  display: none;
}

.skeleton-card {
  display: grid;
  min-height: 510px;
  align-content: start;
  gap: 17px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.skeleton-card i {
  display: block;
  height: 15px;
  background: linear-gradient(90deg, #eef3f2 25%, #f8faf9 50%, #eef3f2 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: skeleton 1.5s infinite linear;
}

.skeleton-card i:nth-child(1) {
  width: 32%;
  height: 24px;
  border-radius: 999px;
}

.skeleton-card i:nth-child(2) {
  width: 84%;
  height: 27px;
  margin-top: 8px;
}

.skeleton-card i:nth-child(3) {
  width: 100%;
  height: 75px;
}

.skeleton-card i:nth-child(4) {
  width: 100%;
  height: 190px;
}

.skeleton-card i:nth-child(5) {
  width: 100%;
  height: 44px;
}

@keyframes skeleton {
  to {
    background-position: -200% 0;
  }
}

.empty-state,
.error-state {
  padding: 55px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed #becfd0;
  border-radius: var(--radius-md);
}

.empty-state[hidden],
.error-state[hidden] {
  display: none;
}

.empty-state__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 17px;
  place-items: center;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 50%;
}

.empty-state__icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.empty-state h3,
.error-state h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.empty-state p {
  max-width: 560px;
  margin: 0 auto 20px;
  font-size: 0.86rem;
}

.error-state {
  display: grid;
  align-items: center;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  padding: 26px;
  text-align: left;
  border-color: #dcb8b0;
}

.error-state > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--danger);
  background: #faece8;
  border-radius: 50%;
}

.error-state > span svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.error-state h3,
.error-state p {
  margin: 0;
}

.error-state p {
  margin-top: 4px;
  font-size: 0.8rem;
}

/* Distribution */
.distribution-section {
  padding: 110px 0 118px;
  overflow: hidden;
  background: var(--surface-warm);
}

.section-heading--split {
  display: grid;
  align-items: end;
  gap: 70px;
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: 45px;
}

.section-heading--split h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-heading--split > p {
  max-width: 510px;
  margin: 0 0 4px;
  font-size: 0.94rem;
}

.distribution-layout {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.africa-panel {
  min-width: 0;
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 45%, rgba(54, 140, 128, 0.22), transparent 45%),
    linear-gradient(150deg, var(--navy-deep), var(--navy));
}

.africa-panel__topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.panel-label {
  display: block;
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.africa-panel .panel-label {
  color: #8fd4c4;
}

.africa-panel h3,
.distribution-data h3 {
  margin: 0;
  font-size: 1.25rem;
}

.africa-panel h3 {
  color: #fff;
}

.live-data {
  color: #b8eee1;
  background: rgba(156, 225, 208, 0.1);
  border: 1px solid rgba(156, 225, 208, 0.13);
}

.africa-map {
  position: relative;
  width: min(100%, 620px);
  height: 350px;
  margin: 8px auto 0;
}

.africa-map__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 265px;
  height: 265px;
  background: radial-gradient(circle, rgba(95, 189, 169, 0.08), transparent 68%);
  border: 1px solid rgba(156, 225, 208, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(156, 225, 208, 0.018);
  transform: translate(-50%, -50%);
}

.africa-map__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(143, 212, 196, 0.2);
  stroke-dasharray: 5 7;
  stroke-width: 1.5;
}

.map-region {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 92px;
  min-height: 62px;
  place-content: center;
  padding: 9px;
  color: #b9d4d0;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(156, 225, 208, 0.15);
  border-radius: 14px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.map-region:hover {
  background: rgba(156, 225, 208, 0.1);
  border-color: rgba(156, 225, 208, 0.3);
  transform: translateY(-2px);
}

.map-region span {
  font-size: 0.63rem;
  font-weight: 650;
}

.map-region strong {
  color: #fff;
  font-size: 1.32rem;
  line-height: 1.2;
}

.map-region--north {
  top: 20px;
  left: calc(50% - 46px);
}

.map-region--west {
  top: 118px;
  left: 7%;
}

.map-region--central {
  top: 139px;
  left: calc(50% - 46px);
}

.map-region--east {
  top: 123px;
  right: 5%;
}

.map-region--southern {
  bottom: 0;
  left: calc(50% - 46px);
}

.distribution-data {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 38px;
}

.distribution-data__header p {
  margin: 9px 0 0;
  font-size: 0.79rem;
}

.region-bars {
  display: grid;
  gap: 18px;
  margin: 29px 0 30px;
  padding: 0;
  list-style: none;
}

.region-bar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 7px;
  color: #405c6d;
  font-size: 0.72rem;
  font-weight: 700;
}

.region-bar__top strong {
  color: var(--ink);
  font-size: 0.75rem;
}

.region-bar__track {
  height: 7px;
  overflow: hidden;
  background: #edf2f1;
  border-radius: 999px;
}

.region-bar__fill {
  display: block;
  width: var(--bar-width, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #49a894);
  border-radius: inherit;
  transition: width 500ms ease;
}

.coverage-summary {
  display: grid;
  gap: 10px;
  margin-top: auto;
  grid-template-columns: 1fr 1fr;
}

.coverage-summary > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: #f6f9f8;
  border: 1px solid #e3eaea;
  border-radius: 12px;
}

.coverage-summary__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
}

.coverage-summary__icon--africa {
  color: var(--teal);
  background: var(--teal-light);
}

.coverage-summary__icon--global {
  color: var(--blue);
  background: var(--blue-light);
}

.coverage-summary__icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.coverage-summary > div > span:last-child {
  display: grid;
  min-width: 0;
}

.coverage-summary strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.1;
}

.coverage-summary small {
  overflow: hidden;
  color: #6a7f8a;
  font-size: 0.58rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.distribution-note {
  display: flex;
  max-width: 820px;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  color: #657b87;
  font-size: 0.78rem;
  line-height: 1.55;
}

/* Process */
.process-section {
  padding: 112px 0 120px;
  background: #fff;
}

.section-heading--center {
  max-width: 730px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--center h2 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-heading--center > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.process-grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, 1fr);
}

.process-card {
  position: relative;
  padding: 30px 50px 30px 0;
}

.process-card + .process-card {
  padding-left: 50px;
  border-left: 1px solid var(--border);
}

.process-card__number {
  position: absolute;
  top: 14px;
  right: 26px;
  color: #edf2f1;
  font-size: 3.3rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.process-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 14px;
}

.process-card:nth-child(2) .process-card__icon {
  color: #94620a;
  background: var(--gold-light);
}

.process-card:nth-child(3) .process-card__icon {
  color: var(--blue);
  background: var(--blue-light);
}

.process-card__icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.process-card h3 {
  margin-bottom: 11px;
  font-size: 1.2rem;
}

.process-card p {
  max-width: 320px;
  margin: 0;
  color: #617783;
  font-size: 0.82rem;
}

/* AI */
.ai-section {
  padding: 0 0 64px;
  background: #fff;
}

#ai-matching {
  scroll-margin-top: 90px;
}

.ai-panel {
  position: relative;
  display: grid;
  min-height: 490px;
  align-items: center;
  gap: 60px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 78px);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 100%),
    linear-gradient(140deg, var(--navy-deep), #0a3d39);
  background-size: 28px 28px, auto;
  border-radius: 28px;
  grid-template-columns: 1.05fr 0.95fr;
}

.ai-panel::before {
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(156, 225, 208, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(156, 225, 208, 0.025), 0 0 0 140px rgba(156, 225, 208, 0.016);
  content: "";
}

.ai-panel__content {
  position: relative;
  z-index: 2;
}

.ai-panel h2 {
  max-width: 640px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
}

.ai-panel__content > p:not(.eyebrow):not(.ai-panel__note) {
  max-width: 620px;
  margin-bottom: 25px;
  color: #bbcfcc;
  font-size: 0.94rem;
}

.ai-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-factors span {
  padding: 7px 10px;
  color: #d3e7e3;
  background: rgba(156, 225, 208, 0.08);
  border: 1px solid rgba(156, 225, 208, 0.16);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.ai-panel__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 25px 0 0;
  color: #93b5b0;
  font-size: 0.67rem;
}

.ai-panel__note svg {
  width: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.match-preview {
  position: relative;
  z-index: 2;
  min-height: 330px;
}

.match-preview__orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(156, 225, 208, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(73, 168, 148, 0.12), inset 0 0 55px rgba(73, 168, 148, 0.06);
  transform: translate(-50%, -50%);
}

.match-preview__orb::before,
.match-preview__orb::after,
.match-preview__orb span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(156, 225, 208, 0.11);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.match-preview__orb::before {
  width: 70%;
  height: 70%;
}

.match-preview__orb::after {
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(156, 225, 208, 0.19), transparent 65%);
}

.match-preview__orb span {
  width: 12px;
  height: 12px;
  background: var(--mint);
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 8px rgba(156, 225, 208, 0.1);
}

.match-preview__orb i {
  position: absolute;
  top: 20%;
  right: 11%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(215, 154, 40, 0.1);
}

.match-preview__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 255px;
  padding: 13px 15px;
  background: rgba(249, 252, 251, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 13px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.match-preview__card--top {
  top: 55px;
  right: 0;
}

.match-preview__card--bottom {
  bottom: 50px;
  left: 0;
}

.match-preview__spark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 10px;
}

.match-preview__spark svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.match-preview__card > span:nth-child(2) {
  display: grid;
  margin-right: auto;
}

.match-preview__card strong {
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: -0.01em;
}

.match-preview__card b {
  color: var(--teal);
  font-size: 0.82rem;
}

.mini-bars {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding: 8px;
  background: var(--blue-light);
  border-radius: 10px;
}

.mini-bars i {
  width: 4px;
  height: 45%;
  background: var(--blue);
  border-radius: 2px;
}

.mini-bars i:nth-child(2) {
  height: 78%;
}

.mini-bars i:nth-child(3) {
  height: 58%;
}

/* Footer */
.site-footer {
  color: #d6e3e1;
  background: #061f1e;
}

.footer__main {
  display: grid;
  gap: 80px;
  padding-top: 70px;
  padding-bottom: 55px;
  grid-template-columns: 1fr auto;
}

.brand--footer .brand__name {
  color: #fff;
}

.footer__mission {
  max-width: 430px;
  margin: 20px 0 0;
  color: #9eb5b2;
  font-size: 0.83rem;
}

.footer__purpose {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 15px 0 0;
  color: var(--mint);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.footer__purpose svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer__links {
  display: grid;
  gap: 70px;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.footer__links > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer__links h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__links a {
  color: #9eb5b2;
  font-size: 0.76rem;
}

.footer__links a:hover {
  color: var(--mint);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(216, 233, 230, 0.09);
}

.footer__bottom p {
  margin: 0;
  color: #819b97;
  font-size: 0.66rem;
}

@media (max-width: 1060px) {
  .primary-nav {
    gap: 20px;
  }

  .hero__inner {
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.35rem);
  }

  .radar {
    width: 420px;
    height: 420px;
  }

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

  .field--search {
    grid-column: 1 / -1;
  }

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

  .distribution-layout {
    grid-template-columns: 1fr;
  }

  .distribution-data {
    min-height: 480px;
  }

  .ai-panel {
    gap: 35px;
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (max-width: 820px) {
  .header__inner {
    min-height: 68px;
  }

  .primary-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .button--header {
    display: none;
  }

  .hero__inner {
    display: block;
    min-height: auto;
    padding-top: 78px;
    padding-bottom: 125px;
  }

  .hero__content {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }

  .hero__content .eyebrow,
  .hero__actions,
  .hero__trust {
    justify-content: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__visual {
    display: none;
  }

  .filter-panel__heading,
  .results-heading {
    align-items: start;
  }

  .filter-panel__heading > p {
    max-width: 300px;
  }

  .section-heading--split {
    gap: 25px;
    grid-template-columns: 1fr;
  }

  .section-heading--split > p {
    max-width: 700px;
  }

  .process-grid {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-card + .process-card {
    padding: 25px 60px 25px 70px;
    border: 0;
  }

  .process-card + .process-card {
    border-top: 1px solid var(--border);
  }

  .process-card__icon {
    position: absolute;
    top: 26px;
    left: 0;
  }

  .process-card__number {
    right: 0;
  }

  .process-card p {
    max-width: 600px;
  }

  .ai-panel {
    grid-template-columns: 1fr;
  }

  .match-preview {
    min-height: 285px;
  }

  .footer__main {
    gap: 50px;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .button--header {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.74rem;
  }

  .button--header svg {
    display: none;
  }

  .brand__mark {
    width: 31px;
    height: 31px;
  }

  .brand__name {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    gap: 18px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__trust {
    display: grid;
    justify-content: start;
    max-width: 290px;
    margin-inline: auto;
    text-align: left;
  }

  .filter-panel {
    top: -38px;
    border-radius: 18px;
  }

  .filter-panel__heading {
    display: block;
  }

  .filter-panel__heading > p {
    max-width: none;
    margin-top: 10px;
  }

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

  .field--search {
    grid-column: auto;
  }

  .filter-panel__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .trust-notice {
    margin-top: -8px;
  }

  .reset-button {
    justify-content: center;
    background: #f2f7f6;
  }

  .results-heading {
    display: block;
  }

  .results-heading__meta {
    justify-items: start;
    margin-top: 16px;
  }

  .verification-key {
    align-items: flex-start;
  }

  .verification-key > span {
    flex: 0 0 auto;
  }

  .opportunity-grid,
  .loading-grid {
    grid-template-columns: 1fr;
  }

  .opportunity-card {
    padding: 21px;
  }

  .error-state {
    justify-items: center;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .distribution-section,
  .process-section {
    padding-top: 88px;
    padding-bottom: 92px;
  }

  .africa-panel,
  .distribution-data {
    padding: 25px 21px;
  }

  .africa-map {
    height: 335px;
  }

  .africa-map__lines {
    display: none;
  }

  .map-region {
    width: 80px;
  }

  .map-region--north,
  .map-region--central,
  .map-region--southern {
    left: calc(50% - 40px);
  }

  .map-region--west {
    left: 0;
  }

  .map-region--east {
    right: 0;
  }

  .distribution-data {
    min-height: 0;
  }

  .coverage-summary {
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-card + .process-card {
    padding-right: 10px;
  }

  .ai-section {
    padding-bottom: 0;
  }

  .ai-panel {
    width: 100%;
    border-radius: 0;
  }

  .match-preview__card {
    min-width: 225px;
  }

  .match-preview__card--top {
    right: -7px;
  }

  .match-preview__card--bottom {
    left: -7px;
  }

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

  .footer__links {
    gap: 35px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .header__inner {
    gap: 10px;
  }

  .button--header {
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .brand {
    gap: 8px;
  }

  .brand__name {
    font-size: 0.92rem;
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }

  .trust-notice {
    padding: 15px;
  }

  .trust-notice__icon {
    width: 34px;
    height: 34px;
  }

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

  .card__detail--wide,
  .card__detail--compact {
    display: grid;
    gap: 8px;
    padding: 0 0 9px;
    border-bottom: 1px solid #edf2f2;
    grid-column: 1 / -1;
    grid-template-columns: 74px 1fr;
  }

  .card__detail--compact {
    margin-bottom: 9px;
  }

  .card__detail--compact dt {
    margin-bottom: 0;
  }

  .card__detail--source {
    margin: 0;
    padding-top: 0;
    border-top: 0;
    border-bottom: 0;
  }

  .africa-panel__topline {
    display: block;
  }

  .live-data {
    margin-top: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
