/*
 * Styling for the prerendered evergreen pages (/how-to-play, ...).
 *
 * Deliberately standalone: these pages must render as complete HTML for
 * crawlers that never execute JavaScript, so they do not load the app bundle
 * or its Tailwind build. Small enough to stay readable, close enough to the
 * brand that arriving from search does not feel like a different site.
 */

:root {
  --ink: #1a1008;
  --ink-soft: #3d2b00;
  --muted: #6b5c3e;
  --cream: #fdf6dc;
  --surface: #fffcf6;
  --honey: #e7a400;
  --honey-deep: #b45309;
  --border: #ead9a8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.page-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand img {
  display: block;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}

h1 {
  color: var(--ink);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

h2 {
  color: var(--ink);
  font-size: 1.5rem;
  margin: 40px 0 12px;
}

h3 {
  color: var(--ink);
  font-size: 1.12rem;
  margin: 28px 0 6px;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.rules {
  padding-left: 22px;
}

.rules li {
  margin: 10px 0;
}

.rules strong {
  color: var(--ink);
}

.faq-item p {
  margin: 0 0 4px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 44px 0 0;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--honey);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--honey);
}

.button-secondary {
  background: transparent;
  color: var(--honey-deep);
  border-color: var(--border);
}

.page-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-footer a {
  color: var(--muted);
}

a {
  color: var(--honey-deep);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7efdc;
    --ink-soft: #e7dcc4;
    --muted: #b3a582;
    --cream: #17130c;
    --surface: #1f1a11;
    --border: #3a2f1c;
    --honey-deep: #f0b429;
  }

  .button {
    color: #1a1008;
  }
}
