.hero {
  position: relative;
  min-height: calc(100svh - 83px);
  overflow: visible;
  background: #fff;
}

.hero::before {
  display: none;
}

.hero__glow {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 33%;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(91, 128, 218, 0.12);
  opacity: 0.65;
  transform: rotate(33deg);
}

.hero__glow::before,
.hero__glow::after {
  position: absolute;
  inset: 18%;
  border: inherit;
  content: "";
}

.hero__glow::after {
  inset: 34%;
}

.hero__visual {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  overflow: visible;
  pointer-events: none;
  transform: none;
}

.hero__visual::after {
  position: absolute;
  inset: 0;
  background: none;
  content: "";
}

.hero__visual img {
  position: absolute;
  top: 0;
  right: -20px;
  left: auto;
  width: auto;
  height: 100%;
  max-width: none;
  transform: scale(0.85);
  transform-origin: top right;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0, 0, 0, 0.82) 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 88%, rgba(0, 0, 0, 0.82) 93%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 83px);
  padding: 46px 0 38px;
}

.hero__content {
  width: min(640px, 47%);
  transform: translateY(-100px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 11px 15px;
  border: 1px solid #e2e8f3;
  border-radius: 999px;
  color: #60708b;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 26px rgba(29, 52, 93, 0.04);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.hero__eyebrow i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blue);
}

.hero h1 {
  max-width: 630px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 4.25vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero__lead {
  max-width: 540px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero.is-intro-prepared .hero__eyebrow,
.hero.is-intro-prepared h1 span,
.hero.is-intro-prepared .hero__lead,
.hero.is-intro-prepared .hero__buttons,
.hero.is-intro-prepared .hero__visual,
.hero.is-intro-prepared .hero__glow {
  opacity: 0;
}

.hero.is-intro-prepared.is-intro-visible .hero__eyebrow {
  animation: hero-copy-in 720ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

.hero.is-intro-prepared.is-intro-visible h1 span {
  animation: hero-title-in 880ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero.is-intro-prepared.is-intro-visible h1 span:nth-child(1) {
  animation-delay: 190ms;
}

.hero.is-intro-prepared.is-intro-visible h1 span:nth-child(2) {
  animation-delay: 280ms;
}

.hero.is-intro-prepared.is-intro-visible h1 span:nth-child(3) {
  animation-delay: 370ms;
}

.hero.is-intro-prepared.is-intro-visible .hero__lead {
  animation: hero-copy-in 760ms cubic-bezier(0.16, 1, 0.3, 1) 490ms both;
}

.hero.is-intro-prepared.is-intro-visible .hero__buttons {
  animation: hero-actions-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 610ms both;
}

.hero.is-intro-prepared.is-intro-visible .hero__visual {
  animation: hero-visual-in 1280ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.hero.is-intro-prepared.is-intro-visible .hero__glow {
  animation: hero-glow-in 1400ms ease-out 80ms both;
}

.hero.is-intro-complete .hero__eyebrow,
.hero.is-intro-complete h1 span,
.hero.is-intro-complete .hero__lead,
.hero.is-intro-complete .hero__buttons,
.hero.is-intro-complete .hero__visual {
  opacity: 1;
  animation: none;
  filter: none;
}

.hero.is-intro-complete .hero__glow {
  opacity: 0.65;
  animation: none;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, 42px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-actions-in {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translate3d(0, 30px, 0) scale(0.98);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-visual-in {
  from {
    opacity: 0;
    filter: blur(11px);
    transform: translate3d(54px, 18px, 0) scale(0.955);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-glow-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.65;
  }
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #0864ff, #0649df);
  box-shadow: 0 14px 28px rgba(6, 80, 232, 0.22);
}

.button--primary:hover {
  box-shadow: 0 18px 34px rgba(6, 80, 232, 0.3);
}

.button--secondary {
  border-color: #d9e1ee;
  color: #17243c;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(23, 48, 91, 0.05);
}

.button--secondary svg {
  color: var(--blue);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 24px;
    display: none;
    width: 230px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid #e0e6f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(19, 43, 84, 0.14);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 11px 12px;
    border-radius: 8px;
  }

  .main-nav a:hover {
    background: #f2f6ff;
  }

  .main-nav a::after {
    display: none;
  }

  .hero__content {
    width: 54%;
  }

  .hero h1 {
    font-size: clamp(40px, 5vw, 56px);
  }

  .hero__visual {
    left: 0;
    right: 0;
    width: 100%;
  }

  .hero::before {
    left: 46%;
  }

}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .button--header {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero::before,
  .hero__glow {
    display: none;
  }

  .hero__inner {
    min-height: auto;
    padding: 46px 0 0;
  }

  .hero__content {
    width: 100%;
    transform: none;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(40px, 9.3vw, 64px);
  }

  .hero__lead {
    max-width: 600px;
  }

  .hero__visual {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: clamp(340px, 65vw, 560px);
    margin-top: 26px;
    transform: none;
  }

  .hero__visual::after {
    background: linear-gradient(180deg, #fff 0%, transparent 22%);
  }

  .hero__visual img {
    position: static;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(0.85);
    transform-origin: top center;
  }

}

@media (max-width: 580px) {
  .header-socials {
    gap: 6px;
  }

  .social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .social-link img {
    width: 22px;
    height: 22px;
  }

  .brand__mark {
    width: 34px;
    height: 36px;
  }

  .brand__copy strong {
    font-size: 16px;
  }

  .brand__copy small {
    font-size: 8px;
  }

  .hero__inner {
    padding-top: 34px;
  }

  .hero__eyebrow {
    max-width: 100%;
    gap: 8px;
    margin-bottom: 20px;
    padding: 9px 11px;
    font-size: 8px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 1.03;
  }

  .hero h1 br {
    display: none;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 14px;
  }

  .hero__buttons {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .hero__visual {
    height: 330px;
    margin-top: 20px;
  }

  .hero__visual img {
    object-position: 52% center;
  }

}

