/* ============================================================
   Network page styles
   ============================================================ */

/* ===== Hero ===== */
.net-hero { padding-top: 88px; padding-bottom: 64px; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 20% 0%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 50%);
}
.net-hero__inner { max-width: 880px; }
.net-hero__title {
  font-size: clamp(48px, 7vw, 80px); font-weight: 600;
  line-height: 0.95; letter-spacing: -0.03em; margin: 16px 0 20px;
}
.net-hero__lede { font-size: 17px; color: var(--fg-1); max-width: 600px; line-height: 1.55; }

.net-hero__metrics {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; margin-top: 36px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.net-hero__metric {
  padding: 18px 16px 18px 0; border-right: 1px solid var(--line);
}
.net-hero__metric:last-child { border-right: 0; }
.net-hero__metric-v { font-size: 24px; font-weight: 600; color: var(--fg-0); white-space: nowrap; }
.net-hero__metric-u { font-size: 12px; color: var(--fg-2); font-weight: 500; margin-left: 2px; }
.net-hero__metric-l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); margin-top: 2px; }
@media (max-width: 900px) { .net-hero__metrics { grid-template-columns: repeat(3, 1fr); }
  .net-hero__metric { border-bottom: 1px solid var(--line); }
  .net-hero__metric:nth-child(3) { border-right: 0; }
  .net-hero__metric:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 480px) { .net-hero__metrics { grid-template-columns: repeat(2, 1fr); }
  .net-hero__metric:nth-child(2n) { border-right: 0; }
  .net-hero__metric:nth-child(3) { border-right: 1px solid var(--line); }
}

/* ===== Data Centers ===== */
.net-dc__tabs {
  display: flex; gap: 4px; margin-bottom: 20px; flex-wrap: wrap;
}
.net-dc__tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: transparent;
  border: 1px solid transparent; border-radius: var(--radius);
  color: var(--fg-2); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all 120ms ease; white-space: nowrap;
}
.net-dc__tab:hover { color: var(--fg-0); background: var(--bg-3); }
.net-dc__tab.is-active { color: var(--fg-0); background: var(--bg-3); border-color: var(--line-2); }

.net-dc__card { padding: 28px; }
.net-dc__card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.net-dc__facility { font-size: 28px; font-weight: 600; color: var(--fg-0); letter-spacing: -0.01em; }
.net-dc__loc { font-size: 14px; color: var(--fg-2); margin-top: 4px; }
.net-dc__badges { display: flex; gap: 6px; }

.net-dc__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
@media (max-width: 800px) { .net-dc__grid { grid-template-columns: 1fr; } }

.net-dc__specs { display: flex; flex-direction: column; gap: 0; }
.net-dc__spec {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.net-dc__spec:last-child { border-bottom: 0; }
.net-dc__spec-l { color: var(--fg-2); }
.net-dc__spec-v { color: var(--fg-0); font-size: 13px; text-align: right; }

.net-dc__features ul {
  display: flex; flex-direction: column; gap: 10px; margin-top: 12px;
}
.net-dc__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--fg-1);
}
.net-dc__features svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ===== Transit ===== */
.net-transit__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .net-transit__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .net-transit__grid { grid-template-columns: 1fr; } }

.net-transit__item { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.net-transit__item-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.net-transit__item-head h4 { font-size: 18px; font-weight: 600; }
.net-transit__item-type { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.net-transit__item-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px;
}
.net-transit__item-label { color: var(--fg-2); }
.net-transit__item-flags { display: flex; gap: 4px; }

/* ===== IX ===== */
.net-ix__table {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-2);
}
.net-ix__row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 16px; padding: 14px 20px;
  border-bottom: 1px solid var(--line); font-size: 14px; align-items: center;
}
.net-ix__row:last-child { border-bottom: 0; }
.net-ix__row--head {
  background: var(--bg-3); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3);
}
.net-ix__name { font-weight: 600; color: var(--fg-0); }
@media (max-width: 640px) {
  .net-ix__row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .net-ix__row--head { display: none; }
}

/* ===== SLA ===== */
.net-sla__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 900px) { .net-sla__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .net-sla__grid { grid-template-columns: 1fr; } }
.net-sla__item {
  background: var(--bg-2); padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.net-sla__val { font-size: 28px; font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
.net-sla__item h4 { font-size: 15px; font-weight: 600; }
.net-sla__item p { font-size: 13px; margin: 0; line-height: 1.5; }

/* ===== CTA ===== */
.net-cta__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px; align-items: center; padding: 40px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 8%, var(--bg-2)), var(--bg-2) 70%);
}
.net-cta__inner h2 { font-size: 28px; line-height: 1.15; }
.net-cta__inner p { margin: 8px 0 0; }
.net-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .net-cta__inner { grid-template-columns: 1fr; padding: 28px; }
}
