:root {
  --bg: #070a10;
  --panel: #0d1522;
  --panel-soft: #0a111c;
  --line: rgba(234, 240, 250, 0.10);
  --line-strong: rgba(234, 240, 250, 0.18);
  --text: #f2f0ea;
  --muted: #97a1b2;
  --blue: #84bfff;
  --blue-deep: #59a1e8;
  --ink-on-blue: #08111f;
  --display: "Oswald", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
}

.shell {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem) 3.5rem;
}

.head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 0;
}
.wordmark {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  color: var(--text);
}
.wordmark:hover { text-decoration: none; color: var(--blue); }
.head__nav { display: flex; gap: 1.4rem; }
.head__nav a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.82rem;
  color: var(--muted);
}
.head__nav a:hover { color: var(--text); text-decoration: none; }
.head__nav a[aria-current="page"] { color: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--panel-soft);
  padding: clamp(2.75rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 3.5rem) 0;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__glow {
  position: absolute;
  left: 50%;
  top: -35%;
  width: 90%;
  max-width: 780px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(132, 191, 255, 0.22), rgba(132, 191, 255, 0) 62%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 240, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 240, 250, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%);
}
.hero__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  opacity: 0.45;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding-bottom: clamp(3rem, 9vw, 6rem);
}
.kicker {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.03;
  font-size: clamp(2.1rem, 6.4vw, 3.7rem);
}
.hero h1 .accent { color: var(--blue); }
.hero__lede {
  margin-top: 1.35rem;
  color: var(--muted);
  max-width: 44ch;
  font-size: 1.03rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.btn {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  background: var(--blue);
  color: var(--ink-on-blue);
  border: 1px solid var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(132, 191, 255, 0.08); border-color: var(--blue); }

main { display: block; }

.sec { padding: clamp(2.75rem, 6vw, 4rem) 0; }
.sec h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 500;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.sec > p { color: var(--muted); max-width: 62ch; }
.sec > p + p { margin-top: 0.9rem; }

.sec--center { text-align: center; }
.sec--center > p { margin-inline: auto; }
.sec--center .rules { text-align: left; }

.lede-block { padding: clamp(2.25rem, 8vw, 3.75rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.lede-block h1 {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  font-size: clamp(1.9rem, 5.5vw, 2.8rem);
}
.lede-block p { margin-top: 1rem; color: var(--muted); max-width: 52ch; }
.lede-block + .sec { padding-top: 0.5rem; }

.rules {
  list-style: none;
  counter-reset: rule;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
.rules li {
  counter-increment: rule;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.5;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.rules li:hover {
  border-color: rgba(132, 191, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -14px rgba(132, 191, 255, 0.4);
}
.rules li::before {
  content: counter(rule, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  color: var(--blue);
  opacity: 0.6;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.45rem;
}

.servers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
.server {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.server:hover {
  border-color: rgba(132, 191, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -14px rgba(132, 191, 255, 0.4);
}
.server__icon {
  width: 60px;
  height: 60px;
  flex: none;
  object-fit: contain;
}
.server__body { min-width: 0; }
.server__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: var(--muted);
}
.server__meta::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(132, 191, 255, 0.2);
}
.server__body h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0.25rem 0 0.45rem;
}
.server__body > p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.server__body > p + p { margin-top: 0.6rem; }
.server__body a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.8rem;
  color: var(--blue);
}

.links {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.links a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.links a:hover {
  border-color: rgba(132, 191, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -14px rgba(132, 191, 255, 0.4);
  text-decoration: none;
}
.links__k {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: var(--muted);
}
.links__v { font-size: 0.95rem; color: var(--blue); word-break: break-word; }

.foot {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1.6rem;
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.foot__social { display: flex; gap: 1.6rem; }
.foot__social a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}
.foot__social a:hover { color: var(--blue); }
.foot__by { font-size: 0.8rem; }
.foot__by a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.foot__by a:hover { color: var(--blue); }

.roles { list-style: none; margin-top: 1.5rem; }
.roles li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.roles__n {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--blue);
  opacity: 0.55;
}
.roles h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.roles p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; max-width: 58ch; }

@media (max-width: 40rem) {
  .head { padding: 1.1rem 0; gap: 0.5rem 1rem; }
  .head__nav { gap: 1rem; }
  .head__nav a { font-size: 0.78rem; }
  .hero {
    border-radius: 14px;
    padding: 2.25rem 1.35rem 0;
  }
  .hero__inner { max-width: none; padding-bottom: 5rem; }
  .kicker { letter-spacing: 0.16em; margin-bottom: 0.85rem; }
  .hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.5rem); }
  .hero__lede { margin-top: 1.1rem; font-size: 0.98rem; }
  .hero__cta { gap: 0.6rem; margin-top: 1.75rem; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .servers { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .links { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .roles li { grid-template-columns: 2.25rem 1fr; gap: 0.9rem; }
  .sec { padding: 2.25rem 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__glow { animation: pulse 9s ease-in-out infinite; }
  @keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .server, .rules li, .links a { transition: none; }
  .server:hover, .rules li:hover, .links a:hover { transform: none; }
}
