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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --rule: #e0e0e0;
  --muted: #888888;
  --pad: clamp(24px, 5vw, 80px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--black);
  font-family: 'Geist', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  letter-spacing: normal;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  border: none;
  outline: none;
}

/* LOBBY */
.lobby {
  padding: 160px var(--pad) 100px;
  max-width: 42rem;
  margin: 0 auto;
}

.lobby-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.lobby-lede {
  font-size: 15px;
  color: var(--muted);
  max-width: 28em;
  line-height: 1.6;
  margin-bottom: clamp(56px, 10vw, 96px);
}

.lobby-list {
  list-style: none;
  counter-reset: lobby;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

.lobby-item {
  counter-increment: lobby;
}

.lobby-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75em;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.2;
  color: var(--black);
  transition: color 0.3s ease;
}

.lobby-link::before {
  content: '[' counter(lobby, decimal-leading-zero) ']';
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.lobby-link:hover {
  color: var(--muted);
}

.lobby-foot {
  margin-top: clamp(80px, 12vw, 120px);
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.lobby-foot a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s ease;
}

.lobby-foot a::before {
  content: '[';
  opacity: 0.45;
}

.lobby-foot a::after {
  content: ']';
  opacity: 0.45;
}

.lobby-foot a:hover {
  color: var(--black);
}

/* ARTICLE CONTENT */
.article {
  padding: 160px var(--pad) 100px;
  max-width: 800px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}

.article h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.1;
  margin-bottom: 40px;
}

.article h1 em {
  font-style: italic;
}

.article .lede {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 60px;
}

.article hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 60px 0;
}

.article h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 60px;
  margin-bottom: 24px;
}

.article p {
  margin-bottom: 24px;
  font-size: 18px;
  color: var(--black);
}

.article ul {
  margin-bottom: 24px;
  padding-left: 24px;
  font-size: 18px;
}

.article li {
  margin-bottom: 12px;
}

.article a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.article a:hover {
  color: var(--black);
}

/* FOOTER */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px var(--pad);
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--rule);
}

.site-footer span a {
  margin-left: 32px;
  color: var(--muted);
  transition: color 0.3s ease;
}

.site-footer span a:hover {
  color: var(--black);
}

@media (max-width: 768px) {
  .site-footer {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .site-footer span a {
    margin-left: 0;
    margin-right: 32px;
  }
}
