@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:wght@400;700&family=Rubik:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  font-family: Rubik, system-ui, sans-serif;
  color: #1e2c3d;
  background: #f8fbff;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-wrap: anywhere;
}
a {
  color: #295b84;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: #163f65;
}
a:focus-visible {
  outline: 3px solid #1b77b7;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  background: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}

.docs-header,
.docs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: auto;
  padding: 22px 28px;
}
.docs-header {
  border-bottom: 1px solid #d8e4ef;
}
.docs-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1e2c3d;
  font-weight: 700;
  text-decoration: none;
}
.docs-brand img {
  border-radius: 8px;
}
.docs-header nav,
.docs-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.docs-header nav a,
.docs-footer a {
  font-size: 0.9rem;
  font-weight: 500;
}

.docs-shell {
  max-width: 1120px;
  margin: auto;
  padding: 42px 28px 80px;
}
.docs-intro {
  max-width: 770px;
  padding-bottom: 22px;
}
.docs-eyebrow {
  color: #406787;
  font-size: 0.85rem;
  font-weight: 700;
}
h1,
h2,
h3,
h4 {
  color: #1d2a3a;
  line-height: 1.2;
  scroll-margin-top: 24px;
}
h1,
h2 {
  font-family: 'Balsamiq Sans', Rubik, system-ui, sans-serif;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  margin: 0 0 22px;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2.2em 0 0.65em;
}
h3 {
  font-size: 1.2rem;
  margin: 1.7em 0 0.5em;
}
p,
li {
  line-height: 1.72;
}
.docs-intro p {
  font-size: 1.1rem;
}
.docs-index-list {
  columns: 2;
  column-gap: 44px;
  padding-left: 22px;
}
.docs-index-list li {
  break-inside: avoid;
  margin-bottom: 0.55em;
}

.docs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #54708b;
  font-size: 0.84rem;
  margin-bottom: 32px;
}
.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 195px;
  gap: 52px;
  align-items: start;
}
.docs-article {
  min-width: 0;
  font-size: 1rem;
}
.docs-article > :first-child {
  margin-top: 0;
}
.docs-article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.docs-article p {
  margin: 1.1em 0;
}
.docs-article blockquote {
  margin: 1.3em 0;
  padding: 0.2em 0 0.2em 20px;
  border-left: 4px solid #8eacc5;
  color: #39516a;
}
.docs-article blockquote p {
  margin: 0.5em 0;
}
.docs-article ul,
.docs-article ol {
  padding-left: 1.65em;
}
.docs-article li + li {
  margin-top: 0.3em;
}
.docs-article code {
  font:
    0.88em ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  background: #eaf1f8;
  border-radius: 4px;
  padding: 0.1em 0.3em;
}
.docs-article pre {
  overflow-x: auto;
  max-width: 100%;
  padding: 16px 18px;
  border-radius: 10px;
  background: #eaf1f8;
  line-height: 1.55;
}
.docs-article pre code {
  padding: 0;
  background: none;
  white-space: pre;
}
.docs-article table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.docs-article th,
.docs-article td {
  min-width: 120px;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #c9d9e8;
}
.docs-article th {
  background: #eaf1f8;
}
.docs-article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
}
.docs-article .footnotes {
  border-top: 1px solid #c9d9e8;
  margin-top: 44px;
}
.docs-sidebar {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #c9d9e8;
  border-radius: 12px;
  background: #edf4fb;
}
.docs-sidebar h2 {
  font-family: Rubik, system-ui, sans-serif;
  font-size: 0.9rem;
  margin: 10px 0 0;
}
.docs-sidebar h2:first-child {
  margin-top: 0;
}
.docs-sidebar a {
  font-size: 0.86rem;
}
.docs-footer {
  border-top: 1px solid #d8e4ef;
  margin-top: 30px;
}

@media (max-width: 760px) {
  .docs-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .docs-shell {
    padding: 30px 20px 60px;
  }
  .docs-layout {
    display: block;
  }
  .docs-sidebar {
    position: static;
    margin-top: 40px;
  }
  .docs-index-list {
    columns: 1;
  }
  .docs-footer {
    padding: 22px 20px;
  }
}
