/* API page. Shared layout comes from /platform/feature.css. */
:root {
  --accent: #EA580C;
  --accent-soft: #FFF4EC;
  --accent-line: #FDBA8C;
}

/* Hero: a request and its response */
#hero .code .label { font-size: .72rem; }
#hero .code .label b {
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  margin-right: .4rem;
  color: #0E202E;
  background: var(--accent-line);
  border-radius: 50%;
}
.mock.code {
  gap: .6rem;
  color: #D0DBF5;
  background: #0E202E;
  border-color: #0E202E;
  .label {
    color: #7A87A2;
    font: 500 .72rem "Noto Sans Mono", monospace;
    text-transform: uppercase;
    letter-spacing: .05em;
  }
  pre {
    margin: 0 0 .5rem;
    overflow-x: auto;
    font: .8rem/1.6 "Noto Sans Mono", monospace;
  }
  .verb { color: #FDBA8C; font-weight: 700; }
  .key { color: #82C3FF; }
  .str { color: #8FD9B0; }
  .num { color: #FDBA8C; }
}

#metrics .dots { margin-top: 2.5rem; }
.more { margin: 2rem 0 0; }

#source {
  dl { margin: 0; }
  dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem 0;
    border-top: 1px solid #EEF1F5;
  }
  dt { color: #626E89; }
  dd { margin: 0; color: #091121; font-weight: 600; }
  .status {
    color: #149A57;
    font-weight: 600;
    &::before { content: "● "; }
  }
}

#more-ways h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: .2em;
}
