/* ==========================================================================
     Information page layer (For AI agents, Terms, Privacy): long-form reading
     built on the shared system. Layout unchanged: contents rail + article.
     ========================================================================== */
@media (max-width: 680px) {
  :root {
    --gutter: 24px;
  }
} /* information pages keep a 24px phone gutter */
.legal {
  display: grid;
  grid-template-columns: 220px minmax(0, 680px);
  gap: var(--sp-88);
  justify-content: center;
  padding-top: var(--sp-88);
  padding-bottom: var(--section-y);
}
.legal.single {
  grid-template-columns: minmax(0, 680px);
}

/* Contents rail */
.toc {
  position: sticky;
  top: 110px;
  align-self: start;
}
.toc p {
  margin: 0 0 var(--sp-12);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toc a {
  font-size: var(--fs-sm);
  color: var(--body);
  text-decoration: none;
}
.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.toc .other {
  margin-top: 28px;
  padding-top: var(--sp-20);
  border-top: var(--border);
}
.toc .other a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}

/* Article */
article h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display-xl);
  line-height: var(--lh-hero);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.updated {
  margin: var(--sp-16) 0 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}
article .intro {
  margin: 28px 0 0;
  font-size: var(--fs-lede);
  line-height: var(--lh-body);
  color: var(--body);
  text-wrap: pretty;
}
article section {
  margin-top: var(--sp-48);
  padding-top: var(--sp-48);
  border-top: var(--border);
  scroll-margin-top: 100px;
}
article h2 {
  margin: 0 0 var(--sp-16);
  font-size: var(--fs-title-l);
  line-height: var(--lh-title);
  letter-spacing: -0.015em;
}
article p,
article li {
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--body);
}
article p {
  margin: 0 0 14px;
}
article ul {
  margin: 0 0 var(--sp-16);
  padding-left: var(--sp-20);
}
article li {
  margin-bottom: 6px;
}
article li::marker {
  color: var(--muted);
}
article a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
.co {
  margin: var(--sp-4) 0 18px;
  padding: var(--sp-20) var(--sp-24);
  font-style: normal;
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-md);
}

@media (max-width: 960px) {
  .legal {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: var(--sp-48);
  }
  .toc {
    display: none;
  }
}
@media (max-width: 680px) {
  .legal {
    padding-top: var(--sp-32);
  }
  article section {
    margin-top: var(--sp-40);
    padding-top: var(--sp-32);
  }
}

/* The Support form: the shared form fields, plus the multi-line one and what is wrong with a field */
.mform.support {
  max-width: 560px;
}
.mform textarea {
  min-height: 160px;
  padding: var(--sp-12);
  border: var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  font: inherit;
  font-size: var(--fs-lg);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
}
.mform textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.mform [aria-invalid='true'] {
  border-color: #b3261e;
}
.ferr,
.mnone[role='alert'] {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #b3261e;
}

/* The MCP server's tools page: a table of what each tool does */
table.tools {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-16) 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
table.tools th,
table.tools td {
  padding: var(--sp-12) var(--sp-12) var(--sp-12) 0;
  border-bottom: var(--border);
  text-align: left;
  vertical-align: top;
}
table.tools th {
  font-weight: 600;
  color: var(--muted);
}
table.tools td:first-child {
  white-space: nowrap;
}
article code {
  font-size: 0.92em;
}
@media (max-width: 680px) {
  table.tools thead {
    display: none;
  }
  table.tools tr {
    display: block;
    padding: var(--sp-12) 0;
    border-bottom: var(--border);
  }
  table.tools td {
    display: block;
    padding: 2px 0;
    border: 0;
  }
}
