:root {
  color-scheme: dark;
  --docs-ink: #0d1411;
  --docs-ink-soft: #17221c;
  --docs-panel: rgba(22, 33, 27, 0.94);
  --docs-panel-soft: rgba(30, 43, 35, 0.88);
  --docs-paper: #e9f0dc;
  --docs-paper-soft: #afbdab;
  --docs-lime: #b9f43f;
  --docs-cyan: #55e6db;
  --docs-sky: #7ac7df;
  --docs-orange: #f5ad47;
  --docs-red: #f56f61;
  --docs-border: rgba(218, 242, 194, 0.2);
  --docs-shadow: #080d0a;
  --docs-radius: 18px;
  --docs-max: 1220px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--docs-ink);
}

body {
  max-width: 100%;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--docs-paper);
  background:
    radial-gradient(circle at 15% -10%, rgba(85, 230, 219, 0.16), transparent 34rem),
    radial-gradient(circle at 93% 15%, rgba(185, 244, 63, 0.11), transparent 30rem),
    linear-gradient(180deg, #101913 0%, #0d1411 46%, #101813 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: radial-gradient(rgba(232, 246, 214, 0.18) 0.8px, transparent 0.8px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

::selection {
  color: #0b130d;
  background: var(--docs-lime);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 14px;
  color: var(--docs-ink);
  background: var(--docs-lime);
  border: 2px solid #080d0a;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.docs-progress {
  position: fixed;
  top: var(--nc-site-header-px, 76px);
  right: 0;
  left: 0;
  z-index: 35;
  height: 3px;
  pointer-events: none;
}

.docs-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--docs-cyan), var(--docs-lime));
  box-shadow: 0 0 12px rgba(185, 244, 63, 0.65);
  transform: scaleX(0);
  transform-origin: left;
}

.docs-main {
  width: min(var(--docs-max), calc(100% - 40px));
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 58px 0 96px;
  outline: none;
}

.docs-loading,
.docs-error {
  display: grid;
  justify-items: center;
  max-width: 560px;
  margin: 12vh auto 0;
  padding: 38px;
  text-align: center;
  background: var(--docs-panel);
  border: 1px solid var(--docs-border);
  border-radius: var(--docs-radius);
  box-shadow: 0 10px 0 var(--docs-shadow);
}

.docs-loading strong,
.docs-error strong {
  margin-top: 18px;
  font-size: 1.15rem;
}

.docs-loading small,
.docs-error p {
  margin: 9px 0 0;
  color: var(--docs-paper-soft);
}

.docs-error a {
  margin-top: 20px;
  padding: 10px 14px;
  color: #0e160f;
  font-weight: 800;
  background: var(--docs-lime);
  border-radius: 8px;
}

.docs-loading-cube {
  width: 42px;
  height: 42px;
  background: var(--docs-lime);
  border: 4px solid #111a13;
  box-shadow: 8px 8px 0 rgba(85, 230, 219, 0.35);
  animation: docs-cube 1.3s steps(4, end) infinite;
}

@keyframes docs-cube {
  0% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(45deg); }
  100% { transform: translateY(0) rotate(90deg); }
}

.docs-translation-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 14px 16px;
  color: #f9e7c4;
  background: rgba(245, 173, 71, 0.1);
  border: 1px solid rgba(245, 173, 71, 0.35);
  border-radius: 10px;
}

.docs-translation-notice strong {
  grid-row: span 2;
  color: var(--docs-orange);
}

.docs-translation-notice p {
  margin: 0;
  color: #cfbea2;
  font-size: 0.8rem;
}

.docs-eyebrow {
  margin: 0 0 12px;
  color: var(--docs-lime);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.docs-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(37, 56, 44, 0.94), rgba(17, 27, 21, 0.98)),
    var(--docs-panel);
  border: 1px solid rgba(185, 244, 63, 0.2);
  border-radius: 24px;
  box-shadow: 0 14px 0 #080d0a, 0 34px 80px rgba(0, 0, 0, 0.25);
}

