.hero {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 72px;
  background:
    radial-gradient(1100px 520px at 76% 14%, rgba(37, 99, 235, .22), transparent 62%),
    radial-gradient(900px 460px at 6% 90%, rgba(37, 99, 235, .14), transparent 64%),
    linear-gradient(180deg, #060d1b 0%, #04080f 72%);
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 300px;
  background-image: radial-gradient(circle, rgba(96, 165, 250, .38) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(130% 105% at 50% 128%, #000 6%, transparent 68%);
  mask-image: radial-gradient(130% 105% at 50% 128%, #000 6%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 46px;
  max-width: 340px;
}

.hero-sub {
  margin-top: 22px;
  max-width: 400px;
  font-size: 16px;
  color: var(--text-muted);
}

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

.hero-media {
  perspective: 1000px;
}

.hero-media img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, .18),
    0 28px 70px rgba(2, 8, 23, .75),
    0 0 90px rgba(37, 99, 235, .22);
  transform: rotateY(-18deg) rotateX(3deg);
  transform-origin: left center;
}

.cs-stories {
  padding-block: 80px;
  scroll-margin-top: 76px;
}

.cs-eyebrow {
  display: block;
  text-align: center;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.cs-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  row-gap: 0;
  background: var(--light-bg-alt);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cs-card:hover {
  border-color: var(--cs-tint);
  box-shadow: 0 16px 34px rgba(11, 18, 32, .09);
}

.cs-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding-inline: 22px;
  background: var(--light-bg);
}

.cs-card-logo img {
  height: 40px;
  width: 100%;
  object-fit: contain;
  filter: brightness(0);
}

.cs-card-bar {
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--cs-tint), color-mix(in srgb, var(--cs-tint) 22%, transparent));
}

.cs-card-body {
  display: contents;
}

.cs-card h3 {
  font-size: 17px;
  line-height: 1.35;
  padding: 24px 22px 0;
  margin-bottom: 12px;
}

.cs-card-blurb {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--light-muted);
  padding-inline: 22px;
}

.cs-quote {
  position: relative;
  margin-top: 22px;
  padding-left: 46px;
  padding-right: 22px;
}

.cs-quote-mark {
  position: absolute;
  left: 22px;
  top: -6px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.cs-quote p {
  font-size: 13px;
  line-height: 1.65;
  font-style: italic;
  color: var(--light-text);
}

.cs-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

.cs-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
  margin-top: 22px;
  padding: 0 22px 26px;
}

.cs-card-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 20px;
  padding-inline: 4px;
  text-align: center;
  border-top: 1px solid var(--light-border);
}

.cs-card-stats li + li {
  border-left: 1px solid var(--light-border);
}

.cs-card-stat-value {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.cs-card-stat-label {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--light-muted);
}

.cs-card--reelz { --cs-tint: #e11d48; }
.cs-card--court { --cs-tint: #b91c1c; }
.cs-card--amplify { --cs-tint: #1d4ed8; }
.cs-card--knekt { --cs-tint: #7c3aed; }

.cs-cta {
  padding-block: 88px;
}

.cs-cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 40px;
  align-items: center;
  padding: 52px 48px;
  text-align: left;
}

.cs-cta-text h2 {
  max-width: 385px;
  margin-bottom: 12px;
}

.cs-cta-text p {
  max-width: 380px;
  margin-inline: 0;
  margin-bottom: 26px;
  font-size: 15px;
}

.cs-cta-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cs-cta-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-inline: 10px;
  text-align: center;
}

.cs-cta-stats li + li {
  border-left: 1px solid var(--border);
}

.cs-cta-stat-icon {
  display: inline-flex;
  color: #8ab4ff;
  margin-bottom: 4px;
}

.cs-cta-stat-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}

.cs-cta-stat-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.cs-cta-stat-label {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 38px;
  }

  .cs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-cta-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 44px 32px;
  }

  .cs-cta-text h2,
  .cs-cta-text p {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-media img {
    transform: none;
  }

  .hero h1,
  .hero-sub {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .cs-stories,
  .cs-cta {
    padding-block: 56px;
  }

  .cs-cta-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }

  .cs-cta-stats li:nth-child(odd) {
    border-left: none;
  }
}

@media (max-width: 560px) {
  .hero-actions .btn {
    width: 100%;
  }

  .cs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
