body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #111;
  transition: 0.6s ease;
}

/* DARK MODE */

body.dark {
  background: #111;
  color: #fff;
}

/* NAVBAR */

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  background: inherit;
  box-sizing: border-box;
  z-index: 1000;
}

.logo {
  font-weight: 600;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}

.nav-btn {
  padding: 6px 14px;
  border: 1px solid currentColor;
  border-radius: 4px;
}

/* HERO */

.hero {
  padding: 140px 24px 60px 24px;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 480px;
}

.btn {
  background: #111;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  width: fit-content;
  transition: 0.3s ease;
}

body.dark .btn {
  background: #fff;
  color: #111;
}

/* SERVICES */

.services {
  padding: 50px 24px;
  max-width: 750px;
  margin: auto;
}

.service {
  padding: 20px 0;
}

.service h3 {
  margin-bottom: 8px;
}

.divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
}

body.dark .divider {
  background: rgba(255,255,255,0.2);
}

/* CTA */

.cta {
  padding: 70px 24px;
  max-width: 750px;
  margin: auto;
}

.cta h2 {
  margin-bottom: 12px;
}

.cta p {
  margin-bottom: 20px;
  opacity: 0.8;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 35px 20px;
  font-size: 14px;
  opacity: 0.6;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */

@media (max-width: 768px) {

  .hero {
    padding: 120px 20px 50px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  nav a {
    margin-left: 16px;
    font-size: 13px;
  }

  .services {
    padding: 40px 20px;
  }

  .cta {
    padding: 60px 20px;
  }
}

