:root {
  --bg: #ffffff;
  --text: #050505;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 34px 48px 18px;
}

.page-header {
  width: 100%;
}

.hero,
.page-footer {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: inline-block;
  width: clamp(50px, 6.4vw, 74px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 510px) minmax(460px, 1fr);
  align-items: start;
  align-self: center;
  gap: clamp(24px, 2.8vw, 50px);
  padding: clamp(16px, 3vh, 42px) 0 8px;
}

.hero-copy {
  animation: rise-in 650ms ease-out both;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-copy p {
  margin: 0;
  max-width: 33ch;
  font-family: "Outfit", "Poppins", sans-serif;
  font-size: clamp(1.02rem, 1.3vw, 1.45rem);
  line-height: 1.32;
  letter-spacing: 0.01em;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  animation: rise-in 820ms ease-out 120ms both;
}

.hero-visual img {
  width: min(100%, 560px);
  height: auto;
  mix-blend-mode: normal;
  filter: none;
  opacity: 1;
}

.page-footer {
  text-align: center;
  padding-top: 10px;
  animation: rise-in 820ms ease-out 220ms both;
}

.page-footer p {
  margin: 0;
  font-family: "Outfit", "Poppins", sans-serif;
  font-size: clamp(0.82rem, 1vw, 1.05rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.page-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .page {
    padding: 28px 30px 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
    text-align: center;
    padding-top: 20px;
  }

  .hero-copy p {
    margin: 0 auto;
  }

  .hero-visual {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 24px 18px 20px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 13vw, 3.3rem);
    margin-bottom: 14px;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.35;
  }

  .hero-visual img {
    width: min(100%, 500px);
  }

  .page-footer p {
    font-size: 0.8rem;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-visual,
  .page-footer {
    animation: none;
  }
}
