:root {
  color-scheme: light dark;
  --ink: #172019;
  --muted: #5d685f;
  --copy: #39463d;
  --paper: #fbf8f0;
  --paper-strong: #fffdf7;
  --moss: #2f6f4e;
  --moss-dark: #194531;
  --leaf: #8bb79a;
  --clay: #b96d45;
  --ochre: #d2a24c;
  --line: rgba(23, 32, 25, 0.14);
  --header-bg: rgba(251, 248, 240, 0.92);
  --card-bg: rgba(255, 253, 247, 0.82);
  --eyebrow-bg: rgba(255, 253, 247, 0.74);
  --footer-bg: #f4ecdd;
  --callout-bg: #ead8bb;
  --callout-line: rgba(185, 109, 69, 0.24);
  --shadow: 0 24px 80px rgba(30, 45, 34, 0.18);
  font-family: "Aptos", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  body:not(.docs-app-body) {
    --ink: #f4eadb;
    --muted: #a8b5aa;
    --copy: #d8e2d9;
    --paper: #0d1117;
    --paper-strong: #111a14;
    --moss: #70c28c;
    --moss-dark: #cdebd5;
    --leaf: #8bcfa0;
    --clay: #d0906a;
    --ochre: #e1b85f;
    --line: rgba(219, 234, 222, 0.14);
    --header-bg: rgba(13, 17, 23, 0.88);
    --card-bg: rgba(17, 26, 20, 0.82);
    --eyebrow-bg: rgba(22, 34, 25, 0.78);
    --footer-bg: #0a0f0c;
    --callout-bg: #172719;
    --callout-line: rgba(139, 207, 160, 0.22);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--moss);
  background: var(--moss);
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(47, 111, 78, 0.22);
}

.button.secondary {
  background: transparent;
  color: var(--moss-dark);
  box-shadow: none;
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(251, 248, 240, 0.98) 0%, rgba(251, 248, 240, 0.88) 38%, rgba(251, 248, 240, 0.24) 72%),
    linear-gradient(180deg, rgba(251, 248, 240, 0) 70%, var(--paper) 100%),
    url("assets/screenshot-dashboard.jpg") right center / min(980px, 78vw) auto no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--moss-dark);
  background: var(--eyebrow-bg);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  font-weight: 700;
}

h2 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
}

h3 {
  font-size: 21px;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--copy);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  max-width: 570px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 62px 0;
}

.band {
  background: var(--paper-strong);
  border-block: 1px solid var(--line);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head p,
.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature,
.plan,
.doc-link,
.trust-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  padding: 24px;
}

.feature p,
.plan p,
.doc-link p,
.trust-item p {
  color: var(--muted);
  line-height: 1.6;
}

.feature b,
.plan b {
  color: var(--moss-dark);
}

.screens {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}

.screens img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screens-stack {
  display: grid;
  gap: 18px;
}

.quote-band {
  background: var(--moss-dark);
  color: white;
}

.quote-band p {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.28;
}

.quote-band span {
  display: block;
  margin-top: 22px;
  color: #d8eadc;
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-size: 15px;
}

.plan {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.plan .price {
  margin: 18px 0;
  font-size: 32px;
  font-weight: 900;
  color: var(--moss-dark);
}

.plan ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.plan .button {
  width: fit-content;
  margin-top: auto;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--footer-bg);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 92px 0 54px;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.docs-list {
  display: grid;
  gap: 14px;
}

.doc-link {
  display: block;
  text-decoration: none;
}

.doc-link:hover {
  border-color: rgba(47, 111, 78, 0.5);
}

.callout {
  padding: 30px;
  border-radius: 8px;
  background: var(--callout-bg);
  border: 1px solid var(--callout-line);
}

.docs-body {
  --docs-ink: #0f1712;
  --docs-muted: #66736a;
  --docs-panel: rgba(255, 255, 255, 0.86);
  --docs-soft: #f7f5ee;
  --docs-line: rgba(24, 38, 29, 0.11);
  background: #fffdf8;
  color: var(--docs-ink);
}

.docs-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 224px minmax(260px, 520px) auto;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding: 0 28px;
  border-bottom: 1px solid var(--docs-line);
  background: rgba(255, 253, 247, 0.97);
  backdrop-filter: blur(18px);
}

