/* This layer extends the site's existing blue-and-white header and footer. */
.site-header .sc-header-inner {
  display: grid;
  grid-template-columns: minmax(325px, 1.1fr) minmax(270px, 0.95fr) auto;
  align-items: center;
  gap: 34px;
  padding-block: 18px;
}
.site-header .brand {
  min-width: 0;
  max-width: none;
}
.site-header .brand > span:last-child {
  min-width: 0;
}
.site-header .brand strong {
  font-size: 1.25rem;
}
.site-header .brand small {
  font-size: 0.8125rem;
}
.sc-header-reading {
  min-width: 0;
  padding-left: 23px;
  border-left: 1px solid var(--line);
}
.sc-reading-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 3px 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--blue-dark);
}
.sc-reading-heading:hover {
  color: var(--blue);
  text-decoration: none;
}
.sc-reading-heading > svg {
  flex: 0 0 auto;
  color: var(--blue);
}
.sc-reading-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 400;
  white-space: nowrap;
}
.sc-header-articles {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sc-header-articles li {
  margin: 0;
}
.sc-header-articles button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 0;
  border: 0;
  border-radius: 3px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  font-size: 0.8125rem;
  line-height: 1.5;
  transition: color 150ms ease;
}
.sc-header-articles button:hover {
  color: var(--blue);
}
.sc-header-articles button > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: anywhere;
}
.sc-article-dot {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
}
.sc-article-arrow {
  margin-left: auto;
  padding-inline: 4px;
  color: var(--blue);
  font-size: 1rem;
}
.site-header .sc-header-actions {
  gap: 18px;
  justify-self: end;
  white-space: nowrap;
}
.site-header .sc-header-actions .header-join {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
}
.site-header .sc-header-actions .header-join:hover {
  color: var(--blue);
  background: var(--blue-soft);
  text-decoration: none;
}
.site-header .sc-header-actions .button {
  padding-inline: 20px;
  white-space: nowrap;
  font-size: 0.875rem;
}
.site-footer .sc-footer-grid {
  grid-template-columns: minmax(0, 2.2fr) minmax(120px, 1fr) minmax(140px, 1fr);
  gap: 48px;
}
.site-footer .sc-footer-contact {
  display: grid;
  gap: 4px;
  margin-top: 17px;
  font-size: 0.875rem;
  line-height: 1.8;
  font-style: normal;
}
.sc-footer-contact > div {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
}
.site-footer .sc-footer-contact a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  margin: -5px 0;
  color: var(--ink);
  font-size: inherit;
  transition: color 0.2s ease-out;
}
.site-footer .sc-footer-contact a:hover {
  color: var(--blue);
}
.sc-footer-contact > div > span:last-child {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.site-footer .sc-footer-sample {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.75rem;
}
.site-footer .sc-footer-grid > div:not(:first-child) a,
.site-footer .sc-footer-grid > div:not(:first-child) button {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin-top: 0;
  transition: color 0.2s ease-out;
}
.site-footer .sc-footer-grid > div:not(:first-child) a:hover,
.site-footer .sc-footer-grid > div:not(:first-child) button:hover {
  color: var(--blue);
}
.site-footer .sc-footer-bottom {
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 14px;
}
.site-footer .sc-footer-filing {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-footer-filing > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
}
.sc-footer-filing > a:hover {
  color: var(--blue);
}
@media (max-width: 1150px) {
  .site-header .sc-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 24px;
    padding-block: 20px 10px;
  }
  .site-header .brand strong {
    font-size: 1.125rem;
  }
  .sc-header-reading {
    grid-row: 2;
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 10px 0 0;
  }
  .sc-reading-heading {
    min-height: 34px;
    width: fit-content;
    gap: 8px;
  }
  .sc-reading-more {
    margin-left: 12px;
  }
  .sc-header-articles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 20px;
  }
  .sc-header-articles button {
    min-height: 44px;
  }
  .sc-article-arrow {
    display: none;
  }
  .site-footer .sc-footer-grid {
    gap: 32px;
  }
}
@media (max-width: 700px) {
  .site-header .sc-header-inner {
    gap: 14px 12px;
    padding-block: 16px 8px;
    align-items: start;
  }
  .site-header .brand {
    gap: 10px;
    align-items: flex-start;
    max-width: none;
  }
  .site-header .brand strong {
    font-size: 1rem;
    line-height: 1.5;
  }
  .site-header .brand strong span {
    display: block;
  }
  .site-header .brand small {
    font-size: 0.6875rem;
    margin-top: 5px;
  }
  .site-header .sc-header-actions {
    gap: 0;
    margin-top: 2px;
  }
  .site-header .sc-header-actions .header-join {
    display: none;
  }
  .site-header .sc-header-actions .button {
    min-height: 44px;
    padding: 8px 9px;
    font-size: 0.75rem;
    max-width: none;
  }
  .sc-header-reading {
    padding-top: 8px;
  }
  .sc-reading-heading {
    min-height: 40px;
    font-size: 0.9375rem;
  }
  .sc-reading-more {
    font-size: 0.75rem;
  }
  .sc-header-articles {
    display: block;
  }
  .sc-header-articles button {
    min-height: 44px;
    font-size: 0.8125rem;
    padding-block: 8px;
  }
  .sc-article-arrow {
    display: block;
  }
  .site-footer .sc-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .sc-footer-company {
    grid-column: 1 / -1;
  }
  .site-footer .sc-footer-grid strong {
    font-size: 1rem;
  }
  .site-footer .sc-footer-contact {
    font-size: 0.8125rem;
  }
  .site-footer .sc-footer-grid > div:not(:first-child) a,
  .site-footer .sc-footer-grid > div:not(:first-child) button {
    min-height: 44px;
  }
  .site-footer .sc-footer-bottom {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .site-footer .sc-footer-bottom > span {
    margin-top: 0;
  }
  .site-footer .sc-footer-filing {
    flex-wrap: wrap;
    gap: 0 9px;
  }
  .sc-footer-filing > a {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc-header-articles button {
    transition: none;
  }
}
.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 24px 0;
  padding: 20px;
  background: #f4f8ff;
  border-radius: 10px;
}
.contact-details dt {
  font-weight: 700;
  color: #183253;
}
.contact-details dd {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
