:root {
  --night: #11131c;
  --raised: #1b1e2a;
  --paper: #f2ece1;
  --muted: #959ba9;
  --faint: #5d6372;
  --lamp: #ff9f45;
  --hairline: rgba(242, 236, 225, 0.1);
  --display: "Futura Condensed ExtraBold", "Futura-CondensedExtraBold", "Jost", Futura, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--paper);
  font-family: var(--text);
  line-height: 1.55;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(#171a27, var(--night) 520px);
  background-color: var(--night);
}

a { color: var(--paper); text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--lamp); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding-top: 88px;
  padding-bottom: 48px;
}

h1, h2, .display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: 0.005em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(64px, 11vw, 132px); }

.lead {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 34ch;
  margin: 18px 0 0;
  text-wrap: pretty;
}

.note { margin: 26px 0 0; font-weight: 600; color: var(--lamp); }

.hero img.icon {
  width: 168px;
  height: 168px;
  border-radius: 38px;
  box-shadow: 0 0 80px rgba(255, 159, 69, 0.18);
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 8px 0 72px;
}

.shots img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--hairline);
}

.rules {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 40px;
  padding-bottom: 88px;
}

.rules h2 { font-size: clamp(40px, 6vw, 64px); }

.rules dl { margin: 0; }
.rules dt { font-family: var(--display); font-weight: 800; font-stretch: condensed; font-size: 30px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.rules dd { margin: 4px 0 18px; color: var(--muted); font-size: 17px; }

article.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

article.doc h1 { font-size: clamp(56px, 9vw, 88px); margin-bottom: 18px; }
article.doc h2 { font-size: 32px; margin-top: 40px; margin-bottom: 8px; }
article.doc p, article.doc li { font-size: 17px; color: var(--paper); }
article.doc p.meta { color: var(--muted); }

.back { display: inline-block; margin-bottom: 30px; font-weight: 600; text-decoration: none; color: var(--muted); }

footer {
  border-top: 1px solid var(--hairline);
  padding: 26px 0 44px;
  color: var(--muted);
  font-size: 15px;
}

footer .wrap { display: flex; gap: 26px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  header.hero { grid-template-columns: 1fr; padding-top: 56px; gap: 28px; }
  .hero img.icon { order: -1; width: 112px; height: 112px; border-radius: 26px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: 1fr; gap: 12px; }
}