.docs-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
}

.docs-brand img {
  width: 36px;
}

.docs-search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(29, 49, 34, 0.05);
}

.docs-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.docs-search input {
  width: 100%;
  height: 42px;
  border: 0;
  outline: 0;
  padding: 0 54px 0 18px;
  background: transparent;
  color: var(--docs-ink);
  font: inherit;
}

.docs-search kbd {
  position: absolute;
  right: 10px;
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--docs-line);
  border-radius: 6px;
  background: #f5f1e8;
  color: var(--docs-muted);
  padding: 0 7px;
  font-size: 13px;
}

.docs-toplinks {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: var(--docs-muted);
  font-size: 14px;
}

.docs-toplinks a {
  text-decoration: none;
}

.docs-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 820px) 190px;
  gap: 32px;
  width: min(1320px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 90px;
}

.docs-sidebar,
.docs-toc {
  position: sticky;
  top: 92px;
  align-self: start;
}

.docs-sidebar {
  max-height: calc(100vh - 124px);
  overflow: auto;
  padding: 10px 12px 20px 0;
}

.docs-sidebar-section {
  margin-bottom: 22px;
}

.docs-sidebar-section p,
.docs-toc p {
  margin: 0 0 10px;
  color: #8b7560;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-sidebar-section a,
.docs-toc a {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-left: 2px solid transparent;
  border-radius: 8px;
  color: var(--docs-muted);
  text-decoration: none;
  font-size: 14px;
}

.docs-sidebar-section a:hover,
.docs-sidebar-section a.active,
.docs-toc a:hover {
  background: rgba(47, 111, 78, 0.08);
  border-left-color: rgba(47, 111, 78, 0.34);
  color: var(--moss-dark);
}

.docs-main {
  min-width: 0;
}

.docs-body h1,
.docs-body h2,
.docs-body h3 {
  font-family: inherit;
  letter-spacing: 0;
}

.docs-body h1 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 850;
}

.docs-body h2 {
  font-size: 30px;
  line-height: 1.16;
  font-weight: 820;
}

.docs-body h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.docs-body :not(pre) > code {
  border: 1px solid var(--docs-line);
  border-radius: 6px;
  background: #f5f1e8;
  color: var(--moss-dark);
  padding: 2px 5px;
  font-size: 0.9em;
}

.docs-hero,
.docs-section {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 32px;
  align-items: center;
  padding: 42px;
  overflow: hidden;
}

.docs-pill,
.docs-kicker {
  width: fit-content;
  margin: 0 0 14px;
  color: var(--moss-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-pill {
  padding: 7px 11px;
  border: 1px solid rgba(47, 111, 78, 0.2);
  border-radius: 999px;
  background: rgba(139, 183, 154, 0.18);
}

.docs-hero h1 {
  max-width: 680px;
  font-size: 52px;
}

.docs-hero p:not(.docs-pill),
.docs-lead {
  max-width: 690px;
  color: var(--docs-muted);
  font-size: 18px;
  line-height: 1.65;
}

.docs-terminal,
.docs-code-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #101711;
  color: #eaf5ec;
  box-shadow: 0 22px 70px rgba(16, 23, 17, 0.24);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d2a24c;
}

.terminal-bar span:nth-child(2) {
  background: #8bb79a;
}

.terminal-bar span:nth-child(3) {
  background: #b96d45;
}

.docs-terminal pre,
.docs-code-card pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.75;
}

.docs-section {
  margin-top: 0;
  padding: 36px 0;
  border-top: 1px solid var(--docs-line);
}

