/* Shared styles for POACH's static content pages (about, how-to-play, ratings,
   faq, privacy). Vintage-football look, matching the app. */
:root {
  --paper: #f4ecd8;
  --paper-dark: #e8dcc0;
  --paper-deep: #d9c9a3;
  --ink: #221f1a;
  --ink-600: #4b4533;
  --pitch: #1f7a3d;
  --pitch-dark: #155e2e;
  --pitch-deep: #0d3d1e;
  --pitch-line: #eef3e6;
  --gold: #e0a93b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--pitch);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--pitch-deep);
}
.topbar {
  background: var(--pitch);
}
.topbar a {
  display: inline-block;
  padding: 13px 20px;
  color: var(--pitch-line);
  text-decoration: none;
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
}
header.hero {
  /* Mown-pitch stripes, matching the app masthead. */
  background: repeating-linear-gradient(90deg, #1f7a3d 0 40px, #246f3f 40px 80px);
  color: var(--pitch-line);
  padding: 6px 20px 30px;
  text-align: center;
}
header.hero .kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.85;
}
header.hero h1 {
  margin: 6px 0 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 rgba(13, 61, 30, 0.6); /* printed lift, as the app wordmark */
}
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 22px 56px;
}
main p,
main li {
  font-size: 16px;
}
.lead {
  font-size: 18px;
}
.muted {
  color: var(--ink-600);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
h2 {
  margin: 34px 0 8px;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pitch-deep);
}
h3 {
  margin: 22px 0 6px;
  font-size: 17px;
  font-weight: 700;
}
ul,
ol {
  padding-left: 20px;
}
li {
  margin: 5px 0;
}
.cta {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--ink);
  font-family: "Anton", Impact, sans-serif;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  /* Printed-card lift, matching the app's gold button. */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 4px rgba(34, 31, 26, 0.18),
    0 14px 26px rgba(34, 31, 26, 0.16);
}
.cta:hover {
  filter: brightness(1.05);
  color: var(--ink);
}
/* Notes index: a simple list of posts. */
.postlist {
  list-style: none;
  padding-left: 0;
}
.postlist li {
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(34, 31, 26, 0.1);
}
.postlist li:last-child {
  border-bottom: 0;
}
.postlist h2 {
  margin: 0 0 6px;
}
.postlist h2 a {
  text-decoration: none;
}
.postlist h2 a:hover {
  text-decoration: underline;
}
.postdate {
  color: var(--ink-600);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 20px;
}
.backlink {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

footer.sitefoot {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(34, 31, 26, 0.12);
  text-align: center;
}
footer.sitefoot nav a {
  display: inline-block;
  margin: 4px 9px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
footer.sitefoot .credit {
  margin-top: 14px;
  font-size: 13px;
}
