:root {
  color-scheme: light;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter",
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #172a3c;
  background: #f7f9fb;
  --line: #dce5ed;
  --muted: #4e6275;
  --blue: #dcefff;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 83% 0%, #e9f4fd 0%, transparent 560px); }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid #286ba1; outline-offset: 4px; }
.wrap { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.navigation, .footer-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 17px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 850; letter-spacing: .06em; }
.brand-mark { display: block; width: 32px; height: 32px; }
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }
.nav-links a, .site-footer a { display: inline-flex; align-items: center; gap: 6px; }
.navigation a, .site-footer a { text-decoration: none; }
.navigation a:hover, .site-footer a:hover { text-decoration: underline; }
.nav-links { display: flex; flex-wrap: wrap; gap: clamp(12px, 3vw, 28px); font-size: .9rem; font-weight: 650; }
.intro { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 25px; padding-block: clamp(36px, 7vw, 78px); }
.eyebrow { color: #365f80; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, p { margin: 0; }
h1 { margin-block: 12px 18px; font-size: clamp(2.25rem, 5vw, 4.05rem); line-height: 1.04; letter-spacing: -.06em; text-wrap: balance; }
.intro p, .section-heading p, .operator p, dialog p { color: var(--muted); line-height: 1.6; }
.intro p { max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; font-size: .88rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.primary { background: #203a50; color: #fff; }
.primary:hover { background: #315675; }
.secondary { background: #fff; border-color: #b9cddd; color: #253e53; }
.secondary:hover { background: #edf6ff; }
.project-art { position: relative; overflow: hidden; aspect-ratio: 44 / 30; border: 1px solid #d1e3ef; border-radius: 24px; background: radial-gradient(ellipse at center, #eef8ff, #dcefff); }
.project-art img { position: absolute; width: 95%; height: auto; left: 15%; top: 50%; transform: translateY(-47%); }
.directory { border-top: 1px solid var(--line); padding-block: 32px 38px; scroll-margin-top: 12px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 18px; }
.section-heading h2 { margin-block: 5px 5px; font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -.045em; }
.count { white-space: nowrap; color: var(--muted); font-size: .8rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.count:empty { display: none; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.filters button { border: 1px solid var(--line); background: #fff; color: #334c62; border-radius: 99px; padding: 6px 13px; cursor: pointer; font-size: .85rem; }
.filters button[aria-pressed="true"] { border-color: #a3c5df; background: var(--blue); font-weight: 750; }
.region-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 14px; padding: 12px 16px; border: 1px solid #a3c5df; border-radius: 12px; background: linear-gradient(110deg, var(--blue), #f2f8fd); }
.region-copy { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
.region-icon { grid-row: span 2; width: 38px; height: 38px; padding: 8px; border: 1px solid #bfd6e8; border-radius: 10px; background: #fff; color: #28618f; }
.region-note strong { font-size: 1rem; color: #172a3c; }
.region-note p + p { margin-top: 3px; font-size: .85rem; color: var(--muted); }
.server-list { display: grid; gap: 10px; }
.server { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.server:focus-within { border-color: #a3c5df; }
.server-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: #e9f4ff; color: #365f80; font-size: .9rem; font-weight: 850; }
.server-icon img { display: block; width: 36px; height: 36px; object-fit: contain; }
.server h3 { margin: 0 0 4px; font-size: 1.08rem; }
.server-details { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.badge { border-radius: 99px; background: #e7f2fb; color: #284f6e; padding: 3px 8px; font-size: .72rem; font-weight: 750; }
.operator { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px; border: 1px solid #cbddeb; border-radius: 12px; background: #edf6ff; margin-bottom: 46px; }
.operator h2 { font-size: 1.15rem; margin-bottom: 4px; }
.operator .button { white-space: nowrap; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; background: #fff; }
dialog { width: min(510px, calc(100% - 28px)); max-height: calc(100% - 28px); border: 1px solid var(--line); border-radius: 16px; padding: 22px; color: #172a3c; }
dialog::backdrop { background: #172a3c80; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-heading button { font-size: 1.45rem; background: transparent; border: 0; color: inherit; cursor: pointer; }
form { display: grid; gap: 12px; margin-top: 14px; }
form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 650; }
input, select { width: 100%; border: 1px solid #b9cddd; padding: 7px 9px; border-radius: 6px; background: #fff; color: inherit; }
.consent { display: flex; align-items: start; gap: 8px; }
.consent input { width: auto; }
form .button { justify-self: start; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .intro { grid-template-columns: 1fr; gap: 18px; }
  .project-art { width: min(310px, 100%); }
  .operator { align-items: start; flex-direction: column; }
}
@media (max-width: 450px) {
  .region-note .button { width: 100%; }
  .server { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .server .button { grid-column: 2; justify-self: start; }
  .section-heading { align-items: start; flex-direction: column; }
  .footer-content { flex-direction: column; align-items: start; }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.footer-content a {
  justify-self: end;
}

.footer-copyright {
  font-size: .75rem;
  text-align: center;
}

@media (max-width: 450px) {
  .footer-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-content a {
    justify-self: center;
  }
}

