:root {
  --bg: #000712;
  --bg-elevated: #0a1224;
  --surface: #111b2e;
  --border: rgba(0, 255, 255, 0.12);
  --text: #e8eef8;
  --text-muted: #8a9bb8;
  --accent: #00ffff;
  --accent-dim: #00b8b8;
  --accent-glow: rgba(0, 255, 255, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --max: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: #7fffff;
  text-decoration: underline;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 7, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-brand span {
  opacity: 0.85;
  font-weight: 500;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

/* Layout */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.page-hero {
  text-align: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.page-hero .lede {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* Cards & sections */
.section {
  margin-bottom: 3rem;
}

.section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 0 0 1px var(--accent-glow);
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  margin-top: 0;
  color: var(--text-muted);
}

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

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: #33ffff;
  color: var(--bg);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-glow);
  text-decoration: none;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.gallery-item figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.gallery-item.wide img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (min-width: 640px) {
  .gallery-item.wide {
    grid-column: span 2;
  }
}

/* Roadmap timeline */
.timeline {
  position: relative;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.timeline li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1.75rem;
  border-left: 2px solid var(--border);
  padding-bottom: 0.25rem;
  padding-top: 0;
}

.timeline li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.timeline .phase-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.timeline .phase-meta {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Flushlist form */
.flush-form {
  max-width: 480px;
  margin: 0 auto;
}

.flush-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.flush-form input,
.flush-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.flush-form input:focus,
.flush-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.flush-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Home */
.home-banner {
  margin: 0 auto 2rem;
  max-width: var(--max);
  padding: 0 1.25rem;
  padding-top: 1.5rem;
}

.home-banner img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.home-cta {
  text-align: center;
  padding: 0 1.25rem 3rem;
}

.home-cta h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.home-cta p {
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0.5rem auto;
}

.home-about {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.home-about .card {
  text-align: left;
}

.home-about h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.home-about .eyebrow {
  margin-bottom: 0.5rem;
}

.home-about p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-about p:last-child {
  margin-bottom: 0;
}

.preview-wrap {
  text-align: center;
  margin: 2rem 0 3rem;
}

.preview-wrap img {
  width: min(250px, 85vw);
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 3rem 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.site-footer img {
  max-width: 200px;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.two-col {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

ul.checklist {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

ul.checklist li {
  margin-bottom: 0.5rem;
}
