:root {
  --background: #F5F3EC;
  --surface: #FFFFFF;
  --text: #181818;
  --text-muted: #8B8B93;
  --border: #E4E1D8;
  --accent: #4B3595;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wordmark {
  font-family: 'Michroma', -apple-system, sans-serif;
  letter-spacing: 0.12em;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Top nav ---- */

.nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  padding-block: 32px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.nav-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---- Lobby hero ---- */

.lobby {
  min-height: calc(100vh - 220px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 64px;
  gap: 36px;
}

.lobby-logo {
  width: 112px;
  height: 130px;
}

.lobby-wordmark {
  font-size: 30px;
  font-weight: 400;
  margin: 0;
}

.pill-button {
  display: inline-block;
  background: var(--text);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 999px;
  margin-top: 8px;
}

.pill-button:hover {
  opacity: 0.88;
}

/* ---- Footer ---- */

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer a {
  text-decoration: none;
  color: var(--text-muted);
}

/* ---- Document pages (privacy / terms) ---- */

.doc {
  padding-block: 56px 80px;
}

.doc-header {
  text-align: center;
  margin-bottom: 48px;
}

.doc-header .lobby-logo {
  width: 56px;
  height: 65px;
  margin-bottom: 18px;
}

.doc h1 {
  font-size: 26px;
  margin: 0 0 6px;
}

.doc .doc-updated {
  font-size: 13px;
  color: var(--text-muted);
}

.doc h2 {
  font-size: 17px;
  margin-top: 40px;
  margin-bottom: 10px;
}

.doc p,
.doc li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.doc ul {
  padding-left: 22px;
}

.back-link {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .nav {
    gap: 20px;
  }
  .footer {
    gap: 18px;
  }
}
