/* Shared Airmail page shell. */
.site {
  --page-background: #e4eefa;
  --ink: #14243c;
  --body-ink: #4b6079;
  --muted-ink: #52677f;
  --label-ink: #5b708a;
  --blue: #3b82d9;
  --blue-ink: #276bbe;
  --rule: #dce7f3;
  margin: 0;
  background: var(--page-background);
  color: var(--ink);
  font-family: "Lato", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site *,
.site *::before,
.site *::after {
  box-sizing: border-box;
}

.site :where(h1, h2, h3, p, dl, dd) {
  margin: 0;
}

.site a {
  text-decoration: none;
}

.site a:focus-visible {
  outline: 3px solid var(--blue-ink);
  outline-offset: 5px;
}

.page-width {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 80px;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 24px;
  padding: 12px 20px;
  border-radius: 12px;
  background: white;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
}

.wordmark {
  font-size: 19px;
  font-weight: 900;
  line-height: 24px;
  letter-spacing: 0.14em;
}

.header-download {
  padding: 10px 20px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 8px #2669cd0d;
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.01em;
}

.header-download:hover {
  background: #f5f9ff;
}

.site-footer {
  border-top: 1px solid #cbdced;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 36px;
  color: var(--muted-ink);
  font-size: 14px;
  line-height: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  color: #354d69;
}

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

@media (min-width: 761px) and (max-width: 1199px) {
  .page-width { padding-inline: 40px; }
}

@media (max-width: 760px) {
  .page-width { padding-inline: 24px; }
  .site-header { padding-block: 18px; }
  .header-download { padding: 13px 18px; }
  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-block: 28px;
  }
  .footer-links { gap: 20px; }
}
