/* Homepage sections. Values from live-site computed styles (see DESIGN.md). */

/* ---------- Hero ---------- */

.s-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
  padding: 123px 0 40px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg .blob {
  position: absolute;
  filter: blur(100px);
}

.hero-bg .blob-blue {
  left: calc(50% - 547px);
  top: -374px;
  width: 630px;
  height: 884px;
  background: linear-gradient(90deg, rgba(74, 137, 255, 0.42) 0%, rgba(99, 154, 255, 0.36) 100%);
}

.hero-bg .blob-pink {
  left: calc(50% - 232px);
  top: -374px;
  width: 735px;
  height: 884px;
  background: rgba(247, 92, 203, 0.32);
}

.hero-bg .blob-white {
  left: calc(50% - 400px);
  top: -442px;
  width: 800px;
  height: 720px;
  border-radius: 100%;
  background: #fff;
  opacity: 0.85;
}

.hero-bg .hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  top: 125px;
  height: 392px;
  background: linear-gradient(rgba(244, 248, 253, 0) 68%, rgb(244, 248, 253) 100%);
}

.s-hero .container {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 3px 20px;
  font-size: 16px;
  color: var(--ink);
  box-shadow: rgba(24, 29, 38, 0.06) 0 2px 10px 0;
}

.hero-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
}

.s-hero h1 {
  max-width: 790px;
  margin: 24px auto 0;
}

.hero-sub {
  margin: 32px auto 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-video-wrap {
  position: relative;
  max-width: 620px;
  margin: 37px auto 0;
}

.hero-video {
  position: relative;
  aspect-ratio: 620 / 336;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}

.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-note {
  position: absolute;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}

.hero-note .arr {
  position: absolute;
}

.note-left {
  right: calc(100% + 115px);
  top: 115px;
  transform: rotate(-8deg);
}

.note-left .arr-left {
  top: calc(100% + 8px);
  left: 40%;
  transform: rotate(15deg);
}

.note-right {
  left: calc(100% + 105px);
  top: 65px;
  transform: rotate(-6deg);
}

.note-right .arr-right {
  bottom: calc(100% + 10px);
  right: 55%;
  transform: scaleX(-1) rotate(18deg);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 29px;
}

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--body);
}

.hero-quote {
  max-width: 610px;
  margin: 31px auto 0;
}

.hero-quote blockquote {
  margin: 0;
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
}

.hero-quote .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin: 10px auto 0;
}

.hero-quote figcaption {
  margin-top: 8px;
  font-size: 16px;
  color: var(--ink);
}

@media (max-width: 809px) {
  .s-hero {
    padding-top: 105px;
  }

  .s-hero h1 {
    max-width: 345px;
    font-size: 38px;
    line-height: 1.1;
    margin-top: 18px;
  }

  .hero-badge {
    font-size: 14px;
    padding: 8px 16px;
  }

  .hero-sub {
    font-size: 22px;
    line-height: 35px;
    max-width: 300px;
    margin: 26px auto 0;
  }

  .hero-quote blockquote {
    font-size: 14px;
    font-weight: 500;
  }

  .hero-quote figcaption {
    font-size: 14px;
  }

  .hero-video-wrap {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-video {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
  }

  .hero-video iframe {
    max-width: none;
    width: 178%;
    left: -39%;
  }

  .hero-note {
    display: none;
  }
}

/* ---------- Final CTA band ---------- */

.s-ctaband {
  background: var(--bg-soft);
  padding: 40px 0 60px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: 28px;
  padding: 88px 40px 96px;
  text-align: center;
}

.cta-bg,
.cta-card .cta-bg .blob {
  position: absolute;
  pointer-events: none;
}

.cta-bg {
  inset: 0;
}

.cta-bg .blob {
  filter: blur(100px);
}

.cta-bg .b1 {
  left: 0;
  top: -218px;
  width: 674px;
  height: 1184px;
  background: linear-gradient(90deg, rgba(74, 137, 255, 0.4) 0%, rgba(99, 154, 255, 0.34) 100%);
}

.cta-bg .b2 {
  left: 315px;
  top: -218px;
  width: 786px;
  height: 1184px;
  background: rgba(247, 92, 203, 0.28);
}

.cta-bg .b3 {
  left: 321px;
  top: -23px;
  width: 481px;
  height: 481px;
  background: rgba(135, 84, 255, 0.14);
}

.cta-bg .b4 {
  left: -22px;
  top: 82px;
  width: 306px;
  height: 306px;
  background: rgba(50, 209, 132, 0.16);
}

.cta-bg .b5 {
  right: -40px;
  top: 81px;
  width: 274px;
  height: 274px;
  background: rgba(242, 49, 245, 0.18);
}

.cta-card h2 {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.cta-sub {
  position: relative;
  margin: 28px auto 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.cta-card .btn {
  position: relative;
  margin-top: 28px;
}

.cursor-chip {
  position: absolute;
  z-index: 1;
}

.cursor-chip span {
  display: inline-block;
  border-radius: 15px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.chip-charles {
  left: 165px;
  bottom: 68px;
}

.chip-charles span {
  background: var(--purple);
}

.chip-charles .pointer {
  position: absolute;
  left: calc(100% + 4px);
  bottom: calc(100% - 2px);
  transform: rotate(90deg);
}

.chip-you {
  right: 220px;
  top: 225px;
}

.chip-you span {
  background: var(--pink);
}

.chip-you .pointer {
  position: absolute;
  right: calc(100% + 2px);
  bottom: calc(100% - 4px);
  transform: scaleX(-1);
}

.cta-card .label-short {
  display: none;
}

@media (max-width: 809px) {
  .s-ctaband {
    padding: 20px 0 40px;
  }

  .s-ctaband .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cta-card {
    padding: 48px 20px 48px;
    border-radius: 20px;
  }

  .cta-sub {
    font-size: 22px;
    line-height: 35.2px;
    margin-top: 26px;
  }

  .cta-card .btn {
    margin-top: 20px;
  }

  .cursor-chip {
    display: none;
  }

  .cta-card .label-full {
    display: none;
  }

  .cta-card .label-short {
    display: inline;
  }
}
