:root {
  color-scheme: light;
  --paper: #f4f1e9;
  --paper-bright: #fffef9;
  --ink: #171716;
  --muted: #66645f;
  --line: #c9c5bc;
  --line-dark: #3c3a36;
  --coral: #e9675a;
  --coral-dark: #b94338;
  --yellow: #f4c84b;
  --green: #6abf7b;
  --blue: #70a8c9;
  --charcoal: #1d1d1b;
  --code: #111210;
  --white: #fff;
  --shell: 1180px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.shell,
.nav-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section-band {
  position: relative;
  border-bottom: 1px solid var(--ink);
}

.announcement {
  min-height: 35px;
  display: grid;
  place-items: center;
  padding: 6px 24px;
  background: var(--yellow);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.announcement a:hover {
  text-decoration: underline;
}

.announcement a span:first-child {
  padding-right: 10px;
  border-right: 1px solid var(--ink);
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(244, 241, 233, 0.96);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding-block: 21px;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav .source-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.site-nav .source-link:hover {
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-lines {
  width: 19px;
  display: grid;
  gap: 4px;
}

.menu-lines i {
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  overflow: hidden;
  background-color: var(--paper);
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
}

.hero-lines::before,
.hero-lines::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.hero-lines::before {
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
}

.hero-lines::after {
  top: 286px;
  right: 0;
  left: 0;
  height: 2px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 68px 0 0;
  text-align: center;
}

.hero-mark-wrap {
  position: relative;
  width: 228px;
  height: 228px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}

.hero-mark-wrap::before,
.hero-mark-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.hero-mark-wrap::before {
  width: 222px;
  height: 192px;
  transform: translate(-13px, 8px);
  background: var(--coral);
}

.hero-mark-wrap::after {
  width: 214px;
  height: 202px;
  transform: translate(15px, -8px);
  background: var(--yellow);
}

.hero-mark {
  width: 196px;
  height: 196px;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #bbb8af;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 6px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.hero h1 {
  max-width: 1030px;
  margin: 0;
  font-size: 68px;
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 28px auto 36px;
  color: #4d4b47;
  font-size: 19px;
  line-height: 1.65;
}

.installer {
  width: min(100%, 820px);
  margin-bottom: 54px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper-bright);
  box-shadow: 8px 8px 0 var(--ink);
  text-align: left;
}

.installer-head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink);
}

.installer-kicker {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.installer h2 {
  margin: 2px 0 0;
  font-size: 21px;
  line-height: 1.2;
}

.installer-head a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.command-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 10px 10px 18px;
  background: var(--code);
  color: #f5f3ec;
  font-family: var(--mono);
}

.command-row .prompt {
  color: var(--green);
  font-weight: 900;
}

.command-row code {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button,
.code-copy-button {
  min-width: 64px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #5a5a55;
  border-radius: 4px;
  background: #292a26;
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.copy-button:hover,
.code-copy-button:hover {
  border-color: var(--white);
  background: #353630;
}

.copy-button.copied,
.code-copy-button.copied {
  border-color: var(--green);
  color: var(--green);
}

.installer-note {
  margin: 0;
  padding: 11px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.installer-note code {
  color: var(--ink);
  font-family: var(--mono);
}

.hero-facts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--ink);
  background: var(--paper-bright);
}

.hero-facts div {
  min-width: 0;
  padding: 22px 20px 24px;
  border-right: 1px solid var(--ink);
  text-align: left;
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.proof-band {
  padding: 100px 0;
  background: var(--charcoal);
  color: var(--white);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 84px;
}

.section-intro h2,
.section-heading h2,
.code-copy h2,
.closing h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro > p:not(.eyebrow),
.section-heading > p,
.code-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.proof-copy > p:not(.eyebrow),
.code-copy > p:not(.eyebrow) {
  color: #c4c1b8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.light-link {
  color: var(--yellow);
}

.terminal {
  min-width: 0;
  border: 1px solid #64635d;
  border-radius: 6px;
  background: #10110f;
  box-shadow: 12px 12px 0 #090a09;
  font-family: var(--mono);
}

.terminal-bar,
.code-window-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 14px 9px 18px;
  border-bottom: 1px solid #494a45;
  color: #b6b5ad;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.terminal-state {
  color: var(--yellow);
}

.terminal-body {
  min-height: 360px;
  padding: 30px;
  font-size: 14px;
  line-height: 1.8;
}

.terminal-body p {
  margin: 0 0 5px;
  white-space: nowrap;
}

.terminal-body p + p:not(.terminal-output, .terminal-good) {
  margin-top: 23px;
}

.terminal-body p span {
  color: var(--green);
  font-weight: 900;
}

.terminal-body .terminal-output {
  color: #9b9a93;
}

.terminal-body .terminal-good {
  color: var(--green);
}

.bench-section,
.tools-section,
.compat-section,
.internals-section {
  padding: 112px 0;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading > p:last-child {
  max-width: 700px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: end;
  gap: 70px;
}

.split-heading > p {
  margin: 0;
}

.benchmark-panel {
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper-bright);
}

.benchmark-head {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink);
}

.panel-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.benchmark-head h3 {
  margin: 2px 0 0;
  font-size: 24px;
}

.benchmark-key {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.benchmark-key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.benchmark-key i {
  width: 15px;
  height: 8px;
  display: inline-block;
  border: 1px solid var(--ink);
}

.key-baseline {
  background: #d8d5cd;
}

.key-current {
  background: var(--coral);
}

.benchmark-chart {
  padding: 10px 24px;
}

.bench-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 24px;
  min-height: 132px;
  border-bottom: 1px solid var(--line);
}

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

.bench-meta strong,
.bench-meta span {
  display: block;
}

.bench-meta strong {
  font-size: 16px;
}

.bench-meta span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.bars {
  display: grid;
  gap: 8px;
}

.bar {
  width: var(--bar);
  min-width: 90px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.bar.baseline {
  background: #d8d5cd;
}

.bar.coral {
  background: var(--coral);
}

.bar.yellow {
  background: var(--yellow);
}

.bar.green {
  background: var(--green);
}

.gain {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 900;
  text-align: right;
}

.benchmark-foot {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 24px;
  border-top: 1px solid var(--ink);
  background: #ebe8df;
}

.benchmark-foot p {
  margin: 0;
  font-size: 13px;
}

.benchmark-foot .text-link {
  flex: 0 0 auto;
  margin: 0;
}

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

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.tool-card {
  min-width: 0;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.tool-runtime {
  box-shadow: inset 7px 0 0 var(--coral);
}

.tool-install {
  box-shadow: inset 7px 0 0 var(--yellow);
}

.tool-test {
  box-shadow: inset 7px 0 0 var(--green);
}

.tool-server {
  box-shadow: inset 7px 0 0 var(--blue);
}

.tool-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 50px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.tool-topline code {
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  color: var(--ink);
}

.tool-card h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.tool-card > p {
  margin: 17px 0 24px;
  color: var(--muted);
  font-size: 16px;
}

.tool-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.tool-card li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
}

.tool-card li::before {
  content: "+";
  position: absolute;
  left: 2px;
  font-family: var(--mono);
  font-weight: 900;
}

.tool-card code {
  font-family: var(--mono);
  font-size: 0.92em;
}

.tool-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.tool-status span {
  color: var(--ink);
  text-transform: uppercase;
}

.tool-status.warning span {
  color: var(--coral-dark);
}

.code-section {
  padding: 110px 0;
  background: #242522;
  color: var(--white);
}

.code-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 84px;
}

.code-tabs {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid #555650;
}

.code-tabs button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid #555650;
  background: transparent;
  color: #aaa9a3;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.code-tabs button::after {
  content: "+";
  color: #777872;
  font-size: 18px;
}

