@font-face {
  font-family: 'Public Sans';
  src: url('fonts/public-sans.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #141414;
  --text: #eeede9;
  --muted: #a3a29d;
  --border: #383836;
  --brand: #730000;
  --accent: #e36d61;
  --paper: #e9e7df;
  --ink: #20201e;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Public Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--brand);
  color: #fff;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
}
h2 {
  font-size: clamp(30px, 3.35vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.045em;
}
h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
p {
  color: var(--muted);
}
code {
  font-family: var(--mono);
}
.container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--ink);
  z-index: 5;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1.3px;
  line-height: 1;
}
.wordmark-ac {
  color: var(--muted);
  font-weight: 400;
}

.brand-context {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 18px;
}
.introduction {
  padding-block: 38px 34px;
}
.introduction h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.archive-description {
  max-width: 1020px;
  margin-top: 19px;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: -0.018em;
  color: var(--text);
}
.archive-status {
  margin-top: 18px;
  font-size: 15px;
}
.archive-links {
  gap: 28px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.archive-links a {
  text-decoration: underline;
  text-decoration-color: #74736d;
  padding-block: 4px;
}

nav {
  display: flex;
  gap: 31px;
  font-size: 13px;
}
nav a {
  padding-block: 12px;
}
.eyebrow,
.section-label {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}
.eyebrow {
  display: flex;
  gap: 11px;
  align-items: center;
}


.text-link {
  display: inline-flex;
  gap: 17px;
  align-items: center;
  font-size: 13px;
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}
.text-link span {
  transition: transform 0.18s;
}
.text-link:hover span {
  transform: translate(2px, -2px);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 30px;
}
.section-label {
  color: var(--muted);
  padding-top: 8px;
}

.retrospective {
  padding-block: 98px 110px;
}
.two-column-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 29px;
}
.two-column-copy p {
  font-size: 15px;
}
.small {
  font-size: 12px;
  margin-top: 21px;
}
.aiicd-section {
  background: var(--paper);
  color: var(--ink);
  padding-block: 25px 48px;
  color-scheme: light;
}
.aiicd-section p {
  color: #5d5c57;
}
.aiicd-section a:hover {
  color: var(--brand);
}
.aiicd-section a:focus-visible {
  outline-color: var(--brand);
}
.feature-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0;
  color: #585750;
}
.feature-heading {
  margin-top: 19px;
}
.feature-heading h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.expanded-name {
  font-family: var(--mono);
  font-size: 12px;
  margin-top: 8px;
}
.feature-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 20px;
  font-size: 15px;
}
.architecture {
  margin-top: 26px;
  padding-top: 21px;
  border-block: 1px solid #bcbab2;
}
.architecture figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 10px;
  color: #5d5c57;
}
.pipeline {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 1fr;
  gap: 43px;
  align-items: center;
  padding-block: 35px;
}
.pipeline strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.04em;
  display: block;
}
.pipeline span:not(.node-label) {
  display: block;
  font-size: 11px;
  color: #5d5c57;
  margin-top: 5px;
}
.pipeline code {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  margin-top: 14px;
  color: #626059;
}
.node-label {
  display: block;
  font-family: inherit;
  font-size: 9px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #656159;
  margin-bottom: 13px;
}
.pipeline-input,
.pipeline-model,
.pipeline-output {
  padding-block: 23px;
  position: relative;
}
.pipeline-branches {
  position: relative;
  border-left: 1px solid #a5a297;
  border-right: 1px solid #a5a297;
  padding-inline: 16px;
}
.pipeline-branches::before,
.pipeline-model::before,
.pipeline-output::before {
  content: '';
  position: absolute;
  width: 43px;
  height: 1px;
  background: #9c998f;
  left: -44px;
  top: 50%;
}
.pipeline-model::after,
.pipeline-output::after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 1px solid #9c998f;
  border-right: 1px solid #9c998f;
  position: absolute;
  left: -9px;
  top: calc(50% - 2px);
  transform: rotate(45deg);
}
.branch {
  border: 1px solid #b9b6ab;
  padding: 17px;
}
.branch + .branch {
  margin-top: 12px;
}
.branch .node-label {
  margin-bottom: 6px;
}
.pipeline-model {
  border-top: 2px solid var(--brand);
}
.pipeline-output strong {
  color: var(--brand);
}
.diagram-note {
  border-top: 1px solid #cfccc2;
  padding-block: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #5d5c57;
}
.diagram-note a {
  color: var(--ink);
  text-decoration: underline;
}
.feature-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 42px;
}
.feature-details .eyebrow {
  color: #66635b;
  font-size: 10px;
}
.feature-details h3 {
  font-size: 20px;
  margin-block: 14px 12px;
}
.feature-details p {
  font-size: 13px;
}
.research-caveat {
  border-top: 1px solid #bcbab2;
  margin-top: 32px;
  padding-top: 23px;
  display: flex;
  gap: 20px;
}
.research-caveat p {
  font-size: 12px;
  max-width: 910px;
}
.research-caveat strong {
  color: var(--ink);
  font-weight: 600;
}
.note-symbol {
  color: var(--brand);
  font-size: 25px;
  line-height: 1;
}
.feature-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}


