/* island runtime — static landing page.
   Theme ported from web/static/themes/phosphor.css: dark CRT terminal,
   near-black green glass, mono type, faint scanlines, glowing accents. */

:root {
  --bg: #050a07;
  --bg-elev: #0a130d;
  --bg-hover: #0e1c13;
  --text: #c2f0cd;
  --muted: #79b78d;
  --faint: #4a7a5e;
  --border: #1c3527;
  --accent: #42ff8e;
  --accent-2: #ffd23d;
  --head-bg: #071009;
  --radius: 3px;
  --font-body: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  text-shadow: 0 0 6px rgb(66 255 142 / .06);
}

/* scanlines */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgb(0 0 0 / .15) 0 1px, transparent 1px 3px);
}

header.site {
  display: flex; align-items: center;
  padding: .7rem 1.25rem;
  background: var(--head-bg);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 0 10px rgb(66 255 142 / .5);
}
.brand span { color: var(--accent); }

main {
  flex: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

.hero { padding-top: 2rem; }

h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}
h1::before { content: "> "; color: var(--accent); }

.cursor {
  display: inline-block;
  width: .55em; height: 1.05em;
  margin-left: .15em;
  background: var(--accent);
  vertical-align: text-bottom;
  box-shadow: 0 0 8px rgb(66 255 142 / .6);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}

.tagline {
  margin: 0 0 1.4rem;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.05rem;
}

.status {
  display: inline-block;
  padding: .18em .8em;
  border-radius: 999px;
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
}
.card h2 {
  margin: 0 0 .55rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.card h2::before { content: "▸ "; }
.card p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

footer.site {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  color: var(--faint);
  font-size: .75rem;
}

@media (max-width: 719px) {
  main { padding: .9rem .6rem 2.5rem; }
  h1 { font-size: 1.5rem; }
  header.site { padding: .6rem .8rem; }
  .cards { grid-template-columns: 1fr; }
}
