:root {
  --bg: #020617;
  --bg-soft: rgba(255, 255, 255, 0.05);
  --bg-softer: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --white: #ffffff;
  --cyan: #67e8f9;
  --cyan-soft: rgba(103, 232, 249, 0.15);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.background-glow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.9;
}
.glow-cyan { width: 24rem; height: 24rem; background: rgba(34, 211, 238, 0.14); left: -5rem; top: -4rem; }
.glow-indigo { width: 26rem; height: 26rem; background: rgba(99, 102, 241, 0.16); right: -4rem; top: 4rem; }
.glow-emerald { width: 20rem; height: 20rem; background: rgba(16, 185, 129, 0.12); left: 35%; bottom: 2rem; }

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section { padding: 5.5rem 0; }
.section h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--white);
}
.section-eyebrow, .card-label, .blog-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.site-title { font-size: 1.125rem; font-weight: 700; color: var(--white); }
.site-subtitle { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.32em; color: var(--cyan); margin-top: 0.25rem; }
.site-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.94rem;
  color: #cbd5e1;
}
.site-nav a:hover, .footer-links a:hover, .mobile-nav a:hover { color: var(--white); }
.menu-button {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--white);
  border-radius: 0.9rem;
  padding: 0.55rem 0.8rem;
  font-size: 1rem;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: 5.5rem;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.1);
  color: #cffafe;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
}
.hero h1 {
  margin: 1.2rem 0 0;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.06;
  color: var(--white);
}
.hero p {
  margin-top: 1.5rem;
  font-size: 1.12rem;
  max-width: 46rem;
  color: #cbd5e1;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 0.95rem 1.4rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--white);
  color: var(--bg);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.12);
}
.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--white);
}
.button-secondary:hover { background: rgba(255,255,255,0.04); }

.card, .feature-panel {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.card { padding: 1.8rem; }
.snapshot-card { backdrop-filter: blur(14px); }
.snapshot-list { display: grid; gap: 1rem; margin-top: 1rem; }
.snapshot-item {
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.7);
  padding: 1rem;
  color: #e2e8f0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-bottom: 1rem;
}
.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.metric-label { color: #cbd5e1; margin-top: 0.4rem; }

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.prose-card p { margin: 0; color: #cbd5e1; }
.prose-card p + p { margin-top: 1rem; }

.three-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.blog-grid { grid-template-columns: repeat(4, 1fr); }
.card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--white);
}
.card p {
  margin: 0.9rem 0 0;
  color: #cbd5e1;
}
.feature-panel {
  background: linear-gradient(90deg, rgba(34,211,238,0.1), rgba(99,102,241,0.1), rgba(16,185,129,0.1));
  padding: 2rem;
}
.compact-card p { margin-top: 0; }

.section-header-row {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.section-note { color: var(--muted); }
.stack-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.publication-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cyan);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.publication-meta span {
  color: #cbd5e1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero, .section-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .three-grid, .blog-grid, .metrics-grid { grid-template-columns: 1fr; }
  .section { padding: 4.2rem 0; }
  .hero { padding-top: 4rem; }
  .footer-inner { flex-direction: column; }
}
