/* ── Fonts ──────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design tokens — dark mode (default) ───────────────────────────────────── */
:root {
  /* Backgrounds — deep space */
  --space:     #06080f;
  --bg:        #090c18;
  --surface:   #0d1124;
  --surface-2: #111830;

  /* Borders */
  --border:    rgba(80, 160, 255, 0.10);
  --border-hl: rgba(0, 212, 255, 0.32);

  /* Text */
  --text:      #b8ccec;
  --text-dim:  #4a6080;
  --text-br:   #ffffff;

  /* Accent — electric cyan */
  --cyan:      #00d4ff;
  --cyan-glow: rgba(0, 212, 255, 0.18);
  --cyan-dim:  rgba(0, 212, 255, 0.08);

  /* Warm accent — ember red */
  --ember:     #ff4422;
  --ember-dim: rgba(255, 68, 34, 0.12);
}

/* ── Design tokens — blueprint mode ─────────────────────────────────────────── */
/*
 * Blueprint mode: a parallel atmosphere to dark mode.  Both share the same
 * depth language (perspective grid, floating nodes, section layering) but
 * dark mode inhabits the void of space while blueprint mode inhabits the
 * medium Prussian blue of the engineering drawing board — bright enough to
 * work in daylight, saturated enough to have its own strong identity.
 *
 * Prussian blue: PB 27, Fe₄[Fe(CN)₆]₃  ·  discovered 1704, colour of science.
 * Blueprint ground sits at L≈0.09, comparable to a well-lit midtone rather
 * than near-black — readable under ambient light without harsh contrast.
 */
@media (prefers-color-scheme: light) {
  :root {
    /* Backgrounds — medium Prussian blue, brighter than previous iteration */
    --space:     #0e2f68;  /* deepest ink — footer, shadow beneath sections   */
    --bg:        #1a4f96;  /* main blueprint ground  (L ≈ 0.09)               */
    --surface:   #1e5aa8;  /* band sections — one clear step brighter          */
    --surface-2: #2464b8;  /* hover / active                                  */

    /* Borders — white ruling lines, slightly more visible at this brightness */
    --border:    rgba(200, 225, 255, 0.13);
    --border-hl: rgba(200, 228, 255, 0.45);

    /* Text — white lettering; body copy softer so headings punch harder */
    --text:      #b8d4f0;
    --text-dim:  #7aa0d0;
    --text-br:   #ecf4ff;

    /* Blueprint highlight — luminous pale teal, like white print on blue */
    --cyan:      #52d0f0;
    --cyan-glow: rgba(82, 208, 240, 0.24);
    --cyan-dim:  rgba(82, 208, 240, 0.11);

    /* Warm accent — orange-ember complements the cool blue ground */
    --ember:     #ff7033;
    --ember-dim: rgba(255, 112, 51, 0.17);
  }

  /* ── Blueprint grain — hero and decorative areas only, NOT body ──────────── */
  /* Applied via #hero::before so it never overlays text-heavy sections.       */
  #hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 1;  /* above canvas, below hero-content (z-index: 2) */
  }

  /* ── Hero grid — white technical lines on the blue ground ───────────────── */
  .hero-grid {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  }
  .hero-horizon {
    background: linear-gradient(to right, transparent, rgba(200, 232, 255, 0.55), transparent);
    opacity: 0.65;
  }

  /* ── Code / terminal — tokens handle the dark bg; tune syntax colours ────── */
  .code-block .comment  { color: #5080b8; }
  .code-block .cmd      { color: #58ccea; }
  .code-block .arg      { color: #72cc9e; }
  .code-block .str      { color: #eaba74; }
  .code-block .url      { color: #8ab8f2; }

  .terminal-bar { background: rgba(255, 255, 255, 0.07); }
  .terminal-body .prompt  { color: #3e6298; }
  .terminal-body .comment { color: #4e72a0; }
  .terminal-body .cmd     { color: #56c8e8; }
  .terminal-body .arg     { color: #72cc9e; }
  .terminal-body .url     { color: #88b6ee; }
  .terminal-body .out     { color: #486a90; }

  /* ── Disable the dark-mode scanline overlay — it sits at z-index 9999 and  */
  /* overlays all text.  Blueprint texture lives in #hero::before instead.    */
  body::after { display: none; }
}

/* ── Shared typography/geometry tokens (scheme-independent) ─────────────────── */
:root {

  /* Typography */
  --font:      'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono:      'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Geometry */
  --radius:    4px;
  --radius-lg: 8px;
  --max-w:     1080px;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }

/* ── Layout helpers ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 6rem 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-br);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 620px;
  line-height: 1.75;
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: var(--bg); /* fallback for browsers without color-mix */
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-br);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo svg { color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-br); text-decoration: none; }
.nav-cta {
  margin-left: 1.5rem;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  border: none;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 0 24px var(--ember-dim);
}
.btn-primary:hover {
  background: #ff5533;
  box-shadow: 0 0 32px rgba(255, 68, 34, 0.30);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-br);
  border: 1px solid var(--border-hl);
}
.btn-secondary:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}
.btn-small {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Perspective grid — the 1980s future floor */
.hero-grid {
  position: absolute;
  left: -100%;
  right: -100%;
  bottom: 0;
  height: 55%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(400px) rotateX(58deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  pointer-events: none;
}
/* Horizon glow */
.hero-horizon {
  position: absolute;
  left: 0; right: 0;
  bottom: 30%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  opacity: 0.25;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border-hl);
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2rem;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--text-br);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  max-width: 14ch;
}
.hero-title em {
  font-style: normal;
  color: var(--cyan);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scroll-hint 2.5s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(4px); }
}

/* ── Divider ────────────────────────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-hl), transparent);
  opacity: 0.5;
}

/* ── Pillars ────────────────────────────────────────────────────────────────── */
#pillars {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.pillar {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--surface-2); }
.pillar-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border-hl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  transition: box-shadow 0.25s;
}
.pillar:hover .pillar-icon {
  box-shadow: 0 0 18px var(--cyan-glow);
}
.pillar h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-br);
  margin-bottom: 0.6rem;
}
.pillar p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

/* ── How it works ───────────────────────────────────────────────────────────── */
#how {
  padding-bottom: 4rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.step:hover {
  border-color: var(--border-hl);
  transform: translateY(-3px);
}
.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  font-family: var(--mono);
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-br);
  margin-bottom: 0.75rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.step-arrow {
  position: absolute;
  top: 50%;
  right: -1.05rem;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.8rem;
  z-index: 1;
}

/* ── Code blocks ────────────────────────────────────────────────────────────── */
.code-block {
  background: var(--space);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text);
  position: relative;
}
.code-block .comment { color: var(--text-dim); }
.code-block .cmd { color: var(--cyan); }
.code-block .arg { color: #a8d8b0; }
.code-block .str { color: #ffb366; }
.code-block .url { color: #80b4ff; }
.terminal {
  background: var(--space);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.terminal-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--text-dim);
}
.terminal-body {
  padding: 1.5rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--text);
}
.terminal-body .prompt { color: var(--text-dim); user-select: none; }
.terminal-body .comment { color: var(--text-dim); }
.terminal-body .cmd { color: var(--cyan); }
.terminal-body .arg { color: #a8d8b0; }
.terminal-body .url { color: #80b4ff; }
.terminal-body .out { color: #6a8090; font-style: italic; }

/* ── Features ───────────────────────────────────────────────────────────────── */
#features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover {
  border-color: var(--border-hl);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-br);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.65;
}

/* ── Quick start ────────────────────────────────────────────────────────────── */
.quickstart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}
.quickstart-steps {
  counter-reset: qs-step;
}
.qs-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.qs-step::before {
  counter-increment: qs-step;
  content: counter(qs-step);
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--border-hl);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--mono);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qs-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-br);
  margin-bottom: 0.35rem;
}
.qs-step p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
}