.docs-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.docs-mini-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  color: var(--moss-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.62);
}

.docs-grid {
  display: grid;
  gap: 14px;
}

.docs-grid.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docs-grid.mini {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-card,
.docs-row,
.docs-callout {
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.docs-card {
  min-height: 154px;
  padding: 22px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.docs-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 78, 0.34);
  box-shadow: 0 14px 30px rgba(28, 43, 31, 0.08);
}

.docs-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 850;
}

.docs-card h3,
.docs-row h3,
.docs-callout h3 {
  margin: 0 0 10px;
}

.docs-card p,
.docs-row p,
.docs-callout p {
  margin: 0;
  color: var(--docs-muted);
  line-height: 1.6;
}

.docs-stack {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.docs-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
}

.docs-row code {
  align-self: start;
  white-space: nowrap;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  padding: 7px 9px;
  background: #f5f1e8;
  color: var(--moss-dark);
  font-size: 13px;
}

.docs-checklist {
  display: grid;
  gap: 12px;
}

.docs-checklist label {
  display: flex;
  align-items: start;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--docs-muted);
  line-height: 1.55;
}

.docs-checklist input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--moss);
}

.docs-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 26px;
  align-items: center;
}

.docs-code-card pre {
  min-height: 190px;
}

.docs-callout {
  padding: 24px;
  background: linear-gradient(180deg, rgba(47, 111, 78, 0.1), rgba(255, 255, 255, 0.72));
}

.docs-callout a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--moss-dark);
  font-weight: 850;
  text-decoration: none;
}

.docs-final {
  background:
    linear-gradient(135deg, rgba(47, 111, 78, 0.12), rgba(210, 162, 76, 0.14)),
    rgba(255, 255, 255, 0.78);
}

.is-hidden {
  display: none !important;
}

.docs-overview {
  padding: 36px 0 40px;
}

.docs-overview h1 {
  max-width: 760px;
  font-size: 54px;
}

.docs-overview p:not(.docs-pill) {
  max-width: 690px;
  color: var(--docs-muted);
  font-size: 19px;
  line-height: 1.65;
}

.docs-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.docs-section-heading {
  margin-bottom: 18px;
}

.docs-section-heading h2 {
  font-size: 32px;
}

.docs-section-heading p {
  max-width: 680px;
  color: var(--docs-muted);
  line-height: 1.65;
}

.docs-code-tabs {
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  background: #111713;
  color: #edf7ef;
  box-shadow: 0 14px 36px rgba(17, 23, 19, 0.15);
}

.docs-tab-row {
  display: flex;
  gap: 4px;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-tab-row button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #9aa89e;
  font: inherit;
  font-size: 13px;
}

.docs-tab-row button.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.docs-code-tabs pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.75;
}

.docs-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.docs-resource,
.docs-product-grid article {
  display: block;
  padding: 20px;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.docs-resource span {
  color: var(--moss);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-resource h3,
.docs-product-grid h3 {
  margin: 16px 0 10px;
}

.docs-resource p,
.docs-product-grid p {
  margin: 0;
  color: var(--docs-muted);
  line-height: 1.58;
}

.docs-product-grid {
  display: grid;
  gap: 12px;
}

.docs-product-grid article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.docs-product-grid h3 {
  margin: 0;
}

.docs-product-grid a {
  color: var(--moss-dark);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.docs-home {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 54px 0 92px;
}

.docs-home-hero {
  max-width: 820px;
}

.docs-home-hero h1,
.docs-page-title h1 {
  max-width: 820px;
  font-size: 58px;
}

.docs-home-hero p:not(.docs-pill),
.docs-page-title p:not(.docs-pill) {
  max-width: 760px;
  color: var(--docs-muted);
  font-size: 19px;
  line-height: 1.65;
}

.docs-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.docs-family-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(28, 43, 31, 0.06);
}

.docs-family-card span {
  color: var(--moss);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-family-card h2 {
  margin-top: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
}

.docs-family-card p {
  color: var(--docs-muted);
  line-height: 1.65;
}

.docs-family-card b {
  margin-top: auto;
  color: var(--moss-dark);
}

.docs-home-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  margin-top: 18px;
}

.docs-home-panel,
.docs-index-list {
  border: 1px solid var(--docs-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 28px;
  box-shadow: 0 14px 32px rgba(28, 43, 31, 0.055);
}

.docs-terminal.compact pre {
  font-size: 13px;
}

.docs-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.docs-inline-list span {
  padding: 8px 10px;
  border: 1px solid var(--docs-line);
  border-radius: 999px;
  background: #f7f2e9;
  color: var(--moss-dark);
  font-size: 13px;
  font-weight: 750;
}

.docs-index-list {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  margin-top: 18px;
}

.docs-link-list {
  display: grid;
  gap: 8px;
}

.docs-link-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--docs-ink);
  text-decoration: none;
}

.docs-article-shell {
  grid-template-columns: 240px minmax(0, 880px) 200px;
}

.docs-page-title {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--docs-line);
  margin-bottom: 18px;
}

