.home-page {
  overflow: clip;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #faf9f4;
  overflow: hidden;
}

.hero__paper {
  position: absolute;
  inset: 0;
  background: url("/assets/img/hero/hero_background.webp") center/cover no-repeat;
  opacity: 0.75;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 168px 0 126px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.96;
  font-weight: 700;
}

.hero p {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 2.1vw, 1.5rem);
}

.hero__decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero__decor--top-left {
  width: min(40vw, 560px);
  top: 20px;
  left: -18px;
}

.hero__decor--top-right {
  width: min(41vw, 570px);
  top: 4px;
  right: -18px;
}

.hero__decor--bottom-left {
  width: min(49vw, 700px);
  left: -56px;
  bottom: -16px;
}

.hero__decor--bottom-right {
  width: min(45vw, 620px);
  right: -20px;
  bottom: -14px;
}

.hero__decor--bulb {
  width: min(16vw, 205px);
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__good {
  position: relative;
  display: inline-block;
  padding-inline: 0.05em;
  z-index: 0;
  transform-origin: center bottom;
  transition: color 0.18s ease;
}

.hero__good::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: 0.08em;
  height: 0.22em;
  background: var(--yellow);
  border-radius: 999px;
  z-index: -1;
}

.hero__title:hover .hero__good,
.hero__good:hover {
  color: var(--orange);
  animation: good-cheeky 0.55s ease-in-out;
}

@keyframes good-cheeky {
  0%   { transform: translateY(0) rotate(0deg) scale(1); }
  18%  { transform: translateY(-3px) rotate(-4deg) scale(1.05); }
  36%  { transform: translateY(-1px) rotate(3deg) scale(1.08); }
  54%  { transform: translateY(-2px) rotate(-2deg) scale(1.06); }
  72%  { transform: translateY(0) rotate(2deg) scale(1.03); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title:hover .hero__good,
  .hero__good:hover {
    animation: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 620px;
  }

  .hero__content {
    padding: 130px 0 96px;
  }

  .hero__decor--top-left {
    width: 300px;
    top: 30px;
    left: -12px;
  }

  .hero__decor--top-right {
    width: 310px;
    top: 22px;
    right: -12px;
  }

  .hero__decor--bottom-left {
    width: 380px;
    left: -34px;
    bottom: -10px;
  }

  .hero__decor--bottom-right {
    width: 350px;
    right: -14px;
    bottom: -8px;
  }

  .hero__decor--bulb {
    width: 126px;
    top: 70px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 560px;
  }

  .hero__content {
    padding: 126px 0 68px;
  }

  .hero__decor--top-left {
    width: 210px;
    top: 36px;
    left: -8px;
    opacity: 0.95;
  }

  .hero__decor--top-right {
    width: 210px;
    top: 34px;
    right: -8px;
    opacity: 0.95;
  }

  .hero__decor--bottom-left {
    width: 260px;
    left: -18px;
    bottom: -6px;
    opacity: 0.98;
  }

  .hero__decor--bottom-right {
    width: 250px;
    right: -8px;
    bottom: -4px;
    opacity: 0.98;
  }

  .hero__decor--bulb {
    width: 84px;
    top: 68px;
  }
}

/* =========================
   Section 2
========================= */
.good-stuff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  text-align: center;
  padding: 12px 8px;
}

.feature-card img {
  width: 100px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.98;
}

/* =========================
   Section 3
========================= */
.exhausted__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: center;
}

.exhausted__image-wrap {
  display: flex;
  justify-content: center;
}

.exhausted__image {
  width: min(100%, 500px);
}

.exhausted__content h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  font-weight: 700;
}

.exhausted__content p {
  margin: 0 0 28px;
  max-width: 460px;
  font-size: 1.125rem;
}

.emoji-inline {
  width: 58px;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-4px);
}

/* =========================
   Section 4
========================= */
.raise-hand__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.raise-hand__content h2 {
  margin: 0 0 24px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1;
}

.raise-hand__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.raise-hand__list li {
  background: #4047ae;
  color: var(--white);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.raise-hand__copy p {
  margin: 0 0 14px;
  max-width: 620px;
  font-size: 1.06rem;
}

.raise-hand__image-wrap img {
  width: min(100%, 460px);
  margin-inline: auto;
}

/* =========================
   Mid strip
========================= */
.mid-strip {
  background: var(--blue);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.mid-strip p {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 700;
}

.mid-strip span {
  font-size: 1rem;
  opacity: 0.9;
}

/* =========================
   Rodeo
========================= */
.rodeo__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.rodeo__image-wrap img {
  width: min(100%, 360px);
  margin-inline: auto;
}

.rodeo__content h2 {
  margin: 0 0 22px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1;
}

.rodeo__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.rodeo__list li {
  position: relative;
  padding-left: 34px;
  font-size: 1.05rem;
  font-weight: 500;
}

.rodeo__list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.company-card {
  background: rgba(255, 255, 255, 0.26);
  border: 2px solid rgba(61, 69, 170, 0.12);
  border-radius: 24px;
  padding: 18px 16px;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.company-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(18, 18, 18, 0.08);
  background: rgba(255, 255, 255, 0.34);
}

.company-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--blue);
}

