*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #111318;
  --bg-alt: #16191f;
  --surface: #1c2028;
  --text: #eaedf2;
  --muted: #8e96a4;
  --accent: #c8a2ff;
  --accent-dim: rgba(200, 162, 255, 0.12);
  --border: #2a2e38;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ── hero ── */
.hero {
  text-align: center;
  padding: 80px 24px 56px;
  max-width: 720px;
  margin: 0 auto;
}

.domain {
  margin: 0 0 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

.title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw + 1rem, 4rem);
  font-weight: 800;
  line-height: 1.1;
}

.tagline {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--muted);
}

.subtext {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}

/* ── sections ── */
.section {
  padding: 56px 24px;
}

.section--alt {
  background: var(--bg-alt);
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 28px;
  font-size: clamp(1.3rem, 2vw + 0.8rem, 2rem);
  font-weight: 700;
  text-align: center;
}

/* ── waiting room cards ── */
.room-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.room-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.room-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
}

.room-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 12px;
}

.room-title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
}

.room-author {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--muted);
}

.room-series {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.room-since {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.room-since strong {
  color: var(--text);
}

/* ── about ── */
.about-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content strong {
  color: var(--text);
}

/* ── stats ── */
.stats-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  text-align: center;
}

.stat {
  padding: 20px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.stat-value {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ── faq ── */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.faq-row dt {
  font-weight: 600;
  color: var(--text);
}

.faq-row dd {
  margin: 0;
  color: var(--muted);
}

/* ── footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .room-grid {
    grid-template-columns: 1fr;
  }

  .faq-row {
    grid-template-columns: 1fr;
  }
}
