@font-face {
  font-family: Anton;
  src: url("/fonts/anton.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #101112;
  --text: #f1eee8;
  --muted: #b8b7b2;
  --accent: #c8b08a;
  --rule: #373737;
  --gutter: clamp(20px, 5vw, 72px);
  --max-width: 1152px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.65 system-ui, sans-serif;
}
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; z-index: 1; padding: 8px; background: var(--bg); transform: translateY(-150%); }
.skip:focus { transform: none; }

.masthead, footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.masthead { justify-content: space-between; }
.brand, .masthead nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.masthead a { text-decoration: none; }
.wordmark { font-family: Anton, Impact, sans-serif; font-size: 1.65rem; line-height: 1.2; }
.text-link, .masthead nav, footer { font-size: .88rem; color: var(--muted); }
article { max-width: calc(var(--max-width) + 2 * var(--gutter)); padding: clamp(48px, 8vw, 104px) var(--gutter); margin: 0 auto; }

.intro { max-width: 990px; }
.label {
  margin: 0 0 16px;
  color: var(--accent);
  font: .78rem/1.4 ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
}
h1, h2 { font-weight: 500; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.5rem, 5.7vw, 5.3rem); line-height: .99; letter-spacing: -.065em; }
h2 { margin: 0 0 .6em; font-size: clamp(1.45rem, 3.2vw, 2.45rem); line-height: 1.12; letter-spacing: -.044em; }
.lead { max-width: 58ch; margin: 24px 0 0; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--muted); }

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(28px, 6vw, 64px) 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--rule);
}
.pipeline li { padding: clamp(10px, 2vw, 22px); color: var(--muted); font-size: .9rem; }
.pipeline li + li { border-inline-start: 1px solid var(--rule); }
.pipeline span { display: block; color: var(--text); font-weight: 600; }

.prose { max-width: 68ch; margin-inline: auto; }
.prose section + section, .prose aside { margin-top: clamp(36px, 6vw, 64px); }
.prose p, .prose ul { color: var(--muted); }
.prose p { margin: 0 0 1em; }
.prose li + li { margin-top: .35rem; }
.check, .contact { padding: clamp(18px, 3.5vw, 32px); background: #1b1d1f; border: 1px solid var(--rule); }
.prose .references { margin-top: clamp(36px, 6vw, 64px); }
.references h2 { font-size: 1.2rem; }
.action { display: inline-flex; gap: 12px; padding: .55rem .8rem; color: var(--text); border: 1px solid var(--accent); text-decoration: none; }
footer { border-bottom: 0; border-top: 1px solid var(--rule); }
footer span { margin-right: auto; }

@media (max-width: 560px) {
  .masthead { align-items: flex-start; }
  .masthead nav { flex-basis: 100%; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li + li { border-inline-start: 0; border-top: 1px solid var(--rule); }
}
