:root {
  --bg: #1d1b19;
  --text: #efe9df;
  --muted: #b7ae9f;
  --faint: #8c8478;
  --rule: #3d3832;
  --accent: #e8a35f;
  --accent-hover: #f3bd85;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
}

.page {
  max-width: 600px;
  padding: clamp(48px, 12vh, 120px) 0 72px;
  margin-left: clamp(20px, 8vw, 160px);
  margin-right: 20px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin: 0;
}

.lead {
  font-size: 20px;
  line-height: 1.65;
}

.join {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.join:hover {
  color: var(--accent-hover);
}

.join:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.details {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.history {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
}

.history ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 4 120px;
  column-gap: 32px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.history li {
  white-space: pre;
  break-inside: avoid;
}

.history .num {
  color: var(--text);
}

.history .now,
.history .now .num {
  color: var(--accent);
}

footer {
  margin-top: 52px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
}
