:root {
  --black: #1a1a1a;
  --offwhite: #EDECE8;
  --yellow: #FFD138;

  --font-heading: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

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

body {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-slide {
  position: absolute;
  inset: -2px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(-1px);
  opacity: 0;
}

.bg-slide.active {
  opacity: 1;
}

h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--offwhite);
  margin: 0;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--offwhite);
  margin: 0;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  color: var(--offwhite);
  margin: 0;
}

p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--offwhite);
  margin: 0;
}

small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--offwhite);
}

a {
  color: var(--offwhite);
  text-decoration: none;
}

a:hover {
  color: var(--yellow);
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 713px;
  width: 100%;
  padding: 40px 24px 120px;
  gap: 64px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.illustration {
  width: 160px;
  max-width: 60%;
  height: auto;
  opacity: 0.4;
  margin-bottom: 32px;
}

.logo {
  width: 335px;
  max-width: 100%;
  height: auto;
  padding-top: 24px;
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(16px, 5.3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--offwhite);
  margin: 0 0 32px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  background-color: var(--yellow);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 24px 8px 32px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.cta:hover {
  opacity: 0.85;
  color: var(--black);
}

.cta__icon {
  flex-shrink: 0;
}

.emails {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--offwhite);
}

.email:hover {
  color: var(--yellow);
}

.email__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(237, 236, 232, 0.08);
  color: inherit;
}

.email small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: inherit;
}

@media (max-width: 600px) {
  .container {
    gap: 56px;
  }

  .illustration {
    width: 120px;
    margin-bottom: 32px;
  }

  .logo {
    width: 224px;
    margin-bottom: 24px;
  }

  .hero__title {
    margin-bottom: 16px;
  }

  .cta {
    height: 40px;
  }

  .emails {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