.docs-hero::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 180px;
  height: 180px;
  content: "";
  border: 30px solid rgba(85, 230, 219, 0.06);
  transform: rotate(18deg);
}

.docs-hero-copy {
  position: relative;
  z-index: 1;
}

.docs-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #f5f9eb;
  font-size: clamp(2.25rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.docs-article .docs-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 4.35rem);
}

.docs-hero-summary {
  max-width: 650px;
  margin: 24px 0 0;
  color: #b9c7b8;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.docs-reading-time {
  display: inline-flex;
  margin-top: 22px;
  padding: 7px 10px;
  color: var(--docs-cyan);
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(85, 230, 219, 0.08);
  border: 1px solid rgba(85, 230, 219, 0.22);
  border-radius: 999px;
}

.docs-hero-visual,
.docs-section-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background: #0a100d;
  border: 2px solid rgba(232, 246, 214, 0.16);
  border-radius: 14px;
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.36);
}

.docs-hero-visual img,
.docs-section-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.docs-visual-caption {
  position: relative;
  z-index: 2;
  padding: 13px 15px 14px;
  margin: 0;
  color: #b8c6b8;
  font-size: 0.78rem;
  line-height: 1.55;
  background: rgba(12, 20, 15, 0.96);
  border-top: 1px solid rgba(232, 246, 214, 0.13);
}

.docs-visual-caption::before {
  margin-right: 7px;
  color: var(--docs-cyan);
  content: "◇";
}

.docs-hero-visual img.docs-media-ready,
.docs-section-visual img.docs-media-ready {
  transform: translateZ(0);
}

.docs-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0 84px;
}

.docs-metric {
  display: grid;
  min-height: 132px;
  padding: 20px;
  background: var(--docs-panel-soft);
  border: 1px solid var(--docs-border);
  border-radius: 13px;
}

.docs-metric strong {
  color: var(--docs-cyan);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1;
}

.docs-metric span {
  align-self: end;
  margin-top: 14px;
  font-weight: 800;
}

.docs-metric small {
  margin-top: 5px;
  color: #8fa090;
  line-height: 1.4;
}

.docs-catalog,
.docs-principles,
.docs-technical {
  margin-top: 88px;
}

.docs-section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.docs-section-heading h2,
.docs-catalog-group-heading h2,
.docs-content-section h2,
.docs-evidence h2 {
  margin: 0;
  color: #f0f6e5;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.docs-section-heading > p:last-child,
.docs-catalog-group-heading > p:last-child {
  margin: 15px 0 0;
  color: var(--docs-paper-soft);
  line-height: 1.65;
}

.docs-catalog-group {
  padding: 34px 0 42px;
  border-top: 1px solid var(--docs-border);
}

.docs-catalog-group-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(260px, 1fr);
  column-gap: 44px;
  align-items: end;
  margin-bottom: 25px;
}

.docs-catalog-group-heading .docs-eyebrow {
  grid-column: 1 / -1;
}

.docs-catalog-group-heading > p:last-child {
  margin: 0;
}

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

.docs-topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(32, 46, 37, 0.95), rgba(20, 30, 24, 0.96));
  border: 1px solid var(--docs-border);
  border-radius: 13px;
  box-shadow: 0 6px 0 rgba(4, 8, 5, 0.7);
  transition: border 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.docs-topic-card::after {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 75px;
  height: 75px;
  content: "";
  background: rgba(85, 230, 219, 0.07);
  border: 10px solid rgba(185, 244, 63, 0.04);
  transform: rotate(15deg);
}

a.docs-topic-card:hover,
a.docs-topic-card:focus-visible {
  border-color: rgba(185, 244, 63, 0.52);
  box-shadow: 0 10px 0 rgba(4, 8, 5, 0.8);
  outline: none;
  transform: translateY(-4px);
}

