@font-face { font-family: "Press Start 2P"; src: url("/fonts/PressStart2P.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #07060f;
  --purple: #2d1b5c;
  --panel: rgba(18, 14, 38, 0.85);
  --line: rgba(160, 170, 230, 0.16);
  --text: #e6ecff;
  --muted: #a3acd0;
  --blue: #4f8dff;
  --blue-soft: #9cc3ff;
}

* { box-sizing: border-box; }

html { background: #05040a; }

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.75 "Plex Mono", ui-monospace, monospace;
}

#sky { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; display: block; }

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
}

.wordmark { width: min(92vw, 990px); height: auto; overflow: visible; }

.wordmark text, .btn, h2, h3 { -webkit-font-smoothing: none; -moz-osx-font-smoothing: unset; font-smooth: never; }

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  text-decoration: none;
  font-size: 2rem;
  line-height: 1;
  opacity: 0.7;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue:hover, .scroll-cue:focus-visible { opacity: 1; color: var(--text); }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }

html { scroll-behavior: smooth; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

main { max-width: 960px; margin: 0 auto; padding: 40px 16px 24px; }

header { text-align: center; }


.lede { color: var(--muted); max-width: 660px; margin: 0 auto; }
.lede strong { color: var(--text); font-weight: 600; }

.demo {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px 0 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 0 70px rgba(79, 141, 255, 0.18);
}

.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.btn {
  font-family: "Press Start 2P", monospace;
  font-size: 16px;
  line-height: 16px;
  text-decoration: none;
  color: var(--text);
  padding: 16px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover, .btn:focus-visible { border-color: var(--blue); transform: translateY(-1px); box-shadow: 0 0 18px rgba(79, 141, 255, 0.3); }
.btn.primary { background: linear-gradient(90deg, #2f63d8, var(--blue)); border-color: var(--blue); color: #fff; }

section { margin-top: 60px; }

h2, h3 { font-family: "Press Start 2P", monospace; font-weight: 400; }
h2 { font-size: 24px; line-height: 32px; margin: 0 0 16px; }
h3 { font-size: 16px; line-height: 24px; margin: 0 0 12px; color: var(--blue-soft); }

p { margin: 0 0 12px; }

a { color: var(--blue-soft); }

pre {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin: 0 0 14px;
}

code { font-family: "Plex Mono", ui-monospace, monospace; font-size: 15px; }
p code { background: var(--panel); padding: 2px 6px; border-radius: 4px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.facts p { color: var(--muted); margin: 0; font-size: 15px; }

footer { text-align: center; color: var(--muted); font-size: 14px; padding: 48px 16px 56px; }
footer p { margin: 0; }
