body {
  margin: 0;
  padding: 0;
  font-family: 'PP Mori', sans-serif;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6, p {
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3rem); }
h3 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h4 { font-size: clamp(1.5rem, 3vw, 2rem); }
h5 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }

p {
  font-size: 1.25rem;
  letter-spacing: -0.025rem;
  line-height: 1.2;
}

span {
  font-size: 1.15rem;
}

.italic {
  font-style: italic;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

a {
  position: relative;
  color: inherit;
  text-decoration: none;
  padding-bottom: 0.25rem;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0.125rem;
  width: 0;
  background-color: #1467fa;
  transition: width 0.3s ease;
}

a:hover::after,
a:focus::after {
  width: 100%;
}

a.btn-pill::after,
a.btn-pill-dark::after {
  content: none;
}

nav {
  width: 100%;
  padding: 1.25rem 0;
  background: #fff;
  position: relative;
  z-index: 1000;
}

nav a {
  color: #000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.nav-links ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-cta {
  margin-left: 1.5rem;
}

.nav-container,
main {
  padding: 0 2.5rem !important;
}

.brand {
  font-size: 1.75rem;
  font-weight: bold;
  vertical-align: middle;
}

a.brand::after {
  content: none;
}

.brand-logo {
  width: 2.5rem;
  height: auto;
  vertical-align: bottom;
  object-fit: contain;
}

.btn-pill,
.btn-pill-dark {
  display: inline-block;
  width: fit-content;
  padding: 0.8rem 1.75rem;
  color: #fff;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-pill {
  background-color: #1467fa;
}

.btn-pill:hover,
.btn-pill:focus {
  background-color: #000;
}

.btn-pill-dark {
  background-color: #000;
}

.btn-pill-dark:hover,
.btn-pill-dark:focus {
  background-color: #1467fa;
}

hr {
  margin-bottom: 1rem;
  height: 0.6px;
  background-color: #000;
  border: none;
}

.headline {
  max-width: 55rem;
  margin: 2.5rem 0 0.5rem;
}

.hero-description {
  max-width: 40rem;
  margin: 6rem 0 0 auto;
}

.section {
  padding: 1.5rem 0;
}

.section-content {
  padding: 2.5rem 0;
}

#cta .section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#cta .section-content a {
  width: 30%;
  padding: .8rem 0;
  text-align: center;
}

.section-content-split {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
}

.left-side {
  flex: 1 1 70%;
  min-width: 280px;
}

.right-side {
  flex: 1 1 30%;
  min-width: 280px;
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
}

.footer-socials {
  margin-bottom: 0.75rem;
}

.footer-socials a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.25rem;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-socials a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  color: #000;
}

.fade-in {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-container,
  main {
    padding: 0 1rem;
  }

  .headline {
    margin: 1rem 0 0.5rem;
  }

  .hero-description {
    margin: 3rem 0 0;
  }

  .section-content-split {
    flex-direction: column;
  }

  .left-side,
  .right-side {
    flex: 1 1 100%;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 2.5rem;
    top: 1.25rem;
    z-index: 1001;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 2.5rem;
  }

  .nav-menu.open {
    max-height: 500px;
    opacity: 1;
    padding: 1.5rem 2.5rem;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .mobile-cta {
    display: inline-block;
    margin-top: 1rem;
  }
  .btn-pill,
  .btn-pill-dark {
    display: block;
    width: auto !important;
    text-align: center;
  }
  #cta .section-content {
    flex-direction: column;
    align-items: flex-start;
  }

  #cta .section-content a {
    width: 100% !important;
  }
}