:root {
  --paper: #f5f5ef;
  --ink: #172923;
  --muted: #5d6961;
  --line: #d9ded2;
  --green: #225d40;
  --lime: #dfecaa;
  --white: #fffef9;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family:
    Inter,
    -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: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
button:not([hidden]) {
  cursor: pointer;
}
button[hidden] {
  display: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #b45b27;
  outline-offset: 5px;
}
.shell {
  width: min(1160px, calc(100% - 80px));
  margin: auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 105px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.7px;
}
.domain {
  font-weight: 400;
  color: var(--muted);
}
.brand-mark {
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 39px;
  height: 39px;
  margin-right: 12px;
  font-family: var(--mono);
  font-weight: 600;
  border-radius: 5px;
  font-size: 19px;
  letter-spacing: -2px;
}
.brand-mark span {
  font-size: 15px;
  color: var(--lime);
  align-self: flex-start;
  padding-top: 5px;
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-size: 14px;
}
nav a:hover {
  color: var(--green);
  text-decoration: underline;
}
.repo-link {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: var(--white);
  z-index: 3;
}
.skip:focus {
  top: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 65px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 80px;
}
.eyebrow {
  font: 11px/1.5 var(--mono);
  letter-spacing: 1.5px;
  font-weight: 600;
  margin: 0 0 22px;
}
.small-cross {
  font-size: 17px;
  color: var(--green);
  margin-right: 8px;
  vertical-align: middle;
}
h1 {
  font-size: clamp(40px, 4.5vw, 61px);
  line-height: 1.08;
  letter-spacing: -3px;
  font-weight: 600;
  margin: 0 0 26px;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--green);
  letter-spacing: -2.5px;
}
.intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 510px;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  padding: 16px 21px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.primary {
  background: var(--green);
  color: var(--white);
}
.primary:hover {
  background: #19432f;
}
.text-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.text-link span {
  margin-left: 10px;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  margin: 23px 0 0;
}
.hero-note span {
  padding: 0 7px;
}
.index-illustration {
  border: 1px solid #d8deca;
  background-color: #edf0e3;
  background-image: radial-gradient(#d0d8c5 0.75px, transparent 0.75px);
  background-size: 14px 14px;
  border-radius: 12px;
  padding: 23px 29px 18px;
  transform: rotate(1deg);
}
.diagram-top {
  display: flex;
  justify-content: space-between;
  font: 9px var(--mono);
  letter-spacing: 0.7px;
  color: var(--muted);
}
.diagram-id {
  opacity: 0.8;
}
.document-stack {
  position: relative;
  margin: 35px 17px 0;
  height: 165px;
}
.document {
  border: 1px solid #c5d0ba;
  background: #f9faf2;
  border-radius: 5px;
  position: absolute;
  inset: 0;
}
.back-one {
  transform: rotate(-6deg) translate(-2px, -5px);
  background: #dce6ce;
}
.back-two {
  transform: rotate(3deg) translate(4px, -3px);
  background: #e7eddd;
}
.front {
  padding: 20px 22px;
  transform: rotate(-1deg);
}
.file-label {
  display: block;
  font: 9px var(--mono);
  color: var(--muted);
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.front strong {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
}
.doc-line {
  height: 3px;
  background: #d8dfd0;
  width: 55%;
  margin-top: 8px;
}
.doc-line.long {
  width: 82%;
  margin-top: 14px;
}
.catalogue-tags {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.catalogue-tags span {
  font: 9px var(--mono);
  border: 1px solid #d1d9c6;
  padding: 4px 6px;
  border-radius: 3px;
}
.source-stamp {
  position: absolute;
  bottom: 19px;
  right: 15px;
  font: 8px var(--mono);
  color: var(--muted);
}
.diagram-connector {
  text-align: center;
  color: #788b72;
  font-size: 19px;
  height: 32px;
  line-height: 32px;
}
.index-node {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid #2b523c;
  border-radius: 5px;
  background: #214d36;
  color: #f4f7e9;
  box-shadow: 0 6px 0 #d6dfc6;
}
.node-symbol {
  color: var(--lime);
  font-size: 35px;
  line-height: 30px;
}
.index-node strong {
  display: block;
  font-size: 17px;
  font-weight: 550;
}
.index-node div span {
  display: block;
  font: 10px var(--mono);
  color: #c1d3bc;
  margin-top: 5px;
}
.node-arrow {
  margin-left: auto;
  font-size: 22px;
  color: var(--lime);
}
.agent-node {
  display: flex;
  align-items: center;
  padding: 13px 18px;
  margin: 0 20px;
  border: 1px solid #ccd5c0;
  border-radius: 5px;
  background: #f9fbf2;
  font-size: 12px;
  gap: 10px;
}
.agent-node > span:first-child {
  font-size: 18px;
}
.protocol {
  margin-left: auto;
  font: 9px var(--mono);
  color: var(--muted);
}
.diagram-caption {
  text-align: center;
  font: 9px var(--mono);
  color: var(--muted);
  margin: 19px 0 0;
}
.service-strip {
  display: flex;
  align-items: center;
  gap: 23px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  font-size: 11px;
}
.service-strip p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.service-strip > a {
  color: var(--muted);
  font-size: 10px;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #909887;
}
.status-dot.online {
  background: #317951;
  box-shadow: 0 0 0 3px #e0e8d7;
}
.strip-note {
  margin-left: auto;
  color: var(--muted);
}
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-heading h2 {
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -1.7px;
  font-weight: 550;
  margin: 0 0 19px;
}
.section-heading > p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  max-width: 550px;
}
.sources-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 85px;
}
.source-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 25px 27px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.source-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.source-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.source-icon {
  font: 20px var(--mono);
  color: var(--green);
}
.tag {
  font: 8px var(--mono);
  letter-spacing: 0.8px;
  border: 1px solid #cfdbbf;
  border-radius: 3px;
  padding: 5px 7px;
  background: #edf3e2;
  color: var(--green);
}
.external-arrow {
  margin-left: auto;
  font-size: 20px;
  color: var(--muted);
}
.source-owner {
  font: 11px var(--mono);
  color: var(--muted);
  margin: 27px 0 7px;
}
.source-card h3 {
  font: 600 20px var(--mono);
  letter-spacing: -0.8px;
  margin: 0 0 12px;
}
.source-card > p:not(.source-owner) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.source-card-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 22px;
  font-size: 10px;
  color: var(--muted);
}
.source-card-bottom span:last-child {
  color: var(--green);
}
.upstream-catalogue {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 85px;
  border-left: 2px solid var(--line);
  padding: 5px 0 5px 20px;
}
.upstream-catalogue .eyebrow {
  color: var(--muted);
  font-size: 10px;
  margin: 0;
}
.upstream-catalogue a {
  font: 12px var(--mono);
  color: var(--green);
  overflow-wrap: anywhere;
}
.upstream-catalogue div p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 10px 0 0;
}
.source-notes {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.source-notes p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.source-notes strong {
  color: var(--ink);
}
.source-notes a {
  white-space: nowrap;
  color: var(--green);
}
.connect-section {
  background: #e9ede2;
  border-block: 1px solid #dce2d2;
}
.connect-section .section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  column-gap: 75px;
  row-gap: 25px;
}
.connection-card {
  border: 1px solid #ced8c5;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}
.connection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font: 10px var(--mono);
  letter-spacing: 0.8px;
}
.settings {
  margin: 0;
  padding: 0 22px;
}
.settings > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid #e8eadf;
  gap: 10px;
  font-size: 12px;
  align-items: baseline;
}
.settings dt {
  color: var(--muted);
}
.settings dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.settings code {
  font-size: 11px;
}
.settings .endpoint-setting {
  display: block;
}
.endpoint-setting dt {
  margin-bottom: 10px;
}
.endpoint-setting dd {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.copy-button {
  border: 1px solid #cbd5c1;
  background: #f4f7eb;
  border-radius: 4px;
  padding: 6px 9px;
  color: var(--green);
  font-size: 10px;
  white-space: nowrap;
  min-height: 30px;
}
.copy-button:hover {
  background: #e6eed7;
}
.token-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  padding: 17px 22px;
  margin: 0;
}
.setup-guides {
  grid-column: 2;
}
details {
  border-bottom: 1px solid #cdd7c3;
}
summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  padding: 17px 0;
  font-size: 13px;
  font-weight: 600;
}
summary::-webkit-details-marker {
  display: none;
}
.summary-hint {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.summary-hint > span {
  font-size: 17px;
  padding-left: 10px;
}
.guide-body {
  padding: 0 0 16px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}
.guide-body p {
  margin: 8px 0 14px;
}
.guide-body li {
  padding-bottom: 7px;
}
.guide-body ol {
  padding-left: 20px;
}
.guide-body code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1b3427;
  color: #cadac0;
  padding: 10px 15px;
  border-radius: 5px 5px 0 0;
  font: 9px var(--mono);
}
pre {
  background: #1b3427;
  color: #ecf2e2;
  padding: 3px 15px 20px;
  margin: 0 0 15px;
  overflow: auto;
  border-radius: 0 0 5px 5px;
  font: 11px/1.9 var(--mono);
}
.agent-instruction {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 75px;
  border-top: 1px solid #cdd7c3;
  padding-top: 32px;
  margin-top: 12px;
}
.agent-instruction .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
}
.agent-instruction h3 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}
.agent-instruction > div > p:last-child {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.prompt-box {
  border-left: 2px solid #98ad79;
  padding-left: 22px;
}
.prompt-box p {
  font-size: 13px;
  line-height: 1.75;
  color: #3d5140;
  margin: 0 0 15px;
}
.copy-status {
  grid-column: 1/-1;
  font-size: 11px;
  color: var(--green);
  margin: 0;
  min-height: 14px;
}
.try-section > .section-heading {
  text-align: center;
}
.try-section > .section-heading > p:last-child {
  margin: auto;
}
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 35px;
}
.example-grid article {
  padding: 3px 28px;
  border-right: 1px solid var(--line);
}
.example-grid article:first-child {
  padding-left: 0;
}
.example-grid article:last-child {
  padding-right: 0;
  border: 0;
}
.example-number {
  font: 11px var(--mono);
  color: #799261;
}
.example-grid h3 {
  font-size: 16px;
  font-weight: 550;
  margin: 16px 0 12px;
}
.example-grid p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.about-section {
  border-top: 1px solid var(--line);
  padding: 55px 0 65px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
}
.about-section h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 0 0 17px;
}
.about-section > div > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.about-section .text-link {
  display: inline-block;
  margin-top: 12px;
}
.usage-note {
  background: #ecefe5;
  border: 1px solid var(--line);
  padding: 23px 26px;
  border-radius: 6px;
}
.usage-note h3 {
  font-size: 14px;
  margin: 0 0 12px;
  font-weight: 600;
}
.usage-note p:last-child {
  font-size: 11px !important;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-bottom: 0;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  font-size: 10px;
  color: var(--muted);
}
.footer > span:first-child {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 95px;
  }
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 35px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }
  .intro {
    font-size: 16px;
  }
  .hero-actions {
    gap: 17px;
    flex-wrap: wrap;
  }
  .index-illustration {
    padding-inline: 18px;
  }
  .document-stack {
    margin-inline: 6px;
  }
  .source-stamp {
    display: none;
  }
  .sources-section {
    gap: 30px 40px;
  }
  .source-notes {
    gap: 40px;
  }
  .connect-section .section,
  .agent-instruction {
    column-gap: 35px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .settings > div {
    grid-template-columns: 100px 1fr;
  }
  .about-section {
    gap: 40px;
  }
  .source-card h3 {
    font-size: 17px;
  }
  .section {
    padding-block: 60px;
  }
}
@media (max-width: 720px) {
  .shell {
    width: calc(100% - 40px);
  }
  .topbar {
    height: 82px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    font-size: 16px;
  }
  .brand-mark span {
    font-size: 12px;
  }
  nav {
    gap: 15px;
  }
  nav a {
    font-size: 12px;
  }
  nav a:first-child {
    display: none;
  }
  .repo-link {
    border: 0;
    padding: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 38px;
    gap: 42px;
  }
  h1 {
    font-size: clamp(39px, 8vw, 58px);
    letter-spacing: -2px;
    line-height: 1.09;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }
  .intro {
    font-size: 16px;
    max-width: 540px;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 24px;
  }
  .button {
    font-size: 12px;
    padding: 15px 18px;
  }
  .text-link {
    font-size: 12px;
  }
  .hero-note {
    font-size: 10px;
  }
  .index-illustration {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    transform: none;
    padding: 23px;
  }
  .source-stamp {
    display: block;
  }
  .front strong {
    font-size: 14px;
  }
  .service-strip {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 10px;
    padding-block: 17px;
  }
  .service-strip > a {
    margin-left: auto;
  }
  .strip-note {
    display: none;
  }
  .section {
    padding-block: 48px;
  }
  .section-heading h2 {
    font-size: 33px;
  }
  .section-heading > p:last-child {
    font-size: 14px;
  }
  .sources-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .source-notes {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 20px;
  }
  .upstream-catalogue {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .source-card {
    padding: 23px;
  }
  .source-card h3 {
    font-size: 20px;
  }
  .connect-section .section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .setup-guides {
    grid-column: 1;
  }
  .agent-instruction {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 0;
    padding-top: 28px;
  }
  .agent-instruction > div > p:last-child {
    margin-bottom: 0;
  }
  .prompt-box {
    margin-top: 5px;
  }
  .example-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }
  .example-grid article,
  .example-grid article:first-child,
  .example-grid article:last-child {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 22px;
  }
  .example-grid article:last-child {
    border: 0;
    padding-bottom: 0;
  }
  .example-grid h3 {
    margin-top: 8px;
  }
  .try-section > .section-heading {
    text-align: left;
  }
  .try-section > .section-heading > p:last-child {
    margin: 0;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 40px;
  }
  .usage-note {
    padding: 22px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 17px;
    padding-block: 23px;
  }
  .footer > span:nth-child(2) {
    display: none;
  }
  .settings {
    padding-inline: 17px;
  }
  .connection-heading {
    padding-inline: 17px;
  }
  .token-note {
    padding-inline: 17px;
  }
  .settings code {
    font-size: 10px;
  }
  .summary-hint {
    font-size: 9px;
  }
  .source-notes a {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
