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

/* Remove default list styles */
ul,
ol {
  list-style: none;
}

/* Remove default link styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Remove default image borders and vertical alignment */
img {
  max-width: 100%;
  display: block;
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

input {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Navbar */

.navbar {
  padding: 2.5625rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Nav Links and cta button hidden on mobile */

.nav-links {
  display: none;
}

.btn-cta {
  display: none;
}

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: absolute;
  top: 6.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: white;
  border-radius: 0.25rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 90;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu.visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

/* ── Overlay ── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
  z-index: 80;
}

.overlay.open {
  display: block;
}

/* .attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
} */
