/* Wubin Vaedi S.A. — landing page
   Breakpoints mirror the Figma frames:
   mobile (iPhone 17, 402w) → tablet ≥768px (iPad Pro 11", 834w) → desktop ≥1025px (1440w) */

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

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  background: #ffffff;
  color: #000000;
  position: relative;
  /* page height = hero offset + hero height (126px + 193.28vw / 1.0233) */
  min-height: calc(126px + 188.88vw);
}

/* ---- Hero illustration (sits behind the text) ---- */

.hero {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  aspect-ratio: 1048 / 1024;
  /* iPhone frame: container 777x759 at x -321, y 126 in a 402w frame */
  left: -79.85vw;
  top: 126px;
  width: 193.28vw;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Content ---- */

.masthead,
.intro {
  position: relative;
  z-index: 1;
  padding-left: 32px;
  padding-right: 32px;
}

.masthead {
  padding-top: 36px;
}

.logo {
  display: block;
  width: 103px;
  height: auto;
}

.intro {
  margin-top: 24px;
}

.tagline {
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  max-width: 328px;
}

.categories {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: italic;
  font-size: 12px;
  color: #686868;
}

/* ---- Tablet (iPad Pro 11" frame: 834w) ---- */

@media (min-width: 768px) {
  body {
    /* hero offset 170px + 125.66vw / 1.0233 */
    min-height: calc(170px + 122.8vw);
  }

  .hero {
    left: -25.66vw;
    top: 170px;
    width: 125.66vw;
  }

  .masthead,
  .intro {
    padding-left: 80px;
    padding-right: 80px;
  }

  .masthead {
    padding-top: 64px;
  }

  .logo {
    width: 206px;
  }

  .intro {
    margin-top: 78px;
  }

  .tagline {
    font-size: 20px;
    max-width: 360px;
  }

  .categories {
    margin-top: 28px;
    font-size: 16px;
  }
}

/* ---- Desktop (1440w frame) ---- */

@media (min-width: 1025px) {
  body {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero {
    /* right-anchored, full viewport height, bleeding off the right edge */
    left: auto;
    top: 0;
    right: 0;
    width: auto;
    height: 100vh;
    height: 100dvh;
  }

  .intro {
    margin-top: 78px;
  }

  .tagline {
    max-width: none;
    white-space: nowrap;
  }

  .categories {
    margin-top: 12px;
    flex-direction: row;
    gap: 47px;
  }
}
