:root {
  color-scheme: dark;
  --ink: #0d1511;
  --surface: #17221c;
  --paper: #f2f0e7;
  --acid: #dceaa4;
  --mist: #a5b0aa;
  --blue: #86a3bd;
  --orange: #ff9538;
  --line: rgba(242, 240, 231, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(rgba(134, 163, 189, 0.04) 1px, transparent 1px),
    var(--ink);
  background-size: 100% 72px;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--acid);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--paper);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
main,
.site-footer__inner {
  width: min(100% - 40px, 880px);
  margin-inline: auto;
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand span span {
  color: var(--acid);
}

nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

nav a {
  color: var(--mist);
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--paper);
}

main {
  padding-block: 64px 96px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.intro img {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  font-size: clamp(42px, 8vw, 72px);
}

h2 {
  margin-top: 52px;
  font-size: clamp(28px, 5vw, 38px);
}

h3 {
  margin: 32px 0 8px;
  color: var(--acid);
  font-size: 17px;
}

.lede {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--mist);
  font-size: 19px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--acid);
  border-radius: 6px;
  color: var(--ink);
  background: var(--acid);
  font-weight: 700;
  text-decoration: none;
}

.action--secondary {
  color: var(--paper);
  background: transparent;
  border-color: var(--line);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: var(--line);
  border: 1px solid var(--line);
}

.link-grid a {
  min-height: 168px;
  padding: 28px;
  color: var(--paper);
  background: var(--surface);
  text-decoration: none;
}

.link-grid a:first-child {
  border-top: 4px solid var(--blue);
}

.link-grid a:last-child {
  border-top: 4px solid var(--acid);
}

.link-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.link-grid span,
.meta,
.document p,
.document li {
  color: var(--mist);
}

.document {
  max-width: 720px;
}

.document ul {
  padding-left: 1.25rem;
}

.contact-band {
  margin-top: 56px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-band strong {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 44px;
  color: var(--mist);
  font-size: 13px;
}

.site-footer a {
  color: var(--mist);
}

@media (max-width: 620px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro img {
    grid-row: 1;
    width: 84px;
    height: 84px;
    border-radius: 17px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}
