@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

:root {
  --purple: #43177e;
  --purple-dark: #280e4c;
  --purple-light: #f0ebff;
  --pink: #ff70a7;
  --turquoise: #66d7d1;
  --white: #ffffff;
  --ink: #212529;
  --frame-radius: 0.375rem;
  --component-radius: 0.55rem;
}

* { box-sizing: border-box; }
html { background: transparent; }

body {
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--purple-dark);
  border-radius: 0.4rem;
  font-weight: 600;
  transform: translateY(-180%);
}

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

.reach-card {
  position: relative;
  display: grid;
  min-height: 33.55rem;
  grid-template-columns: minmax(0, 29.5rem) minmax(12.5rem, 14rem);
  gap: 1.1rem;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 2.45rem 2.35rem 3.35rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 5%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(120deg, #ffffff 0%, #f8f5ff 48%, var(--purple-light) 100%);
  border: 1px solid #e2d8ef;
  border-radius: var(--frame-radius);
  box-shadow: inset 0 0.28rem 0 var(--purple);
  isolation: isolate;
}

.reach-card::before {
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: 1.25rem;
  bottom: 2.65rem;
  width: min(15rem, calc(100% - 33.2rem));
  min-width: 12.5rem;
  background: rgba(255, 255, 255, 0.48);
  border-radius: var(--component-radius);
  content: "";
}

.reach-copy {
  position: relative;
  z-index: 2;
  width: 29.5rem;
  max-width: 100%;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  gap: 0.42rem;
  margin: 0 0 0.95rem;
  padding: 0.5rem 0.78rem;
  color: var(--purple);
  background: #ebe4f7;
  border-radius: 0.25rem;
  box-shadow: inset 0 -0.16rem 0 rgba(102, 215, 209, 0.72);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.eyebrow svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1 {
  max-width: 18ch;
  margin: 0 0 0.9rem;
  color: var(--purple-dark);
  font-size: 2.75rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.intro {
  max-width: 29.5rem;
  margin: 0 0 1.2rem;
  padding-left: 0;
  color: var(--ink);
  border-left: 0;
  font-size: 0.96rem;
  line-height: 1.45;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.metric-card {
  display: flex;
  min-width: 0;
  min-height: 10.2rem;
  align-items: center;
  padding: 1rem 0.45rem 0.85rem;
  flex-direction: column;
  color: var(--purple);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(67, 23, 126, 0.11);
  border-bottom: 0.2rem solid rgba(102, 215, 209, 0.8);
  border-radius: 0.4rem;
  box-shadow: 0 0.45rem 1.15rem rgba(67, 23, 126, 0.07);
  text-align: center;
}

.metric-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.35rem;
  place-items: center;
  color: var(--purple);
  background: var(--purple-light);
  border-radius: 50%;
}

.metric-icon svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.metric-value {
  min-height: 2.15rem;
  color: currentColor;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
}

.metric-label {
  margin-top: 0.3rem;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.3;
}

.cta {
  display: inline-flex;
  width: 17rem;
  max-width: 100%;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--purple);
  border: 2px solid var(--purple);
  border-radius: 0.35rem;
  box-shadow: 0 0.5rem 1rem rgba(67, 23, 126, 0.16);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cta:hover {
  color: var(--purple);
  background: var(--white);
  box-shadow: 0 0.65rem 1.2rem rgba(67, 23, 126, 0.2);
  transform: translateY(-1px);
}

.cta:active { transform: translateY(1px); }

.cta:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--purple-dark);
  outline-offset: 4px;
}

.reach-map {
  position: relative;
  display: grid;
  width: min(100%, 14rem);
  min-height: 27.2rem;
  align-self: stretch;
  align-content: center;
  justify-self: center;
  gap: 0.55rem;
  grid-template-rows: auto minmax(0, 1fr);
}

.map-summary {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 0.15rem;
}

.map-brand-mark {
  display: block;
  width: 3.15rem;
  height: 3.15rem;
  margin: 0.28rem 0 0 0.2rem;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 0 0 0.32rem rgba(255, 255, 255, 0.58);
  opacity: 0.94;
}

.map-link {
  display: block;
  width: min(100%, 13.2rem);
  align-self: center;
  justify-self: center;
  color: inherit;
  border-radius: 0.35rem;
  text-decoration: none;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.map-link:hover {
  filter: drop-shadow(0 0.3rem 0.4rem rgba(67, 23, 126, 0.15));
  transform: scale(1.015);
}

.map-link:focus-visible {
  outline: 3px solid var(--purple-dark);
  outline-offset: 0.25rem;
}

.map-graphic {
  position: relative;
  width: 100%;
  height: 18.7rem;
}

.map-graphic > img {
  display: block;
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  z-index: 2;
  top: var(--y);
  left: var(--x);
  width: 1.55rem;
  height: 1.9rem;
  color: var(--purple);
  filter: drop-shadow(0 0.14rem 0.12rem rgba(67, 23, 126, 0.18));
  transform: translate(-50%, -100%);
}

.map-pin::before {
  position: absolute;
  top: 0.03rem;
  left: 0;
  width: 1.33rem;
  height: 1.33rem;
  background: currentColor;
  border: 0.11rem solid var(--white);
  border-radius: 50% 50% 50% 0;
  content: "";
  transform: rotate(-45deg);
}

.map-pin > span {
  position: absolute;
  z-index: 1;
  top: 0.39rem;
  left: 50%;
  display: grid;
  width: 0.84rem;
  height: 0.84rem;
  place-items: center;
  color: var(--white);
  transform: translateX(-50%);
}

.map-pin svg {
  width: 0.77rem;
  height: 0.77rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.pin-light {
  color: #8b69bd;
  transform: translate(-50%, -100%) scale(0.88);
}

.pin-pink { color: var(--pink); }

.total-highlight {
  display: block;
  width: 9.8rem;
  min-width: 0;
  margin: 0;
  padding: 0.72rem 0.82rem 0.78rem;
  color: var(--white);
  background: var(--purple);
  border: 1px solid var(--purple);
  border-radius: var(--component-radius);
  box-shadow: 0.42rem 0.42rem 0 rgba(102, 215, 209, 0.78);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
}

.total-highlight strong {
  display: block;
  color: var(--white);
  font-size: 2.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.total-highlight span {
  display: block;
  margin-top: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.noscript-message {
  position: absolute;
  right: 1rem;
  bottom: 0.35rem;
  left: 1rem;
  margin: 0;
  color: var(--purple-dark);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .reach-copy,
  .reach-map {
    animation: reveal 0.65s ease-out both;
  }

  .reach-map { animation-delay: 0.1s; }
  .map-pin { animation: marker-reveal 0.45s 0.35s ease-out both; }

  @keyframes reveal {
    from { opacity: 0; transform: translateY(0.65rem); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes marker-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

@media (min-width: 980px) {
  .reach-card {
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 3rem;
  }

  .reach-card::before {
    width: 21rem;
    min-width: 0;
  }

  .reach-copy {
    width: min(100%, 40rem);
  }

  .intro {
    max-width: 38rem;
  }

  .metrics {
    gap: 1rem;
  }

  .reach-map {
    width: 20rem;
  }

  .map-link {
    width: min(100%, 16.5rem);
  }

  .map-graphic {
    height: 20.3rem;
  }

  .map-summary {
    padding: 0 0.35rem;
  }

  .total-highlight {
    width: 12.2rem;
    font-size: 0.76rem;
  }

  .total-highlight strong {
    font-size: 3.25rem;
  }
}

@media (min-width: 1080px) {
  h1 {
    max-width: none;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .reach-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 2rem;
  }

  .reach-card::before {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    min-width: 0;
    height: 42%;
  }

  .reach-copy {
    width: 100%;
  }

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

  .reach-map {
    width: min(100%, 18rem);
    min-height: 28rem;
    justify-self: center;
  }
}

@media (max-width: 540px) {
  .reach-card {
    padding: 1.35rem 1.35rem 1.8rem;
    border-radius: var(--frame-radius);
  }

  .desktop-break { display: none; }

  h1 {
    max-width: 12ch;
    font-size: 2.35rem;
    line-height: 1.04;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .metric-card { min-height: 9rem; }

  .cta { width: 100%; }

  .reach-map { min-height: 28rem; }

  .total-highlight {
    width: 12rem;
  }

  .map-brand-mark {
    width: 3.4rem;
    height: 3.4rem;
  }
}

@media (forced-colors: active) {
  .reach-card,
  .metric-card,
  .metric-icon,
  .cta,
  .total-highlight {
    border: 2px solid CanvasText;
  }
}
