:root {
  --paper: #101110;
  --ink: #f1f0e9;
  --muted: #969b91;
  --green: #d7f78b;
  --line: #30332e;
  --accent: #d7f78b;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
select {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.shell {
  max-width: 1440px;
  margin: auto;
  padding: 0 64px;
  overflow: hidden;
}
.skip {
  position: absolute;
  left: 20px;
  top: -80px;
  background: var(--accent);
  color: var(--paper);
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
header {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.brand {
  text-decoration: none;
  font-weight: 650;
  font-size: 24px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wordmark-dot {
  color: var(--accent);
  margin-left: -9px;
}
.mark {
  display: grid;
  place-items: center;
  color: var(--accent);
  width: 25px;
  height: 32px;
  font-size: 34px;
  font-weight: 350;
  margin-right: 5px;
}
nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-size: 12px;
  color: #b4b8ac;
}
.nav-git {
  border: 1px solid #68705e;
  padding: 12px 17px;
  color: var(--ink);
}
nav a:hover {
  color: var(--accent);
}
.hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: center;
  padding: 65px 0 100px;
  isolation: isolate;
}
.hero-art {
  position: absolute;
  right: -150px;
  top: 12px;
  width: 83%;
  height: 745px;
  margin: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  opacity: 0.96;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 24%,
    #000 94%,
    transparent 100%
  );
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    #101110 0%,
    transparent 18%,
    transparent 87%,
    #101110 100%
  );
  pointer-events: none;
}
.hero-art figcaption {
  position: absolute;
  bottom: 39px;
  right: 110px;
  font:
    8px ui-monospace,
    monospace;
  color: #a6ae98;
  letter-spacing: 1px;
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 58%;
}
.eyebrow {
  font:
    10px/1.5 ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 1.5px;
  font-weight: 450;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.hero .eyebrow {
  color: var(--accent);
  margin: 0 0 34px;
}
.dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  box-shadow: 0 0 13px #d7f74a70;
}
h1 {
  font:
    500 clamp(74px, 7.5vw, 108px) / 0.98 system-ui,
    sans-serif;
  letter-spacing: -7px;
  margin: 0 0 30px;
}
h1 span {
  color: var(--accent);
}
.lede {
  font-size: 15px;
  line-height: 1.85;
  color: #afb4a8;
  margin: 0 0 30px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: var(--accent);
  color: #1b2316;
  padding: 17px 23px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #e7ffb8;
  transform: translateY(-2px);
}
.button span {
  font-size: 18px;
  font-weight: 400;
}
.quiet {
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid #69775a;
  padding-bottom: 5px;
}
.quiet:hover {
  color: var(--accent);
}
.fine {
  font:
    8px/1.5 ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: #7f8875;
  margin-top: 22px;
}
.hero-footer {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font:
    9px ui-monospace,
    monospace;
  color: #767e6b;
  letter-spacing: 0.6px;
}
.manifesto {
  border-block: 1px solid var(--line);
  padding: 38px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.manifesto > span {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: var(--muted);
}
.manifesto p {
  font:
    400 36px/1.2 system-ui,
    sans-serif;
  letter-spacing: -1.4px;
  margin: 0;
}
.manifesto p em {
  font:
    italic 39px/1.2 Georgia,
    serif;
  color: #a6b490;
}
.section {
  padding: 105px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: 100px;
  align-items: end;
}
.section-head .eyebrow {
  grid-column: 1/-1;
  margin: 0 0 26px;
}
h2 {
  font:
    450 56px/1.05 system-ui,
    sans-serif;
  letter-spacing: -2.8px;
  margin: 0;
}
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #a6b490;
  letter-spacing: -2px;
}
.section-head > p:last-child {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 310px;
  margin: 0 0 6px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 62px;
}
.cards article {
  border-top: 1px solid #596348;
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
}
.card-num {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: var(--accent);
}
h3 {
  font-size: 21px;
  letter-spacing: -0.7px;
  line-height: 1.35;
  font-weight: 500;
}
.cards h3 {
  margin: 30px 0 14px;
}
.cards p,
.rule-grid p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.cards p {
  flex: 1;
  margin: 0 0 28px;
  max-width: 31ch;
}
.cards a {
  font-size: 11px;
  text-decoration: none;
  line-height: 2.6;
  color: #d9dfcf;
}
.cards a:hover {
  text-decoration: underline;
  color: var(--accent);
}
.setup {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.setup .eyebrow {
  margin: 0 0 28px;
}
.setup h2 {
  font-size: 51px;
}
.setup > div > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 290px;
  margin: 28px 0;
}
.terminal {
  background: #1a1d17;
  border: 1px solid #3e4735;
  padding: 26px;
  min-width: 0;
  position: relative;
}
.terminal:before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.terminal-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: #b2bca5;
  border-bottom: 1px solid #3e4735;
  padding-bottom: 18px;
}
.terminal pre {
  font:
    11px/2.1 ui-monospace,
    SFMono-Regular,
    monospace;
  overflow-x: auto;
  margin: 25px 0;
  color: #e1e9d4;
}
.terminal > p {
  font-size: 10px;
  line-height: 1.9;
  color: #929e83;
  margin: 22px 0 0;
}
.terminal > p code {
  font-size: 10px;
  color: var(--accent);
}
#guide-picker {
  margin-top: 28px;
}
#guide-picker label {
  font-size: 11px;
  color: #bbc3b0;
}
.picker-row {
  display: flex;
  gap: 10px;
  margin-top: 11px;
}
.picker-row select {
  flex: 1;
  min-width: 0;
  background: #151711;
  border: 1px solid #4a563c;
  padding: 13px;
  color: var(--ink);
  font-size: 11px;
  border-radius: 0;
}
.picker-row button {
  border: 1px solid #4a563c;
  background: #252d1c;
  color: var(--accent);
  padding: 11px 15px;
  font-size: 11px;
  cursor: pointer;
}
#guide-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  min-height: 36px;
}
.rules h2 {
  margin: 26px 0 45px;
}
.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 100px;
  margin-bottom: 38px;
}
.rule-grid h3 {
  font-size: 14px;
  margin: 0;
  color: #dce2d0;
}
.rule-grid p {
  margin: 10px 0 0;
  max-width: 400px;
}
.closing {
  text-align: center;
  padding: 110px 0 100px;
}
.closing .hand {
  font:
    8px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: #8e9a7e;
  margin: 0 0 36px;
}
.closing h2 {
  font-size: 88px;
  letter-spacing: -4px;
  margin-bottom: 36px;
}
.closing h2 em {
  color: var(--accent);
  letter-spacing: -4px;
}
.closing > p:last-child {
  font:
    9px ui-monospace,
    monospace;
  color: var(--muted);
  margin-top: 23px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer .brand {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 450;
  color: #d6ddca;
}
footer > div {
  display: flex;
  gap: 25px;
}
footer > div a {
  font-size: 10px;
  text-decoration: none;
  color: #a5ae99;
}
footer > p {
  width: 100%;
  font-size: 9px;
  color: #6f7964;
  margin: 0;
}
@media (min-width: 1440px) {
  .hero-art {
    right: -180px;
    width: 90%;
  }
}
@media (max-width: 1050px) {
  .shell {
    padding: 0 36px;
  }
  .hero {
    min-height: 720px;
  }
  .hero-art {
    right: -200px;
    width: 100%;
    height: 670px;
  }
  .hero-copy {
    width: 65%;
  }
  h1 {
    font-size: 86px;
    letter-spacing: -5px;
  }
  .hero-art figcaption {
    display: none;
  }
  .setup {
    gap: 35px;
  }
  .setup h2 {
    font-size: 43px;
  }
  .section-head {
    column-gap: 40px;
  }
  .cards {
    gap: 25px;
  }
  .manifesto p {
    font-size: 29px;
  }
  .manifesto p em {
    font-size: 32px;
  }
}
@media (max-width: 720px) {
  .shell {
    padding: 0 23px;
  }
  header {
    height: 83px;
  }
  nav {
    gap: 20px;
  }
  nav a {
    font-size: 10px;
  }
  nav a:first-child {
    display: none;
  }
  .brand {
    font-size: 20px;
  }
  .mark {
    font-size: 29px;
    width: 20px;
  }
  .nav-git {
    padding: 9px 12px;
  }
  .hero {
    min-height: 960px;
    display: block;
    padding: 48px 0 70px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero .eyebrow {
    font-size: 8px;
    margin-bottom: 25px;
  }
  h1 {
    font-size: clamp(62px, 12.8vw, 89px);
    letter-spacing: -4.5px;
    line-height: 1.01;
    margin-bottom: 25px;
  }
  .lede {
    font-size: 13px;
    line-height: 1.8;
  }
  .actions {
    gap: 23px;
  }
  .button {
    padding: 15px 19px;
    gap: 38px;
    font-size: 11px;
  }
  .quiet {
    font-size: 11px;
  }
  .fine {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .hero-art {
    width: calc(100% + 90px);
    height: 440px;
    top: 485px;
    right: -45px;
  }
  .hero-art img {
    object-position: 68% 50%;
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 12%,
      #000 88%,
      transparent
    );
  }
  .hero-art:after {
    background: linear-gradient(
      0deg,
      #101110,
      transparent 24%,
      transparent 75%,
      #101110
    );
  }
  .hero-footer {
    bottom: 23px;
    font-size: 7px;
    gap: 15px;
    justify-content: space-between;
  }
  .hero-footer span:last-child {
    display: none;
  }
  .manifesto {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    padding: 29px 0;
  }
  .manifesto > span {
    font-size: 8px;
  }
  .manifesto p {
    font-size: 25px;
    letter-spacing: -1px;
  }
  .manifesto p em {
    font-size: 28px;
  }
  .section {
    padding: 63px 0;
  }
  .section-head {
    display: block;
  }
  .section-head .eyebrow {
    font-size: 8px;
  }
  .section-head > p:last-child {
    margin-top: 24px;
    max-width: 310px;
    font-size: 13px;
  }
  h2 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 38px;
  }
  .cards article {
    padding-top: 19px;
  }
  .cards h3 {
    margin-top: 23px;
    font-size: 24px;
  }
  .cards p {
    font-size: 13px;
    max-width: 40ch;
    margin-bottom: 16px;
  }
  .cards a {
    font-size: 12px;
  }
  .setup {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .setup h2 {
    font-size: 42px;
  }
  .setup > div > p:not(.eyebrow) {
    max-width: 350px;
  }
  .terminal {
    padding: 19px;
  }
  .terminal pre {
    font-size: 10px;
  }
  .terminal-head {
    font-size: 7px;
  }
  .rule-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .rule-grid p {
    font-size: 12px;
  }
  .closing {
    padding: 76px 0;
  }
  .closing h2 {
    font-size: 62px;
    letter-spacing: -3px;
  }
  .closing h2 em {
    letter-spacing: -3px;
  }
  .closing .hand {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  footer > div {
    gap: 18px;
    flex-wrap: wrap;
  }
  footer > p {
    line-height: 1.8;
  }
}
.agent-setup {
  border: 1px solid #657647;
  padding: 24px;
  margin-bottom: 24px;
  background: #1a1f13;
}
.agent-setup-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.setup .agent-setup .eyebrow { margin: 0; color: var(--accent); font-size: 8px; }
.agent-setup .button { border: 0; cursor: pointer; gap: 18px; font: 600 11px system-ui; }
.agent-setup .button:disabled { opacity: .6; cursor: wait; }
.agent-setup p { font-size: 12px; line-height: 1.7; color: var(--muted); }
.agent-setup #copy-status { color: var(--accent); font-size: 11px; }
.agent-setup summary { cursor: pointer; font-size: 11px; color: #c5cfb5; }
#setup-prompt {
  display: block;
  width: 100%;
  height: 260px;
  margin-top: 16px;
  padding: 14px;
  resize: vertical;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #4a563c;
  font: 11px/1.7 ui-monospace, monospace;
}
@media (max-width: 720px) { .agent-setup { padding: 19px; } }
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
