/* BRAIN — Resources page, AI Glossary index and entries.
   Loaded only by page-resources.hbs, glossary.hbs and custom-glossary-entry.hbs. */
.res-section {
  padding-top: 56px;
  padding-bottom: 88px;
}
.res-wrap {
  max-width: 1320px;
  margin: 0 auto;
  min-width: 0;
}
.res-label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6c726f;
  margin: 0 0 12px;
}
.res-crumb {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.res-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.res-row {
  margin: 0;
}
.res-row .s48 {
  margin: 0;
}
.res-row .s48 a {
  color: inherit;
  text-decoration: none;
}
.res-row .s48 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.res-action {
  justify-self: end;
}
.res-action a {
  text-decoration: none;
}
.res-gate {
  margin-top: 32px;
}
.res-gate--top {
  margin: 0 0 40px;
}
.res-gate a,
.s343 a {
  text-decoration: none;
  display: inline-block;
}
.res-body {
  margin-top: 56px;
  max-width: 46em;
}

/* Glossary index */
.gl-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px 48px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid #e3e0dc;
}
.gl-tools .s228 {
  margin-bottom: 0;
}
.gl-search .s98 {
  background: #fbf9f7;
}
.gl-search .s99 {
  width: 100%;
  min-width: 0;
  font-size: 16px;
}
.gl-az {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.gl-az__l {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #c9c4be;
  border: 1px solid transparent;
}
a.gl-az__l {
  color: #111112;
  border-color: #e3e0dc;
  text-decoration: none;
}
a.gl-az__l:hover {
  border-color: #111112;
}
a.gl-az__l.is-off {
  color: #c9c4be;
  border-color: transparent;
}
.gl-status {
  margin: 20px 0 8px;
}
.gl-groups {
  display: grid;
  gap: 32px;
}
.gl-group {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  scroll-margin-top: 16px;
}
.gl-letter {
  font-family: Archivo, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 18px 0 0;
}
.gl-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gl-item {
  border-bottom: 1px solid #f0ede9;
}
.gl-item:last-child {
  border-bottom: 0;
}
.gl-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 26px;
  color: #111112;
  text-decoration: none;
  min-height: 44px;
}
/* .gl-link:hover .gl-term { text-decoration: underline; text-underline-offset: 3px; } */
.gl-link:focus-visible {
  outline: 2px solid #14c79a;
  outline-offset: -2px;
}
.gl-term {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  min-width: 0;
}
.gl-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6c726f;
  text-align: right;
  flex-shrink: 0;
}
.gl-empty {
  font-size: 16px;
  color: #3c423f;
  padding: 24px 0;
}
button.gl-cat {
  appearance: none;
  margin: 0;
  border-radius: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  min-height: 36px;
}
button.gl-cat.s230 {
  background: transparent;
  color: #3c423f;
  border: 1px solid #e3e0dc;
}
button.gl-cat.s230:hover {
  border-color: #111112;
}
button.gl-cat.s229 {
  background: #111112;
  color: #fbf9f7;
  border: 1px solid #111112;
}

/* Glossary entry */
.gl-entry h2 {
  scroll-margin-top: 16px;
}
.gl-entry ul {
  padding-left: 1.2em;
}

@media (max-width: 900px) {
  .gl-tools {
    grid-template-columns: minmax(0, 1fr);
  }
  .res-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .res-row .s50,
  .res-row .res-action {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 600px) {
  .res-section {
    padding-top: 40px;
    padding-bottom: 64px;
  }
  .gl-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .gl-letter {
    margin: 0;
    font-size: 26px;
  }
  .gl-link {
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
  }
  .gl-meta {
    text-align: left;
  }
  .gl-az__l {
    min-width: 40px;
    min-height: 40px;
  }
}