.docs-topic-card--planned {
  opacity: 0.72;
}

.docs-topic-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: #91a291;
  font-size: 0.68rem;
  font-weight: 800;
}

.docs-topic-step {
  color: var(--docs-cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.08em;
}

.docs-topic-time {
  margin-left: auto;
}

.docs-topic-status {
  color: var(--docs-lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-topic-card--planned .docs-topic-status {
  color: var(--docs-orange);
}

.docs-topic-card h3 {
  margin: 26px 0 10px;
  font-size: 1.3rem;
  line-height: 1.15;
}

.docs-topic-card p {
  margin: 0;
  color: #a6b5a7;
  font-size: 0.9rem;
  line-height: 1.55;
}

.docs-topic-link {
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  color: var(--docs-cyan);
  font-size: 0.76rem;
  font-weight: 850;
}

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

.docs-principle-card {
  padding: 24px;
  background: #dfe8d4;
  border: 3px solid #0b120d;
  border-radius: 11px;
  box-shadow: 7px 8px 0 #070b08;
  color: #182118;
}

.docs-card-index {
  color: #507211;
  font-size: 0.76rem;
  font-weight: 900;
}

.docs-principle-card h3 {
  margin: 28px 0 10px;
  font-size: 1.22rem;
}

.docs-principle-card p {
  margin: 0;
  color: #455244;
  line-height: 1.58;
}

.docs-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 22px 4px;
  color: #819282;
  font-size: 0.76rem;
  font-weight: 750;
}

.docs-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--docs-cyan);
}

.docs-guide-context {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 30px;
}

.docs-guide-context > :first-child,
.docs-guide-context-list {
  min-width: 0;
}

.docs-guide-context > .docs-guide-question-label {
  display: none;
}

.docs-guide-question {
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 20px;
  color: #eff7e4;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  background: rgba(85, 230, 219, 0.08);
  border: 1px solid rgba(85, 230, 219, 0.25);
  border-left: 5px solid var(--docs-cyan);
  border-radius: 11px;
}

.docs-guide-question::before {
  align-self: flex-start;
  margin-right: 12px;
  color: var(--docs-cyan);
  content: "?";
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.docs-guide-context-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.docs-guide-context-item {
  min-width: 0;
  padding: 14px;
  background: rgba(31, 45, 36, 0.8);
  border: 1px solid var(--docs-border);
  border-radius: 9px;
}

.docs-guide-context-item dt {
  color: #819682;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-guide-context-item dd {
  margin: 7px 0 0;
  color: #edf5e1;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.docs-guide-terms {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.docs-guide-term {
  min-width: 0;
  padding: 14px;
  background: rgba(11, 18, 14, 0.74);
  border: 1px solid rgba(185, 244, 63, 0.17);
  border-radius: 9px;
}

.docs-guide-term dt {
  color: var(--docs-lime);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.35;
}

.docs-guide-term dd {
  margin: 7px 0 0;
  color: #9eada0;
  font-size: 0.76rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.docs-key-points {
  margin-top: 32px;
}

.docs-key-point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.docs-key-point {
  padding: 20px;
  background: rgba(31, 45, 36, 0.86);
  border: 1px solid var(--docs-border);
  border-left: 4px solid var(--docs-cyan);
  border-radius: 10px;
}

.docs-key-point strong {
  color: #edf5e1;
}

.docs-key-point p {
  margin: 9px 0 0;
  color: #9dac9e;
  font-size: 0.86rem;
  line-height: 1.55;
}

.docs-article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 800px);
  gap: clamp(38px, 6vw, 86px);
  justify-content: start;
  margin-top: 76px;
}

.docs-article-content {
  min-width: 0;
}

.docs-toc {
  position: sticky;
  top: 106px;
  align-self: start;
  max-height: calc(100vh - 130px);
  padding: 16px;
  overflow-y: auto;
  background: rgba(20, 31, 25, 0.76);
  border: 1px solid var(--docs-border);
  border-radius: 11px;
}