.code-tabs button[aria-selected="true"] {
  color: var(--yellow);
}

.code-tabs button[aria-selected="true"]::after {
  content: "->";
  color: var(--yellow);
  font-size: 13px;
}

.code-window {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #686963;
  border-radius: 6px;
  background: var(--code);
  box-shadow: 14px 14px 0 #151613;
}

.code-window pre {
  min-height: 420px;
  margin: 0;
  overflow: auto;
  padding: 42px;
  color: #f2f0e9;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.85;
  tab-size: 2;
}

.code-window pre[hidden] {
  display: none;
}

.code-window code {
  font: inherit;
}

.tok-key {
  color: #f1887e;
}

.tok-type {
  color: #89bdd8;
}

.tok-str {
  color: #91d49d;
}

.tok-num {
  color: #f2ce67;
}

.compat-section {
  background: var(--paper);
}

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper-bright);
}

.compat-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.compat-table th,
.compat-table td {
  width: 24%;
  padding: 20px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  vertical-align: top;
  text-align: left;
}

.compat-table tr > *:first-child {
  width: 28%;
}

.compat-table tr > *:last-child {
  border-right: 0;
}

.compat-table tbody tr:last-child > * {
  border-bottom: 0;
}

.compat-table thead th {
  padding-block: 16px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.compat-table thead .clun-col {
  background: var(--coral);
  color: var(--ink);
}

.compat-table tbody th {
  background: #e9e6de;
}

.compat-table tbody .clun-col {
  background: #fff0eb;
}

.compat-table th strong,
.compat-table th span {
  display: block;
}

.compat-table th strong {
  margin-bottom: 2px;
  font-size: 14px;
}

.compat-table th span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.compat-table code {
  font-family: var(--mono);
  font-size: 0.92em;
}

.state {
  display: block;
  width: max-content;
  margin-bottom: 5px;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.state.yes {
  color: #277c39;
}

.state.partial,
.state.separate {
  color: #76600d;
}

.state.no,
.state.blocked {
  color: #a33c32;
}

.source-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.internals-section {
  background: var(--yellow);
}

.internals-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  align-items: start;
  gap: 90px;
}

.internals-section .section-intro > p:not(.eyebrow) {
  color: #4e451e;
}

.contract-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.contract-list li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink);
}

