:root {
  --ink: #11130f;
  --paper: #f4f1e9;
  --paper-bright: #fffef9;
  --paper-deep: #e8e3d7;
  --muted: #62645d;
  --line: #cbc9be;
  --line-dark: #3b3e35;
  --acid: #b6df45;
  --acid-dark: #527c12;
  --orange: #dc5b2d;
  --cyan: #0b7f8f;
  --night: #12140f;
  --night-soft: #1b1e17;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono",
    monospace;
  --max: 1180px;
  --shadow: 7px 7px 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(17, 19, 15, 0.026) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 28px;
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 9px 13px;
  border: 1px solid var(--ink);
  background: var(--acid);
  font: 700 0.78rem var(--mono);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--ink);
  background: rgba(255, 254, 249, 0.92);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  min-height: 74px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 700 0.96rem var(--mono);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 3px 3px 0 var(--ink);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font: 600 0.78rem var(--mono);
}

.nav-links a {
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.nav-links a:hover {
  color: var(--acid-dark);
}

.nav-links .nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
  text-decoration: none;
}

.nav-links .nav-cta:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
}

.hero::before {
  position: absolute;
  top: 8%;
  left: 49%;
  color: rgba(17, 19, 15, 0.035);
  content: "SLURP";
  font: 800 clamp(9rem, 22vw, 20rem) / 0.75 var(--sans);
  letter-spacing: -0.11em;
  pointer-events: none;
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  min-height: 705px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 80px 0 86px;
}

.eyebrow,
.section-label,
.document-kicker {
  margin: 0 0 17px;
  color: var(--acid-dark);
  font: 700 0.76rem/1.3 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before,
.document-kicker::before {
  color: var(--orange);
  content: "// ";
}

.hero h1 {
  max-width: 830px;
  margin: 0;
  font: 700 clamp(4.25rem, 8.7vw, 8rem) / 0.82 var(--sans);
  letter-spacing: -0.078em;
}

.hero h1 .signal {
  position: relative;
  color: var(--cyan);
}

.hero h1 .signal::after {
  position: absolute;
  right: 0.02em;
  bottom: -0.04em;
  left: 0.05em;
  height: 0.07em;
  background: var(--orange);
  content: "";
  transform: rotate(-1deg);
}

.hero-lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: #3f413c;
  font: 400 clamp(1.12rem, 2vw, 1.42rem) / 1.46 var(--serif);
}

.hero-lede strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.94em;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 17px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: 140ms ease;
}

.button.primary {
  background: var(--ink);
  color: var(--paper-bright);
}

.button.primary:hover {
  border-color: var(--acid-dark);
  background: var(--acid-dark);
}

.button.secondary {
  background: transparent;
}

.button.secondary:hover {
  background: var(--acid);
}

.button .arrow {
  color: var(--orange);
  font: 800 1rem var(--mono);
}

.hero-note {
  display: flex;
  margin: 24px 0 0;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font: 0.69rem/1.5 var(--mono);
}

.hero-note span::before {
  margin-right: 5px;
  color: var(--acid-dark);
  content: "✓";
  font-weight: 800;
}

.hero-visual {
  position: relative;
  align-self: stretch;
}

.hero-mascot {
  position: absolute;
  z-index: 1;
  right: -12px;
  bottom: 12px;
  width: min(540px, 43vw);
  height: auto;
  max-width: none;
  filter: contrast(1.03);
  mix-blend-mode: multiply;
  object-fit: contain;
}

.stream-card {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 57px;
  width: min(365px, 92%);
  border: 1px solid var(--ink);
  background: rgba(255, 254, 249, 0.96);
  box-shadow: var(--shadow);
}

.stream-card-head {
  display: flex;
  padding: 9px 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font: 0.63rem var(--mono);
  text-transform: uppercase;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--acid-dark);
  font-weight: 700;
}

.live::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid-dark);
  box-shadow: 0 0 0 3px rgba(82, 124, 18, 0.14);
  content: "";
}

.stream-lines {
  margin: 0;
  padding: 15px 17px 17px;
  list-style: none;
}

.stream-lines li {
  display: grid;
  padding: 7px 0;
  grid-template-columns: 73px 1fr auto;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  font: 0.68rem/1.35 var(--mono);
}

.stream-lines li:last-child {
  border-bottom: 0;
}

.stream-lines .channel {
  color: var(--cyan);
  font-weight: 700;
}