.docs-breadcrumb {
  margin: 0 0 18px;
  color: var(--docs-muted);
  font-size: 13px;
}

.docs-breadcrumb a {
  color: var(--moss-dark);
  text-decoration: none;
  font-weight: 750;
}

.docs-article .docs-section {
  box-shadow: none;
}

.docs-note {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(47, 111, 78, 0.18);
  border-radius: 10px;
  background: rgba(139, 183, 154, 0.12);
  color: #37483b;
  line-height: 1.6;
}

.docs-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--docs-line);
}

.docs-pagination a {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.docs-pagination a:last-child {
  text-align: right;
}

.docs-pagination span {
  color: var(--docs-muted);
  font-size: 13px;
}

.docs-pagination b {
  color: var(--moss-dark);
  font-size: 17px;
}

.docs-table {
  display: grid;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.64);
}

.docs-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-table div:last-child {
  border-bottom: 0;
}

.docs-table b {
  color: var(--docs-ink);
}

.docs-table span {
  color: var(--docs-muted);
  line-height: 1.55;
}

.docs-timeline {
  display: grid;
  gap: 10px;
}

.docs-timeline div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
}

.docs-timeline b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--moss);
  color: white;
  font-size: 13px;
}

.docs-timeline span {
  color: var(--docs-muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(251, 248, 240, 0.92), var(--paper) 78%),
      url("assets/screenshot-dashboard.jpg") center top / 980px auto no-repeat;
  }

  .hero-inner {
    padding-top: 300px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section-head,
  .footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid.three,
  .grid.two,
  .screens {
    grid-template-columns: 1fr;
  }

  .quote-band p {
    font-size: 26px;
  }

  .docs-topbar {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .docs-toplinks {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .docs-shell {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 780px);
    padding-top: 18px;
  }

  .docs-home {
    width: min(100% - 28px, 780px);
    padding-top: 30px;
  }

  .docs-sidebar,
  .docs-toc {
    position: static;
  }

  .docs-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-height: none;
    padding: 0;
  }

  .docs-toc {
    display: none;
  }

  .docs-hero,
  .docs-split,
  .docs-grid.cards,
  .docs-grid.mini,
  .docs-family-grid,
  .docs-home-layout,
  .docs-index-list,
  .docs-resource-grid,
  .docs-product-grid article {
    grid-template-columns: 1fr;
  }

  .docs-hero,
  .docs-section {
    padding: 24px;
  }

  .docs-hero h1 {
    font-size: 40px;
  }

  .docs-home-hero h1,
  .docs-page-title h1,
  .docs-overview h1 {
    font-size: 40px;
  }

  .docs-family-card {
    min-height: 260px;
  }

  .docs-heading-row,
  .docs-row {
    flex-direction: column;
  }

  .docs-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .docs-product-grid a {
    white-space: normal;
  }

  .docs-pagination {
    grid-template-columns: 1fr;
  }

  .docs-pagination a:last-child {
    text-align: left;
  }
}

