:root {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #18211b;
  background: white;
  font-size: 15px;
  line-height: 1.75;
  --accent:#275d45;
  --line:#e3e8e4;
  --muted:#616a63;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
footer {
  max-width: 1120px;
  margin: auto;
  padding: 26px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
header {
  border-bottom: 1px solid var(--line);
}
header > a {
  font-weight: 650;
  color: #18211b;
  text-decoration: none;
  letter-spacing: -.03em;
  font-size: 16px;
}
nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
nav a {
  font-size: 12px;
  text-decoration: none;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid #598944;
  outline-offset: 5px;
}
main {
  max-width: 850px;
  margin: 56px auto 80px;
  padding: 0 30px;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.05em;
  font-weight: 550;
  margin: 0 0 24px;
}
h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -.025em;
  font-weight: 600;
  margin: 2.5rem 0 14px;
}
h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 12px 0;
}
p,
li {
  color: var(--muted);
}
li + li {
  margin-top: 12px;
}
strong {
  color: #18211b;
}
.lede {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.kicker {
  font:
    11px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
}
.callout {
  border-left: 2px solid #8caa63;
  background: #f5f7f4;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--muted);
}
.callout strong {
  display: block;
}
.guide-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0;
}
.guide-grid > section,
.link-grid > a,
.link-grid > section {
  min-width: 0;
}
.link-grid > a,
.link-grid > section {
  border: 1px solid var(--line);
  padding: 18px;
  text-decoration: none;
}
.link-grid span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.action {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 8px 14px;
  text-decoration: none;
  margin-right: 12px;
}
pre {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f7f8f6;
  color: #18211b;
  overflow: auto;
  font:
    12px/1.8 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
code {
  font-size: .88em;
  overflow-wrap: anywhere;
}
.table-wrap {
  overflow: auto;
  border-block: 1px solid var(--line);
  margin: 22px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: #18211b;
  background: #f5f7f4;
}
td {
  color: var(--muted);
}
tr:last-child td {
  border: 0;
}
.protocol {
  padding-left: 22px;
}
.protocol li {
  padding-left: 6px;
  margin-bottom: 18px;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 12px;
}
footer > a {
  text-decoration: none;
  color: var(--muted);
}
.agent-document main {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-size: 13px;
  max-width: 900px;
}
.agent-document h1 {
  font-size: 28px;
  letter-spacing: -.04em;
}
.agent-document h2 {
  font-size: 17px;
  letter-spacing: -.02em;
}
.agent-document .lede {
  font-size: 15px;
}
.agent-document pre {
  background: white;
  border-left: 2px solid #b8c5b9;
  border-radius: 0;
}
.agent-document p,
.agent-document li {
  color: #343c36;
}
.agent-document a {
  color: #17291b;
}
@media (max-width: 660px) {
  header,
  footer {
    padding: 20px;
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  nav {
    gap: 14px 18px;
  }
  nav a {
    font-size: 11px;
  }
  main {
    margin: 34px auto 50px;
    padding: 0 20px;
  }
  .lede {
    font-size: 17px;
  }
  .guide-grid,
  .link-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  pre {
    padding: 16px;
    font-size: 11px;
  }
  th,
  td {
    padding: 12px;
    min-width: 125px;
  }
}
