:root {
  --docs-navy: #10171d;
  --docs-blue: #2a5c5a;
  --docs-ice: #e8efeb;
  --docs-paper: #eee7d8;
  --docs-white: #f7f2e7;
  --docs-ink: #17191d;
  --docs-muted: #5c666e;
  --docs-rule: #c9c0ae;
  --docs-red: #7a271a;
  --docs-gold: #b5a36a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(247,242,231,.86), rgba(247,242,231,.86)),
    url("../img/plate-cream.jpg") center top / 1400px auto repeat-y,
    var(--docs-paper);
  color: var(--docs-ink);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--docs-white); color: var(--docs-ink); }
.skip-link:focus { top: 12px; }
.docs-layout { width: min(1320px, calc(100vw - 48px)); margin: auto; padding-top: 92px; display: grid; grid-template-columns: 240px minmax(0, 780px) minmax(180px, 1fr); gap: 58px; align-items: start; }
.docs-sidebar { position: sticky; top: 88px; padding: 54px 0; }
.docs-sidebar strong { display: block; margin-bottom: 14px; color: var(--docs-muted); font: 650 10px/1.2 "Martian Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.docs-sidebar a { display: block; padding: 7px 0; color: var(--docs-muted); font-size: 14px; text-decoration: none; }
.docs-sidebar a:hover, .docs-sidebar a[aria-current="page"] { color: var(--docs-blue); font-weight: 650; }
.docs-sidebar hr { margin: 22px 0; border: 0; border-top: 1px solid var(--docs-rule); }
.docs-article { min-width: 0; padding: 72px 0 120px; }
.docs-article .eyebrow { margin: 0 0 16px; color: var(--docs-blue); font: 650 11px/1.3 "Martian Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.docs-article h1 { max-width: 760px; margin: 0; font-size: clamp(42px, 5vw, 68px); font-weight: 520; letter-spacing: -.05em; line-height: 1; }
.docs-article .lede { margin: 26px 0 0; color: #344054; font-size: 21px; line-height: 1.5; }
.docs-article h2 { margin: 72px 0 18px; padding-top: 12px; border-top: 3px double var(--docs-ink); font-size: 30px; font-weight: 560; letter-spacing: -.025em; }
.docs-article h3 { margin: 32px 0 10px; font-size: 20px; }
.docs-article p, .docs-article li { color: #344054; }
.docs-article p { margin: 14px 0; }
.docs-article ul, .docs-article ol { padding-left: 22px; }
.docs-article li { margin: 8px 0; }
.notice { margin: 38px 0; padding: 22px 24px; border: 3px double var(--docs-blue); background: var(--docs-ice); }
.notice--danger { border-color: var(--docs-red); background: rgba(250,231,228,.82); }
.notice strong { display: block; margin-bottom: 5px; }
.docs-table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 14px; }
.docs-table th, .docs-table td { padding: 14px 12px; border-bottom: 1px solid var(--docs-rule); text-align: left; vertical-align: top; }
.docs-table th { color: var(--docs-muted); font: 650 10px/1.3 "Martian Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.docs-table code, .docs-article code { font-family: "Martian Mono", monospace; font-size: .85em; overflow-wrap: anywhere; }
.docs-table td:first-child code { overflow-wrap: normal; white-space: nowrap; }
.code-block { overflow-x: auto; padding: 22px; border-top: 4px solid var(--docs-gold); background: var(--docs-navy); color: #edf0e9; font: 12px/1.7 "Martian Mono", monospace; }
.doc-cards { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 46px; border-top: 1px solid var(--docs-rule); border-left: 1px solid var(--docs-rule); }
.doc-cards a { min-height: 190px; display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--docs-rule); border-bottom: 1px solid var(--docs-rule); text-decoration: none; }
.doc-cards a:hover { background: var(--docs-navy); color: white; }
.doc-cards span { color: var(--docs-blue); font: 650 10px/1 "Martian Mono", monospace; }
.doc-cards strong { margin-top: auto; font-size: 20px; }
.doc-cards small { margin-top: 6px; color: var(--docs-muted); }
.doc-cards a:hover span { color: var(--docs-gold); }
.doc-cards a:hover small { color: #cdd3d0; }
.docs-rail { position: sticky; top: 88px; padding-top: 64px; }
.docs-rail div { padding: 18px; border: 3px double var(--docs-ink); background: rgba(247,242,231,.78); }
.docs-rail strong { display: block; color: var(--docs-red); font: 650 10px/1.3 "Martian Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.docs-rail span { display: block; margin-top: 8px; color: var(--docs-muted); font-size: 12px; }
.page-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--docs-rule); }
.page-links a { color: var(--docs-blue); font-weight: 650; text-decoration: none; }
@media (max-width: 1000px) {
  .docs-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 34px; }
  .docs-rail { display: none; }
}
@media (max-width: 720px) {
  .docs-layout { width: min(100% - 32px, 640px); padding-top: 82px; }
  .docs-layout { display: block; }
  .docs-sidebar { position: static; display: flex; gap: 16px; overflow-x: auto; padding: 20px 0; border-bottom: 1px solid var(--docs-rule); }
  .docs-sidebar strong, .docs-sidebar hr { display: none; }
  .docs-sidebar a { flex: 0 0 auto; }
  .docs-sidebar a[aria-current="page"] { order: -1; }
  .docs-article { padding-top: 48px; }
  .doc-cards { grid-template-columns: 1fr; }
  .docs-table { display: block; overflow-x: auto; }
  .page-links { align-items: flex-start; flex-direction: column; }
}