@media (prefers-color-scheme: dark) {
  body:not(.docs-app-body) .hero {
    background:
      linear-gradient(90deg, rgba(13, 17, 23, 0.99) 0%, rgba(13, 17, 23, 0.91) 42%, rgba(13, 17, 23, 0.38) 76%),
      linear-gradient(180deg, rgba(13, 17, 23, 0) 70%, var(--paper) 100%),
      url("assets/screenshot-dashboard-dark.jpg") right center / min(980px, 78vw) auto no-repeat;
  }

  body:not(.docs-app-body) .screens img {
    border-color: rgba(219, 234, 222, 0.12);
  }

  body:not(.docs-app-body) .quote-band {
    background: #07100b;
  }

  body:not(.docs-app-body) .quote-band span {
    color: #a8d5b4;
  }
}

@media (prefers-color-scheme: dark) and (max-width: 860px) {
  body:not(.docs-app-body) .hero {
    background:
      linear-gradient(180deg, rgba(13, 17, 23, 0.52) 0%, rgba(13, 17, 23, 0.94) 58%, var(--paper) 100%),
      url("assets/screenshot-dashboard-dark.jpg") center top / 980px auto no-repeat;
  }
}

/* xAI-inspired documentation application shell */
.docs-app-body {
  --docs-bg: #080a09;
  --docs-sidebar-bg: #111312;
  --docs-surface: #111312;
  --docs-surface-2: #181b19;
  --docs-surface-3: #232723;
  --docs-menu-bg: #222522;
  --docs-search-bg: #0b0d0c;
  --docs-text: #f5f7f4;
  --docs-muted-dark: #a2aaa3;
  --docs-dim: #707a72;
  --docs-border-dark: rgba(255, 255, 255, 0.08);
  --docs-accent: #d7f3ca;
  --docs-accent-2: #71d18b;
  --docs-code: #272a27;
  --docs-code-text: #eff7ee;
  --docs-hover: rgba(255, 255, 255, 0.075);
  --docs-hover-strong: rgba(255, 255, 255, 0.08);
  --docs-row-bg: rgba(255, 255, 255, 0.025);
  --docs-row-bg-soft: rgba(255, 255, 255, 0.02);
  --docs-hero-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  --docs-shell-glow: linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 24%);
  --docs-menu-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  --docs-primary-bg: #f5f7f4;
  --docs-primary-text: #050605;
  color-scheme: dark;
  min-height: 100vh;
  background: var(--docs-bg);
  color: var(--docs-text);
}

html[data-docs-theme="light"] .docs-app-body {
  --docs-bg: #fbfaf6;
  --docs-sidebar-bg: #f2f0e8;
  --docs-surface: #ffffff;
  --docs-surface-2: #f6f4ed;
  --docs-surface-3: #ebe8dc;
  --docs-menu-bg: #ffffff;
  --docs-search-bg: #ffffff;
  --docs-text: #111713;
  --docs-muted-dark: #59655d;
  --docs-dim: #7b857d;
  --docs-border-dark: rgba(24, 38, 29, 0.13);
  --docs-accent: #245f42;
  --docs-accent-2: #2f6f4e;
  --docs-code: #f0f3ee;
  --docs-code-text: #142119;
  --docs-hover: rgba(47, 111, 78, 0.08);
  --docs-hover-strong: rgba(47, 111, 78, 0.12);
  --docs-row-bg: rgba(47, 111, 78, 0.04);
  --docs-row-bg-soft: rgba(47, 111, 78, 0.035);
  --docs-hero-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 240, 232, 0.88));
  --docs-shell-glow: linear-gradient(90deg, rgba(47, 111, 78, 0.055), transparent 28%);
  --docs-menu-shadow: 0 18px 48px rgba(35, 44, 38, 0.16);
  --docs-primary-bg: #111713;
  --docs-primary-text: #ffffff;
  color-scheme: light;
}

