:root {
  --indigo: #1F2340;
  --cerulean: #3E7BFF;
  --lime: #A5FF7C;
  --graphite: #555C73;
  --slate: #EBEEF5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--slate);
  color: var(--graphite);
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: white;
  margin-top: 0;
}

.hero {
  min-height: 100vh;
  padding: 80px clamp(24px, 6vw, 120px);
  background: linear-gradient(135deg, var(--indigo) 0%, #2B3B65 45%, var(--cerulean) 100%);
  color: rgba(255,255,255,0.85);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero__content .lede {
  max-width: 560px;
  font-size: 1.1rem;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--lime);
  margin-bottom: 12px;
}

.cta-group {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--lime);
  color: var(--indigo);
  box-shadow: 0 10px 30px rgba(165,255,124,0.35);
}

.btn.ghost {
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero__card {
  background: rgba(31,35,64,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(8px);
  color: white;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.node {
  width: 100%;
  padding-top: 100%;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(62,123,255,0.4), rgba(165,255,124,0.6));
  position: relative;
}

.metric-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.metric-value {
  font-size: 2.2rem;
  margin: 8px 0 0;
  color: white;
}

.section {
  padding: 80px clamp(24px, 6vw, 120px);
  background: white;
}

.section.services {
  background: white;
}

.section__header h2 {
  color: var(--indigo);
}

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

.card {
  background: var(--slate);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(31,35,64,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  color: var(--indigo);
}

.card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--cerulean);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.callout {
  background: linear-gradient(135deg, var(--indigo), #2b3b65);
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.callout .btn {
  background: var(--lime);
  color: var(--indigo);
}

.footer {
  padding: 40px clamp(24px, 6vw, 120px);
  background: var(--indigo);
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--lime);
  text-decoration: none;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 60px;
  }

  .hero__card {
    order: -1;
  }
}