.company-card__icon svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.company-card__name {
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.1;
  margin-bottom: 4px;
}

.company-card__type {
  font-size: 0.92rem;
  opacity: 0.72;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .company-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .company-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-card {
    min-height: 122px;
  }
}

/* =========================
   Easy section
========================= */
.easy {
  padding-bottom: 18px;
}

.easy .section-heading {
  margin-bottom: 24px;
}

.easy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 0;
}

.easy__grid img {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}

/* =========================
   Final CTA
========================= */
.final-cta {
  overflow: hidden;
  padding-top: 0;
  margin-top: -4px;
}

.final-cta__inner {
  position: relative;
  text-align: center;
  padding: 6px 0 72px;
  min-height: 395px;
}

.final-cta__border {
  width: min(100%, 250px);
  margin: 0 auto 20px;
}

.final-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta h2 em {
  font-style: italic;
}

.final-cta p {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.final-cta p img {
  display: inline-block;
  width: 74px;
  vertical-align: middle;
  margin: 0;
  position: relative;
  top: 1px;
}

.final-cta .btn {
  min-width: 140px;
  position: relative;
  z-index: 2;
}

/* decorative shape combo */
.final-cta__shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.final-cta__shape--combo {
  width: 250px;
  left: -72px;
  bottom: -86px;
}

@media (max-width: 820px) {
  .final-cta__inner {
    min-height: 350px;
    padding: 8px 0 58px;
  }

  .final-cta__border {
    width: min(100%, 220px);
    margin-bottom: 18px;
  }

  .final-cta__shape--combo {
    width: 190px;
    left: -56px;
    bottom: -62px;
  }
}

@media (max-width: 640px) {
  .final-cta__inner {
    min-height: 320px;
    padding: 10px 0 54px;
  }

  .final-cta__border {
    width: min(100%, 210px);
  }

  .final-cta h2 {
    max-width: 320px;
  }

  .final-cta p {
    gap: 8px;
  }

  .final-cta p img {
    width: 70px;
  }

  .final-cta__shape--combo {
    width: 150px;
    left: -46px;
    bottom: -44px;
  }
}

/* =========================
   Responsive
========================= */
@media (max-width: 1100px) {
  .hero {
    min-height: 680px;
  }

  .good-stuff__grid,
  .easy__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exhausted__inner,
  .raise-hand__inner,
  .rodeo__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .exhausted__content p,
  .raise-hand__copy p {
    margin-inline: auto;
  }

  .rodeo__content .btn {
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 620px;
  }

  .hero__content {
    padding: 120px 0 90px;
  }

  .hero__decor--top-left {
    width: 260px;
    top: 42px;
    left: -18px;
  }

  .hero__decor--top-right {
    width: 270px;
    top: 34px;
    right: -18px;
  }

  .hero__decor--bottom-left {
    width: 320px;
    left: -28px;
    bottom: -6px;
  }

  .hero__decor--bottom-right {
    width: 300px;
    right: -16px;
    bottom: -4px;
  }

  .hero__decor--bulb {
    width: 84px;
    top: 96px;
  }

  .final-cta__inner {
    min-height: 350px;
    padding: 8px 0 58px;
  }

  .final-cta__border {
    width: min(100%, 220px);
    margin-bottom: 18px;
  }

  .final-cta__shape--combo {
    width: 190px;
    left: -56px;
    bottom: -62px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 560px;
  }

  .hero__content {
    padding: 120px 0 64px;
  }

  .hero__decor--top-left {
    width: 180px;
    top: 46px;
    left: -12px;
    opacity: 0.95;
  }

  .hero__decor--top-right {
    width: 180px;
    top: 42px;
    right: -12px;
    opacity: 0.95;
  }

  .hero__decor--bottom-left {
    width: 220px;
    left: -18px;
    bottom: -4px;
    opacity: 0.98;
  }

  .hero__decor--bottom-right {
    width: 220px;
    right: -10px;
    bottom: -2px;
    opacity: 0.98;
  }

  .hero__decor--bulb {
    width: 58px;
    top: 88px;
  }

  .good-stuff__grid,
  .easy__grid {
    grid-template-columns: 1fr;
  }

  .feature-card h3 {
    font-size: 1.45rem;
  }

  .raise-hand__list li {
    border-radius: 20px;
    text-align: left;
  }

  .final-cta__inner {
    min-height: 320px;
    padding: 10px 0 54px;
  }

  .final-cta__border {
    width: min(100%, 210px);
  }

  .final-cta h2 {
    max-width: 320px;
  }

  .final-cta p {
    gap: 8px;
  }

  .final-cta p img {
    width: 70px;
  }

  .final-cta__shape--combo {
    width: 150px;
    left: -46px;
    bottom: -44px;
  }
}