:root {
  --color-navy: #133e69;
  --color-green: #a2cd3b;
  --color-muted: #7894a8;
  --color-white: #ffffff;
  --color-footer-border: #e3e8ef;
  --font-main: "Manrope", system-ui, sans-serif;
  --page-pad-x: clamp(48px, 8.62vw, 124px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body, h1, p {
  margin: 0;
}

body {
  background: var(--color-white);
  font-family: var(--font-main);
  font-feature-settings: "locl" 0;
  color: var(--color-navy);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--page-pad-x);
}

.site-footer {
  min-height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--page-pad-x);
  border-top: 1px solid var(--color-footer-border);
}

.site-footer__text {
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  color: var(--color-muted);
  text-align: center;
}

.hero {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1078px;
}

.hero__intro {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
}

.hero__title {
  font-size: clamp(48px, 4.45vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-navy);
}

.hero__text {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.hero__text p + p {
  margin-top: 1.5em;
}

.hero__text strong {
  font-weight: 800;
}

.hero__aside {
  flex: 0 0 396px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.hero__tagline {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-green);
}

@media (max-width: 1199px) {
  :root {
    --page-pad-x: 48px;
  }

  .site-main {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    max-width: 720px;
    gap: 40px;
  }

  .hero__aside {
    flex: none;
    order: -1;
    align-items: flex-start;
  }

  .hero__intro {
    padding: 0;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__text {
    font-size: 18px;
  }

  .hero__tagline {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  :root {
    --page-pad-x: 20px;
  }

  .site-main {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__text {
    font-size: 16px;
  }

  .hero__tagline {
    font-size: 20px;
  }
}
