.home-redesign {
  width: 100%;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 96px 20px 68px;
  background: linear-gradient(180deg, #fff 0%, #fbfbfd 100%);
}

.home-orb {
  position: absolute;
  width: min(520px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.1), rgba(191, 90, 242, 0.06) 42%, transparent 70%);
  transform: translate(18vw, -14vh);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.home-kicker,
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.home-kicker {
  padding: 8px 14px;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.05);
}

.home-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 113, 227, 0.12);
}

.home-hero h1 {
  margin: 0 auto 24px;
  color: var(--ink);
  font-size: clamp(52px, 8vw, 108px);
  line-height: 1;
  letter-spacing: 0;
}

.home-lead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

.home-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 70px auto 0;
}

.home-metrics article,
.home-feature-grid article {
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.045);
}

.home-metrics article {
  padding: 20px 16px;
}

.home-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.1;
}

.home-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.home-section,
.home-demo-section,
.home-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.home-section-head {
  max-width: 980px;
  margin: 0 auto 42px;
  text-align: center;
}

.home-section-head h2,
.home-cta h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

#features .home-section-head h2 {
  white-space: nowrap;
  font-size: clamp(32px, 4.2vw, 52px);
}

.home-section-head p:last-child,
.home-cta p {
  color: var(--muted);
  font-size: 18px;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-feature-grid article {
  padding: 28px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  font-size: 24px;
}

.feature-icon.violet { background: #f1edff; }
.feature-icon.blue { background: #eaf6ff; }
.feature-icon.green { background: #eaf8f0; }
.feature-icon.amber { background: #fff4df; }
.feature-icon.rose { background: #fff0f5; }
.feature-icon.indigo { background: #eef2ff; }

.home-feature-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.home-feature-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.home-demo-section {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
}

.home-demo-section.is-soft {
  background: #f5f5f7;
}

.demo-frame {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.demo-frame iframe {
  display: block;
  width: 100%;
  height: min(720px, 78vh);
  min-height: 620px;
  border: 0;
  background: #fff;
}

.home-cta {
  text-align: center;
}

.home-cta .button {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .home-metrics,
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  #features .home-section-head h2 {
    white-space: normal;
  }

  .demo-frame iframe {
    height: 760px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .home-section,
  .home-demo-section,
  .home-cta {
    width: min(100% - 24px, 1180px);
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .home-demo-section {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .demo-frame iframe {
    min-height: 760px;
  }
}