.contract-list li > span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.contract-list strong {
  font-size: 17px;
}

.contract-list p {
  margin: 5px 0 0;
  color: #4e451e;
  font-size: 14px;
}

.contract-list code {
  font-family: var(--mono);
}

.closing {
  padding: 86px 0 92px;
  background: var(--coral);
  text-align: center;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing img {
  width: 128px;
  height: 128px;
  margin-bottom: 26px;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}

.closing .eyebrow {
  color: #2b1512;
}

.closing-command {
  width: min(100%, 720px);
  margin-top: 30px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 7px 7px 0 var(--ink);
  text-align: left;
}

.closing-caveat {
  margin: 24px 0 0;
  color: #2b1512;
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  padding: 72px 0 26px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) repeat(3, minmax(120px, 0.6fr));
  gap: 52px;
  padding-bottom: 70px;
}

.site-footer .brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 340px;
  margin: 18px 0 0;
  color: #aaa9a3;
  font-size: 13px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid h2 {
  margin: 0 0 8px;
  color: #8c8c86;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  color: #e4e2dc;
  font-size: 13px;
  text-decoration: none;
}

.footer-grid a:not(.brand):hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #484842;
  color: #888883;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-nav {
    gap: 20px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .proof-layout,
  .code-layout,
  .internals-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .proof-layout {
    max-width: 800px;
  }

  .code-layout {
    max-width: 850px;
  }

  .internals-layout {
    max-width: 850px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-facts div:nth-child(2) {
    border-right: 0;
  }

  .hero-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .shell,
  .nav-shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .announcement {
    min-height: 41px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .announcement a {
    gap: 7px;
  }

  .nav-shell {
    min-height: 62px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    z-index: 120;
    top: 103px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    align-content: start;
    gap: 0;
    padding: 18px 24px 40px;
    overflow-y: auto;
    background: var(--paper);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a,
  .site-nav .source-link {
    min-height: 58px;
    justify-content: space-between;
    padding: 16px 4px;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
  }

  .menu-button[aria-expanded="true"] .menu-lines i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-lines i:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] .menu-lines i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-inner {
    padding-top: 48px;
  }

  .hero-mark-wrap {
    width: 188px;
    height: 188px;
    margin-bottom: 26px;
  }

  .hero-mark-wrap::before {
    width: 180px;
    height: 158px;
    transform: translate(-9px, 6px);
  }

  .hero-mark-wrap::after {
    width: 174px;
    height: 164px;
    transform: translate(10px, -7px);
  }

  .hero-mark {
    width: 160px;
    height: 160px;
  }

  .hero-lines::after {
    top: 235px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .hero h1 br {
    display: none;
  }

  .hero-copy {
    margin: 22px auto 30px;
    font-size: 16px;
  }

  .installer {
    margin-bottom: 40px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .installer-head {
    align-items: flex-start;
  }

  .installer h2 {
    font-size: 19px;
  }

  .installer-head a {
    margin-top: 4px;
    text-align: right;
  }

  .command-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding-left: 12px;
  }

  .command-row code {
    font-size: 11px;
  }

  .copy-button {
    min-width: 58px;
    padding-inline: 8px;
  }

  .hero-facts {
    width: calc(100% + 30px);
  }

  .hero-facts div {
    padding: 17px 15px 19px;
  }

  .hero-facts dd {
    font-size: 13px;
  }

  .proof-band,
  .bench-section,
  .tools-section,
  .code-section,
  .compat-section,
  .internals-section {
    padding: 76px 0;
  }

  .section-intro h2,
  .section-heading h2,
  .code-copy h2,
  .closing h2 {
    font-size: 36px;
  }

  .terminal-body {
    min-height: 330px;
    padding: 23px 18px;
    overflow-x: auto;
    font-size: 11px;
  }

  .terminal {
    box-shadow: 7px 7px 0 #090a09;
  }

  .benchmark-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .benchmark-chart {
    padding: 0 16px;
  }

  .bench-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 23px 0;
  }

  .bench-meta {
    grid-column: 1;
  }

  .bars {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .gain {
    grid-column: 2;
    grid-row: 1;
  }

  .bar {
    font-size: 9px;
  }

  .benchmark-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .benchmark-foot .text-link {
    white-space: normal;
  }

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

  .tool-card {
    min-height: 0;
    padding: 30px 24px;
  }

  .tool-topline {
    margin-bottom: 40px;
  }

  .tool-card h3 {
    font-size: 29px;
  }

  .code-window {
    box-shadow: 7px 7px 0 #151613;
  }

  .code-window pre {
    min-height: 390px;
    padding: 28px 20px;
    font-size: 11px;
  }

  .table-wrap {
    margin-right: -15px;
    border-right: 0;
    border-radius: 6px 0 0 6px;
  }

  .compat-table th,
  .compat-table td {
    padding: 16px;
  }

  .compat-table tbody th {
    position: sticky;
    z-index: 2;
    left: 0;
  }

  .contract-list li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .closing {
    padding: 72px 0 78px;
  }

  .closing img {
    width: 108px;
    height: 108px;
  }

  .closing-command {
    box-shadow: 5px 5px 0 var(--ink);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .announcement a span:first-child {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .installer-head {
    min-height: 88px;
  }

  .installer-kicker {
    max-width: 170px;
  }

  .installer-note {
    font-size: 10px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div,
  .hero-facts div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .section-intro h2,
  .section-heading h2,
  .code-copy h2,
  .closing h2 {
    font-size: 32px;
  }

  .tool-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .tool-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .command-row code {
    font-size: 10px;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
