:root {
  --bg: #0b1220;
  --surface: #0f172a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #64748b;
  --border: #1f2937;
  --panel: #0f172a;
  --panel-2: #111c33;
  --text: #e5eefc;
  --muted: #a7b6d4;
  --muted-2: #c5d1e8;
  --line: rgba(167, 182, 212, 0.18);
  --accent: #7dd3fc;
  --accent-2: #c084fc;
  --max: 1120px;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(192, 132, 252, 0.16), transparent 28%),
    linear-gradient(180deg, #06101d 0%, #08111f 100%);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08111f;
}

nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid,
.two-col,
.footer-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.hero-grid {
  grid-template-columns: 1.45fr 0.85fr;
}

.eyebrow,
.section-label,
.card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  letter-spacing: -0.04em;
}

h1 span {
  color: var(--muted);
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted-2);
  max-width: 62ch;
  margin: 1.25rem 0 1rem;
}

.sublead {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 1.5rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.6rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.92rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.18), rgba(192, 132, 252, 0.22));
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.35);
}

.hero-card,
.card,
.timeline-item {
  background: linear-gradient(180deg, rgba(17, 28, 51, 0.92), rgba(15, 23, 42, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.25rem;
  transition: transform 0.2s ease;
}

.hero-card:hover,
.card:hover {
  transform: translateY(-2px);
}

.avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.22), rgba(192, 132, 252, 0.26));
  object-fit: cover;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stat-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.stat-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.stat-list strong {
  color: var(--text);
}

.stat-list span,
.stack p,
.card p,
.timeline-item p,
.site-footer p {
  color: var(--muted);
}

.section {
  padding: 2.4rem 0;
}

.section.alt {
  padding: 3rem 0;
}

.two-col {
  grid-template-columns: 0.95fr 1.2fr;
}

.stack {
  display: grid;
  gap: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chips span {
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.card,
.timeline-item {
  padding: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.timeline-item:hover {
  border-color: rgba(125, 211, 252, 0.32);
}

.timeline-item a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(125, 211, 252, 0.45);
  text-underline-offset: 0.15em;
}

.timeline-item a:hover {
  color: var(--accent);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  grid-template-columns: 1fr auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }
}

@media (max-width: 640px) {
  nav {
    gap: 0.8rem;
    font-size: 0.95rem;
  }

  .button {
    width: 100%;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr;
  }
}
