/* IBM Plex Sans, SIL Open Font License 1.1 (fonts/OFL.txt). */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

:root {
  --stage: #e9e9eb;
  --paper: #f7f7f8;
  --ink: #1d1d20;
  --quiet: #5d5e65;
  --accent: #c85a00;
  --line: #b9bac0;
  color-scheme: light;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--stage);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--stage);
}

a {
  color: inherit;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

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

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

.skip {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 1;
  padding: 12px;
  background: var(--paper);
}

.skip:focus {
  top: 16px;
}

.shell {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 48px;
}

h1,
h2 {
  margin: 0;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  max-width: 14ch;
  margin-bottom: 32px;
  font-size: clamp(40px, 5.4vw, 76px);
}

h2 {
  font-size: 24px;
}

p {
  max-width: 64ch;
  margin: 0 0 24px;
}

strong {
  font-weight: 600;
}

.intro {
  padding-block: 88px 64px;
}

.intro > p {
  max-width: 56ch;
}

.lead {
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.text-section {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 48px;
  padding-block: 40px;
  border-top: 1px solid var(--line);
}

.text-section p:last-child,
.intro p:last-child {
  margin-bottom: 0;
}

.quiet {
  color: var(--quiet);
  font-size: 16px;
}

.contact {
  padding-bottom: 64px;
}

.contact a {
  font-weight: 500;
}

footer.shell {
  padding-block: 32px 40px;
  color: var(--quiet);
  font-size: 14px;
}

.footer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-details p {
  margin: 0;
  overflow-wrap: anywhere;
}

.font-credit {
  margin: 16px 0 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --stage: #1e1f22;
    --paper: #26272b;
    --ink: #e8e8ea;
    --quiet: #9c9da3;
    --accent: #f27a1a;
    --line: #3a3b40;
    color-scheme: dark;
  }

  body {
    background: var(--stage);
  }
}

@media (max-width: 720px) {
  .shell {
    padding-inline: 24px;
  }

  .intro {
    padding-block: 64px 48px;
  }

  .text-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 32px;
  }

  .contact {
    padding-bottom: 40px;
  }

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