:root {
  --bg: #131210;
  --text: #e5ddd0;
  --muted: #837b6d;
  --gold: #d2a857;
  --gold-light: #ecd29a;
  --border: #39342d;
  --border-subtle: #26231f;
  --surface: #26231f;
  --surface-hover: #2e2a25;
  --radius: 4px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}

body::before,
body::after {
  content: "";
  flex: 1;
}

body::after {
  flex: 3;
}

main {
  margin: 0 auto;
}

h1 {
  margin: 0;
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo {
  font-size: 0;
}

.logo img {
  display: block;
  width: 100%;
  max-width: 30rem;
  height: auto;
  margin: 0 auto;
}

hr {
  width: 3rem;
  height: 2px;
  margin: 1.75rem auto;
  border: 0;
  background: var(--gold);
}

.lede {
  margin: 0;
  font-size: 1.25rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.btn:hover {
  background: var(--surface-hover);
  border-color: var(--gold);
  color: var(--gold-light);
}

a.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.is-off {
  background: none;
  border-color: var(--border-subtle);
  color: var(--muted);
}

.mark-discord {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  fill: #fff;
}

a {
  color: var(--gold);
}

a:hover {
  color: var(--gold-light);
}

@media (max-width: 58rem) {
  .logo img {
    max-width: 20rem;
  }

  .links {
    display: grid;
    justify-content: center;
  }
}

@media (max-width: 30rem) {
  h1 {
    font-size: 2rem;
  }

  .logo img {
    max-width: 16rem;
  }

  .lede {
    font-size: 1rem;
  }

  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
  }
}
