:root {
  --nav-color: #b4b4b4;
  --text-color: #0e1941;
  --accent-color: #0e1941;
  --button-text: #ffffff;
  --page-width: 1280px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background: #ffffff;
}

.hero {
  min-height: 1189px;
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: var(--page-width);
  padding: 44px clamp(24px, 4vw, 72px) 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--text-color);
  background: transparent;
  color: var(--text-color);
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-toggle:hover {
  transform: scale(1.02);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text-color);
}

.brand-mark {
  width: clamp(220px, 25vw, 350px);
  height: auto;
  display: inline-flex;
  object-fit: contain;
}


.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  color: var(--nav-color);
  font-size: 18px;
  font-weight: 400;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.nav-links a:hover {
  transform: scale(1.02);
  color: var(--text-color);
}

.nav-links .is-active {
  color: var(--text-color);
  font-weight: 500;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 20px;
}

.hero-image {
  width: 100%;
  height: clamp(220px, 28vw, 360px);
  border-radius: 4px;
  margin: 0;
  overflow: hidden;
}

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

.hero-text {
  max-width: 760px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
  margin-bottom: 12px;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: var(--text-color);
  opacity: 0.6;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 16px;
}

.primary-button {
  border: none;
  background: var(--accent-color);
  color: var(--button-text);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(14, 25, 65, 0.15);
  background: #52c6d8;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-top: auto;
  font-size: 14px;
}

.footer a {
  color: var(--text-color);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.footer a:hover {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-mark {
    width: clamp(200px, 50vw, 320px);
  }

  .nav-toggle {
    display: inline-flex;
    align-self: flex-end;
    margin-top: -40px;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    display: none;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .hero-content {
    margin-top: 8px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    align-items: flex-start;
  }
}

.legal {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.legal h1 {
  font-size: 28px;
  margin: 0;
}

.legal p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .page {
    padding-top: 32px;
    gap: 36px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: clamp(180px, 70vw, 280px);
  }

  .nav-toggle {
    margin-top: -40px;
  }

  .hero-content {
    margin-top: 4px;
  }

  .hero-text {
    font-size: 20px;
  }
}
