:root {
  --bg: #f7f0e7;
  --text: #1f1f1f;
  --accent-dark: #486b55;
  --accent-light: #8eb196;
  --border: #b8b0a6;
  --button-hover: rgba(72, 107, 85, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1.75rem, 6vw, 6rem);
  gap: clamp(2rem, 10vw, 8rem);
}

.hero-content {
  flex: 0 1 32rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-intro {
  margin: 0;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 400;
  color: rgba(31, 31, 31, 0.75);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.75rem, 5.2vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-tagline {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  max-width: 30ch;
}

.hero-tagline strong {
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.8rem;
  border: 1.5px solid var(--border);
  border-radius: 0.65rem;
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color 200ms ease, border-color 200ms ease,
    transform 200ms ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  background-color: var(--button-hover);
  border-color: var(--accent-dark);
  outline: none;
  transform: translateY(-1px);
}

.hero-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(72, 107, 85, 0.25);
}

.hero-visual {
  position: relative;
  flex: 1;
  min-height: clamp(18rem, 40vw, 32rem);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  transform: translate(50%, -20%);
}

.hero-visual::before {
  width: clamp(22rem, 45vw, 32rem);
  height: clamp(22rem, 45vw, 32rem);
  right: 0;
  bottom: -20%;
  background: linear-gradient(160deg, var(--accent-light), #6a9176);
  box-shadow: -32px 26px 68px rgba(72, 107, 85, 0.28);
}

.hero-visual::after {
  width: clamp(14rem, 30vw, 22rem);
  height: clamp(14rem, 30vw, 22rem);
  right: -15%;
  top: -5%;
  background-color: var(--accent-dark);
}

@media (max-width: 1024px) {
  .hero {
    align-items: flex-start;
  }

  .hero-visual::before {
    bottom: -10%;
  }
}

@media (max-width: 880px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: clamp(2rem, 6vw, 3rem);
    padding-top: clamp(2.75rem, 8vw, 4rem);
    padding-bottom: clamp(3.5rem, 12vw, 5rem);
  }

  .hero-content {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .hero-tagline {
    max-width: none;
  }

  .hero-visual {
    width: 100%;
    min-height: clamp(14rem, 45vw, 20rem);
  }

  .hero-visual::before,
  .hero-visual::after {
    transform: translate(25%, -15%);
  }

  .hero-visual::before {
    right: auto;
    left: 55%;
  }

  .hero-visual::after {
    right: auto;
    left: 72%;
  }
}

@media (max-width: 560px) {
  .hero {
    display: block;
    padding-inline: 1.5rem;
    padding-block: 2.5rem 3.25rem;
    min-height: 100dvh;
  }

  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.25rem);
  }

  .hero-intro {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .hero-tagline {
    font-size: clamp(1.1rem, 4.6vw, 1.35rem);
  }

  .hero-content {
    min-height: calc(100dvh - 5.75rem);
  }

  .hero-copy {
    margin-top: auto;
    margin-bottom: auto;
  }

  .hero-actions {
    margin-top: auto;
  }

  .hero-visual {
    display: none;
  }
}
