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

@font-face {
  font-family: "Antwerp Glyphs";
  src: url("/fonts/Antwerp-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mark OT";
  src: url("/fonts/MarkOT-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mark OT";
  src: url("/fonts/MarkOT-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #373737;
  --muted: #777777;
  --rule: #d8d8d8;
  --serif: "Antwerp", Georgia, serif;
  --sans: "Mark OT", Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 0.96rem + 0.42vw, 1.42rem);
  font-weight: 300;
  line-height: 1.46;
}

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.glyph-arrow {
  font-family: "Antwerp Glyphs", "Antwerp", Georgia, serif;
  font-weight: 300;
  font-style: normal;
  line-height: 1;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

.site-header {
  width: 90%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 0;
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.67rem;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-header a {
  text-decoration: none;
}

.site-header a:hover {
  text-decoration: underline;
}

.back-link {
  justify-self: start;
  color: var(--muted);
}

.brand {
  justify-self: center;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand span {
  font-weight: 400;
}

.header-label {
  justify-self: end;
  color: var(--muted);
}

.guidance-shell {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 7.5rem) 0 clamp(4rem, 9vw, 9rem);
  display: grid;
  grid-template-columns: 150px minmax(0, 760px);
  gap: clamp(2.5rem, 7vw, 7rem);
  justify-content: center;
}

.document-rail {
  align-self: start;
  position: sticky;
  top: 2rem;
  border-top: 1px solid var(--ink);
  padding-top: 0.8rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rail-kicker,
.rail-index {
  margin: 0;
}

.rail-index {
  margin-top: 0.08rem;
  color: var(--muted);
}

.format-links {
  margin-top: 2rem;
  display: grid;
  gap: 0.35rem;
}

.format-links a {
  width: fit-content;
}

.guidance-document {
  min-width: 0;
}

.guidance-document h1 {
  max-width: 12ch;
  margin: -0.1em 0 clamp(2rem, 4vw, 3.6rem);
  font-family: var(--serif);
  font-size: clamp(3.35rem, 8vw, 7.6rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.guidance-document h2 {
  margin: clamp(3.6rem, 7vw, 6.5rem) 0 1.25rem;
  padding-top: 0.82rem;
  border-top: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.guidance-document p {
  max-width: 38em;
  margin: 0 0 1.18em;
}

.guidance-document .lede {
  max-width: 29em;
  margin-bottom: 1.35em;
  font-size: clamp(1.48rem, 1.15rem + 0.8vw, 2.05rem);
  line-height: 1.28;
}

.guidance-document ul,
.guidance-document ol {
  max-width: 36em;
  margin: 1.25rem 0 1.7rem;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.guidance-document li {
  position: relative;
  margin: 0;
  padding: 0.62rem 0 0.62rem 2.25rem;
  border-top: 1px solid var(--rule);
}

.guidance-document li:last-child {
  border-bottom: 1px solid var(--rule);
}

.guidance-document ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.guidance-document ol li {
  counter-increment: item;
}

.guidance-document ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.88rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.guidance-footer {
  margin-top: clamp(4rem, 9vw, 8rem);
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.035em;
}

.guidance-footer p {
  margin: 0;
}

.guidance-footer a {
  text-align: right;
}

@media (min-width: 992px) {
  .site-header {
    padding: 80px 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    justify-self: end;
  }

  .header-label {
    display: none;
  }

  .guidance-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .document-rail {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .rail-index {
    text-align: right;
  }

  .format-links {
    grid-column: 1 / -1;
    margin-top: 1.15rem;
    display: flex;
    gap: 1.25rem;
  }

  .guidance-document h1 {
    font-size: clamp(3.25rem, 17vw, 5.5rem);
  }

  .guidance-footer {
    flex-direction: column;
  }

  .guidance-footer a {
    text-align: left;
  }
}

@media print {
  .site-header,
  .document-rail,
  .guidance-footer {
    display: none;
  }

  .guidance-shell {
    width: 100%;
    display: block;
    padding: 0;
  }

  .guidance-document h1 {
    font-size: 52pt;
  }
}
