@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg: #0b1410;
  --card: #10241a;
  --border: #2c5a3a;
  --border-bright: #4a9c5e;
  --shadow: #071009;
  --text: #e9f2ea;
  --text-muted: #8fae93;
  --green: #7fe08a;
  --green-dim: #4a9c5e;
  --gold: #d4a34f;
  --gold-bg: rgba(212, 163, 79, 0.12);
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.pixel {
  font-family: 'Press Start 2P', ui-monospace, monospace;
  line-height: 1.6;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  image-rendering: pixelated;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Chunky retro border + offset drop-shadow, the closest CSS gets to an
   NES-style panel without hand-drawing pixel corners. */
.pixel-box {
  border: 3px solid var(--border-bright);
  box-shadow: 5px 5px 0 var(--shadow);
  background: var(--card);
}

header.site {
  padding: 28px 0 24px;
  border-bottom: 3px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.wordmark {
  display: flex;
  align-items: center;
}

.wordmark img {
  width: 210px;
  height: auto;
  /* Overrides the site-wide img{} rule — that's tuned for small pixel art
     scaled *up*, where nearest-neighbor keeps edges crisp. This asset is
     the opposite case (2436px source shown at 210px), where pixelated
     scaling produces visible moiré instead of a clean downscale. */
  image-rendering: auto;
}

.wordmark:hover {
  opacity: 0.85;
}

nav.site a {
  color: var(--text-muted);
  font-size: 13px;
  margin-left: 20px;
}

nav.site a:hover {
  color: var(--green);
}

main {
  padding: 56px 0 80px;
}

.eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold);
  padding: 6px 10px;
  margin-bottom: 20px;
}

h1.pixel {
  font-size: 22px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: var(--green);
  text-shadow: 3px 3px 0 var(--shadow);
}

.subhead {
  font-size: 16px;
  color: var(--text);
  max-width: 52ch;
  margin: 0 0 40px;
}

h2.pixel {
  font-size: 14px;
  color: var(--gold);
  margin: 0 0 24px;
}

.app-card {
  display: flex;
  gap: 18px;
  padding: 20px;
  margin-bottom: 16px;
}

.app-card img {
  width: 64px;
  height: 64px;
  border: 2px solid var(--border-bright);
  flex-shrink: 0;
}

.app-card .app-name {
  color: var(--green);
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 6px;
}

.app-card p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.app-card .status {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--bg);
  background: var(--green);
  padding: 3px 8px;
}

footer.site {
  border-top: 3px solid var(--border);
  padding: 28px 0 40px;
}

footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site a {
  color: var(--text-muted);
  font-size: 13px;
}

footer.site a:hover {
  color: var(--green);
}

.copyright {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
}

.copyright img {
  width: 16px;
  height: 16px;
}

@media (max-width: 520px) {
  h1.pixel {
    font-size: 17px;
  }
  .app-card {
    flex-direction: column;
  }
}
