/* ===== Layout — page shell: header, nav, section headings, footer. ===== */

.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1.1px;
  line-height: 1;
}

.logo-mark {
  width: 29px;
  height: 32px;
  color: var(--green);
}

.logo .domain {
  color: #899280;
  font-weight: 450;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}

.nav>a:not(.nav-cta) {
  color: var(--muted);
}

.nav>a:hover {
  color: var(--green);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #c7d0bf;
  border-radius: 6px;
  padding: 9px 15px;
  font-weight: 600;
  transition: background .2s;
}

.nav-cta:hover {
  background: #e9eddf;
}

.section {
  padding-top: 74px;
}

.section-label {
  font: 10px var(--mono);
  letter-spacing: 1.6px;
  color: #758269;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-label:before {
  content: "";
  display: block;
  height: 1px;
  width: 22px;
  background: #849477;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

h2 {
  font-size: 29px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.8px;
}

.section-description {
  color: var(--muted);
  font-size: 13px;
  margin-top: 9px;
}

.section-aside {
  font-size: 11px;
  color: #78836d;
  padding-bottom: 4px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 31px 0;
  margin-top: 43px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand .logo {
  font-size: 17px;
}

.footer-note {
  color: #7a8370;
  font-size: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 21px;
  font: 10px var(--mono);
  color: #69775e;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width:760px) {
  .site-header {
    height: 77px;
  }
  .logo {
    font-size: 21px;
  }
  .nav {
    gap: 18px;
  }
  .nav .desktop-link {
    display: none;
  }
  .nav-cta {
    font-size: 11px;
    padding: 8px 11px;
  }
  .section {
    padding-top: 46px;
  }
  h2 {
    font-size: 25px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 22px;
  }
  .section-aside {
    display: none;
  }
  footer {
    margin-top: 29px;
    padding: 25px 0;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-brand {
    gap: 12px;
  }
  .footer-links {
    gap: 20px;
  }
}

@media (max-width:380px) {
  .footer-brand {
    flex-wrap: wrap;
  }
}