.stream-lines .payload {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-lines .pub {
  color: var(--orange);
  font-weight: 700;
}

.section {
  padding: 108px 0;
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section-title {
  max-width: 900px;
  margin: 0;
  font: 700 clamp(2.5rem, 5.2vw, 5rem)/0.96 var(--sans);
  letter-spacing: -0.057em;
}

.section-intro {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font: 1.08rem/1.65 var(--serif);
}

.pipeline {
  padding-bottom: 0;
  background: var(--paper);
}

.pipeline-grid {
  display: grid;
  margin-top: 62px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  grid-template-columns: repeat(3, 1fr);
}

.pipeline-step {
  position: relative;
  min-height: 336px;
  padding: 28px 30px 34px;
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  background: rgba(255, 254, 249, 0.42);
}

.pipeline-step .step-no {
  color: var(--muted);
  font: 0.72rem var(--mono);
}

.pipeline-step .step-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 45px 0 27px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  color: var(--orange);
  font: 700 1.25rem var(--mono);
  box-shadow: 4px 4px 0 var(--ink);
}

.pipeline-step h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.pipeline-step p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.89rem;
}

.pipeline-step .flow-arrow {
  position: absolute;
  z-index: 2;
  top: 49%;
  right: -17px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  font: 800 1rem var(--mono);
}

.channel-ribbon {
  overflow: hidden;
  margin-top: 70px;
  border-top: 1px solid var(--ink);
  background: var(--acid);
}

.channel-ribbon-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  padding: 15px 0;
  justify-content: space-around;
  gap: 46px;
  color: var(--ink);
  font: 700 0.72rem var(--mono);
  white-space: nowrap;
}

.channel-ribbon span::before {
  margin-right: 10px;
  color: var(--orange);
  content: "CHANNEL";
}

.event-model {
  background: var(--paper-bright);
}

.model-grid {
  display: grid;
  margin-top: 62px;
  border: 1px solid var(--ink);
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: var(--shadow);
}

.model-statement {
  display: flex;
  min-height: 440px;
  padding: 38px;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--ink);
  background: var(--orange);
  color: white;
}

.model-statement .small {
  font: 0.7rem var(--mono);
  text-transform: uppercase;
}

.model-statement blockquote {
  margin: 0;
  font: 600 clamp(2.2rem, 4vw, 4rem)/0.98 var(--serif);
  letter-spacing: -0.04em;
}

.model-statement blockquote span {
  color: var(--night);
}

.model-detail {
  display: grid;
  background: var(--paper-bright);
  grid-template-rows: repeat(3, 1fr);
}

.model-row {
  display: grid;
  padding: 27px 32px;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.model-row:last-child {
  border-bottom: 0;
}

.model-row .n {
  color: var(--acid-dark);
  font: 700 0.75rem var(--mono);
}

.model-row h3 {
  margin: 0;
  font-size: 1.06rem;
}

.model-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.formats {
  background: var(--paper-deep);
}

.format-grid {
  display: grid;
  margin-top: 55px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  grid-template-columns: repeat(2, 1fr);
}

.format {
  padding: 33px 35px 38px;
}

.format + .format {
  border-left: 1px solid var(--ink);
}

.format-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.format h3 {
  margin: 0;
  font: 700 clamp(1.75rem, 3vw, 2.6rem)/1 var(--sans);
}

.format-badge {
  padding: 5px 8px;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  font: 0.62rem var(--mono);
  text-transform: uppercase;
}

.format p {
  min-height: 84px;
  color: var(--muted);
  font-family: var(--serif);
}

.format dl {
  margin: 28px 0 0;
}

.format dl div {
  display: grid;
  padding: 11px 0;
  border-top: 1px solid #c3bfb2;
  grid-template-columns: 100px 1fr;
}

.format dt {
  color: var(--muted);
  font: 0.67rem var(--mono);
  text-transform: uppercase;
}

.format dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
}

.quickstart {
  background: var(--night);
  color: white;
}

.quickstart .section-label {
  color: var(--acid);
}

.quickstart .section-intro {
  color: #b6b9af;
}

.start-grid {
  display: grid;
  margin-top: 56px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 36px;
}

.terminal {
  overflow: hidden;
  border: 1px solid #45483f;
  background: #0b0d09;
  box-shadow: 8px 8px 0 #292c25;
}

.terminal-head {
  display: flex;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3b3e36;
  color: #96998f;
  font: 0.65rem var(--mono);
}

.terminal-dots {
  display: inline-flex;
  gap: 5px;
}

.terminal-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.terminal-dots i:nth-child(2) {
  background: var(--acid);
}