.docs-toc > strong {
  color: var(--docs-paper);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-toc nav {
  margin-top: 11px;
}

.docs-toc ol {
  display: grid;
  gap: 3px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.docs-toc li {
  min-width: 0;
}

.docs-toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 9px;
  color: #879888;
  font-size: 0.78rem;
  line-height: 1.35;
  border-left: 2px solid rgba(135, 152, 136, 0.2);
  border-radius: 6px;
}

.docs-toc a:hover,
.docs-toc a:focus-visible {
  color: var(--docs-cyan);
  background: rgba(85, 230, 219, 0.07);
  border-left-color: var(--docs-cyan);
  outline: none;
}

.docs-content-section,
.docs-evidence {
  scroll-margin-top: 112px;
  padding: 0 0 72px;
}

.docs-content-section + .docs-content-section,
.docs-evidence {
  padding-top: 72px;
  border-top: 1px solid var(--docs-border);
}

.docs-prose {
  margin: 20px 0 0;
  color: #bdc9bc;
  font-size: 1rem;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.docs-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 28px;
}

.docs-fact {
  display: grid;
  min-width: 0;
  min-height: 150px;
  padding: 18px;
  background: rgba(30, 43, 35, 0.82);
  border: 1px solid var(--docs-border);
  border-radius: 10px;
}

.docs-fact span {
  color: #819682;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-fact strong {
  align-self: end;
  margin-top: 18px;
  color: var(--docs-lime);
  font-size: 1.45rem;
  overflow-wrap: anywhere;
}

.docs-fact p {
  margin: 6px 0 0;
  color: #98a89a;
  font-size: 0.8rem;
  line-height: 1.45;
}

.docs-steps {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  counter-reset: docs-step;
}

.docs-steps li {
  position: relative;
  min-height: 84px;
  padding: 0 0 28px 64px;
  counter-increment: docs-step;
}

.docs-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #111810;
  font-size: 0.8rem;
  font-weight: 900;
  content: counter(docs-step, decimal-leading-zero);
  background: var(--docs-lime);
  border: 3px solid #071008;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.42);
}

.docs-steps li:not(:last-child)::after {
  position: absolute;
  top: 44px;
  bottom: 3px;
  left: 19px;
  width: 2px;
  content: "";
  background: rgba(185, 244, 63, 0.24);
}

.docs-steps strong {
  color: #edf5e1;
}

.docs-steps p {
  margin: 7px 0 0;
  color: #a6b4a6;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.docs-bullets {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.docs-bullets li {
  position: relative;
  padding: 13px 14px 13px 42px;
  color: #b8c5b8;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 8px;
}

.docs-bullets li::before {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--docs-cyan);
  box-shadow: 3px 3px 0 rgba(85, 230, 219, 0.18);
}

.docs-section-visual {
  margin-top: 32px;
}

.docs-technical-visual {
  margin: 0 0 24px;
}

.docs-callout {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  padding: 20px;
  background: rgba(85, 230, 219, 0.07);
  border: 1px solid rgba(85, 230, 219, 0.28);
  border-left: 5px solid var(--docs-cyan);
  border-radius: 10px;
}

.docs-callout--boundary {
  background: rgba(245, 173, 71, 0.07);
  border-color: rgba(245, 173, 71, 0.28);
  border-left-color: var(--docs-orange);
}

.docs-callout--verified {
  background: rgba(185, 244, 63, 0.07);
  border-color: rgba(185, 244, 63, 0.28);
  border-left-color: var(--docs-lime);
}

.docs-callout-label {
  color: #86998a;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.docs-callout strong {
  color: #edf5e1;
}

.docs-callout p {
  margin: 0;
  color: #aab8aa;
  line-height: 1.65;
}

.docs-article-content > .docs-technical {
  margin-top: 0;
  padding: 72px 0;
  border-top: 1px solid var(--docs-border);
}

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

