/* The written pages around the game — guide, flowers, cats, FAQ, about.

   Plain static HTML with no script, so they read the same to a person, to a
   crawler and to an ad reviewer. They load no advertising code either: they
   are the publisher content the game page is surrounded by, not more places to
   put an ad. Colours follow the game's own paper-and-ink tokens in
   src/styles.css, including its dark variant. */

:root {
  color-scheme: light dark;
  --paper: #fbf6ec;
  --card: #fffdf8;
  --ink: #4a3f35;
  --ink-soft: #8a7a6a;
  --ink-faint: #b3a493;
  --line: #e6dac6;
  --link: #c05f80;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1d1a22;
    --card: #26222c;
    --ink: #f4ecdd;
    --ink-soft: #c2b6a6;
    --ink-faint: #8f8475;
    --line: #3a3440;
    --link: #f0a3bd;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
}

a { color: var(--link); }

.site-nav {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.95rem;
}

.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.25rem;
}

h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

p, li { margin: 0 0 0.9rem; }
ul, ol { padding-left: 1.2rem; }

.sub {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

/* One flower, one cat. */
.entry {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.entry p:last-child,
.entry ul:last-child { margin-bottom: 0; }

/* A dated update on the changelog: the date heads its own card. */
.entry h2 { margin-top: 0; }

.entry__blurb {
  color: var(--ink-soft);
  font-style: italic;
}

.facts {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.facts li { margin: 0 0 0.3rem; }

.cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-radius: 16px;
  background: #b4d79f;
  color: #4a3f35;
  font-weight: 600;
  text-decoration: none;
}

footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer a { color: inherit; }