.docs-app-body .docs-app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 220px;
  min-height: 100vh;
  background:
    var(--docs-shell-glow),
    var(--docs-bg);
}

.docs-app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--docs-border-dark);
  background: var(--docs-sidebar-bg);
}

.docs-app-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 12px;
}

.docs-app-brand > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--docs-text);
  text-decoration: none;
  font-weight: 760;
}

.docs-app-brand img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.docs-mode-switcher {
  position: relative;
}

.docs-mode-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--docs-muted-dark);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
}

.docs-mode-switcher summary::-webkit-details-marker {
  display: none;
}

.docs-mode-switcher[open] summary,
.docs-mode-switcher summary:hover {
  background: var(--docs-surface-3);
  color: var(--docs-text);
}

.docs-mode-arrows {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 1px;
  color: var(--docs-dim);
  font-size: 10px;
  line-height: 1;
}

.docs-mode-switcher[open] .docs-mode-arrows {
  color: var(--docs-accent);
}

.docs-mode-menu {
  position: absolute;
  top: 38px;
  right: 0;
  z-index: 70;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--docs-border-dark);
  border-radius: 12px;
  background: var(--docs-menu-bg);
  box-shadow: var(--docs-menu-shadow);
}

.docs-mode-menu a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--docs-muted-dark);
  text-decoration: none;
  font-size: 14px;
}

.docs-mode-menu a.active,
.docs-mode-menu a:hover {
  background: var(--docs-hover-strong);
  color: var(--docs-text);
}

.docs-mode-menu a.active::after {
  content: "*";
  margin-left: auto;
  color: var(--docs-accent);
}

.docs-app-search {
  min-height: 38px;
  margin: 0 16px 14px;
  border-color: var(--docs-border-dark);
  border-radius: 10px;
  background: var(--docs-search-bg);
  box-shadow: none;
}

.docs-app-search input {
  height: 36px;
  color: var(--docs-text);
  padding-left: 12px;
}

.docs-app-search input::placeholder {
  color: var(--docs-dim);
}

.docs-app-search kbd {
  height: 24px;
  border-color: var(--docs-border-dark);
  background: var(--docs-surface-3);
  color: var(--docs-muted-dark);
  font-size: 12px;
}

.docs-app-nav {
  flex: 1;
  overflow: auto;
  padding: 2px 10px 18px;
}

.docs-nav-group {
  margin: 0 0 14px;
}

.docs-nav-group p {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 8px;
  margin: 0;
  color: var(--docs-text);
  font-size: 13px;
  font-weight: 740;
}

.docs-nav-group a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--docs-muted-dark);
  text-decoration: none;
  font-size: 14px;
}

.docs-nav-group a:hover,
.docs-nav-group a.active {
  background: var(--docs-hover);
  color: var(--docs-text);
}

.docs-app-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 12px 10px;
  border-top: 1px solid var(--docs-border-dark);
}

.docs-app-footer a,
.docs-theme-toggle {
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--docs-muted-dark);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  font-size: 13px;
}

.docs-app-footer a:hover,
.docs-theme-toggle:hover {
  background: var(--docs-hover);
  color: var(--docs-text);
}

.docs-theme-toggle {
  justify-content: space-between;
}

.docs-theme-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--docs-border-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--docs-accent);
}

.docs-theme-toggle svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.docs-theme-toggle b {
  margin-left: auto;
  font-size: 13px;
  font-weight: 520;
}

.docs-app-main {
  min-width: 0;
  overflow: hidden;
  padding: 48px 56px 96px;
}

.docs-doc {
  width: min(100%, 940px);
  max-width: 940px;
  margin: 0 auto;
}

.docs-page-eyebrow {
  margin: 0 0 10px;
  color: var(--docs-muted-dark);
  font-size: 14px;
}

