/* Gremlin Garage Games – shared site styles.
   Colors are taken from the mascot art: the charcoal backdrop, the cream outline,
   the olive gremlin skin and the yellow eyes. */
:root {
  --bg: #1b1c20;          /* page background, a shade darker than the logo backdrop */
  --panel: #25262a;       /* cards and the header band; same as the logo art's backdrop */
  --line: #34363c;        /* hairline borders */
  --cream: #efe3c2;       /* headings and the title, matching the art's outline color */
  --text: #e4dfd1;        /* body text */
  --muted: #a39f92;       /* secondary text */
  --olive: #9aa64e;       /* links and accents, from the gremlin's skin */
  --eye: #f2c53d;         /* hover and focus highlight, from the eyes */
  --ink: #141518;         /* dark outline behind the display title */
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--olive); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--eye); }

/* The display face, used only for the studio name and big headings. */
.display {
  font-family: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  letter-spacing: .04em;
  color: var(--cream);
  font-weight: normal;
}

/* ---------- Home page hero ---------- */
.hero {
  text-align: center;
  padding: 56px 20px 36px;
  background: radial-gradient(ellipse at 50% 35%, #2c2e33 0%, var(--bg) 70%);
}
.hero img { width: min(300px, 70vw); height: auto; display: block; margin: 0 auto; }
.hero h1 {
  margin: 8px 0 4px;
  font-size: clamp(40px, 9vw, 76px);
  line-height: 1.05;
  /* A thick dark outline and a hard drop shadow, the same treatment as the splash title card. */
  -webkit-text-stroke: 6px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--ink);
}
.tagline { color: var(--muted); font-size: 19px; margin: 6px 0 0; }

/* ---------- Content sections ---------- */
main { max-width: 860px; margin: 0 auto; padding: 0 20px 40px; }

section { margin-top: 44px; }
section > h2 { font-size: 30px; margin: 0 0 14px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}
.card p { margin: 0; }
.card p + p { margin-top: 10px; }

.email { font-size: 20px; font-weight: 600; }

/* ---------- Legal pages ---------- */
.page-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 14px 20px;
}
.page-header a {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--cream);
}
.page-header img { width: 40px; height: 40px; }
.page-header span { font-family: "Luckiest Guy", "Arial Black", sans-serif; font-size: 22px; letter-spacing: .04em; }

.legal h1 { font-size: clamp(32px, 6vw, 44px); margin: 36px 0 4px; }
.legal .updated { color: var(--muted); margin: 0 0 24px; }
.legal h2 { color: var(--cream); font-size: 22px; margin: 34px 0 8px; }
.legal h3 { color: var(--cream); font-size: 18px; margin: 22px 0 6px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .summary { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 22px 20px 30px;
}
footer nav { margin-bottom: 6px; }
footer nav a { margin: 0 10px; }
