.home-page > .header {
  border-bottom-color: #e5e5e5;
  background: var(--surface);
  box-shadow: none;
  font-family: Manrope, system-ui, sans-serif;
}

.hero.hero-cover {
  display: block;
  margin: 0;
  padding-block: 64px 72px;
  border-radius: 0;
  background: var(--surface);
  font-family: Manrope, system-ui, sans-serif;
}

.hero-cover .hero-layout {
  display: grid;
  width: min(1140px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.055fr);
  align-items: center;
  gap: 64px;
}

.hero-cover .hero-copy {
  max-width: 520px;
  padding: 0;
}

.hero-cover h1 {
  font-size: clamp(43px, 4.45vw, 64px);
  font-weight: 800;
  line-height: 1.075;
  letter-spacing: -.049em;
  text-wrap: initial;
}

.hero-cover .hero-copy p {
  max-width: 410px;
  margin-top: 24px;
  color: #626262;
  font-size: 18px;
  line-height: 1.55;
}

.hero-cover .hero-actions {
  gap: 10px 24px;
  margin-top: 32px;
}

.hero-cover .hero-actions a {
  min-height: 48px;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.home-page .hero-cover .button-primary[data-referral] {
  padding: 0 20px;
  background: var(--yellow);
  color: var(--ink);
}

.home-page .hero-cover .button-primary[data-referral]:hover {
  background: var(--yellow-hover);
}

.hero-cover .hero-photo {
  width: 100%;
  height: clamp(350px, 32vw, 442px);
  min-height: 0;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 16px;
  background: #f4f4f4;
}

.hero-cover .hero-photo img {
  object-position: 82% 56%;
}

@keyframes hero-copy-enter {
  from { opacity: .75; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-photo-enter {
  from { transform: scale(1.02); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-cover .hero-copy {
    animation: hero-copy-enter .5s ease-out both;
  }

  .hero-cover .hero-photo img {
    animation: hero-photo-enter .5s ease-out both;
  }
}

@media (max-width: 1000px) {
  .hero-cover .hero-layout { gap: 32px; }
  .hero-cover .hero-actions { gap: 8px 16px; }
  .hero-cover .hero-actions a { font-size: 14px; }
  .home-page .hero-cover .button-primary[data-referral] { padding-inline: 13px; }
}

@media (max-width: 760px) {
  .hero-cover .hero-layout { width: calc(100% - 32px); }
}

@media (max-width: 700px) {
  .hero.hero-cover { padding-block: 32px 44px; }
  .hero-cover .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-cover h1 { font-size: clamp(32px, 10.2vw, 47px); }
  .hero-cover .hero-copy p { margin-top: 16px; font-size: 16px; line-height: 1.5; }
  .hero-cover .hero-actions { margin-top: 20px; }
  .hero-cover .hero-photo { height: auto; aspect-ratio: 4 / 3; }
  .hero-cover .hero-photo img { object-position: 83% 56%; }
}