.docs-doc-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  min-width: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--docs-border-dark);
}

.docs-doc-header > div,
.docs-hero-panel > *,
.docs-section-block > * {
  min-width: 0;
}

.docs-doc-header h1 {
  max-width: 820px;
  margin: 0;
  color: var(--docs-text);
  font-size: 34px;
  line-height: 1.12;
  font-weight: 780;
}

.docs-doc-header p {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--docs-muted-dark);
  font-size: 16px;
  line-height: 1.7;
}

.docs-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 300px;
}

.docs-page-actions a,
.docs-page-actions button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--docs-muted-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
}

.docs-page-actions a:hover,
.docs-page-actions button:hover {
  border-color: var(--docs-border-dark);
  background: var(--docs-hover);
  color: var(--docs-text);
}

.docs-section-block {
  padding: 34px 0;
  border-bottom: 1px solid var(--docs-border-dark);
}

.docs-section-block h2 {
  margin: 0 0 18px;
  color: var(--docs-text);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 760;
}

.docs-section-block p {
  max-width: 760px;
  color: var(--docs-muted-dark);
  line-height: 1.75;
}

.docs-hero-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 32px;
  padding: 26px;
  border: 1px solid var(--docs-border-dark);
  border-radius: 22px;
  background: var(--docs-hero-bg);
}

.docs-hero-panel h2 {
  margin: 0 0 16px;
  color: var(--docs-text);
  font-size: 28px;
}

.docs-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.docs-primary,
.docs-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 720;
}

.docs-primary {
  background: var(--docs-primary-bg);
  color: var(--docs-primary-text);
}

.docs-secondary {
  border: 1px solid var(--docs-border-dark);
  color: var(--docs-text);
}

.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.docs-card,
.docs-metric {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--docs-border-dark);
  border-radius: 16px;
  background: var(--docs-surface);
  color: var(--docs-text);
  text-decoration: none;
}

.docs-card h3 {
  margin: 0 0 14px;
  color: var(--docs-text);
  font-size: 18px;
}

.docs-card p,
.docs-metric p {
  margin: 0;
  color: var(--docs-muted-dark);
  line-height: 1.65;
}

.docs-card:hover {
  border-color: rgba(215, 243, 202, 0.28);
  background: var(--docs-surface-2);
}

.docs-feature-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.docs-hero-panel .docs-feature-matrix {
  grid-template-columns: 1fr;
}

.docs-metric {
  min-height: 130px;
}

.docs-hero-panel .docs-metric {
  min-height: 0;
  padding: 18px;
}

.docs-metric span {
  display: block;
  margin-bottom: 12px;
  color: var(--docs-accent);
  font-size: 13px;
  font-weight: 760;
}

.docs-code-tabs {
  overflow: hidden;
  border: 1px solid var(--docs-border-dark);
  border-radius: 14px;
  background: var(--docs-code);
  color: var(--docs-text);
  box-shadow: none;
}

.docs-tab-row {
  display: flex;
  gap: 4px;
  padding: 10px;
  border-bottom: 1px solid var(--docs-border-dark);
}

.docs-tab-row button {
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--docs-muted-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.docs-tab-row button.active,
.docs-tab-row button:hover {
  background: var(--docs-hover-strong);
  color: var(--docs-text);
}

.docs-code-tabs pre {
  display: none;
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: var(--docs-code-text);
  font-size: 13px;
  line-height: 1.75;
}

.docs-code-tabs pre.active {
  display: block;
}

.docs-section-block > pre {
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--docs-border-dark);
  border-radius: 14px;
  background: var(--docs-code);
  color: var(--docs-code-text);
  font-size: 13px;
  line-height: 1.75;
}

.docs-ref-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--docs-border-dark);
  border-radius: 14px;
}

.docs-ref-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--docs-border-dark);
  background: var(--docs-row-bg-soft);
}

.docs-ref-table div:last-child {
  border-bottom: 0;
}

