:root {
  --header-height: 40px;
  --font-primary: "Roboto", sans-serif;
  --font-list-item: "Arial", sans-serif;
  --icon-color: black;
  --icon-action-color: black;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.02em;
  background-color: white;
}

main {
  padding-top: var(--header-height);
}

a {
  text-decoration: none;
}

section {
  margin: 0 auto;
  max-width: 1300px;
  padding-left: 41px;
  padding-right: 41px;
  padding-bottom: 10rem;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  text-align: center;
}

section h2 {
  font-size: 110px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0.003em;
  max-width: 13ch;
}

section h3 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.003em;
  line-height: 1.08;
}

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: hsl(239, 10%, 99%);
  color: grey;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  z-index: 1000;
}

.company-name {
  font-family: var(--font-list-item);
  font-weight: 600;
  font-size: 14px;
  color: black;
}

.link-list {
  display: flex;
  margin: 0;
  list-style: none;
  gap: 12px;
}

.list-item a {
  font-family: var(--font-list-item);
  color: inherit;
  display: flex;
  font-size: 12px;
  border-radius: 8px;
  padding: 8px 12px;
  transition: background-color 0.15s ease-in, color 0.15s ease-in;
}

.list-item a:hover {
  background-color: #666;
  color: white;
}

.nav-cta {
  color: inherit;
  text-decoration: none;
}

.features-bg {
  background: #f5f5f7;
}

.hero {
  padding-block: 220px;
}

.hero h1 {
  margin: 0;
  text-align: center;
  font-size: 110px;
}

.hero p {
  margin: 0;
  margin-top: 1rem;
  text-align: center;
  max-width: 32ch;
  font-size: 32px;
  line-height: 1.125;
  font-weight: 600;
}

.hero .cta-links {
  margin-top: 30px;
}

.green {
  color: hsl(124, 64%, 43%);
}

.gradient-orange {
  background: linear-gradient(90deg, #ff9500, #ffd60a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 13px;
}

.cta-links a {
  text-align: center;
  border: solid 1px hsl(210, 100%, 50%);
  padding: 10px 19px;
  min-width: 28px;
  border-radius: 980px;
  transition: all 0.2s ease-in-out;
}

.button-primary {
  color: #fff;
  background-color: #0071e3;
}

.button-secondary {
  color: hsl(210, 100%, 50%);
}

.gallery {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-item {
  text-align: start;
}

.gallery-item h3 {
  margin-bottom: 0;
  margin-top: 20px;
  padding-left: 20px;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.16;
  color: hsl(240, 4%, 20%);
}

.gallery-item p {
  margin-bottom: 0;
  padding-left: 20px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: 0.022em;
  max-width: 34ch;
  color: hsl(240, 4%, 45%);
}

.gallery-image-container {
  height: 330px;
  width: 372px;
  border-radius: 28px;
  overflow: hidden;
}

.gallery-image-container img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.small-cta-container {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cta-section {
  padding-top: 100px;
}

.cta-section h2 {
  font-size: 80px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
  max-width: 20ch;
  margin-bottom: 0;
}

.cta-section p {
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: 0.01em;
  font-weight: 600;
  max-width: 45ch;
  margin-bottom: 30px;
}

.cta-links a {
  width: auto;
}

.footer {
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cta-links {
    flex-direction: column;
    gap: 10px;
  }

  .cta-links a {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 1440px) {
  body {
    font-size: 16px;
  }
  section h2 {
    font-size: 80px;
  }
  section h3 {
    font-size: 36px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero p {
    font-size: 24px;
  }
  .gallery-image-container {
    width: 300px;
    height: 270px;
  }
  .gallery-item h3 {
    font-size: 20px;
  }
  .gallery-item p {
    font-size: 15px;
  }
  .cta-section h2 {
    font-size: 60px;
  }
  .cta-section p {
    font-size: 20px;
  }
}

@media (max-width: 1024px) {
  body {
    font-size: 15px;
  }
  section h2 {
    font-size: 60px;
  }
  section h3 {
    font-size: 28px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero p {
    font-size: 20px;
  }
  .gallery-image-container {
    width: 250px;
    height: 220px;
  }
  .gallery-item h3 {
    font-size: 18px;
  }
  .gallery-item p {
    font-size: 14px;
  }
  .cta-section h2 {
    font-size: 50px;
  }
  .cta-section p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 300px;
  }
  body {
    font-size: 14px;
  }
  section {
    padding-left: 20px;
    padding-right: 20px;
  }
  section h2 {
    font-size: 40px;
  }
  section h3 {
    font-size: 22px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero p {
    font-size: 16px;
  }
  .gallery {
    gap: 1.5rem;
  }
  .gallery-image-container {
    width: 100%;
    max-width: 300px;
    height: 200px;
  }
  .gallery-item h3 {
    font-size: 16px;
  }
  .gallery-item p {
    font-size: 13px;
  }
  .cta-section h2 {
    font-size: 36px;
  }
  .cta-section p {
    font-size: 16px;
  }
}
