/* Pureco Idea NKFI landing
   Tokens from Figma: Pureco Green #7cbb4d, Pureco Grey #2a363b
   Font: Source Sans 3 (Myriad Pro web substitute — Regular + Semibold) */

:root {
  --pureco-green: #7cbb4d;
  --pureco-grey: #2a363b;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--pureco-grey);
  background: #ffffff;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Stealth links → pureco.com: no underline, no color change, no hover cue */
.go-pureco {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.go-pureco:hover,
.go-pureco:focus,
.go-pureco:active,
.go-pureco:visited {
  color: inherit;
  text-decoration: none;
}

.go-pureco:focus {
  outline: none;
}

.go-pureco:focus-visible {
  outline: none;
}

.page__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #ffffff;
  background-image: url("assets/sky.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.header,
.main,
.footer,
.scene {
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  justify-content: flex-end;
  padding: 50px 100px 0;
}

.logo-purecoidea {
  display: block;
  width: 221px;
  height: auto;
  max-width: 100%;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 100px 280px;
}

.logo-bay {
  display: block;
  flex-shrink: 0;
  width: 260px;
  height: auto;
  max-width: 100%;
}

.content {
  flex: 1 1 auto;
  max-width: 700px;
  min-width: 0;
}

.title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--pureco-green);
  margin-bottom: 50px;
}

.body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--pureco-grey);
}

.body p + p {
  margin-top: 16px;
}

.body strong {
  font-weight: 600;
}

/* Bottom scenery: grass + bee/flower + partner logos */
.scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 280px;
  pointer-events: none;
  z-index: 1;
}

.grass {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 240px;
  background-image: url("assets/grass.png");
  background-size: auto 100%;
  background-position: bottom center;
  background-repeat: repeat-x;
}

.illustration-link {
  position: absolute;
  left: max(0px, calc(50% - 720px));
  bottom: 0;
  width: min(70vw, 1008px);
  z-index: 2;
  pointer-events: auto;
  display: block;
  line-height: 0;
}

.illustration {
  display: block;
  width: 100%;
  height: auto;
}

.footer {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 0 0 12px 0;
  pointer-events: none;
}

.logo-kim {
  display: block;
  width: 213px;
  height: auto;
  margin-bottom: 35px;
}

.logo-nkfih {
  display: block;
  width: 313px;
  height: auto;
}

/* —— Mobile (Figma: 390px) —— */
@media (max-width: 900px) {
  .header {
    padding: 30px 20px 0;
  }

  .logo-purecoidea {
    width: 180px;
  }

  .main {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 40px 20px 480px;
    max-width: none;
  }

  .logo-bay {
    width: 220px;
  }

  .content {
    max-width: none;
    width: 100%;
  }

  .title {
    margin-bottom: 50px;
  }

  .scene {
    height: 400px;
  }

  .grass {
    height: 220px;
  }

  .illustration-link {
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(100vw, 900px);
    max-width: none;
  }

  .footer {
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    height: 400px;
    padding: 0 12px 0;
  }

  /* KIM a méhes illusztráció fölött, ne lógjon rá */
  .logo-kim {
    position: absolute;
    left: 50%;
    top: 8px;
    bottom: auto;
    transform: translateX(-50%);
    width: 200px;
    margin: 0;
  }

  .logo-nkfih {
    width: min(280px, 90vw);
    align-self: flex-end;
    margin-bottom: 0;
    position: relative;
    z-index: 4;
  }
}

@media (max-width: 399px) {
  .illustration-link {
    width: min(100vw, 390px);
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 28px;
  }

  .body {
    font-size: 16px;
  }

  .logo-purecoidea {
    width: 160px;
  }

  .logo-kim {
    top: 0;
    width: 180px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .main {
    padding-bottom: 220px;
  }

  .title {
    margin-bottom: 28px;
  }

  .scene {
    height: 220px;
  }

  .illustration-link {
    width: min(55vw, 800px);
  }
}