.docs-ref-table b {
  color: var(--docs-text);
}

.docs-ref-table span {
  color: var(--docs-muted-dark);
  line-height: 1.6;
}

.docs-checks,
.docs-timeline-list {
  display: grid;
  gap: 10px;
}

.docs-checks label,
.docs-timeline-list div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--docs-border-dark);
  border-radius: 12px;
  background: var(--docs-row-bg);
  color: var(--docs-muted-dark);
  line-height: 1.6;
}

.docs-checks input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--docs-accent-2);
}

.docs-timeline-list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--docs-hover-strong);
  color: var(--docs-accent);
  font-size: 12px;
}

.docs-diagram {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.docs-diagram span {
  padding: 12px 14px;
  border: 1px solid var(--docs-border-dark);
  border-radius: 12px;
  background: var(--docs-surface);
}

.docs-diagram b {
  color: var(--docs-dim);
}

.docs-link-list-app {
  display: grid;
  max-width: 520px;
  border: 1px solid var(--docs-border-dark);
  border-radius: 14px;
  overflow: hidden;
}

.docs-link-list-app a {
  padding: 14px 16px;
  border-bottom: 1px solid var(--docs-border-dark);
  color: var(--docs-text);
  text-decoration: none;
}

.docs-link-list-app a:last-child {
  border-bottom: 0;
}

.docs-link-list-app a:hover {
  background: var(--docs-hover);
}

.docs-app-toc {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 112px 28px 24px 0;
}

.docs-app-toc p {
  margin: 0 0 12px;
  color: var(--docs-muted-dark);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.docs-app-toc a {
  display: flex;
  min-height: 30px;
  align-items: center;
  color: var(--docs-muted-dark);
  text-decoration: none;
  font-size: 13px;
}

.docs-app-toc a:hover {
  color: var(--docs-text);
}

.docs-app-body .docs-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 26px;
  border-top: 0;
}

.docs-app-body .docs-pagination > span {
  display: block;
}

.docs-app-body .docs-pagination a {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--docs-border-dark);
  border-radius: 14px;
  background: var(--docs-row-bg);
  text-decoration: none;
}

.docs-app-body .docs-pagination a:last-child {
  text-align: right;
}

.docs-app-body .docs-pagination span {
  color: var(--docs-dim);
  font-size: 13px;
}

.docs-app-body .docs-pagination b {
  color: var(--docs-text);
  font-size: 16px;
}

.docs-app-body .is-hidden {
  display: none !important;
}

.docs-app-body :not(pre) > code {
  border-color: var(--docs-border-dark);
  background: var(--docs-surface-3);
  color: var(--docs-accent);
}

@media (max-width: 1120px) {
  .docs-app-body .docs-app-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .docs-app-toc {
    display: none;
  }

  .docs-app-main {
    padding: 38px 34px 80px;
  }
}

@media (max-width: 760px) {
  .docs-app-body .docs-app-shell {
    grid-template-columns: 1fr;
  }

  .docs-app-sidebar {
    position: static;
    height: auto;
    max-height: none;
  }

  .docs-app-brand {
    grid-template-columns: 1fr;
  }

  .docs-app-nav {
    max-height: 360px;
  }

  .docs-app-main {
    width: 100%;
    max-width: 100vw;
    padding: 28px 18px 64px;
  }

  .docs-doc,
  .docs-doc-header h1,
  .docs-doc-header p,
  .docs-section-block,
  .docs-hero-panel {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .docs-doc-header p {
    inline-size: calc(100vw - 36px);
    max-inline-size: calc(100vw - 36px);
    white-space: normal;
  }

  .docs-doc-header,
  .docs-hero-panel,
  .docs-card-grid,
  .docs-feature-matrix,
  .docs-ref-table div,
  .docs-app-body .docs-pagination {
    grid-template-columns: 1fr;
  }

  .docs-page-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .docs-app-body .docs-pagination a:last-child {
    text-align: left;
  }
}
