:root {
  --bg: #0a0a0a;
  --surface: #131311;
  --border: #262620;
  --text: #fafaf5;
  --text-secondary: #a8a89c;
  --text-muted: #63635a;
  --danger: #ef4444;
  --success: #22c55e;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Archivo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .reveal-1 {
    animation-delay: 60ms;
  }
  .reveal-2 {
    animation-delay: 160ms;
  }
  .reveal-3 {
    animation-delay: 260ms;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  margin: 0;
}

main {
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  gap: 2rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  margin-left: -0.5em;
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-hint {
    animation: bob 2000ms ease-in-out infinite;
  }
  @keyframes bob {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(8px);
    }
  }
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(4.5rem, 19vw, 11rem);
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.01em;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  color: var(--text-secondary);
  margin: 0;
}

.join {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.join-address {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text);
  padding: 1.05rem 1.4rem;
  letter-spacing: 0.01em;
}

.join-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text);
  border: none;
  border-left: 1px solid var(--border);
  padding: 1.05rem 1.4rem;
  cursor: pointer;
  transition: opacity 120ms ease;
  width: 112px;
}

.join-copy:hover {
  opacity: 0.85;
}
.join-copy:active {
  opacity: 0.7;
}
.join-copy:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: -2px;
}

.status-corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 18px solid var(--danger);
  border-right: 18px solid transparent;
  transition: border-top-color 200ms ease;
}

.status-corner.online {
  border-top-color: var(--success);
}

section {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rule {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 760px;
  margin: 0 auto;
}

.features {
  display: flex;
  flex-direction: column;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.feature {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 560px) {
  .feature {
    grid-template-columns: 32px 1fr;
    gap: 1rem;
  }
}

.feature:last-child {
  border-bottom: none;
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 0.2rem;
}

.feature h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  margin: 0 0 0.5rem;
}

.feature p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  max-width: 52ch;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem 1.5rem 3rem;
  max-width: 760px;
  margin: 0 auto;
}

footer .mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 17px;
}

footer nav {
  display: flex;
  gap: 1.6rem;
}

footer a {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 120ms ease,
    border-color 120ms ease;
}

footer a:hover {
  color: var(--text);
  border-color: var(--text-secondary);
}

footer a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.footer-note {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}
