:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #f6f2e5;
  background: #171814;
  line-height: 1.6;
  --muted: #cbc9bb;
  --accent: #f0ca70;
  --line: #484637;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.23em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
.wrap { width: min(74rem, calc(100% - 3rem)); margin: 0 auto; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1.25rem 0;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.brand { color: inherit; font-weight: 750; text-decoration: none; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 8vw, 7rem) 0;
}
.platform, .draft { font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.hero h1 { font-size: clamp(2.2rem, 4.15vw, 4.75rem); letter-spacing: -0.06em; overflow-wrap: anywhere; }
.lead { color: var(--muted); font-size: 1.15rem; margin-top: 1.2rem; }
.button {
  display: inline-block;
  background: var(--accent);
  color: #231c10;
  margin-top: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 0.25rem;
  font-weight: 720;
  text-decoration: none;
}
.button:hover { background: #ffe39e; }
figure { margin: 0; }
img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 0.35rem; }
figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }
.gameplay { padding: 0 0 3.5rem; }
.gameplay h2, .policy h2 { font-size: 1.55rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.4rem; }
.features article { padding-top: 1rem; border-top: 1px solid var(--line); }
.features h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.features p { color: var(--muted); margin-bottom: 0; }
.policy { max-width: 46rem; padding: clamp(2rem, 7vw, 4rem) 0; }
.policy h1 { font-size: clamp(2.35rem, 6vw, 3.75rem); letter-spacing: -0.035em; }
.policy h2 { margin: 2rem 0 0.6rem; }
.policy form { max-width: 34rem; display: grid; gap: 0.65rem; margin: 1.4rem 0; }
.policy form label { display: grid; gap: 0.4rem; }
.policy input, .policy select, .policy textarea, .policy button {
  font: inherit;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
}
.policy textarea { min-height: 5rem; resize: vertical; }
.policy button { justify-self: start; background: var(--accent); color: #231c10; cursor: pointer; }
.policy code { overflow-wrap: anywhere; }
.policy form .trap { display: none; }

@media (max-width: 50rem) {
  .hero { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 24rem) {
  .wrap { width: calc(100% - 2rem); }
}
