/* Inter and Manrope. SIL Open Font License 1.1. License texts: docs/licenses in the repository. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --navy: #0B2540;
  --paper: #F7F4EF;
  --ink: #3D5468;
  --teal: #0B7180;
  --yellow: #F2B705;
  --pale: #D5E3EA;
  --rule: #C5D0D6;
  --aside: #E7EEF2;
  --stripe: #EEF3F6;
}

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

html {
  font-size: 100%;
}

body {
  margin: 0;
  background-color: #D5E0E8;
  background-image:
    linear-gradient(to right, rgba(11, 37, 64, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 37, 64, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

.skip {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

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

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.site-header a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--yellow);
}

.email-button:focus-visible,
.skip:focus-visible {
  outline-color: var(--navy);
}

.frame {
  position: relative;
  max-width: 68rem;
  margin: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--navy);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.frame::before {
  top: 8px;
  left: 8px;
  border-top: 2px solid var(--yellow);
  border-left: 2px solid var(--yellow);
}

.frame::after {
  right: 8px;
  bottom: 8px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
}

.site-header {
  background: var(--navy);
  color: var(--paper);
  padding: 1.6rem 1.25rem 1.25rem;
  border-bottom: 4px solid var(--yellow);
}

.header-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-left: 0.75rem;
  border-left: 6px solid var(--yellow);
  color: var(--paper);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.wordmark:hover,
.wordmark:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.descriptor {
  margin: 0.2rem 0 0;
  max-width: 28rem;
  color: var(--pale);
  font-size: 1rem;
  line-height: 1.45;
}

.primary-nav ul,
.footer-nav ul,
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a,
.footer-nav a,
.crumbs a,
.crumbs .current {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.1rem;
}

.primary-nav a,
.primary-nav a:visited,
.footer-nav a,
.footer-nav a:visited {
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.primary-nav a.current,
.footer-nav a.current {
  font-weight: 700;
  text-decoration-thickness: 3px;
}

.email-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--navy);
  border-left: 6px solid var(--yellow);
}

.email-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  background: var(--yellow);
  color: var(--navy);
  border: 2px solid var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.email-button:visited {
  color: var(--navy);
}

.email-button:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

.email-address {
  margin: 0;
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-main {
  padding: 1.25rem 1.25rem 2.5rem;
}

.site-main:focus {
  outline: 3px solid var(--navy);
  outline-offset: -3px;
}

.crumbs {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.crumbs a,
.crumbs a:visited {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.crumbs .current {
  color: var(--navy);
  font-weight: 700;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
}

.crumbs li + li::before {
  content: "/";
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-right: 0.5rem;
  color: var(--ink);
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  margin: 2rem 0 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
  font-size: 1.5rem;
}

h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.25rem;
}

p,
li {
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1rem;
}

main a,
main a:visited {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

main p a,
main li a {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

main a:hover {
  color: #085866;
}

main .email-button,
main .email-button:visited,
main .email-button:hover {
  color: var(--navy);
}

ol,
ul {
  margin: 0 0 1.15rem;
  padding-left: 1.3rem;
}

li {
  margin: 0.45rem 0;
}

li::marker {
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
}

strong {
  font-weight: 700;
  color: var(--navy);
}

aside {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--aside);
  border-left: 4px solid var(--teal);
}

aside p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.table-wrap {
  max-width: 100%;
  margin: 0 0 1.25rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.45;
}

th,
td {
  padding: 0.75rem 0.8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  overflow-wrap: break-word;
}

thead th {
  background: var(--navy);
  color: var(--paper);
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  border-bottom: 0;
}

tbody th {
  color: var(--navy);
  font-weight: 700;
  border-left: 4px solid var(--yellow);
}

tbody tr:nth-child(even) {
  background: var(--stripe);
}

.site-footer {
  background: var(--navy);
  color: var(--paper);
  padding: 1.5rem 1.25rem 1.75rem;
  border-top: 4px solid var(--yellow);
}

.footer-line {
  max-width: 68ch;
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.reviewed {
  margin: 1rem 0 0;
  color: var(--pale);
  font-size: 1rem;
}

@media (min-width: 800px) {
  .frame {
    margin: 1.25rem auto;
  }

  .site-header,
  .site-main,
  .site-footer {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

@media (max-width: 800px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  html {
    scroll-padding-top: 22rem;
  }

  :focus {
    scroll-margin-top: 22rem;
  }

  .email-button {
    width: 100%;
  }
}
