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

:root {
  color-scheme: light;
  --background: #f4f7f9;
  --ink: #2b3034;
  /* A little darker than the suggested secondary tone for readable small text. */
  --secondary: #626c75;
  --hairline: #dce2e6;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a[href] { transition: color 160ms ease, opacity 160ms ease; }
a[href]:hover { color: var(--ink); opacity: .7; }
a:focus-visible { outline: 2px solid var(--secondary); outline-offset: 6px; }
::selection { color: var(--ink); background: var(--hairline); }

.page-width { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header { min-height: 76px; border-bottom: 1px solid var(--hairline); }
.site-header a[href] { transition: color 160ms ease; }
.site-header a[href]:hover { opacity: 1; }
.home-link { display: inline-flex; align-items: center; min-height: 44px; }
nav { display: flex; align-items: center; gap: 32px; color: var(--secondary); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 500; letter-spacing: .08em; }

/* Supplied cropped logos retain their natural proportions.
   Contrast makes the pale source paper white; multiply blends it into the page. */
.wordmark { display: block; mix-blend-mode: multiply; }
.wordmark img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.12); }
.header-wordmark { width: 126px; }
.hero-wordmark { width: min(400px, 82%); margin: 0 auto; }
.footer-wordmark { width: 156px; flex-shrink: 0; }

.hero { padding: 110px 0 90px; text-align: center; }
.hero p { color: var(--secondary); }
.tagline { margin: 28px 0 0; font-size: 1.25rem; font-weight: 400; letter-spacing: .085em; line-height: 1.5; }
.introduction { margin: 26px 0 0; font-size: 1.0625rem; line-height: 1.5; letter-spacing: .065em; }
.soon { margin: 32px 0 0; font-size: 1.25rem; letter-spacing: .1em; line-height: 1.5; scroll-margin-top: 24px; }

.manifesto { border-top: 1px solid var(--hairline); padding: 64px 0 160px; scroll-margin-top: 24px; }
.reading-column { max-width: 600px; margin-inline: auto; }
.manifesto h2 { margin: 0 0 24px; font-size: 1.25rem; font-weight: 500; letter-spacing: .12em; line-height: 1.5; }
.manifesto p { margin: 0 0 28px; color: var(--secondary); font-size: 1rem; line-height: 1.45; letter-spacing: .055em; }
.manifesto p:last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--hairline); min-height: 76px; margin-top: 0; padding-block: 13px; }
.site-footer a[aria-disabled="true"] { cursor: default; }

.skip-link { position: absolute; top: 12px; left: 16px; padding: 10px 16px; background: var(--background); z-index: 1; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

@media (max-width: 640px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { min-height: 84px; gap: 16px; }
  .header-wordmark { width: 105px; }
  nav { gap: 24px; }
  nav a { letter-spacing: .065em; }
  .hero { padding: 76px 0 60px; }
  .hero-wordmark { width: 78%; max-width: 340px; }
  .tagline { margin-top: 26px; font-size: 1.125rem; letter-spacing: .065em; }
  .introduction { margin-top: 26px; font-size: 1rem; line-height: 1.55; letter-spacing: .04em; }
  .soon { margin-top: 32px; }
  .manifesto { padding: 44px 8px 112px; }
  .manifesto h2 { margin-bottom: 24px; }
  .manifesto p { line-height: 1.5; letter-spacing: .04em; margin-bottom: 28px; }
  .manifesto p:last-child { margin-bottom: 0; }
  .footer-wordmark { width: 124px; }
  .site-footer { gap: 18px; min-height: 76px; flex-wrap: wrap; }
  .site-footer nav { gap: 22px; }
}

@media (max-width: 360px) {
  .page-width { width: calc(100% - 32px); }
  .site-header nav { gap: 16px; }
  .tagline { letter-spacing: .025em; }
  .site-footer { gap: 8px 16px; }
  .site-footer nav { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  a[href], .site-header a[href] { transition: none; }
}
