/* Self-hosted, no external fonts or scripts (PRD-0001: no third-party requests). */
:root {
  --bg: #eef2e8;
  --grid: rgba(22, 32, 26, .06);
  --fg: #14201a;
  --muted: #4d5c52;
  --card: #ffffff;
  --accent: #17a34a;
  --accent-hi: #4ade80;
  --accent-fg: #04210f;
  --link: #0f7a37;
  --line: #14201a;
  --shadow: #14201a;
  --road: #111412;
  --stripe: #f5c518;
}
:root[data-theme="dark"] {
  --bg: #060807;
  --grid: rgba(74, 222, 128, .07);
  --fg: #e6efe8;
  --muted: #93a398;
  --card: #0d120f;
  --accent: #22c55e;
  --accent-hi: #86efac;
  --accent-fg: #03140a;
  --link: #4ade80;
  --line: #2f3d33;
  --shadow: #000000;
  --road: #000000;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060807;
    --grid: rgba(74, 222, 128, .07);
    --fg: #e6efe8;
    --muted: #93a398;
    --card: #0d120f;
    --accent: #22c55e;
    --accent-hi: #86efac;
    --accent-fg: #03140a;
    --link: #4ade80;
    --line: #2f3d33;
    --shadow: #000000;
    --road: #000000;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--fg);
  font: 1rem/1.65 "Trebuchet MS", Verdana, "Segoe UI", system-ui, sans-serif;
}
main { flex: 1; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1rem; }

/* Header: asphalt bar with a dashed centre line */
header {
  background: var(--road);
  border-bottom: 4px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--stripe) 0 18px, transparent 18px 30px) 1;
}
header .wrap { display: flex; align-items: center; gap: .75rem; padding-top: .7rem; padding-bottom: .7rem; }
header img { width: 2rem; height: 2rem; border-radius: .3rem; image-rendering: auto; }
header a.brand {
  font-weight: 900; color: #fff; text-decoration: none; font-size: 1.25rem;
  letter-spacing: .04em; text-transform: uppercase; text-shadow: 2px 2px 0 #1d7a3e;
}
header nav { margin-left: auto; }
header nav a {
  color: #c5d0c8; text-decoration: none; margin-left: .75rem; padding: .25rem .5rem;
  font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em;
}
header nav a:hover { color: #000; background: var(--accent-hi); }

main.wrap { padding-top: 2rem; padding-bottom: 3rem; }
h1 {
  font-size: 2.1rem; line-height: 1.15; margin: 0 0 .75rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .01em; text-shadow: 3px 3px 0 var(--accent);
}
h2 {
  font-size: 1.05rem; margin: 2rem 0 .5rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: .08em; display: inline-block; padding: .15rem .6rem;
  background: var(--accent); color: var(--accent-fg);
}
.card h2 { margin-top: 0; }
p, li { max-width: 40rem; }
li { margin: .25rem 0; }
.lead { font-size: 1.1rem; color: var(--muted); }
a { color: var(--link); font-weight: 700; }
a:hover { background: var(--accent); color: var(--accent-fg); text-decoration: none; }

.hero { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 40rem) { .hero { grid-template-columns: 1fr 15rem; } }
.hero img {
  width: 100%; max-width: 15rem; height: auto; justify-self: center; display: block;
  border: 3px solid var(--fg); box-shadow: 8px 8px 0 var(--shadow); background: #000;
}

/* 90s bevelled button with a hard shadow */
.button {
  display: inline-block; margin: .5rem 0 .75rem; padding: .8rem 1.75rem;
  background: linear-gradient(var(--accent-hi), var(--accent));
  color: var(--accent-fg); font-weight: 900; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  border: 3px solid var(--fg); border-radius: 0;
  box-shadow: 5px 5px 0 var(--shadow), inset 2px 2px 0 rgba(255,255,255,.55), inset -2px -2px 0 rgba(0,0,0,.25);
  transition: transform .08s, box-shadow .08s;
}
.button:hover { background: linear-gradient(var(--accent-hi), var(--accent)); color: var(--accent-fg); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--shadow), inset 2px 2px 0 rgba(255,255,255,.55), inset -2px -2px 0 rgba(0,0,0,.25); }
.button:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--shadow), inset 2px 2px 0 rgba(0,0,0,.25); }

.card, .note {
  background: var(--card); border: 2px solid var(--fg); padding: 1rem 1.25rem;
  box-shadow: 5px 5px 0 var(--shadow); margin-top: 2.5rem;
}
.note { margin-top: 2rem; font-size: .9rem; color: var(--muted); padding: .6rem 1rem; }
.card p { margin: 0; }

.theme-toggle {
  margin-left: .5rem; width: 2.25rem; height: 2.25rem; padding: 0;
  background: #1b201d; color: #fff; border: 2px solid #c5d0c8; border-radius: 0;
  box-shadow: 2px 2px 0 #000; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.theme-toggle:hover { background: var(--accent-hi); color: #000; }
.theme-toggle:active { transform: translate(2px, 2px); box-shadow: none; }

/* Footer: same asphalt as the header, carries the studio logo (white artwork) */
footer { background: var(--road); color: #c5d0c8; font-size: .85rem; border-top: 4px solid var(--accent); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem; }
footer img.elgames { height: 1.6rem; width: auto; }
footer a { color: #fff; }
