@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=IBM+Plex+Mono:wght@400;500&display=swap");
:root {
  --paper: #f5f3ed;
  --ink: #252822;
  --muted: #686a61;
  --line: #d7d8ce;
  --accent: #b64a2c;
  --dark: #222720;
  --mono: "IBM Plex Mono", monospace;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
}
button,
a,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible,
svg [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #e7b5a4;
  color: var(--ink);
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  border: 0;
}
button:disabled {
  cursor: default;
}
svg {
  display: block;
}
a,
button {
  touch-action: manipulation;
}
.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
}
.eyebrow {
  font-weight: 400;
  line-height: 1.6;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 5.5%;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 36px;
  font-weight: 650;
  letter-spacing: -5px;
  line-height: 1;
  padding-right: 6px;
}
.wordmark span {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
}
nav a {
  padding: 14px 0;
  position: relative;
}
nav a:after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s;
}
nav a:hover:after {
  width: 100%;
}
.header-github {
  font-size: 13px;
  display: flex;
  gap: 22px;
  align-items: center;
}
.header-github span {
  font-size: 21px;
}
.hero {
  padding: 0 5.5%;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 2%;
  max-width: 1440px;
  width: 100%;
  margin: auto;
  padding: 68px 0 54px;
}
.hero-copy {
  z-index: 1;
}
.hero .eyebrow {
  color: var(--muted);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(76px, 9.4vw, 148px);
  letter-spacing: -0.075em;
  line-height: 1.04;
  font-weight: 550;
  margin-left: -7px;
}
.hero h1 span {
  color: var(--accent);
}
.hero h2 {
  font-size: clamp(28px, 3.25vw, 49px);
  line-height: 1.13;
  letter-spacing: -0.045em;
  font-weight: 450;
  margin-top: 23px;
}
.hero-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 25px;
}
.primary-link {
  display: inline-flex;
  gap: 50px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 19px;
  margin-top: 31px;
  font-size: 13px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.primary-link span {
  font-size: 22px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 0 25px;
  color: var(--muted);
  font-size: 12px;
}
.hero-bottom a {
  display: flex;
  gap: 30px;
}
.engineering-map {
  position: relative;
  align-self: center;
  width: 100%;
  height: 480px;
  background-image: radial-gradient(#d4d5cb 0.8px, transparent 0.8px);
  background-size: 19px 19px;
  background-position: 50% 50%;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.map-caption {
  position: absolute;
  top: 9px;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
}
.map-lines {
  position: absolute;
  width: 100%;
  height: 450px;
  top: 15px;
  left: 0;
}
.orbit {
  stroke: #c9ccc0;
  stroke-width: 1;
}
.inner-orbit {
  stroke-dasharray: 3 5;
}
.connection {
  stroke: #b5b9ac;
  stroke-width: 1.2;
}
.fine-line {
  stroke: #dce0d4;
  stroke-width: 0.6;
  stroke-dasharray: 2 7;
}
.pulse-dot {
  fill: var(--accent);
}
.dot-one {
  animation: travel-one 6s ease-in-out infinite;
}
.dot-two {
  animation: travel-two 6s ease-in-out infinite 1s;
}
.dot-three {
  animation: travel-three 6s ease-in-out infinite 2s;
}
.map-center {
  position: absolute;
  width: 82px;
  height: 82px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
  border: 1px solid var(--accent);
  background: var(--paper);
  display: grid;
  place-items: center;
}
.map-center:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #dcb29f;
}
.map-center span {
  font: 27px var(--mono);
  transform: rotate(-30deg);
  color: var(--accent);
}
.map-node {
  position: absolute;
  background: var(--paper);
  padding: 12px 15px;
  min-width: 130px;
  transition:
    transform 0.25s,
    color 0.25s;
}
.map-node:hover {
  transform: translateY(-5px);
  color: var(--accent);
}
.map-node strong {
  display: block;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 4px 0;
}
.node-index {
  font: 9px var(--mono);
  letter-spacing: 0.07em;
  color: var(--muted);
}
.node-detail {
  font-size: 11px;
  color: var(--muted);
}
.node-swift {
  top: 55px;
  left: calc(50% - 74px);
}
.node-rust {
  top: 305px;
  left: 4%;
}
.node-agents {
  top: 305px;
  right: 0%;
}
.map-bottom {
  position: absolute;
  bottom: 5px;
  left: 9%;
  right: 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
}
.tiny-cross {
  font-size: 18px;
}
.section-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 102px 5.5%;
}
.section-heading {
  display: grid;
  grid-template-columns: 30% 1fr;
  align-items: start;
  margin-bottom: 48px;
}
.section-heading > .eyebrow {
  padding-top: 11px;
  color: var(--accent);
}
.section-heading h2,
.contribution-intro h2,
.usage-heading h2 {
  font-size: clamp(35px, 4vw, 57px);
  font-weight: 450;
  line-height: 1.09;
  letter-spacing: -0.05em;
}
.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}
.work-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
}
.filters {
  display: flex;
  gap: 7px;
}
.filters button {
  padding: 10px 16px;
  background: transparent;
  font-size: 12px;
  transition: background 0.2s;
}
.filters button.active {
  background: var(--ink);
  color: var(--paper);
}
.filters button:not(.active):hover {
  background: #e7e8df;
}
.filters button span {
  font: 9px var(--mono);
  opacity: 0.65;
  margin-left: 12px;
}
.work-count {
  font-size: 9px;
  color: var(--muted);
}
.project-row {
  display: grid;
  grid-template-columns: 40px 1.05fr 1.5fr 100px 25px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 29px 10px 29px 0;
  transition:
    background 0.2s,
    padding 0.2s;
  position: relative;
}
.project-row[hidden] {
  display: none;
}
.project-row:hover {
  background: #eeeee5;
  padding-left: 12px;
}
.project-number {
  color: #85877d;
  font-size: 10px;
}
.project-title h3 {
  font-size: 26px;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 7px;
}
.project-title > span {
  font-size: 10px;
  color: var(--muted);
}
.project-row p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 400px;
}
.project-meta {
  font-size: 10px;
  display: flex;
  gap: 11px;
  flex-direction: column;
  align-items: flex-start;
}
.project-meta > span:first-child {
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 3px;
}
.stars {
  color: var(--muted);
  padding-left: 2px;
}
.project-arrow {
  font-size: 25px;
  transition:
    transform 0.2s,
    color 0.2s;
}
.project-row:hover .project-arrow {
  transform: translate(3px, -3px);
  color: var(--accent);
}
.section-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  font: 10px var(--mono);
  color: var(--muted);
}
.section-footnote a {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink);
}
.section-footnote a:hover {
  color: var(--accent);
}
.contributions {
  padding-top: 58px;
  padding-bottom: 115px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 9%;
  border-top: 1px solid var(--line);
}
.contribution-intro {
  align-self: start;
  position: sticky;
  top: 40px;
}
.contribution-intro .eyebrow {
  color: var(--accent);
  margin-bottom: 29px;
}
.contribution-intro > p:not(.eyebrow) {
  margin-top: 25px;
  line-height: 1.7;
  font-size: 14px;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  gap: 25px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 9px;
  font-size: 12px;
  margin-top: 32px;
}
.contribution-item {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.contribution-item:first-child {
  padding-top: 4px;
}
.contribution-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}
.contribution-item h3 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 21px;
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-top: 15px;
}
.contribution-item h3 span {
  color: var(--muted);
  transition: transform 0.2s;
}
.contribution-item:hover h3 {
  color: var(--accent);
}
.contribution-item:hover h3 span {
  transform: translate(3px, -3px);
}
.contribution-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 10px;
}
.merged {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font: 9px var(--mono);
  color: #5b6851;
  margin-top: 17px;
}
.merged svg {
  width: 12px;
  height: 12px;
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1.3;
}
.usage-section {
  background: var(--dark);
  color: var(--paper);
}
.usage-section .section-shell {
  padding-top: 85px;
  padding-bottom: 35px;
}
.usage-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 47px;
  border-bottom: 1px solid #454a40;
}
.usage-heading .eyebrow {
  color: #c6a797;
  margin-bottom: 24px;
}
.usage-heading > p {
  font-size: 13px;
  line-height: 1.75;
  color: #b1b7a8;
  padding-bottom: 5px;
}
.ledger-controls {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  align-items: center;
}
.provider-buttons {
  display: flex;
  gap: 8px;
}
.provider-buttons button {
  background: transparent;
  color: #bec3b5;
  padding: 10px 15px;
  font-size: 12px;
  border: 1px solid transparent;
}
.provider-buttons button.active {
  border-color: #69715f;
  color: var(--paper);
}
.provider-buttons button:hover {
  background: #33392e;
}
.period-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  color: #b1b7a8;
}
.period-label select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #59614f;
  color: var(--paper);
  background-color: var(--dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%23f5f3ed' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  padding: 9px 36px 9px 12px;
  border-radius: 0;
  font-size: 11px;
}
.usage-summary {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 45px;
}
.total-block > .mono {
  color: #b6bdac;
  font-size: 9px;
}
.includes-cache {
  font-size: 8px;
  color: #c1b9a5;
}
.big-total {
  font-size: clamp(64px, 7.5vw, 112px);
  letter-spacing: -0.07em;
  font-weight: 450;
  line-height: 1.15;
  margin-top: 13px;
}
.total-block > p:last-child {
  font-size: 11px;
  color: #b1b7a8;
  margin-top: 9px;
}
.secondary-metric {
  display: flex;
  flex-direction: column;
}
.metric-number {
  font-size: 36px;
  letter-spacing: -0.035em;
  margin-bottom: 9px;
}
.secondary-metric > span:nth-child(2) {
  font-size: 12px;
}
.secondary-metric p {
  font-size: 10px;
  line-height: 1.6;
  color: #a9b19e;
  margin-top: 10px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
}
.chart-head > .mono {
  font-size: 9px;
  color: #c1c7b8;
}
.chart-legend {
  display: flex;
  gap: 20px;
  font-size: 10px;
  color: #c1c7b8;
}
.chart-legend span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.chart-legend i {
  height: 7px;
  width: 7px;
  display: inline-block;
}
.codex-key {
  background: #da916b;
}
.claude-key {
  background: #a9b59d;
}
.chart-wrap {
  position: relative;
}
.chart-tooltip {
  min-height: 28px;
  font: 10px var(--mono);
  color: #d6deca;
  padding: 4px 0 8px;
  line-height: 1.6;
}
#usage-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}
#usage-chart .chart-grid {
  stroke: #41483a;
  stroke-width: 1;
  stroke-dasharray: 3 6;
}
#usage-chart text {
  font: 10px var(--mono);
  fill: #b6bfaa;
}
#usage-chart .chart-bar {
  opacity: 0.88;
  transition: opacity 0.15s;
}
#usage-chart .chart-bar:hover,
#usage-chart .chart-bar:focus {
  opacity: 1;
}
#usage-chart .chart-bar:focus {
  outline: 1px solid #f5f3ed;
}
.chart-date-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a9b19e;
  margin-top: 10px;
}
.token-breakdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  margin-top: 38px;
  padding: 25px 0;
  border-top: 1px solid #454a40;
  border-bottom: 1px solid #454a40;
}
.token-breakdown div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.token-breakdown span {
  font-size: 11px;
  color: #b9c0ae;
}
.token-breakdown small {
  font-size: 9px;
}
.token-breakdown strong {
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.03em;
}
.ledger-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #454a40;
  padding-top: 24px;
  margin-top: 20px;
  color: #a9b19e;
  font-size: 8px;
  line-height: 1.7;
}
#usage-loading,
.usage-noscript {
  font-size: 13px;
  color: #bcc4b2;
  padding: 40px 0;
}
.usage-noscript a {
  text-decoration: underline;
}
.closing {
  padding-top: 100px;
  padding-bottom: 100px;
}
.closing > .eyebrow {
  color: var(--accent);
  margin-bottom: 24px;
}
.closing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}
.closing h2 {
  font-size: clamp(34px, 4.5vw, 66px);
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -0.055em;
}
.closing h2 span {
  color: var(--accent);
}
.closing-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.closing-link > span:first-child {
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-size: 42px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.closing-link:hover > span:first-child {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(45deg);
}
.closing-link > span:last-child {
  font-size: 11px;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin: 0 5.5%;
  padding: 26px 0 30px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-footer .wordmark {
  font-size: 28px;
}
.site-footer p {
  font-size: 11px;
  color: var(--muted);
}
.site-footer > div {
  margin-left: auto;
  display: flex;
  gap: 40px;
  color: var(--muted);
  font: 10px var(--mono);
}
.entrance {
  animation: enter 0.8s both;
}
.hero h1 {
  animation-delay: 0.08s;
}
.hero h2 {
  animation-delay: 0.16s;
}
.hero-description {
  animation-delay: 0.22s;
}
.primary-link {
  animation-delay: 0.3s;
}
.engineering-map {
  animation-delay: 0.15s;
}
.js-motion .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.js-motion .reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes travel-one {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(30px);
    opacity: 1;
  }
}
@keyframes travel-two {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate(22px, -13px);
    opacity: 1;
  }
}
@keyframes travel-three {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate(-22px, -13px);
    opacity: 1;
  }
}
@media (min-width: 1700px) {
  .hero {
    min-height: 760px;
  }
  .hero-inner {
    gap: 100px;
  }
  .site-header,
  .hero-bottom {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    width: 89%;
  }
  .hero-bottom {
    width: 100%;
  }
  .section-shell {
    padding-left: 80px;
    padding-right: 80px;
  }
}
@media (max-width: 1000px) {
  .hero {
    min-height: 650px;
  }
  .hero-inner {
    padding: 50px 0;
    grid-template-columns: 1.1fr 1fr;
  }
  .engineering-map {
    height: 400px;
  }
  .map-lines {
    height: 370px;
  }
  .map-center {
    width: 65px;
    height: 65px;
  }
  .node-swift {
    top: 42px;
  }
  .node-rust,
  .node-agents {
    top: 252px;
  }
  .map-node {
    padding: 8px;
    min-width: 100px;
  }
  .map-node strong {
    font-size: 24px;
  }
  .node-index {
    font-size: 7px;
  }
  .node-detail {
    font-size: 9px;
  }
  .node-agents {
    right: -1%;
  }
  .hero h1 {
    font-size: 10.7vw;
  }
  .hero h2 {
    font-size: 35px;
  }
  .hero-description {
    font-size: 13px;
  }
  .project-row {
    grid-template-columns: 25px 1fr 1.25fr 60px 20px;
    gap: 16px;
  }
  .project-title h3 {
    font-size: 23px;
  }
  .project-title > span {
    font-size: 9px;
  }
  .project-row p {
    font-size: 12px;
  }
  .section-heading {
    grid-template-columns: 27% 1fr;
  }
  .usage-summary {
    gap: 25px;
    grid-template-columns: 1.8fr 1fr 1fr;
  }
  .includes-cache {
    display: block;
    margin-top: 5px;
  }
  .usage-heading > p {
    max-width: 290px;
  }
  .contributions {
    gap: 7%;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 25px;
  }
  .site-header {
    height: 72px;
    margin: 0 6%;
  }
  nav {
    gap: 19px;
    font-size: 11px;
  }
  .header-github {
    font-size: 0;
    gap: 0;
  }
  .header-github span {
    font-size: 20px;
  }
  .wordmark {
    font-size: 31px;
  }
  .hero {
    padding: 0 6%;
    min-height: auto;
  }
  .hero-inner {
    display: block;
    padding: 40px 0 0;
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .hero h1 {
    font-size: 22vw;
    margin-left: -4px;
  }
  .hero h2 {
    font-size: 34px;
    margin-top: 21px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.65;
    margin-top: 20px;
  }
  .primary-link {
    margin-top: 24px;
    padding: 12px 17px;
    font-size: 12px;
    gap: 46px;
  }
  .engineering-map {
    height: 340px;
    width: min(420px, 100%);
    margin: 40px auto 23px;
  }
  .map-lines {
    height: 320px;
    top: 10px;
  }
  .map-center {
    top: 50%;
    width: 61px;
    height: 61px;
  }
  .map-center span {
    font-size: 22px;
  }
  .map-caption {
    top: 0;
    font-size: 8px;
  }
  .node-swift {
    top: 28px;
    left: calc(50% - 57px);
  }
  .node-rust,
  .node-agents {
    top: 213px;
  }
  .map-node strong {
    font-size: 24px;
  }
  .map-node {
    padding: 8px;
  }
  .node-detail {
    font-size: 9px;
  }
  .node-index {
    font-size: 7px;
  }
  .map-bottom {
    bottom: 0;
    font-size: 8px;
  }
  .hero-bottom {
    padding: 17px 0;
    font-size: 10px;
    line-height: 1.5;
  }
  .hero-bottom a {
    font-size: 0;
    gap: 0;
  }
  .hero-bottom a span {
    font-size: 19px;
  }
  .section-shell {
    padding: 65px 6%;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > .eyebrow {
    padding: 0;
    margin-bottom: 20px;
    font-size: 10px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .section-heading p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 14px;
  }
  .work-toolbar {
    align-items: flex-start;
    gap: 0;
    padding-bottom: 14px;
  }
  .filters {
    gap: 2px;
    flex-wrap: wrap;
  }
  .filters button {
    padding: 9px 11px;
    font-size: 11px;
  }
  .filters button span {
    margin-left: 6px;
    font-size: 8px;
  }
  .work-count {
    display: none;
  }
  .project-row {
    grid-template-columns: 22px 1fr 54px 18px;
    gap: 11px;
    padding: 23px 0;
  }
  .project-title {
    grid-column: 2;
  }
  .project-title h3 {
    font-size: 25px;
  }
  .project-title > span {
    font-size: 9px;
  }
  .project-row p {
    grid-column: 2 / 4;
    grid-row: 2;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.6;
    max-width: none;
  }
  .project-meta {
    grid-column: 3;
    grid-row: 1;
    font-size: 9px;
    gap: 7px;
  }
  .project-arrow {
    grid-column: 4;
    grid-row: 1;
    font-size: 23px;
  }
  .project-number {
    font-size: 9px;
    align-self: start;
    padding-top: 8px;
  }
  .section-footnote {
    font-size: 8px;
    line-height: 1.7;
    gap: 20px;
    align-items: flex-start;
  }
  .section-footnote a {
    font-size: 10px;
    white-space: nowrap;
  }
  .contributions {
    display: block;
    padding-top: 55px;
    padding-bottom: 65px;
    margin: 0 6%;
    padding-left: 0;
    padding-right: 0;
  }
  .contribution-intro {
    position: static;
  }
  .contribution-intro .eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
  }
  .contribution-intro h2 {
    font-size: 35px;
  }
  .contribution-intro > p:not(.eyebrow) {
    font-size: 13px;
    margin-top: 19px;
  }
  .text-link {
    font-size: 11px;
    margin-top: 23px;
  }
  .contribution-list {
    margin-top: 38px;
  }
  .contribution-item {
    padding: 24px 0;
  }
  .contribution-item h3 {
    font-size: 20px;
  }
  .contribution-top {
    font-size: 8px;
  }
  .usage-section .section-shell {
    padding-top: 58px;
    padding-bottom: 28px;
  }
  .usage-heading {
    display: block;
    padding-bottom: 30px;
  }
  .usage-heading h2 {
    font-size: 38px;
  }
  .usage-heading .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .usage-heading > p {
    font-size: 12px;
    margin-top: 20px;
    max-width: none;
  }
  .desktop-break {
    display: none;
  }
  .ledger-controls {
    align-items: flex-start;
    margin-top: 23px;
    flex-direction: column;
    gap: 19px;
  }
  .provider-buttons {
    gap: 5px;
  }
  .provider-buttons button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .period-label {
    align-self: flex-end;
    margin-top: -1px;
  }
  .usage-summary {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 27px 0 32px;
  }
  .total-block {
    grid-column: 1 / -1;
  }
  .total-block > .mono {
    font-size: 9px;
  }
  .includes-cache {
    display: inline;
    font-size: 7px;
  }
  .big-total {
    font-size: 82px;
    margin-top: 7px;
  }
  .total-block > p:last-child {
    font-size: 10px;
    margin-top: 4px;
  }
  .metric-number {
    font-size: 29px;
    margin-bottom: 6px;
  }
  .secondary-metric > span:nth-child(2) {
    font-size: 11px;
  }
  .secondary-metric p {
    font-size: 9px;
  }
  .chart-head {
    align-items: flex-start;
    gap: 12px;
  }
  .chart-head > .mono {
    font-size: 8px;
    line-height: 1.8;
    max-width: 130px;
  }
  .chart-legend {
    gap: 11px;
    font-size: 8px;
    padding-top: 3px;
  }
  .chart-legend i {
    width: 6px;
    height: 6px;
  }
  .chart-tooltip {
    font-size: 9px;
    min-height: 40px;
  }
  .chart-date-labels {
    font-size: 7px;
  }
  .chart-wrap {
    overflow: visible;
  }
  #usage-chart {
    min-height: 160px;
  }
  .token-breakdown {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 27px;
    padding: 24px 0;
  }
  .token-breakdown span {
    font-size: 10px;
  }
  .token-breakdown strong {
    font-size: 23px;
  }
  .token-breakdown div {
    gap: 7px;
  }
  .ledger-footer {
    flex-direction: column;
    gap: 6px;
    font-size: 8px;
    padding-top: 18px;
  }
  .closing {
    padding-top: 62px;
    padding-bottom: 65px;
  }
  .closing > .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .closing-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
  .closing h2 {
    font-size: 36px;
  }
  .closing-link {
    flex-direction: row;
    gap: 17px;
  }
  .closing-link > span:first-child {
    height: 47px;
    width: 47px;
    font-size: 26px;
  }
  .site-footer {
    margin: 0 6%;
    gap: 15px;
    flex-wrap: wrap;
    padding: 25px 0;
  }
  .site-footer .wordmark {
    font-size: 26px;
  }
  .site-footer p {
    font-size: 10px;
  }
  .site-footer > div {
    gap: 15px;
    font-size: 8px;
  }
  .site-footer > div > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 701px) and (max-width: 1699px) {
  .hero {
    min-height: calc(100svh - 88px);
  }
  .hero-inner {
    padding: 42px 0 35px;
  }
}
@media (max-width: 700px) {
  .engineering-map {
    height: 250px;
    margin: 24px auto 16px;
  }
  .map-lines {
    height: 240px;
    top: 5px;
  }
  .map-center {
    width: 53px;
    height: 53px;
  }
  .map-center span {
    font-size: 19px;
  }
  .node-swift {
    top: 26px;
  }
  .node-rust,
  .node-agents {
    top: 160px;
  }
  .node-detail {
    display: none;
  }
  .map-node strong {
    font-size: 22px;
  }
  .map-bottom {
    font-size: 7px;
  }
  .map-caption {
    font-size: 7px;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .hero-inner {
    padding-top: 26px;
  }
  .hero h1 {
    font-size: 21vw;
  }
  .hero h2 {
    font-size: 30px;
    margin-top: 18px;
  }
  .hero-description {
    font-size: 12px;
    margin-top: 16px;
  }
  .primary-link {
    margin-top: 20px;
  }
  .engineering-map {
    height: 130px;
    margin: 22px auto 14px;
  }
  .map-lines,
  .map-center,
  .map-bottom {
    display: none;
  }
  .map-caption {
    top: 0;
  }
  .map-node {
    top: 37px;
    min-width: 0;
    padding: 7px 3px;
  }
  .node-swift {
    left: 3%;
  }
  .node-rust {
    left: 36%;
  }
  .node-agents {
    right: 2%;
  }
  .map-node strong {
    font-size: 23px;
  }
  .node-index {
    font-size: 6px;
  }
  .hero-bottom {
    padding: 14px 0;
  }
}
@media print {
  nav,
  .engineering-map,
  .filters,
  .ledger-controls,
  .closing-link,
  .chart-tooltip {
    display: none;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .section-shell {
    padding: 30px 0;
  }
  .hero {
    min-height: 0;
  }
  .hero-inner {
    padding: 30px 0;
  }
  .usage-section {
    background: #fff;
    color: #222;
  }
  .usage-section * {
    color: #222 !important;
  }
  .site-header {
    height: 55px;
  }
  .contribution-intro {
    position: static;
  }
}
.packages {
  margin-top: 75px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.catalog-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
}
.catalog-heading .eyebrow {
  color: var(--accent);
  font-size: 9px;
  margin-bottom: 17px;
}
.catalog-heading h3 {
  font-size: 35px;
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.2;
}
.catalog-heading p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 12px;
}
.catalog-heading > .mono {
  font-size: 9px;
  color: var(--muted);
  padding-bottom: 4px;
}
.registry-profile {
  font-size: 12px;
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 9px;
  white-space: nowrap;
}
.registry-profile:hover {
  color: var(--accent);
}
.registry-stats {
  display: flex;
  gap: 36px;
  align-items: center;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
}
.registry-stats strong {
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-right: 7px;
}
.registry-stats .mono {
  font-size: 8px;
  margin-left: auto;
}
.crate-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 55px;
}
.crate-row {
  display: grid;
  grid-template-columns: 1fr auto 18px;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  min-width: 0;
}
.crate-row h4 {
  font: 500 19px var(--sans);
  letter-spacing: -0.03em;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.crate-version {
  font: 9px var(--mono);
  letter-spacing: 0;
  color: var(--muted);
}
.crate-row p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 8px;
  max-width: 310px;
}
.crate-downloads {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}
.crate-downloads strong {
  font: 400 12px var(--mono);
}
.crate-downloads > span {
  font-size: 9px;
  color: var(--muted);
}
.crate-arrow {
  font-size: 20px;
}
.crate-row:hover h4,
.crate-row:hover .crate-arrow {
  color: var(--accent);
}
.catalog-more {
  margin-top: 12px;
}
.catalog-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 15px 0;
  font-size: 12px;
  cursor: pointer;
}
.catalog-more summary::-webkit-details-marker {
  display: none;
}
.catalog-more summary > span {
  font-size: 20px;
  transition: transform 0.2s;
}
.catalog-more[open] summary > span {
  transform: rotate(45deg);
}
.compact-crates .crate-row {
  padding: 18px 0;
}
.compact-crates h4 {
  font-size: 15px;
}
.contributions {
  row-gap: 60px;
}
.private-contributions {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 48px;
  min-width: 0;
}
.private-ref-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 36px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.private-ref-list li {
  font: 11px var(--mono);
  line-height: 1.65;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-content: space-between;
}
.private-ref-list li > span:first-child {
  overflow-wrap: anywhere;
}
.pr-kind {
  font: 9px var(--mono);
  color: var(--muted);
}
.private-scroll {
  max-height: 415px;
  overflow-y: auto;
  padding-right: 15px;
}
.private-scroll .private-ref-list {
  margin-top: 0;
}
.private-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.private-more {
  margin-top: 10px;
}
@media (max-width: 1000px) {
  .crate-list {
    column-gap: 28px;
  }
  .crate-row {
    gap: 12px;
  }
  .crate-row h4 {
    font-size: 18px;
    gap: 8px;
  }
  .private-ref-list {
    column-gap: 24px;
  }
}
.contribution-intro {
  position: static;
}
@media (max-width: 700px) {
  .packages {
    margin-top: 45px;
    padding-top: 35px;
  }
  .catalog-heading {
    display: block;
  }
  .catalog-heading h3 {
    font-size: 29px;
  }
  .catalog-heading p:not(.eyebrow) {
    font-size: 12px;
  }
  .registry-profile {
    display: inline-flex;
    margin-top: 23px;
    font-size: 11px;
  }
  .catalog-heading > .mono {
    display: block;
    margin-top: 18px;
    font-size: 8px;
  }
  .registry-stats {
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 20px 0 17px;
    font-size: 10px;
  }
  .registry-stats strong {
    font-size: 21px;
    margin-right: 4px;
  }
  .registry-stats .mono {
    margin-left: 0;
    flex-basis: 100%;
    font-size: 8px;
  }
  .crate-list {
    grid-template-columns: 1fr;
  }
  .crate-row {
    padding: 20px 0;
    gap: 15px;
  }
  .crate-row h4 {
    font-size: 19px;
    gap: 11px;
  }
  .crate-row p {
    font-size: 11px;
  }
  .crate-downloads strong {
    font-size: 11px;
  }
  .catalog-more summary {
    font-size: 11px;
    gap: 15px;
  }
  .private-contributions {
    padding-top: 36px;
    margin-top: 42px;
  }
  .private-ref-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    margin-top: 20px;
  }
  .private-ref-list li {
    font-size: 9px;
    gap: 7px;
    padding: 12px 0;
  }
  .pr-kind {
    font-size: 7px;
  }
  .private-scroll {
    max-height: 370px;
    padding-right: 8px;
  }
  .private-more summary {
    font-size: 11px;
  }
}
.commit-section {
  grid-column: 1 / -1;
  min-width: 0;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.commit-section h2 {
  font-size: 49px;
  font-weight: 450;
  letter-spacing: -0.05em;
}
.commit-summary {
  display: flex;
  gap: 60px;
  padding: 30px 0 26px;
}
.commit-summary[hidden] {
  display: none;
}
.commit-summary > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.commit-summary strong {
  font-size: 33px;
  font-weight: 450;
  letter-spacing: -0.04em;
}
.commit-summary span {
  font-size: 11px;
  color: var(--muted);
}
.commit-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.commit-toolbar > .mono {
  color: var(--muted);
  font-size: 9px;
}
.commit-toolbar [hidden] {
  display: none;
}
.calendar-scroll {
  overflow-x: auto;
  padding: 5px 3px 12px;
}
.calendar-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.calendar-layout {
  position: relative;
  padding-top: 28px;
  padding-left: 35px;
  min-width: 795px;
}
.calendar-months {
  position: absolute;
  top: 0;
  left: 35px;
  right: 0;
  height: 20px;
  font-size: 9px;
  color: var(--muted);
}
.calendar-months span {
  position: absolute;
}
.calendar-weekdays {
  position: absolute;
  left: 0;
  top: 28px;
  height: 113px;
  font-size: 8px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  gap: 22px;
}
.commit-calendar {
  display: grid;
  grid-template-rows: repeat(7, 13px);
  grid-auto-flow: column;
  grid-auto-columns: minmax(10px, 1fr);
  gap: 4px;
}
.calendar-day,
.calendar-blank {
  border-radius: 2px;
  min-width: 0;
  width: 100%;
  height: 13px;
  padding: 0;
}
.calendar-day {
  border: 1px solid #2528220b;
}
.calendar-day:hover,
.calendar-day:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  z-index: 1;
}
.level-0 {
  background: #e5e7df;
}
.level-1 {
  background: #c4d2b8;
}
.level-2 {
  background: #99b17f;
}
.level-3 {
  background: #6d8c50;
}
.level-4 {
  background: #3b592b;
}
.calendar-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 17px;
}
.calendar-footer p {
  font: 10px var(--mono);
  line-height: 1.6;
  color: var(--muted);
  min-height: 20px;
}
.calendar-legend {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
}
.calendar-legend i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
}
.calendar-legend span:first-child {
  margin-right: 4px;
}
.calendar-legend span:last-child {
  margin-left: 4px;
}
.commit-note {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 15px;
}
.commit-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 5px;
}
.private-index {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.private-index > summary {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  list-style: none;
  font-size: 14px;
  padding: 22px 0;
  cursor: pointer;
}
.private-index > summary::-webkit-details-marker {
  display: none;
}
.private-index > summary span {
  font: 10px var(--mono);
  color: var(--muted);
}
.private-index .private-contributions {
  padding-top: 20px;
  border: 0;
  margin-top: 0;
}
@media (max-width: 700px) {
  .commit-section {
    margin-bottom: 42px;
    padding-bottom: 35px;
  }
  .commit-section h2 {
    font-size: 35px;
  }
  .commit-summary {
    gap: 25px;
    justify-content: space-between;
    padding: 25px 0;
  }
  .commit-summary strong {
    font-size: 26px;
  }
  .commit-summary span {
    font-size: 9px;
    line-height: 1.5;
    max-width: 85px;
  }
  .commit-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
  }
  .commit-toolbar > .mono {
    font-size: 8px;
  }
  .calendar-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .calendar-footer p {
    font-size: 9px;
  }
  .calendar-legend {
    align-self: flex-end;
  }
  .private-index {
    margin-top: 40px;
  }
  .private-index > summary {
    font-size: 12px;
    gap: 12px;
  }
  .private-index > summary span {
    font-size: 8px;
  }
}
.commit-calendar {
  grid-template-rows: repeat(7, auto);
}
.calendar-day,
.calendar-blank {
  height: auto;
  aspect-ratio: 1;
}
.calendar-weekdays {
  bottom: 0;
  height: auto;
  padding-top: 0;
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  gap: 4px;
  align-items: center;
}
.calendar-weekdays span:nth-child(1) {
  grid-row: 2;
}
.calendar-weekdays span:nth-child(2) {
  grid-row: 4;
}
.calendar-weekdays span:nth-child(3) {
  grid-row: 6;
}
.calendar-mobile-hint {
  display: none;
}
@media (max-width: 700px) {
  .calendar-mobile-hint {
    display: block;
    font-size: 9px;
    color: var(--muted);
    margin-top: 10px;
  }
  .commit-toolbar .filters button {
    min-height: 40px;
  }
}

@media (forced-colors: active) {
  .period-label select {
    appearance: auto;
    -webkit-appearance: auto;
    background-image: none;
  }
}

.token-breakdown + .ledger-footer {
  border-top: 0;
  margin-top: 0;
  padding-top: 22px;
}
