/* Shared by every page. The palette follows the app: brushed-metal deck,
   green LCD, and the teal / orange / yellow of the launcher icon. */
:root {
  --bg: #17181a;
  --panel: #232528;
  --panel-2: #2c2f33;
  --line: #3a3d42;
  --ink: #ececec;
  --muted: #a3a7ad;
  --lcd: #7ee2a0;
  --teal: #1f6f78;
  --orange: #e8742c;
  --yellow: #f4c542;
  --red: #c2410c;
  --label: #f6e6a6;
  --maxw: 1080px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  font-family: Roboto, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 4px),
    var(--bg);
  line-height: 1.6;
}

a { color: var(--lcd); }

.mono {
  font-family: "Share Tech Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(23, 24, 26, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 15px;
}

.brand img { width: 36px; height: 36px; border-radius: 50%; }

.nav-links { display: flex; gap: 18px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-links a.active { color: var(--lcd); }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--lcd); }
footer .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
footer .footer-links button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
footer .footer-links button:hover { color: var(--lcd); }
footer p { margin: 4px 0; }

/* ---- Icon stripes (teal / orange / yellow, as on the launcher icon) ---- */
.stripes {
  height: 6px;
  background: linear-gradient(90deg, var(--teal) 0 34%, var(--orange) 34% 67%, var(--yellow) 67% 100%);
}

@media (max-width: 760px) {
  .nav { padding: 10px 16px; }
  .brand span { font-size: 13px; letter-spacing: 0.12em; }
  .nav-links { gap: 14px; }
}
