:root {
  --bg: #16181D;
  --surface: #23262C;
  --ink: #F4F0E6;
  --accent: #E3B341;
  --muted: #9A958C;
  --sky: #12141A;
  --far: #2A3142;
  --mid: #3E4654;
  --ground: #C8C4B8;
  --hero: #F7F4EE;
  --hazard: #C45C4A;
  --collectible: #E3B341;
  --weather: #D7D3CB;
  --shadow: #0E0F12;
}

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

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Hoefler Text", Georgia, "Times New Roman", serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--hero);
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

header {
  border-bottom: 2px solid var(--mid);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.brand {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--hero);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero-banner {
  background-color: var(--sky);
  border: 1px solid var(--mid);
  border-left: 6px solid var(--accent);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 24px var(--shadow);
}

.eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: block;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--hero);
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.55rem;
  color: var(--hero);
  margin: 2rem 0 0.85rem;
  border-bottom: 1px solid var(--far);
  padding-bottom: 0.4rem;
}

h3 {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.15rem;
  color: var(--ink);
}

.lead {
  font-size: 1.2rem;
  color: var(--weather);
  max-width: 68ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem;
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--far);
  padding: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow);
}

.card.hazard {
  border-top: 3px solid var(--hazard);
}

.card.collectible {
  border-top: 3px solid var(--collectible);
}

.card.deck {
  border-top: 3px solid var(--ground);
}

.stat-list {
  list-style: none;
  margin: 1rem 0 2rem;
  border-top: 1px solid var(--mid);
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--far);
  gap: 1rem;
}

.stat-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-weight: 600;
  color: var(--hero);
  text-align: right;
}

.prose ul {
  margin: 0.5rem 0 1.5rem 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.callout {
  background-color: var(--surface);
  border-left: 4px solid var(--hazard);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mid);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

footer nav {
  font-size: 0.85rem;
}