/* ── Deploy ─────────────────────────────────────────────────────────────────── */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.deploy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.25s;
}
.deploy-card:hover { border-color: var(--border-hl); }
.deploy-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--border-hl);
}
.deploy-badge.warm {
  background: var(--ember-dim);
  color: var(--ember);
  border-color: rgba(255, 68, 34, 0.3);
}
.deploy-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-br);
}
.deploy-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.65;
}

/* ── Philosophy ─────────────────────────────────────────────────────────────── */
#philosophy {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.philosophy-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.standards-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.standards-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}
.standards-list li::before {
  content: '—';
  color: var(--cyan);
  flex-shrink: 0;
  font-family: var(--mono);
}
.standards-list strong {
  color: var(--text-br);
  font-weight: 600;
}
.orbit-diagram {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.orbit-ring:nth-child(1) {
  inset: 0;
  animation: orbit-spin 30s linear infinite;
  border-color: rgba(0, 212, 255, 0.12);
}
.orbit-ring:nth-child(2) {
  inset: 40px;
  animation: orbit-spin 20s linear infinite reverse;
  border-color: rgba(0, 212, 255, 0.18);
}
.orbit-ring:nth-child(3) {
  inset: 80px;
  border-color: rgba(0, 212, 255, 0.25);
}
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.orbit-center {
  position: absolute;
  inset: 110px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--border-hl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.1rem;
  box-shadow: 0 0 30px var(--cyan-glow);
}
.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ── Components ─────────────────────────────────────────────────────────────── */
.components-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.component-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s, transform 0.25s;
}
.component-card:hover {
  border-color: var(--border-hl);
  transform: translateY(-2px);
}
.component-name {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 500;
}
.component-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-br);
}
.component-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  background: var(--space);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-logo svg { color: var(--cyan); opacity: 0.6; }
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-br); text-decoration: none; }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Scroll reveal ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Scanline overlay (subtle retro texture) ────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pillars-grid,
  .steps,
  .features-grid,
  .deploy-grid,
  .components-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
  .step-arrow { display: none; }
  .quickstart-grid { grid-template-columns: 1fr; }
  .philosophy-inner { grid-template-columns: 1fr; }
  .orbit-diagram { display: none; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2.5rem; }
  section { padding: 4rem 0; }
  .hero-content { padding: 7rem 1.5rem 5rem; }
}
