/* ==========================================================================
   Life Neophyta – Coming soon
   Reference design: Figma frame "COMING SOON" (1728 × 1115)
   ========================================================================== */

:root {
  --color-primary: #0878b6;
  --color-primary-hover: #06659a;
  --color-text: #000;
  --color-muted: rgba(117, 117, 117, 0.48);
  --color-bg: #fff;

  --font-base: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1315px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-media: clamp(14px, 1.5vw, 26px);

  /* Fluid type: 34px on large desktop, scaled down on smaller screens */
  --fs-title: clamp(24px, 16px + 1.05vw, 34px);
  --fs-button: clamp(15px, 12px + 0.42vw, 19px);
  --fs-small: clamp(12px, 10px + 0.3vw, 15px);
}

/* Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg) url("../assets/img/background.jpg") center top / cover no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
p,
figure {
  margin: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

/* Hero
   ========================================================================== */

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(360px, 420fr) minmax(0, 781fr);
  column-gap: clamp(40px, 6.5vw, 113px);
  align-items: stretch;
  align-content: center;
  padding-block: clamp(48px, 9.6vw, 167px) clamp(40px, 3.9vw, 67px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.hero__eyebrow {
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.15;
}

.hero__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__logo {
  width: clamp(220px, 20.66vw, 357px);
}

.hero__logo img {
  width: 100%;
}

.hero__claim {
  max-width: 420px;
  margin-top: clamp(24px, 2.3vw, 40px);
  font-size: var(--fs-title);
  font-weight: 500;
  line-height: 1.15;
}

.hero__partner {
  align-self: flex-start;
  width: clamp(110px, 8.33vw, 144px);
}

.hero__partner img {
  width: 100%;
}

.hero__partner:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

.hero__media {
  align-self: center;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 781 / 773;
  object-fit: cover;
  border-radius: var(--radius-media);
}

/* Button
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 54px;
  margin-top: clamp(28px, 2.9vw, 50px);
  padding: 12px 24px;
  border-radius: 100px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: var(--fs-button);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.button img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.button:hover {
  background-color: var(--color-primary-hover);
}

.button:hover img {
  transform: translate(2px, -2px);
}

.button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Footer
   ========================================================================== */

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 40px;
  padding-bottom: clamp(32px, 2.7vw, 46px);
}

.footer__disclaimer {
  max-width: 1079px;
  font-size: var(--fs-small);
  line-height: 1.4;
  color: var(--color-muted);
}

.footer__eu {
  flex-shrink: 0;
  width: clamp(160px, 12.3vw, 213px);
}

/* Tablet portrait & mobile: single column
   ========================================================================== */

@media (max-width: 899px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
  }

  /* Let content children join the hero flow so the partner logo can sit below the image */
  .hero__content {
    display: contents;
  }

  .hero__main {
    align-items: center;
  }

  .hero__claim {
    max-width: 30ch;
  }

  .hero__media {
    order: 1;
    width: 100%;
    max-width: 600px;
  }

  .hero__partner {
    order: 2;
    align-self: center;
  }

  .footer {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 599px) {
  .hero {
    gap: 32px;
  }

  .hero__logo {
    width: 240px;
  }

  .button {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button img {
    transition: none;
  }
}
