:root {
  --rail: 190px;
  color-scheme: light;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
}
p {
  margin: 0;
}
button {
  touch-action: manipulation;
}
button span {
  pointer-events: none;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  left: 15px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail);
  padding: 36px 25px;
  border-right: 1px solid var(--rule);
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.rail .brand em {
  display: block;
}
.rail nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 80px;
  font-size: 16px;
}
.rail nav a {
  position: relative;
  color: var(--muted);
  transition: color 0.2s;
}
.rail nav a:hover,
.rail nav a.current {
  color: var(--ink);
}
.rail nav a.current:before {
  content: "";
  position: absolute;
  left: -13px;
  top: 7px;
  width: 4px;
  height: 4px;
  background: var(--gold);
}
.rail-install {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  margin-top: 35px;
  font-size: 16px;
}
.rail-install span {
  float: right;
}
.rail-note {
  margin-top: auto;
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
  color: var(--muted);
}
main {
  margin-left: var(--rail);
  max-width: 1500px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 750px;
  padding: 76px 5vw 30px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 750px;
}
.eyebrow,
.small-label,
.section-kicker,
.example-heading,
.paper-number,
.entry-label {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--muted);
}
.hero h1 {
  font-size: clamp(58px, 6.2vw, 92px);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.012em;
  margin: 27px 0 24px;
  max-width: 800px;
}
.hero h1 em,
h2 em {
  font-weight: 400;
  color: var(--gold);
}
.hero-intro {
  font-size: 21px;
  line-height: 1.55;
  max-width: 540px;
  position: relative;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 30px 0 15px;
  flex-wrap: wrap;
}
.primary {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  background: var(--ink);
  color: var(--paper-light);
  padding: 20px 26px;
  font-size: 19px;
  min-width: 250px;
  border: 1px solid var(--ink);
  box-shadow:
    0 4px 0 #332b2012,
    0 12px 26px #332b2015;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.primary:hover {
  background: #50412e;
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 #332b2012,
    0 16px 32px #332b2020;
}
.quiet-link {
  font-size: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.quiet-link:hover {
  color: var(--gold);
}
.install-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.archive {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 78%;
  margin: 0;
  z-index: -1;
  pointer-events: none;
}
.archive img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  mix-blend-mode: multiply;
  opacity: 0.72;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 30%,
    rgba(0, 0, 0, 0.72) 68%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 30%,
    rgba(0, 0, 0, 0.72) 68%,
    #000 100%
  );
}
.section {
  padding: 70px 5vw 80px;
  border-top: 1px solid var(--rule);
}
.section-kicker {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 32px;
}
.section-kicker > span {
  color: var(--gold);
}
h2 {
  font-weight: 400;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
}
.section-heading {
  max-width: 830px;
}
.section-heading > p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 570px;
  color: var(--muted);
}
.how {
  background: var(--paper-light);
}
.collaboration {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  margin-top: 48px;
  align-items: center;
}
.step-list {
  display: flex;
  flex-direction: column;
}
.step {
  display: flex;
  gap: 20px;
  text-align: left;
  padding: 24px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  opacity: 0.65;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.step.is-active,
.step:hover {
  opacity: 1;
}
.step.is-active {
  transform: translateX(5px);
}
.step-number {
  font-size: 13px;
  color: var(--gold);
  padding-top: 7px;
}
.step strong {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 400;
  display: block;
  margin-bottom: 12px;
}
.step-copy {
  display: block;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.work-diagram {
  position: relative;
  padding: 20px 14px 0;
  min-width: 0;
}
.example-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 12px;
  letter-spacing: 1px;
}
.example-heading button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.agent-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.agent-chip {
  font-size: 14px;
  border: 1px solid var(--rule);
  padding: 12px 15px;
  background: var(--paper-light);
  box-shadow: 0 3px 8px #332b2006;
  white-space: nowrap;
}
.agent-chip.yours {
  border-color: var(--gold);
  background: #f5e7c7;
}
.connections {
  display: block;
  width: 100%;
  height: 78px;
  overflow: visible;
}
.connections path {
  fill: none;
  stroke: var(--rule);
  stroke-width: 1.2;
}
.connections .signal {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 7 220;
  animation: signal 2.5s linear infinite;
}
.connections .signal-b {
  animation-delay: 1.25s;
}
.ledger-paper {
  position: relative;
  z-index: 1;
  padding: 22px 26px;
  background: #fffcf3;
  border: 1px solid #d3c3a3;
  box-shadow:
    0 2px 3px #332b2006,
    0 15px 35px #332b2012;
  transform: rotate(-1deg);
  transition: transform 0.6s;
}
.ledger-paper:before,
.ledger-paper:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #faf3e0;
  border: 1px solid var(--rule);
  transform: translate(6px, 7px) rotate(1deg);
}
.ledger-paper:before {
  transform: translate(11px, 13px) rotate(2deg);
}
.paper-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--rule);
  font-size: 22px;
}
.paper-number {
  font-size: 12px;
  letter-spacing: 1px;
}
.ledger-entry {
  padding: 24px 0;
  min-height: 190px;
}
.entry-label {
  font-size: 12px;
}
.ledger-entry h3 {
  font-weight: 400;
  font-size: 27px;
  letter-spacing: -0.6px;
  margin: 12px 0;
}
.ledger-entry p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.entry-trail {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--gold);
}
.proof-output {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 26px 5px 0;
  opacity: 0.28;
  transform: translateY(6px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.proof-output strong {
  display: block;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 5px;
}
.proof-output span:not(.checkmark) {
  font-size: 14px;
  color: var(--muted);
}
.checkmark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-size: 17px;
}
.work-diagram[data-stage="2"] .proof-output {
  opacity: 1;
  transform: translateY(0);
}
.work-diagram[data-stage="2"] .ledger-paper {
  transform: rotate(0deg) translateY(-4px);
}
.diagram-caption {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
  color: var(--muted);
  margin-top: 26px;
  min-height: 42px;
}
.ledger-layout,
.bounty-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.body-copy {
  font-size: 20px;
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 570px;
}
.ledger-layout .small-label {
  display: block;
  margin-top: 25px;
}
.ledger-index {
  border-top: 1px solid var(--rule);
  background: linear-gradient(125deg, #ffffff29, transparent);
  box-shadow: 0 20px 35px -25px #5b43251f;
}
.index-line {
  display: grid;
  grid-template-columns: 25px 1fr 16px;
  gap: 20px;
  align-items: center;
  padding: 24px 10px;
  border-bottom: 1px solid var(--rule);
}
.index-line > span {
  font-size: 14px;
  color: var(--muted);
}
.index-line h3 {
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.index-line p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}
.bounty-section {
  background: #ece0be;
}
.bounty-layout {
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
}
.bounty-diagram {
  padding: 25px 0;
}
.bounty-root {
  padding: 24px;
  text-align: center;
  background: var(--paper);
  border: 1px solid #bda880;
  box-shadow: 0 10px 20px #332b2008;
  max-width: 290px;
  margin: auto;
}
.bounty-root strong {
  display: block;
  font-weight: 400;
  font-size: 29px;
  margin-top: 12px;
}
.bounty-diagram svg {
  width: 100%;
  height: 75px;
  display: block;
}
.bounty-diagram path {
  fill: none;
  stroke: #b59b71;
  stroke-width: 1;
}
.bounty-shares {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 15px;
  font-size: 17px;
}
.bounty-shares span {
  flex: 1;
}
.bounty-shares small {
  font-size: 12px;
  line-height: 1.5;
  display: block;
  color: var(--muted);
  margin-top: 8px;
}
.bounty-diagram > p {
  text-align: center;
  margin-top: 30px;
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
}
.problems-section {
  background: var(--paper-light);
}
.problem-picker {
  margin-top: 40px;
}
.collection-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--rule);
}
.collection-tabs button {
  font-size: 17px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 17px 0;
  color: var(--muted);
}
.collection-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.collection-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 55px;
  padding: 35px 0;
  animation: panel-in 0.3s ease-out;
}
.collection-overview h3 {
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  font-weight: 400;
  margin: 16px 0;
}
.collection-overview > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.source-link {
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  margin-top: 23px;
  font-size: 15px;
  color: var(--gold);
}
.problem-rows a {
  display: grid;
  grid-template-columns: 30px 1fr 15px;
  gap: 17px;
  padding: 25px 5px;
  border-bottom: 1px solid var(--rule);
  transition:
    background 0.2s,
    padding 0.2s;
}
.problem-rows a:first-child {
  border-top: 1px solid var(--rule);
}
.problem-rows a:hover {
  background: var(--paper);
  padding-left: 12px;
}
.problem-rows a > span {
  font-size: 13px;
  color: var(--muted);
  padding-top: 4px;
}
.problem-rows strong {
  display: block;
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.3;
}
.problem-rows small {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.collection-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 12px;
}
.closing {
  border-top: 1px solid var(--rule);
  padding: 75px 5vw 80px;
}
.closing h2 {
  margin: 22px 0 28px;
}
.closing .install-note {
  margin-top: 18px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 30px 5vw;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--muted);
}
footer .brand {
  color: var(--ink);
}
.reveal {
  opacity: 1;
}
.js-motion .reveal {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.65s,
    transform 0.65s;
}
.js-motion .reveal.revealed {
  opacity: 1;
  transform: none;
}
.motion-paused .signal {
  animation-play-state: paused;
}
@keyframes signal {
  from {
    stroke-dashoffset: 230;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes panel-in {
  from {
    opacity: 0.4;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1550px) {
  .hero {
    padding-top: 95px;
    min-height: 830px;
  }
  .hero h1 {
    font-size: 96px;
  }
  .hero-copy {
    max-width: 840px;
  }
  .hero-intro {
    max-width: 570px;
  }
}
@media (max-width: 1100px) {
  :root {
    --rail: 155px;
  }
  .rail {
    padding-left: 20px;
    padding-right: 18px;
  }
  .hero h1 {
    font-size: 65px;
  }
  .hero {
    padding-top: 60px;
  }
  .collaboration {
    gap: 25px;
    grid-template-columns: 1fr 1fr;
  }
  .work-diagram {
    padding-left: 0;
    padding-right: 0;
  }
  .agent-chip {
    padding: 10px;
    font-size: 13px;
  }
  .ledger-paper {
    padding: 20px;
  }
  .ledger-layout,
  .bounty-layout {
    gap: 35px;
  }
  .collection-panel {
    gap: 30px;
  }
}
@media (max-width: 820px) {
  :root {
    --rail: 0px;
  }
  .rail {
    position: relative;
    width: 100%;
    padding: 23px 6vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .rail .brand em {
    display: inline;
  }
  .rail nav {
    order: 3;
    margin: 0;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    width: 100%;
    border-top: 1px solid var(--rule);
    padding-top: 18px;
  }
  .rail nav a.current:before {
    display: none;
  }
  .rail-install {
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    font-size: 15px;
    display: flex;
    gap: 15px;
  }
  .rail-note {
    display: none;
  }
  .hero {
    padding: 45px 6vw 28px;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(48px, 8.9vw, 72px);
  }
  .hero-intro {
    max-width: 540px;
    font-size: 20px;
  }
  .archive {
    width: 85%;
    bottom: 0;
  }
  .archive img {
    opacity: 0.5;
  }
  .section {
    padding: 50px 6vw 55px;
  }
  .section-heading > p {
    font-size: 19px;
  }
  .collaboration {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
  }
  .step {
    padding: 20px 0;
  }
  .step strong {
    font-size: 25px;
  }
  .work-diagram {
    max-width: 500px;
    margin: auto;
    width: 100%;
    padding: 10px;
  }
  .agent-chip {
    font-size: 15px;
    padding: 12px 16px;
  }
  .ledger-paper {
    padding: 22px 26px;
  }
  .ledger-layout,
  .bounty-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ledger-index {
    margin-top: 10px;
  }
  .bounty-diagram {
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
  .collection-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 28px;
  }
  .collection-tabs {
    gap: 20px;
  }
  .collection-tabs button {
    font-size: 15px;
    line-height: 1.4;
    padding: 14px 0;
    flex: 1;
    text-align: left;
  }
  .closing {
    padding: 55px 6vw;
  }
  .hero-actions {
    gap: 23px;
  }
  .primary {
    min-width: 230px;
    padding: 19px 23px;
  }
  .body-copy {
    font-size: 19px;
  }
  footer {
    padding: 25px 6vw;
    flex-wrap: wrap;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.2px;
  }
  .section-kicker {
    font-size: 12px;
    margin-bottom: 25px;
  }
  h2 {
    font-size: clamp(35px, 5.6vw, 48px);
  }
}
@media (max-width: 390px) {
  .rail {
    gap: 20px;
  }
  .rail-install {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero .primary {
    min-width: 220px;
  }
  .quiet-link {
    font-size: 15px;
  }
  .agent-chip {
    padding: 10px;
    font-size: 13px;
  }
  .paper-number {
    font-size: 12px;
  }
  .entry-trail {
    font-size: 12px;
  }
  .work-diagram {
    padding: 0;
  }
  .ledger-paper {
    padding: 18px;
  }
  .collection-tabs {
    gap: 13px;
  }
  .collection-tabs button {
    font-size: 14px;
  }
  .bounty-shares {
    gap: 10px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
  .primary:hover,
  .step.is-active {
    transform: none;
  }
}

/* A single-line skill installation handoff. */
.hero-copy {
  max-width: 100%;
}
.install-command {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  padding: 18px 20px;
  margin: 32px 0 13px;
  background: var(--ink);
  color: var(--paper-light);
  border: 1px solid var(--ink);
  box-shadow:
    0 4px 0 #332b2012,
    0 12px 26px #332b2010;
}
.install-command code {
  display: block;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: -0.2px;
}
.command-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border: 0;
  border-left: 1px solid #fcf8ec40;
  background: transparent;
  color: var(--paper-light);
  padding: 5px 0 5px 18px;
  font-size: 14px;
}
.command-copy:hover {
  color: #fff;
}
.command-copy:focus-visible {
  outline-color: var(--paper-light);
}
.agent-alternative {
  font-size: 16px;
}
.agent-alternative a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #78684e60;
}
.agent-alternative a:hover {
  text-decoration-color: var(--gold);
  color: var(--gold);
}
@media (max-width: 820px) {
  .install-command {
    width: 100%;
    padding: 15px;
    gap: 14px;
  }
  .install-command code {
    font-size: 13px;
  }
  .command-copy {
    padding-left: 14px;
  }
  .agent-alternative {
    font-size: 15px;
  }
}

.rail nav .ledger-entry-link {
  color: var(--gold);
}
.hero-actions .quiet-link {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  color: var(--gold);
}
