:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #f7f8f6;
  background: #111715;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

body {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
}

.backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(9 17 14 / 72%);
}

.masthead,
main,
.footer {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 113px;
  padding-block: 32px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

.site-status {
  font-size: 13px;
  color: #d9dcd5;
}

main {
  display: flex;
  align-items: center;
  flex: 1;
  padding-block: 68px 80px;
}

.content {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #c1d4b6;
  font-size: 14px;
  font-weight: 600;
}

h1 {
  margin: 0 0 24px;
  font-size: 84px;
  font-weight: 650;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.message {
  margin: 0 0 36px;
  color: #e0e3dd;
  font-size: 24px;
  line-height: 1.65;
}

.message strong {
  color: #fff;
  font-weight: 600;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid #c1d4b6;
  border-radius: 4px;
  background: #c1d4b6;
  color: #15221c;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.discord-button svg {
  flex-shrink: 0;
}

.discord-button:hover {
  border-color: #e1ecda;
  background: #e1ecda;
}

.discord-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

.community-note {
  margin: 16px 0 0;
  color: #bfc7bd;
  font-size: 13px;
  line-height: 1.6;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  color: #bfc7bd;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .masthead,
  main,
  .footer {
    width: calc(100% - 64px);
  }

  h1 {
    font-size: 64px;
  }
}

@media (max-width: 480px) {
  .masthead,
  main,
  .footer {
    width: calc(100% - 40px);
  }

  .masthead {
    min-height: 93px;
    padding-block: 22px;
  }

  main {
    padding-block: 56px 64px;
  }

  h1 {
    font-size: 44px;
  }

  .message {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .discord-button {
    transition: none;
  }
}