.docs-formula {
  min-width: 0;
  padding: 22px;
  background: linear-gradient(145deg, rgba(30, 45, 36, 0.94), rgba(15, 25, 19, 0.96));
  border: 1px solid rgba(85, 230, 219, 0.23);
  border-radius: 12px;
  box-shadow: 0 6px 0 rgba(4, 8, 5, 0.65);
}

.docs-formula:only-child {
  grid-column: 1 / -1;
}

.docs-formula h3,
.docs-code-snippet h3 {
  margin: 0;
  color: #edf5e1;
  font-size: 1.1rem;
  line-height: 1.35;
}

.docs-formula-expression {
  margin-top: 20px;
  padding: 17px;
  overflow-x: auto;
  color: var(--docs-lime);
  background: #0a110d;
  border: 1px solid rgba(185, 244, 63, 0.2);
  border-radius: 8px;
  scrollbar-color: rgba(185, 244, 63, 0.45) #0a110d;
}

.docs-formula-expression code,
.docs-code-block,
.docs-code-source {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.docs-formula-expression code {
  font-size: clamp(0.86rem, 1.6vw, 1rem);
  line-height: 1.6;
  white-space: nowrap;
}

.docs-technical-explanation {
  margin: 17px 0 0;
  color: #a9b8aa;
  line-height: 1.65;
}

.docs-formula-terms {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 8px 14px;
  margin: 19px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--docs-border);
}

