body { overflow-x: hidden; }

#network {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.globe-stage {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 65vh;
    height: 100%;
    overflow: hidden;
}
@media screen and (max-width: 599px) {
    .globe-stage {
        height: auto;
        min-height: 0;
        aspect-ratio: 1;
        max-height: 420px;
    }
}
.globe { 
    position: absolute; 
    inset: 0; 
    max-width: 100%;
    overflow: hidden;
    cursor: grab; 
}
.globe canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
}
.globe:active { 
    cursor: grabbing; 
}

.map-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    min-height: 180px;
}
.map {
  position: absolute;
  inset: 0;
}
.map svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(24, 125, 255, .12));
}
.map svg line {
  stroke: rgba(56, 157, 255, .1);
  stroke-width: .7;
  vector-effect: non-scaling-stroke;
}
.country {
  fill: none;
  fill: #176db8;
  fill-opacity: .82;
  stroke: #6ee7ff;
  stroke-opacity: .52;
  stroke-width: .65;
  paint-order: stroke;
}
.region-country {
  fill: #39bdf8;
  fill-opacity: .92;
  stroke: #b6f8ff;
  stroke-opacity: .9;
  stroke-width: 1;
}
.location-dot {
  fill: #b6f8ff;
  stroke: #68e7ff;
  stroke-width: 1;
  filter: url(#map-glow);
}

.home-metrics {
    background: var(--secondary-background-color);
}

.home-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    text-align: center;
}

.home-metric {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-metric strong {
    color: var(--heading-text-color);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
}

.home-metric span {
    color: var(--accent-text-color);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.5;
    text-transform: uppercase;
}

.network-proposition-list {
    margin: 24px 0 30px;
    padding-left: 24px;
}

.network-proposition-box {
    width: 100%;
}

.network-proposition-list li {
    margin-bottom: 12px;
    color: var(--primary-text-color);
    line-height: 175%;
}

.network-proposition-list li:last-child {
    margin-bottom: 0;
}

.continent {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 48px;
    align-items: end;
    padding: 32px 0;
    border-top: 1px solid var(--box-border-color);
}

.continent__content {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 48px;
    align-items: end;
}

.continent__map {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: min(62%, 720px);
    pointer-events: none;
    opacity: .20;
    mask-image: linear-gradient(to right, transparent 0%, #000 24%, #000 100%);
}

.continent__map svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.continent__map path {
    fill: rgba(35, 157, 232, .42);
    stroke: rgba(115, 220, 255, .82);
    stroke-width: .65;
    vector-effect: non-scaling-stroke;
}

.continent h2 {
    margin: 0;
}

.continent h2 a {
    color: inherit;
}

.continent p {
    margin: 12px 0 0;
    color: var(--accent-text-color);
}

.continent .stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: end;
    color: var(--accent-text-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-align: right;
    text-transform: uppercase;
}

.continent .stats .number {
    color: var(--heading-text-color);
    font-size: 18px;
}

.continent .button {
    grid-column: 2;
    justify-self: end;
    margin: 0;
}

@media screen and (max-width: 599px) {
    .home-metrics-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .continent {
        display: block;
        min-height: 210px;
        padding: 28px 0;
    }

    .continent__content {
        display: block;
    }

    .continent__map {
        width: 82%;
        opacity: .14;
        mask-image: linear-gradient(to right, transparent 0%, #000 38%, #000 100%);
    }

    .continent .stats {
        justify-content: start;
        margin-top: 24px;
        text-align: left;
    }

    .continent .button {
        display: inline-block;
        margin-top: 24px;
    }
}
