:root {
  --ink: #101820;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.22);
  --accent: #60d2da;
  --signal: #f3c85c;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

body {
  display: grid;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  grid-template-rows: auto 1fr auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.7rem 1rem;
  border-color: var(--line);
  background: rgba(16, 24, 32, 0.88);
  backdrop-filter: blur(18px);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
  font-weight: 800;
}

.brand img {
  width: 2.2rem;
  height: 2.2rem;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.header-status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2.2s ease-out infinite;
}

main {
  position: relative;
  display: flex;
  min-height: 42rem;
  overflow: hidden;
  background: var(--ink);
}

main::before,
main::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

main::before {
  top: 2rem;
  right: 1rem;
  width: 2.75rem;
  border-top: 2px solid var(--accent);
}

main::after {
  display: none;
  right: 0;
  bottom: 5rem;
  width: 5rem;
  height: 5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.content {
  display: grid;
  gap: 3rem;
  width: 100%;
  max-width: 76rem;
  margin: auto;
  padding: 4rem 1rem;
  animation: content-in 720ms 120ms cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

.message,
.details {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: 3.7rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.93;
  text-wrap: balance;
}

.intro {
  max-width: 37rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.6;
}

.capacity-note {
  display: grid;
  gap: 0.55rem;
  max-width: 40rem;
  margin-top: 0;
  padding: 1.3rem 0 0 1rem;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--signal);
}

.capacity-note span {
  color: var(--signal);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.capacity-note strong {
  max-width: 27rem;
  font-size: 1.22rem;
  line-height: 1.25;
}

.capacity-note p,
.discord-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.discord-note {
  max-width: 38rem;
  margin-top: 1.6rem;
}

footer {
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
}

footer a {
  padding: 0.3rem 0;
}

footer a:hover {
  color: var(--white);
}

@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 200, 92, 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 0.55rem rgba(243, 200, 92, 0);
  }
}

@media (min-width: 44rem) {
  .site-header,
  footer {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .content {
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.75fr);
    gap: 5rem;
    align-items: end;
    padding: 6.5rem 2rem;
  }

  h1 {
    font-size: 6rem;
  }

  .intro {
    font-size: 1.08rem;
  }

  footer {
    flex-direction: row;
    align-items: center;
  }

  .details {
    padding-bottom: 0.35rem;
  }

  main::before {
    top: 3rem;
    right: 2rem;
    width: 5rem;
  }

  main::after {
    display: block;
    right: 2rem;
    bottom: 3rem;
    width: 8rem;
    height: 8rem;
  }
}

@media (min-width: 76rem) {
  .site-header,
  footer {
    padding-right: max(2rem, calc((100vw - 76rem) / 2));
    padding-left: max(2rem, calc((100vw - 76rem) / 2));
  }

  .content {
    padding-right: 0;
    padding-left: 0;
  }

  h1 {
    font-size: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
