/* Grouse Games site. Dark theme on the Couch Spuds palette (plan 08 §B.3). In-house only. */
:root {
  --bg: #1b2030;        /* page */
  --bg-2: #2b3243;      /* slate_2: cards, nav */
  --bg-3: #3b4459;      /* slate: borders, hover */
  --line: #4a5470;
  --text: #f0e9d8;      /* paper_2 on dark */
  --text-2: #b8b0a0;    /* muted */
  --head: #fff6e5;      /* paper */
  --accent: #ffc845;    /* gold */
  --accent-ink: #2b2b3a;
  --link: #ffd36b;
  --max: 920px;
  --font-head: "Fredoka", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--head); line-height: 1.15; margin: 0 0 12px; font-weight: 600; }
h1 { font-size: 56px; letter-spacing: -0.5px; }
h2 { font-size: 28px; margin-top: 8px; }
h3 { font-size: 20px; margin-bottom: 6px; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; color: var(--head); text-decoration: none; font: 600 22px var(--font-head); }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav li a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav li a:hover { color: var(--accent); }

/* hero */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background: radial-gradient(900px 400px at 20% 0%, #2b3243 0%, var(--bg) 70%); }
.eyebrow { display: inline-block; font: 700 13px/1 var(--font-body); letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lead { font-size: 21px; color: var(--text-2); max-width: 640px; margin-bottom: 28px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 700 16px var(--font-body); text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffd36b; color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--head); }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--bg-3); color: var(--text-2); font-size: 12px; font-weight: 700; vertical-align: middle; }

/* hero art */
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 32px; }
.hero-art { display: flex; justify-content: flex-end; align-items: flex-end; gap: 12px; }
.hero-art img { width: 176px; height: 176px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.sub { color: var(--text-2); margin-top: -4px; margin-bottom: 8px; }

/* crew */
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.spud { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; text-align: center; }
.spud img { width: 120px; height: 120px; display: block; margin: 0 auto 8px; }
.spud h3 { font-size: 18px; margin-bottom: 4px; }
.spud p { color: var(--text-2); font-size: 14px; margin: 0; }

/* steps */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.steps .n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 600 18px/36px var(--font-head); text-align: center; }
.steps p { color: var(--text-2); font-size: 15px; margin: 0; }

.btn-static { cursor: default; }
.facts { list-style: none; margin: 28px 0 0; padding: 18px 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; }
.facts li { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.facts .k { color: var(--text-2); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

/* sections */
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; }
.card svg { width: 36px; height: 36px; margin-bottom: 12px; }
.card p { color: var(--text-2); margin: 0; font-size: 15.5px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.contact .card p { color: var(--text); }
.contact .card .k { color: var(--text-2); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }

/* prose pages (privacy) */
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.prose h1 { font-size: 40px; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose .meta { color: var(--text-2); font-size: 15px; margin-bottom: 28px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--head); font-family: var(--font-head); font-weight: 600; }
code { background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; font-size: 88%; color: var(--head); }
strong { color: var(--head); }

/* footer */
footer { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 28px; }
footer a { color: var(--text-2); margin-left: 18px; }

@media (max-width: 720px) {
  h1 { font-size: 40px; }
  .hero { padding: 48px 0 40px; }
  .cards, .contact, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .crew { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-content: center; margin-top: 8px; }
  .hero-art img { width: 104px; height: 104px; }
  .nav ul { gap: 14px; }
  .nav li a { font-size: 14px; }
  .hide-sm { display: none; }
  .wrap { padding: 0 16px; }
}

/* 404 */
.notfound { padding: 96px 0 120px; text-align: center; }
.notfound img { width: 160px; height: 160px; }