.terminal-dots i:nth-child(3) {
  background: var(--cyan);
}

.terminal pre,
.document pre {
  margin: 0;
  overflow-x: auto;
  color: #e8e9e3;
  font: 0.78rem/1.8 var(--mono);
  tab-size: 2;
}

.terminal pre {
  min-height: 385px;
  padding: 24px;
}

.terminal .prompt {
  color: var(--acid);
}

.terminal .comment {
  color: #74786d;
}

.terminal .value {
  color: #70c7cf;
}

.start-notes {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #45483f;
}

.start-note {
  padding: 19px 0 20px;
  border-bottom: 1px solid #45483f;
}

.start-note small {
  color: var(--acid);
  font: 0.65rem var(--mono);
  text-transform: uppercase;
}

.start-note h3 {
  margin: 8px 0 0;
  font-size: 1.05rem;
}

.start-note p {
  margin: 7px 0 0;
  color: #aeb1a7;
  font-size: 0.82rem;
}

.docs {
  background: var(--paper-bright);
}

.docs-grid {
  display: grid;
  margin-top: 54px;
  border: 1px solid var(--ink);
  grid-template-columns: repeat(2, 1fr);
}

.doc-card {
  position: relative;
  min-height: 310px;
  padding: 33px 35px;
  overflow: hidden;
  text-decoration: none;
  transition: background 140ms ease;
}

.doc-card + .doc-card {
  border-left: 1px solid var(--ink);
}

.doc-card:hover {
  background: #edf6d5;
}

.doc-card .doc-no {
  color: var(--orange);
  font: 0.7rem var(--mono);
}

.doc-card h3 {
  max-width: 370px;
  margin: 60px 0 12px;
  font: 700 clamp(2rem, 4vw, 3.5rem)/0.98 var(--sans);
  letter-spacing: -0.05em;
}

.doc-card p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
}

.doc-card .card-arrow {
  position: absolute;
  top: 27px;
  right: 29px;
  color: var(--cyan);
  font: 700 1.6rem var(--mono);
}

.site-footer {
  padding: 69px 0 30px;
  background: var(--night);
  color: white;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}

.footer-title {
  max-width: 700px;
}

.footer-title h2 {
  margin: 0;
  font: 700 clamp(2.4rem, 5vw, 4.8rem)/0.94 var(--sans);
  letter-spacing: -0.06em;
}

