:root {
  --bg: #0D0520;
  --panel: #180A33;
  --text: #EDE6FF;
  --muted: #BFB3E0;
  --magenta: #FF33CC;
  --cyan: #1AE6FF;
  --gold: #FFD933;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(to bottom, transparent 70%, rgba(255, 51, 204, 0.10)),
    var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
}

/* Neon grid floor */
body::before {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 38vh;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26, 230, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 230, 255, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(300px) rotateX(55deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000, transparent);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
}

/* Faint scanlines */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px);
}

main {
  flex: 1;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

h1, h2, h3, .brand, nav, footer {
  font-family: var(--mono);
}

h1 {
  color: var(--magenta);
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.25rem;
  text-shadow: 0 0 12px rgba(255, 51, 204, 0.6);
}

h2 {
  color: var(--cyan);
  font-size: 1.25rem;
  margin: 2.25rem 0 0.5rem;
  text-shadow: 0 0 10px rgba(26, 230, 255, 0.45);
}

h3 {
  color: var(--gold);
  font-size: 1.0625rem;
  margin: 1.75rem 0 0.25rem;
}

p, ul { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }
strong { color: #fff; }

a {
  color: var(--cyan);
  text-underline-offset: 3px;
}
a:hover { color: var(--gold); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-header {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--magenta);
  font-weight: 700;
  text-decoration: none;
}

nav { display: flex; gap: 1.25rem; }
nav a { text-decoration: none; }
nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; }

.meta { color: var(--muted); font-size: 0.95rem; }

/* Home */
.hero { text-align: center; padding-top: 1rem; }

.icon {
  width: min(60vw, 240px);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 0 32px rgba(255, 51, 204, 0.45), 0 0 4px rgba(26, 230, 255, 0.6);
  margin-bottom: 1.5rem;
}

.subtitle {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.pitch { text-align: left; }

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  margin: 0.5rem 0 1.5rem;
  box-shadow: 0 0 14px rgba(255, 217, 51, 0.35);
}

.links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1.5rem 1rem 2rem;
}

@media (prefers-reduced-motion: no-preference) {
  h1 { animation: pulse 4s ease-in-out infinite alternate; }
  @keyframes pulse {
    from { text-shadow: 0 0 10px rgba(255, 51, 204, 0.5); }
    to   { text-shadow: 0 0 18px rgba(255, 51, 204, 0.8); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
