:root {
  --bg-dark: #1e1e1e;
  --white: #ffffff;
  --black: #070707;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Public Sans', sans-serif;
  background: var(--white);
  color: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ---------- Hero ---------- */

.hero {
  display: flex;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero__media {
  flex: 1 1 50%;
  height: 100%;
  min-height: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  flex: 1 1 50%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 140px 140px;
  gap: 40px;
  overflow-y: auto;
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--white);
  border-radius: 32px;
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero__pill:hover {
  background: var(--white);
  color: var(--black);
}

.hero__intro {
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero__intro h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 48px;
  line-height: 1.05;
}

.hero__intro p {
  font-family: 'Public Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  max-width: 440px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero__content {
    padding: 56px 64px;
  }

  .hero__intro h1 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero__media {
    flex: 1 1 40%;
  }

  .hero__content {
    flex: 1 1 60%;
    padding: 24px;
    gap: 20px;
  }

  .hero__nav {
    gap: 12px;
  }

  .hero__pill {
    padding: 10px 18px;
    font-size: 15px;
  }

  .hero__intro h1 {
    font-size: 34px;
  }

  .hero__intro p {
    font-size: 16px;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .hero__intro h1 {
    font-size: 28px;
  }
}