.footer-title p {
  max-width: 580px;
  margin: 18px 0 0;
  color: #b5b8ae;
  font-family: var(--serif);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  color: var(--acid);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-links a {
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  margin-top: 65px;
  padding-top: 21px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #3a3d35;
  color: #96998f;
  font: 0.68rem/1.6 var(--mono);
}

.footer-bottom p {
  max-width: 750px;
  margin: 0;
}

/* Generated documentation pages */
.document-body {
  background: var(--paper);
}

.document-hero {
  padding: 79px 0 64px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
}

.document-hero-inner {
  width: min(calc(100% - 40px), 930px);
  margin: 0 auto;
}

.document-hero h1 {
  max-width: 820px;
  margin: 0;
  font: 700 clamp(3.2rem, 8vw, 6.8rem)/0.85 var(--sans);
  letter-spacing: -0.07em;
}

.document-hero .document-summary {
  max-width: 660px;
  margin: 27px 0 0;
  color: var(--muted);
  font: 1.15rem/1.6 var(--serif);
}

.document-shell {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  grid-template-columns: 205px minmax(0, 805px);
  gap: 70px;
  justify-content: center;
}

.document-toc {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  padding: 68px 0;
  overflow-y: auto;
  align-self: start;
}

.document-toc strong {
  display: block;
  margin-bottom: 15px;
  color: var(--orange);
  font: 0.66rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-toc li {
  border-top: 1px solid var(--line);
}

.document-toc a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font: 0.7rem/1.35 var(--mono);
  text-decoration: none;
}

.document-toc a:hover {
  color: var(--acid-dark);
}

.document {
  min-width: 0;
  padding: 68px 0 100px;
}

.document > :first-child {
  margin-top: 0;
}

.document h1 {
  display: none;
}

.document h2 {
  margin: 68px 0 19px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  font: 700 clamp(1.9rem, 4vw, 3.1rem)/1 var(--sans);
  letter-spacing: -0.045em;
}

.document h2::before {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  content: attr(data-section);
  font: 0.63rem var(--mono);
  letter-spacing: 0;
}

.document h3 {
  margin: 39px 0 12px;
  font-size: 1.26rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.document p {
  margin: 15px 0;
}

.document p,
.document li {
  color: #454740;
}

.document strong {
  color: var(--ink);
}

.document a {
  color: var(--cyan);
  font-weight: 600;
  text-underline-offset: 3px;
}

.document ul,
.document ol {
  margin: 17px 0;
  padding-left: 1.5rem;
}

.document li {
  margin: 7px 0;
  padding-left: 0.25rem;
}

.document li::marker {
  color: var(--orange);
  font-family: var(--mono);
  font-weight: 700;
}

.document blockquote {
  margin: 25px 0;
  padding: 18px 21px;
  border-left: 4px solid var(--orange);
  background: var(--paper-deep);
}

.document blockquote p {
  margin: 0;
}

.document code {
  padding: 0.12em 0.34em;
  border: 1px solid #d2d0c6;
  background: var(--paper-bright);
  color: #394f0d;
  font: 0.85em var(--mono);
}

.document .code-block {
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--night);
  box-shadow: 5px 5px 0 #c9c5b9;
}

.document .code-label {
  padding: 8px 13px;
  border-bottom: 1px solid var(--line-dark);
  color: #92968c;
  font: 0.62rem var(--mono);
  text-transform: uppercase;
}

.document .code-block pre {
  padding: 18px 20px;
}

.document .code-block code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.document .table-wrap {
  margin: 25px 0;
  overflow-x: auto;
  border-top: 1px solid var(--ink);
}

.document table {
  width: 100%;
  border-collapse: collapse;
}

.document th,
.document td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.document th {
  background: var(--paper-deep);
  color: var(--muted);
  font: 700 0.66rem var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.document td {
  font-size: 0.83rem;
}

.document hr {
  height: 0;
  margin: 50px 0;
  border: 0;
  border-top: 1px solid var(--ink);
}

.document-footer {
  padding: 27px 0;
  border-top: 1px solid var(--ink);
  background: var(--acid);
}

.document-footer-inner {
  display: flex;
  width: min(calc(100% - 40px), 930px);
  margin: 0 auto;
  justify-content: space-between;
  gap: 25px;
  font: 0.72rem var(--mono);
}

@media (max-width: 900px) {
  .hero-inner {
    min-height: 830px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy {
    padding-bottom: 320px;
  }

  .hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 390px;
  }

  .hero-mascot {
    right: -20px;
    bottom: -25px;
    width: 440px;
  }

  .stream-card {
    right: auto;
    bottom: 40px;
    left: 0;
  }

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

  .model-statement {
    min-height: 350px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

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

  .document-shell {
    display: block;
    width: min(calc(100% - 40px), 805px);
  }

  .document-toc {
    position: static;
    max-height: none;
    padding: 35px 0 0;
  }

  .document-toc ul {
    display: grid;
    border-top: 1px solid var(--line);
    grid-template-columns: repeat(2, 1fr);
  }

  .document-toc li {
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .nav-shell {
    width: min(calc(100% - 28px), var(--max));
    min-height: 64px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-inner {
    min-height: 800px;
  }

  .hero-copy {
    padding: 57px 0 325px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 19vw, 5.8rem);
  }

  .hero-lede {
    font-size: 1.06rem;
  }

  .hero-mascot {
    right: -72px;
    bottom: -18px;
    width: 420px;
  }

  .stream-card {
    bottom: 29px;
    width: min(345px, 96%);
  }

  .section {
    padding: 79px 0;
  }

  .pipeline {
    padding-bottom: 0;
  }

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

  .pipeline-step {
    min-height: 280px;
  }

  .pipeline-step .step-icon {
    margin-top: 30px;
  }

  .pipeline-step .flow-arrow {
    top: auto;
    right: 25px;
    bottom: -17px;
    transform: rotate(90deg);
  }

  .model-statement {
    min-height: 330px;
    padding: 28px;
  }

  .model-row {
    padding: 22px 20px;
    grid-template-columns: 37px 1fr;
    gap: 12px;
  }

  .format-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .format + .format,
  .doc-card + .doc-card {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .format {
    padding-inline: 22px;
  }

  .format p {
    min-height: 0;
  }

  .doc-card {
    min-height: 275px;
    padding-inline: 25px;
  }

  .footer-top,
  .footer-bottom,
  .document-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }

  .document-hero-inner,
  .document-shell,
  .document-footer-inner {
    width: min(calc(100% - 28px), 805px);
  }

  .document-hero {
    padding: 55px 0 47px;
  }

  .document-hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .document {
    padding-top: 45px;
  }

  .document-toc ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