.feature-actions .text-link {
  border-color: #bcbab2;
}
.research-section {
  padding-block: 100px 45px;
}
.section-intro {
  margin-top: 17px;
  font-size: 15px;
}
.project-index {
  margin-top: 40px;
}
.project-row {
  display: grid;
  grid-template-columns: 0.25fr 1.2fr 1.55fr 0.75fr;
  gap: 30px;
  padding-block: 31px;
  border-top: 1px solid var(--border);
  align-items: start;
}
.project-row:last-child {
  border-bottom: 1px solid var(--border);
}
.project-number {
  font: 11px var(--mono);
  color: var(--muted);
  margin-top: 6px;
}
.project-row h3 {
  font-size: 27px;
}
.project-row h3 a {
  display: inline-flex;
  gap: 25px;
}
.project-row h3 a span {
  font-size: 18px;
  color: var(--muted);
}
.project-kind {
  font-size: 10px;
  font-family: inherit;
  color: var(--muted);
  display: block;
  margin-top: 10px;
}
.project-row p {
  font-size: 13px;
}
.status {
  font-size: 11px;
  padding-top: 3px;
}
.status::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.status > span {
  display: block;
  color: var(--muted);
  font-family: inherit;
  font-size: 9px;
  margin-top: 10px;
}
.source-notes {
  border-bottom: 1px solid var(--border);
}
summary {
  cursor: pointer;
  padding-block: 18px;
  font-size: 12px;
}
summary > span {
  float: right;
  font-size: 20px;
  line-height: 1;
  margin-right: 4px;
}
details[open] summary > span {
  transform: rotate(45deg);
}
.source-note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding-block: 10px 25px;
}
.source-note-grid p {
  font-size: 12px;
}
.source-note-grid strong {
  display: block;
  color: var(--text);
  margin-bottom: 10px;
}
.source-note-grid a {
  display: block;
  margin-top: 12px;
  text-decoration: underline;
}
.lessons-section {
  padding-block: 66px 90px;
}
.lessons {
  list-style: none;
  padding: 0;
  margin: 35px 0 0;
}
.lessons li {
  display: flex;
  gap: 28px;
  padding-block: 26px;
  border-top: 1px solid var(--border);
}
.lesson-index {
  color: var(--accent);
  font: 11px var(--mono);
  padding-top: 6px;
}
.lessons p {
  font-size: 14px;
  margin-top: 13px;
  max-width: 740px;
}
.source-link {
  display: inline-block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 15px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
}
.open-source-section {
  border-block: 1px solid var(--border);
  background: #1a1a19;
  padding-block: 70px;
}
.release-links {
  display: flex;
  gap: 35px;
  margin-top: 28px;
  font-size: 12px;
}
.release-links a {
  border-bottom: 1px solid #6a6861;
  padding-bottom: 9px;
}
.release-links a span {
  margin-left: 18px;
}
.license-line {
  display: flex;
  gap: 23px;
  margin-top: 24px;
  font-family: inherit;
  font-size: 10px;
  color: var(--muted);
}
.closing {
  padding-block: 94px 100px;
}
.closing .eyebrow {
  color: var(--muted);
  font-size: 10px;
}
.closing h2 {
  font-size: clamp(38px, 4.8vw, 67px);
  margin-block: 25px;
}
.closing .text-link {
  color: var(--accent);
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-wordmark {
  font-size: 20px;
}
.site-footer > span {
  color: var(--muted);
  font-size: 10px;
  margin-right: auto;
}
.site-footer nav {
  font-size: 11px;
  gap: 22px;
}

@media (max-width: 1100px) {
  .container {
    width: calc(100% - 72px);
  }
  .brand-context {
    display: none;
  }

  .section-grid {
    grid-template-columns: 1fr 3.5fr;
    gap: 30px;
  }
  .pipeline {
    gap: 25px;
  }
  .pipeline-branches::before,
  .pipeline-model::before,
  .pipeline-output::before {
    width: 25px;
    left: -26px;
  }
  .pipeline-branches {
    padding-inline: 10px;
  }
  .branch {
    padding: 12px;
  }
  .pipeline strong {
    font-size: 15px;
  }
  .pipeline span:not(.node-label) {
    font-size: 10px;
  }
  .pipeline code {
    font-size: 9px;
  }
  .feature-intro {
    gap: 40px;
  }
  .feature-details {
    gap: 26px;
  }
  .project-row {
    grid-template-columns: 0.15fr 1.2fr 1.3fr 0.8fr;
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }

  .wordmark {
    font-size: 21px;
  }

  .header-inner nav {
    gap: 20px;
    font-size: 11px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .text-link {
    font-size: 12px;
    gap: 12px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .section-label {
    display: flex;
    gap: 14px;
    font-size: 10px;
    padding: 0;
  }

  .retrospective {
    padding-block: 58px 63px;
  }
  .two-column-copy {
    gap: 20px;
    margin-top: 23px;
  }
  .two-column-copy p {
    font-size: 13px;
  }

  .aiicd-section {
    padding-block: 25px 40px;
  }

  .expanded-name {
    font-size: 11px;
    margin-top: 9px;
  }

  .feature-intro {
    gap: 20px;
    margin-top: 23px;
    font-size: 13px;
  }
  .architecture {
    margin-top: 30px;
  }
  .architecture figcaption {
    align-items: flex-start;
    gap: 10px;
    font-size: 8px;
  }
  .pipeline {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 22px;
    text-align: center;
  }
  .pipeline-input,
  .pipeline-model,
  .pipeline-output {
    padding: 12px;
  }
  .pipeline-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border: 0;
    padding: 0;
  }
  .branch + .branch {
    margin-top: 0;
  }
  .pipeline-model {
    border-top: 2px solid var(--brand);
    border-bottom: 1px solid #bcbab2;
  }
  .pipeline-branches::before,
  .pipeline-model::before,
  .pipeline-output::before {
    width: 1px;
    height: 28px;
    left: 50%;
    top: -29px;
  }
  .pipeline-branches::before {
    width: calc(50% + 6px);
    height: 15px;
    top: -15px;
    left: calc(25% - 3px);
    border: 1px solid #9c998f;
    border-bottom: 0;
    background: none;
  }
  .pipeline-input::after {
    content: '';
    position: absolute;
    height: 13px;
    width: 1px;
    left: 50%;
    bottom: -13px;
    background: #9c998f;
  }
  .pipeline-branches::after {
    content: '';
    position: absolute;
    width: calc(50% + 6px);
    height: 14px;
    left: calc(25% - 3px);
    bottom: -14px;
    border: 1px solid #9c998f;
    border-top: 0;
  }
  .pipeline-model::before {
    height: 14px;
    top: -16px;
  }
  .pipeline-model::after,
  .pipeline-output::after {
    left: calc(50% - 2px);
    top: -8px;
    transform: rotate(135deg);
  }
  .pipeline strong {
    font-size: 16px;
  }
  .diagram-note {
    font-size: 10px;
  }
  .diagram-note > span {
    max-width: 60%;
  }
  .feature-details {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }
  .feature-details h3 {
    margin-block: 8px;
    font-size: 21px;
  }
  .feature-details p {
    max-width: 530px;
  }
  .feature-actions {
    gap: 15px 25px;
  }

  .research-section {
    padding-block: 58px 20px;
  }
  .section-intro {
    font-size: 13px;
  }
  .project-index {
    margin-top: 28px;
  }
  .project-row {
    grid-template-columns: 24px 1fr auto;
    gap: 15px;
    padding-block: 24px;
  }
  .project-row p {
    grid-column: 2 / -1;
    grid-row: 2;
  }
  .project-row h3 {
    font-size: 24px;
  }
  .project-kind {
    font-size: 9px;
    max-width: 200px;
  }
  .status {
    font-size: 9px;
  }
  .status > span {
    font-size: 8px;
    max-width: 100px;
  }
  .source-note-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .lessons-section {
    padding-block: 45px 50px;
  }
  .lessons li {
    gap: 17px;
  }
  .lessons h3 {
    font-size: 21px;
  }
  .lessons p {
    font-size: 13px;
  }
  .open-source-section {
    padding-block: 45px;
  }
  .release-links {
    gap: 23px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .release-links a span {
    margin-left: 8px;
  }
  .closing {
    padding-block: 60px;
  }
  .closing .eyebrow {
    font-size: 8px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 17px;
  }
  .site-footer > span {
    font-size: 9px;
  }
  .site-footer nav {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 440px) {
  .header-inner nav {
    width: 100%;
    justify-content: space-between;
  }
  .header-inner nav a {
    padding-block: 5px;
  }

  .two-column-copy,
  .feature-intro {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .project-row {
    gap: 12px;
    grid-template-columns: 18px 1fr 90px;
  }
  .project-kind {
    max-width: 155px;
  }

  .pipeline strong {
    font-size: 14px;
  }
  .pipeline span:not(.node-label) {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 62px;
    gap: 18px;
  }
  .header-inner nav {
    gap: 20px;
    width: auto;
    font-size: 12px;
  }
  .introduction {
    padding-block: 26px 28px;
  }
  .introduction h1 {
    font-size: 25px;
  }
  .archive-description {
    font-size: 22px;
    margin-top: 16px;
    line-height: 1.45;
  }
  .archive-status {
    font-size: 14px;
    margin-top: 16px;
  }
  .archive-links {
    gap: 10px 24px;
    font-size: 13px;
    margin-top: 17px;
  }
  .feature-heading h2 {
    font-size: 27px;
  }
  .feature-topline {
    gap: 16px;
    flex-wrap: wrap;
  }
  .feature-topline .eyebrow {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .header-inner {
    gap: 12px;
  }
  .header-inner nav {
    gap: 13px;
    font-size: 11px;
  }
  .wordmark {
    font-size: 19px;
  }
  .archive-description {
    font-size: 20px;
  }
}
