/* Pixel Gridiron's site: the game's own colors and type (DesignSystem/Retro.swift). */
:root {
  --grass: #1f4d24;
  --grass-dark: #173c1b;
  --panel: #12141a;
  --chalk: #ede8d1;
  --text: #f5f0db;
  --dim: #9ea399;
  --gold: #fccc38;
  --red: #e84d3d;
  --blue: #73bfff;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--grass);
  /* Yard lines, faint, every 120px down the page. */
  background-image: repeating-linear-gradient(180deg, transparent 0 118px, rgba(237, 232, 209, 0.07) 118px 120px);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
  line-height: 1.6;
}

a { color: var(--gold); }
a:hover { color: var(--text); }

img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.top .mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: 0.04em; }
.top .mark img { width: 36px; height: 36px; border: 2px solid var(--chalk); }
.top nav { display: flex; gap: 18px; font-size: 14px; font-weight: 800; }
.top nav a { color: var(--chalk); text-decoration: none; }
.top nav a:hover { color: var(--gold); }

/* Hero */
.hero { text-align: center; padding: 40px 0 56px; }
.hero .logo { width: min(560px, 92%); margin: 0 auto 28px; }
.hero h1 {
  font-size: clamp(22px, 4.2vw, 34px);
  line-height: 1.25;
  margin: 0 auto 14px;
  max-width: 760px;
  color: var(--text);
  font-weight: 800;
  text-shadow: 3px 3px 0 #000;
}
.hero p { max-width: 640px; margin: 0 auto 28px; color: var(--chalk); font-size: 16px; }

/* The game's buttons: a thick outline sitting up on a drop shadow. */
.button {
  display: inline-block;
  padding: 14px 26px;
  background: var(--gold);
  color: #000;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover { color: #000; transform: translate(1px, 1px); box-shadow: 3px 3px 0 #000; }
.button.soon { background: var(--panel); color: var(--chalk); border-color: var(--chalk); box-shadow: 4px 4px 0 #000; cursor: default; }
.button.soon:hover { transform: none; box-shadow: 4px 4px 0 #000; color: var(--chalk); }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* Panels */
.panel {
  background: var(--panel);
  border: 2px solid var(--chalk);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
  padding: 22px;
}
.panel h2, .panel h3 { margin: 0 0 10px; color: var(--gold); font-weight: 800; letter-spacing: 0.04em; }

section { padding: 28px 0; }
.section-title {
  font-size: clamp(20px, 3vw, 26px);
  margin: 0 0 18px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 3px 3px 0 #000;
}

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.features h3 { font-size: 18px; }
.features p { margin: 0; color: var(--chalk); font-size: 15px; }

/* Screenshots: a row to scroll on a phone, four across on a wider screen. */
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { border: 3px solid #000; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45); background: var(--panel); }
.shots figcaption { margin-top: 10px; text-align: center; font-weight: 800; font-size: 14px; letter-spacing: 0.04em; color: var(--chalk); }

/* Support */
.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
.support .email { font-size: 18px; font-weight: 800; word-break: break-all; }
.faq dt { font-weight: 800; color: var(--text); margin-top: 14px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; color: var(--chalk); font-size: 15px; }

/* Footer */
footer { padding: 36px 0 48px; color: var(--dim); font-size: 13px; text-align: center; }
footer a { color: var(--chalk); }

/* The privacy policy */
.doc { max-width: 760px; margin: 0 auto 24px; }
.doc h1 { margin: 0 0 6px; font-size: clamp(22px, 4vw, 30px); color: var(--gold); font-weight: 800; }
.doc h2 { margin: 28px 0 8px; font-size: 18px; }
.doc .updated { color: var(--dim); font-size: 14px; margin: 0 0 18px; }
.doc p, .doc li { color: var(--chalk); font-size: 15px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); }

@media (max-width: 760px) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .support { grid-template-columns: minmax(0, 1fr); }
  .shots { grid-auto-columns: 62%; }
  .hero { padding: 24px 0 40px; }
  .top nav { gap: 14px; font-size: 13px; }
}