.docs-formula-terms dt {
  color: var(--docs-cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.docs-formula-terms dd {
  min-width: 0;
  margin: 0;
  color: #92a394;
  font-size: 0.84rem;
  line-height: 1.5;
}

.docs-code-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.docs-code-snippet {
  min-width: 0;
  overflow: hidden;
  background: rgba(16, 25, 20, 0.94);
  border: 1px solid var(--docs-border);
  border-radius: 12px;
  box-shadow: 0 6px 0 rgba(4, 8, 5, 0.65);
}

.docs-code-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 17px 19px;
  background: rgba(31, 45, 36, 0.84);
  border-bottom: 1px solid var(--docs-border);
}

.docs-code-language {
  padding: 5px 8px;
  color: #10180f;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--docs-lime);
  border-radius: 999px;
}

.docs-code-source {
  grid-column: 1 / -1;
  color: var(--docs-cyan);
  font-size: 0.72rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.docs-code-block {
  max-width: 100%;
  margin: 0;
  padding: 20px;
  overflow: auto;
  color: #dce8d7;
  font-size: 0.78rem;
  line-height: 1.65;
  tab-size: 2;
  scrollbar-color: rgba(85, 230, 219, 0.45) #0a110d;
}

.docs-code-block:focus-visible {
  outline: 2px solid var(--docs-cyan);
  outline-offset: -3px;
}

.docs-code-block code {
  font: inherit;
}

.docs-code-snippet > .docs-technical-explanation {
  margin: 0;
  padding: 0 19px 19px;
  font-size: 0.88rem;
}

.docs-code-walkthrough {
  display: grid;
  gap: 9px;
  padding: 17px 19px 19px;
  margin: 0;
  list-style: none;
  counter-reset: docs-code-step;
  background: rgba(85, 230, 219, 0.035);
  border-top: 1px solid var(--docs-border);
}

.docs-code-walkthrough li {
  display: grid;
  grid-template-columns: minmax(82px, 0.24fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 12px;
  background: rgba(7, 13, 9, 0.58);
  border-radius: 7px;
}

.docs-code-walkthrough strong {
  color: var(--docs-cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.5;
}

.docs-code-walkthrough p {
  margin: 0;
  color: #aab8aa;
  font-size: 0.82rem;
  line-height: 1.55;
}

.docs-evidence > .docs-prose {
  margin-bottom: 24px;
}

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

.docs-evidence-item {
  padding: 15px 16px;
  background: rgba(11, 18, 14, 0.68);
  border: 1px solid var(--docs-border);
  border-radius: 8px;
}

.docs-evidence-item code {
  color: var(--docs-cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.docs-evidence-item p {
  margin: 8px 0 0;
  color: #9eada0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.docs-path-navigation {
  scroll-margin-top: 112px;
  padding: 72px 0 0;
  border-top: 1px solid var(--docs-border);
}

.docs-path-navigation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.docs-path-navigation-card {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(31, 46, 37, 0.94), rgba(17, 27, 21, 0.96));
  border: 1px solid var(--docs-border);
  border-radius: 11px;
  box-shadow: 0 6px 0 rgba(4, 8, 5, 0.65);
  transition: border-color 150ms ease, transform 150ms ease;
}

.docs-path-navigation-card:hover,
.docs-path-navigation-card:focus-visible {
  border-color: rgba(185, 244, 63, 0.5);
  outline: none;
  transform: translateY(-3px);
}

.docs-path-navigation-label {
  color: var(--docs-cyan);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.docs-path-navigation-card strong {
  margin-top: 18px;
  color: #eff6e5;
  font-size: 1.08rem;
  line-height: 1.35;
}

.docs-path-navigation-card p {
  margin: 9px 0 0;
  color: #9dad9f;
  font-size: 0.84rem;
  line-height: 1.55;
}

.docs-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 32px max(20px, calc((100vw - var(--docs-max)) / 2));
  color: #839386;
  font-size: 0.78rem;
  background: #0a100d;
  border-top: 1px solid var(--docs-border);
}

.docs-footer p {
  max-width: 720px;
  margin: 0;
  line-height: 1.5;
}

.docs-footer div {
  display: flex;
  gap: 14px;
  color: var(--docs-paper-soft);
  font-weight: 750;
}

.docs-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
}

.docs-footer a:hover,
.docs-footer a:focus-visible {
  color: var(--docs-lime);
  outline: none;
}

.docs-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .docs-hero {
    grid-template-columns: 1fr;
  }

  .docs-hero-visual {
    max-width: 760px;
  }

  .docs-card-grid,
  .docs-principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .docs-toc {
    position: static;
    max-height: none;
  }

}

@media (max-width: 900px) {
  .docs-main {
    padding-top: calc(var(--nc-site-header-px, 64px) + 34px);
  }
}

@media (max-width: 680px) {
  .docs-main {
    width: min(100% - 24px, var(--docs-max));
    padding-top: calc(var(--nc-site-header-px, 64px) + 34px);
  }

  .docs-hero {
    gap: 28px;
    padding: 24px 18px;
    border-radius: 17px;
    box-shadow: 0 9px 0 #080d0a;
  }

  .docs-hero h1,
  .docs-article .docs-hero h1 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .docs-metrics,
  .docs-card-grid,
  .docs-principle-grid,
  .docs-key-point-grid,
  .docs-fact-grid,
  .docs-path-navigation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .docs-guide-context-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .docs-metrics {
    margin-bottom: 66px;
  }

  .docs-catalog-group-heading {
    display: block;
  }

  .docs-catalog-group-heading > p:last-child {
    margin-top: 13px;
  }

  .docs-article-layout {
    margin-top: 54px;
  }

  .docs-content-section,
  .docs-article-content > .docs-technical,
  .docs-evidence {
    padding-bottom: 54px;
  }

  .docs-content-section + .docs-content-section,
  .docs-article-content > .docs-technical,
  .docs-evidence {
    padding-top: 54px;
  }

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

  .docs-fact p,
  .docs-technical-explanation,
  .docs-formula-terms dd,
  .docs-evidence-item p {
    overflow-wrap: anywhere;
  }

  .docs-formula-terms {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-code-walkthrough li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .docs-footer {
    display: grid;
    padding: 28px 18px;
  }
}

@media (max-width: 430px) {
  .docs-guide-context-list,
  .docs-guide-terms {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
