body.labs-page {
  display: block;
  min-height: 100vh;
  height: auto;
  background: radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.2), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.18), transparent 50%),
    #020617;
  color: #f4f6ff;
  font-family: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  margin: 0;
  overflow: auto;
  background-attachment: fixed;
}

.page-shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 120px;
  width: 100%;
}

.grid-overlay,
.glow-blob {
  display: none;
}

.labs-nav {
  position: sticky;
  top: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  margin-top: 32px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.85);
  box-shadow: 0 35px 90px rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
  color: #f8fafc;
  text-decoration: none;
}

.brand span {
  color: #a5b4fc;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  color: #cbd5f5;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.pill-btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(120deg, #6366f1, #a855f7);
  box-shadow: 0 18px 35px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 45px rgba(168, 85, 247, 0.4);
}

.ghost-btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ghost-btn:hover {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero {
  position: relative;
  padding: 96px 0 48px;
  z-index: 1;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}

.hero-content {
  flex: 1 1 420px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #7dd3fc;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero-title {
  margin: 18px 0 16px;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fbff;
}

.hero-copy {
  max-width: 640px;
  font-size: 1.1rem;
  color: #cbd5f5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-card {
  flex: 0 1 320px;
  background: linear-gradient(145deg, rgba(14, 17, 36, 0.95), rgba(22, 28, 53, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 70px rgba(3, 7, 18, 0.65);
}

.hero-card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  font-weight: 700;
}

.hero-card p {
  margin: 12px 0 20px;
  color: #c7d2fe;
}

.hero-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  padding-bottom: 8px;
  font-size: 0.95rem;
  color: #f9fafb;
}

.hero-list-label {
  font-weight: 600;
  color: #94a3b8;
}

.hero-card-foot {
  color: #94a3b8;
  font-size: 0.9rem;
}

.hero-panels {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.panel {
  background: rgba(11, 15, 30, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 25px 55px rgba(2, 6, 23, 0.55);
}

.panel strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #f3f5ff;
  font-weight: 600;
}

.panel p {
  margin: 0;
  color: #cbd5f5;
  line-height: 1.5;
  font-size: 0.95rem;
}

.section {
  position: relative;
  z-index: 1;
  margin-top: 90px;
}

.section-header {
  margin-bottom: 24px;
}

.section-eyebrow {
  color: #7dd3fc;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
}

.section-title {
  font-size: 2.2rem;
  margin: 8px 0 10px;
  font-weight: 700;
  color: #f9fafb;
}

.section-copy {
  color: #cbd5f5;
  max-width: 760px;
  line-height: 1.6;
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.lab-card {
  background: rgba(15, 16, 32, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 55px rgba(2, 6, 23, 0.55);
}

.lab-chip {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #e0e7ff;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(129, 140, 248, 0.5);
}

.lab-card h3 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
  color: #f1f5ff;
}

.lab-card p {
  color: #cbd5f5;
  line-height: 1.5;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #a5b4fc;
  font-weight: 600;
  text-decoration: none;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  border-left: 2px solid rgba(148, 163, 184, 0.25);
  padding-left: 24px;
}

.timeline-row {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.timeline-row:last-child {
  border-bottom: none;
}

.timeline-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.timeline-copy {
  color: #cbd5f5;
  line-height: 1.6;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.tool-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(12, 16, 32, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 20px 55px rgba(2, 6, 23, 0.5);
}

.tool-card h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #f3f5ff;
}

.tool-card p {
  margin: 0;
  color: #cbd5f5;
  line-height: 1.5;
}

.cta-banner {
  margin-top: 90px;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(12, 16, 38, 0.95), rgba(67, 56, 202, 0.85));
  border: 1px solid rgba(129, 140, 248, 0.45);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 25px 70px rgba(3, 7, 18, 0.6);
}

.cta-banner h3 {
  margin: 0;
  font-size: 1.4rem;
}

.cta-banner p {
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  text-align: center;
  margin-top: 40px;
  color: #94a3b8;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .labs-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-grid {
    flex-direction: column;
  }

  .timeline {
    border-left: none;
    padding-left: 0;
  }
}
