:root {
  --ink: #fff;
  --paper: #111;
  --muted: #a3a3a3;
  --body: #d4d4d4;
  --rule: #2a2a2a;
  --soft: #1a1a1a;
  --marker: #ffe14d;
  --wrap: 760px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: underline;
  font-style: italic;
}

h1,
h2 {
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  color: #000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e4e4e4;
}

.topbar a {
  color: #000;
}

.topbar .btn,
.topbar .btn:hover {
  color: #fff;
}

.topbar .wrap {
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.wordmark {
  font-size: 20px;
  font-style: italic;
  text-decoration: none;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: auto;
  margin-left: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  font-style: normal;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid #000;
  border-radius: 999px;
  flex-shrink: 0;
}

.btn:hover {
  color: #fff;
}

article {
  padding: 72px 0 96px;
}

.kicker {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lede {
  margin-top: 22px;
  color: var(--body);
  font-size: 21px;
}

h2,
h3,
h4 {
  scroll-margin-top: 84px;
}

h2 {
  font-size: 32px;
  line-height: 1.15;
  margin: 48px 0 14px;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 36px 0 12px;
}

h4 {
  font-size: 20px;
  line-height: 1.25;
  margin: 28px 0 10px;
}

.prose p + p {
  margin-top: 18px;
}

.prose a {
  color: var(--ink);
}

.byline {
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

.prose ul,
.prose ol {
  margin: 14px 0 0;
  padding-left: 1.25em;
  color: var(--body);
}

.prose li {
  margin-top: 8px;
}

.prose li p {
  margin-top: 8px;
}

.prose .label {
  margin-top: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose u {
  text-decoration: none;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-style: normal;
  font-size: 0.88em;
  background: #1c1c1c;
  padding: 0.05em 0.35em;
  border-radius: 4px;
}

.prose figure {
  margin: 16px 0;
}

.prose img {
  height: auto;
  border-radius: 8px;
}

.prose .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin: 18px 0 8px;
}

.table-scroll {
  overflow-x: auto;
  margin: 16px 0 8px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: var(--body);
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--rule);
  padding: 10px 16px 10px 0;
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--ink);
  font-weight: 400;
}

.links {
  margin-top: 28px;
}

.hit {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.hit .logo {
  width: auto;
  max-width: 140px;
  height: 28px;
  margin-top: 22px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hit .logo.sq {
  height: 42px;
}

.hit .logo.wide {
  height: 18px;
}

.hit .logo.tall {
  height: 36px;
}

.hit h2 {
  font-size: 26px;
  margin: 8px 0 10px;
}

.hit h2 a {
  font-style: normal;
  text-decoration: none;
}

.hit h2 a:hover {
  text-decoration: underline;
}

.hit p {
  color: var(--body);
  font-size: 17px;
}

.resource {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.resource h2 {
  font-size: 26px;
  margin: 8px 0 10px;
}

.resource h2 a {
  font-style: normal;
  text-decoration: none;
}

.resource h2 a:hover {
  text-decoration: underline;
}

.resource p {
  color: var(--body);
  font-size: 17px;
}

.resource .kicker {
  margin-bottom: 0;
}

.hit .kicker {
  margin-bottom: 0;
}

footer.site {
  padding: 28px 0 40px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--muted);
}

footer.site .wrap {
  max-width: 1120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .hit {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  article {
    padding-top: 48px;
  }

  .wrap {
    padding: 0 20px;
  }

  .prose .cols {
    grid-template-columns: 1fr;
  }
}
