/* One shared header and footer for every page, including the printed-letter view. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
}
.site-header .site-nav {
  position: static;
  background: #f7f4eef5;
  border-bottom: 1px solid #d8ddcf;
  backdrop-filter: blur(14px);
}
.site-header .nav-inner {
  min-height: 88px;
  height: auto;
  padding-block: 16px;
  gap: 24px;
}
.site-header .brand,
.site-footer .brand {
  font: italic 27px/1.2 var(--serif);
  gap: 10px;
  color: var(--ink);
  white-space: nowrap;
}
.site-header .brand img,
.site-footer .brand img {
  width: 37px;
  height: 37px;
  border-radius: 50%;
}
.site-header .nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 14px;
}
.site-header .nav-links > a {
  padding-block: 10px;
  font-weight: 500;
}
.site-header a[aria-current="page"],
.site-footer a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-color: var(--brass);
  color: var(--ink);
}
.site-header .nav-cta {
  font-size: 14px;
  white-space: nowrap;
  padding: 12px 18px;
  min-height: 46px;
  gap: 16px;
}
.mobile-nav {
  display: none;
  position: relative;
}
.mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid #abb79f;
  border-radius: 6px;
  padding: 9px 14px;
  min-height: 44px;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.menu-mark {
  font: 24px/1 var(--serif);
  transition: rotate 0.2s;
}
.mobile-nav[open] .menu-mark {
  rotate: 45deg;
}
.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 14px;
  background: var(--card);
  box-shadow: 0 20px 50px #263a2929;
  border: 1px solid #d3d9c5;
  border-radius: 12px;
}
.mobile-nav-panel > a {
  display: block;
  padding: 13px 14px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid #e5e7dc;
}
.mobile-nav-panel > a:hover {
  background: #edf0e5;
  border-radius: 5px;
}
.mobile-nav-panel .mobile-download {
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  text-align: center;
  margin-top: 10px;
  border-bottom: 0;
}
.site-footer {
  width: 100%;
  background: #eeeee4;
  border-top: 1px solid #d9dfce;
  padding: 56px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: 40px;
}
.footer-intro > p {
  font: 27px/1.16 var(--serif);
  color: var(--ink);
  margin: 25px 0 15px;
}
.footer-intro > p em {
  color: var(--sage);
}
.footer-intro > span {
  font-size: 12px;
  line-height: 1.7;
  color: var(--body-ink);
}
.site-footer .footer-label {
  font: 600 11px/1.5 var(--sans);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--brass);
  margin: 7px 0 17px;
}
.footer-grid > nav > a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body-ink);
}
.footer-grid > nav > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 23px;
  border-top: 1px solid #d1d8c6;
  margin-top: 36px;
  font-size: 12px;
  color: var(--body-ink);
}
.footer-base > a {
  padding: 6px 0;
}
.footer-base > span {
  padding: 6px 0;
}
.utility-page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 0;
}
.content-page.utility-page main.utility-card {
  width: min(600px, calc(100% - 40px));
  margin: 65px auto;
}
.utility-page .site-footer {
  margin-top: auto;
}
.sample-page .sample-toolbar {
  max-width: 780px;
  width: calc(100% - 32px);
}
.sample-page .site-footer {
  margin-top: 40px;
}
@media (max-width: 1100px) {
  .site-header .brand {
    font-size: 24px;
  }
  .site-header .nav-links {
    gap: 19px;
    font-size: 13px;
  }
  .footer-grid {
    gap: 28px;
  }
  .site-footer .brand {
    font-size: 23px;
  }
}
@media (max-width: 950px) {
  .site-header .nav-links {
    display: none;
  }
  .site-header .nav-cta {
    margin-left: auto;
  }
  .mobile-nav {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
  }
  .footer-grid > nav:last-child {
    grid-column: 2/4;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 25px;
  }
  .footer-grid > nav:last-child .footer-label {
    width: 100%;
    margin-bottom: 0;
  }
  .footer-grid > nav:last-child > a {
    white-space: nowrap;
  }
}
@media (max-width: 600px) {
  .site-header .nav-inner {
    min-height: 77px;
    padding-block: 13px;
    gap: 14px;
  }
  .site-header .brand {
    font-size: 24px;
    gap: 8px;
  }
  .site-header .brand img {
    width: 32px;
    height: 32px;
  }
  .site-header .nav-cta {
    display: none;
  }
  .mobile-nav {
    margin-left: auto;
  }
  .site-header .wrap {
    width: calc(100% - 32px);
  }
  .mobile-nav summary {
    font-size: 13px;
    padding: 8px 12px;
    gap: 10px;
  }
  .site-footer {
    padding-top: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 27px 23px;
  }
  .footer-intro {
    grid-column: 1/-1;
  }
  .footer-intro > p {
    margin: 18px 0 10px;
    font-size: 29px;
  }
  .site-footer .brand {
    font-size: 25px;
  }
  .footer-grid > nav:last-child {
    grid-column: 1/-1;
  }
  .site-footer .footer-label {
    font-size: 10px;
  }
  .footer-grid > nav > a {
    font-size: 14px;
  }
  .footer-base {
    margin-top: 28px;
    justify-content: flex-start;
    gap: 4px 20px;
  }
  .footer-base > span {
    width: 100%;
  }
  .content-page.utility-page main.utility-card {
    margin-block: 40px;
  }
}
@media (max-width: 350px) {
  .site-header .brand {
    font-size: 21px;
  }
  .site-header .brand img {
    width: 29px;
    height: 29px;
  }
  .mobile-nav summary {
    gap: 7px;
    padding-inline: 10px;
  }
}
@media print {
  .site-header,
  .site-footer,
  .skip {
    display: none !important;
  }
}

/* Drawn icons share a stroke and size across pages, independent of system fonts. */
.drawn-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tiny-star .drawn-icon-line {
  width: 26px;
  height: 21px;
}
.closing-star .drawn-icon-line {
  width: 48px;
  height: 32px;
}
.source-follow .drawn-icon {
  vertical-align: -0.1em;
}
