@charset "UTF-8";@import url("https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-coy.min.css");@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");.Header {
  color: green;
}.Architecture {
  background: transparent;
}
.Architecture .notice {
  font-size: 14px;
}
.Architecture a:hover {
  cursor: pointer;
}
.Architecture h3 {
  margin-bottom: 0;
  font-style: italic;
  font-weight: normal;
}
.Architecture h3 span {
  font-weight: bold;
  font-size: 16px;
  vertical-align: top;
}
.Architecture .architecture-page {
  max-width: 1100px;
  margin: 0 auto;
}
.Architecture .hero-grid.architecture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  grid-auto-rows: auto;
}
.Architecture .architecture-grid-3 {
  grid-template-rows: repeat(3, auto);
}
.Architecture .architecture-grid .left-panel {
  grid-column: 1;
}
.Architecture .architecture-grid .left-top {
  grid-row: 1;
}
.Architecture .architecture-grid .right-top {
  grid-column: 2;
  grid-row: 1;
}
.Architecture .architecture-grid .left-row-2 {
  grid-row: 2;
}
.Architecture .architecture-grid .right-span {
  grid-row: 1/span 3;
}
.Architecture .architecture-grid .left-row-3 {
  grid-row: 3;
}
.Architecture .architecture-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: auto;
}
.Architecture .architecture-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--architecture-base);
}
.Architecture .architecture-panel.right-top.right-span h4 {
  margin: 12px 0 0;
  margin-bottom: 0;
  font-weight: normal;
  color: inherit;
  color: #4b3f72 !important;
}
.Architecture .architecture-panel p {
  margin: 0;
  color: #111827;
  line-height: 1.7;
  font-size: 14px;
}
.Architecture .architecture-panel pre {
  margin: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
}
.Architecture .architecture-panel code {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.Architecture .architecture-example {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  width: 100%;
}
.Architecture .architecture-example-single {
  grid-template-columns: 1fr;
}
.Architecture .architecture-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}
.Architecture .architecture-token {
  font-weight: normal;
}
.Architecture .architecture-note {
  color: #6b7280;
  font-style: italic;
}
@media (max-width: 980px) {
  .Architecture .architecture-page {
    padding: 18px 16px 32px;
  }
  .Architecture .architecture-grid {
    grid-template-columns: 1fr;
  }
  .Architecture .architecture-grid .left-panel,
  .Architecture .architecture-grid .right-top {
    grid-column: auto;
    grid-row: auto;
  }
  .Architecture .architecture-example {
    grid-template-columns: 1fr;
  }
}.Binding {
  background: transparent;
}
.Binding .binding-page {
  max-width: 1100px;
  margin: 0 auto;
}
.Binding .hero-grid.binding-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  grid-auto-rows: auto;
}
.Binding .binding-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: auto;
}
.Binding .binding-panel.left-panel {
  grid-row: span 2;
  align-self: stretch;
}
.Binding .binding-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.Binding .binding-subgrid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  width: 100%;
}
.Binding .binding-span {
  grid-column: 1/-1;
}
.Binding .binding-subcol h3 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
}
.Binding .binding-subcol p {
  margin: 0;
  color: #111827;
  line-height: 1.7;
  font-size: 14px;
}
.Binding .binding-subcol pre {
  margin: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
}
.Binding .binding-code-gap {
  height: 12px;
}
.Binding .highlight-token {
  font-weight: normal;
}
.Binding h4 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: normal;
  color: var(--bindings-base);
}
.Binding .binding-page code.inline-code {
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
}
.Binding .code-green {
  color: #2f9c0a !important;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.Binding .code-blue {
  color: #1990b8 !important;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.Binding span.token.string {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.Binding .binding-subcol code {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
@media (max-width: 980px) {
  .Binding .binding-page {
    padding: 18px 16px 32px;
  }
  .Binding .binding-grid {
    grid-template-columns: 1fr;
  }
  .Binding .binding-subgrid {
    grid-template-columns: 1fr;
  }
}.Context {
  background: transparent;
}
.Context .notice {
  font-size: 14px;
}
.Context a:hover {
  cursor: pointer;
}
.Context h3 {
  margin-bottom: 0;
  font-style: italic;
  font-weight: normal;
}
.Context h3 span {
  font-weight: bold;
  font-size: 16px;
  vertical-align: top;
}
.Context .context-code {
  height: 396px;
  overflow: hidden;
}
.Context pre.language-html {
  padding-top: 0 !important;
}
.Context .context-code-last .language-html,
.Context .context-code-last .language-js {
  background: none;
  border: none;
  padding: 6px 0 0 0 !important;
}
.Context h4 {
  margin-top: 6px;
  margin-bottom: 0;
  font-weight: normal;
  color: var(--context-base);
}
.Context .context-page {
  max-width: 1100px;
  margin: 0 auto;
}
.Context .hero-grid.context-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  grid-auto-rows: auto;
}
.Context .context-grid-3 {
  grid-template-rows: repeat(3, auto);
}
.Context .context-grid .left-panel {
  grid-column: 1;
}
.Context .context-grid .left-top {
  grid-row: 1;
}
.Context .context-grid .right-top {
  grid-column: 2;
  grid-row: 1;
}
.Context .context-grid .left-row-2 {
  grid-row: 2;
}
.Context .context-grid .right-span {
  grid-row: 1/span 3;
}
.Context .context-grid .left-row-3 {
  grid-row: 3;
}
.Context .context-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: auto;
}
.Context .context-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--context-base);
}
.Context .context-panel p {
  margin: 0;
  color: #111827;
  line-height: 1.7;
  font-size: 14px;
}
.Context .context-panel pre {
  margin: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
}
.Context .context-panel code {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.Context .context-example {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  width: 100%;
}
.Context .context-example-single {
  grid-template-columns: 1fr;
}
.Context .context-code-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.Context .context-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}
.Context .context-token {
  font-weight: normal;
}
.Context .context-note {
  color: #6b7280;
  font-style: italic;
}
@media (max-width: 980px) {
  .Context .context-page {
    padding: 18px 16px 32px;
  }
  .Context .context-grid {
    grid-template-columns: 1fr;
  }
  .Context .context-grid .left-panel,
  .Context .context-grid .right-top {
    grid-column: auto;
    grid-row: auto;
  }
  .Context .context-example {
    grid-template-columns: 1fr;
  }
}.HomePage .notice {
  font-size: 14px;
}
.HomePage a:hover {
  cursor: pointer;
}
.HomePage h3 {
  margin-bottom: 0;
  font-style: italic;
  font-weight: normal;
}
.HomePage h3 span {
  font-weight: bold;
  font-size: 16px;
  vertical-align: top;
}.Overview {
  background: transparent;
}
.Overview .overview-page {
  max-width: 1100px;
  margin: 0 auto;
}
.Overview .hero-grid.overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.Overview .overview-grid .left-panel {
  grid-column: 1;
}
.Overview .overview-grid .left-top-1 {
  grid-row: 1;
}
.Overview .overview-grid .structure-panel {
  grid-column: 2;
  grid-row: 2/span 3;
}
.Overview .overview-grid .right-top {
  grid-column: 2;
  grid-row: 1;
}
.Overview .overview-grid .left-row-2 {
  grid-row: 2;
}
.Overview .overview-grid .left-row-3 {
  grid-row: 3;
}
.Overview .overview-grid .left-row-4 {
  grid-row: 4;
}
.Overview .overview-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
}
.Overview .overview-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.Overview .overview-panel p {
  margin: 0;
  color: #111827;
  line-height: 1.7;
  font-size: 14px;
}
.Overview .runtime-flow {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #111827;
}
.Overview .runtime-label {
  font-weight: 600;
}
.Overview .runtime-label-empty {
  visibility: hidden;
}
.Overview .overview-structure {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  width: 100%;
}
.Overview .structure-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 8px;
}
.Overview .structure-copy p {
  margin: 0;
}
.Overview .overview-structure strong {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  font-size: 12px;
  color: #1d4ed8;
  font-weight: 600;
}
.Overview .structure-tree {
  background: #fdfdfd;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px #ffffff;
  border-radius: 12px;
  padding: 12px 20px 12px 14px;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  font-size: 12px;
  color: #0f172a;
  width: 95%;
  margin-left: 10px;
}
.Overview .structure-tree-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.Overview .structure-tree-meta span {
  background: #e2e8f0;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
}
.Overview .structure-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 16px;
}
.Overview .structure-tree > ul {
  padding-left: 0;
}
.Overview .structure-tree li {
  position: relative;
  padding-left: 14px;
  margin: 6px 0;
}
.Overview .structure-tree li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 8px;
  border-top: 1px solid #cbd5f5;
}
.Overview .structure-tree li::after {
  content: "";
  position: absolute;
  left: 2px;
  top: -6px;
  height: 100%;
  border-left: 1px solid #cbd5f5;
}
.Overview .structure-tree li:last-child::after {
  height: 16px;
}
.Overview .tree-folder {
  font-weight: 600;
  color: #1d4ed8;
}
.Overview .tree-file {
  color: #0f172a;
}
.Overview .overview-section {
  margin-top: 32px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px 22px 24px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}
.Overview .overview-section h2 {
  margin: 0 0 10px;
}
.Overview .overview-note {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.6;
  font-size: 13px;
  margin-top: 4px;
  font-style: italic;
}
.Overview .overview-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}
.Overview .overview-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}
.Overview .overview-table thead th {
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0.08em;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}
.Overview .overview-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #111827;
}
.Overview .overview-table tbody tr:last-child td {
  border-bottom: 0;
}
.Overview .overview-table tbody td:first-child {
  font-weight: 600;
  color: #111827;
}
.Overview .overview-table .rating-row td:not(:first-child) {
  font-weight: 600;
  letter-spacing: 0.08em;
}
.Overview .overview-table .framework-beeline {
  color: var(--learning-base);
}
.Overview .overview-table .framework-react {
  color: #4eaec9;
}
.Overview .overview-table .framework-vue {
  color: #42b883;
}
.Overview .overview-table .framework-svelte {
  color: #ff3e00;
}
.Overview .overview-table .framework-solid {
  color: #336ba9;
}
.Overview .overview-table .framework-angular {
  color: #dd0031;
}
.Overview .overview-table .framework-alpine,
.Overview .overview-table .framework-stimulus {
  color: #8b5e3c;
}
.Overview .overview-table .framework-stimulus {
  color: #4c9d7c;
}
@media (max-width: 980px) {
  .Overview .overview-page {
    padding: 18px 16px 32px;
  }
  .Overview .overview-grid {
    grid-template-columns: 1fr;
  }
  .Overview .overview-section {
    margin-top: 24px;
  }
  .Overview .overview-grid .left-panel,
  .Overview .overview-grid .structure-panel {
    grid-column: auto;
    grid-row: auto;
  }
  .Overview .overview-structure {
    grid-template-columns: 1fr;
  }
}.requests {
  background: transparent;
}
.requests .requests-page {
  max-width: 1100px;
  margin: 0 auto;
}
.requests pre {
  width: 100%;
}
.requests .hero-grid.requests-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  grid-auto-rows: auto;
}
.requests .requests-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: auto;
}
.requests .requests-panel.left-panel {
  grid-row: span 2;
  align-self: stretch;
}
.requests .requests-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.requests .requests-subgrid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  width: 100%;
}
.requests .requests-span {
  grid-column: 1/-1;
}
.requests .requests-subcol h3 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
}
.requests .requests-subcol p {
  margin: 0;
  color: #111827;
  line-height: 1.7;
  font-size: 14px;
}
.requests .requests-subcol pre {
  margin: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
}
.requests .requests-code-gap {
  height: 12px;
}
.requests .highlight-token {
  font-weight: normal;
}
.requests h4 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: normal;
  color: var(--requests-base);
}
.requests .requests-page code.inline-code {
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
}
.requests .code-green {
  color: #2f9c0a !important;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.requests .code-blue {
  color: #1990b8 !important;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.requests .code-orange {
  color: #d19a66 !important;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.requests span.token.string {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.requests .requests-subcol code {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
@media (max-width: 980px) {
  .requests .requests-page {
    padding: 18px 16px 32px;
  }
  .requests .requests-grid {
    grid-template-columns: 1fr;
  }
  .requests .requests-subgrid {
    grid-template-columns: 1fr;
  }
}.testability {
  background: transparent;
}
.testability .testing-page {
  max-width: 1100px;
  margin: 0 auto;
}
.testability pre {
  width: 100%;
}
.testability .hero-grid.testing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  grid-auto-rows: auto;
}
.testability .testing-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: auto;
}
.testability .testing-panel.left-panel {
  grid-row: span 2;
  align-self: stretch;
}
.testability .testing-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.testability .testing-subgrid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  width: 100%;
}
.testability .testing-span {
  grid-column: 1/-1;
}
.testability .testing-subcol h3 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
}
.testability .testing-subcol p {
  margin: 0;
  color: #111827;
  line-height: 1.7;
  font-size: 14px;
}
.testability .testing-subcol pre {
  margin: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
}
.testability .testing-code-gap {
  height: 12px;
}
.testability .highlight-token {
  font-weight: normal;
}
.testability h4 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: normal;
  color: var(--testability-base);
}
.testability .testing-page code.inline-code {
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
}
.testability .code-green {
  color: #2f9c0a !important;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.testability .code-blue {
  color: #1990b8 !important;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.testability .code-orange {
  color: #d19a66 !important;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.testability span.token.string {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
.testability .testing-subcol code {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}
@media (max-width: 980px) {
  .testability .testing-page {
    padding: 18px 16px 32px;
  }
  .testability .testing-grid {
    grid-template-columns: 1fr;
  }
  .testability .testing-subgrid {
    grid-template-columns: 1fr;
  }
}.lead {
  font-size: 17px;
  margin: 0 0 6px;
}

.sublead {
  margin: 0 0 16px;
  color: #4b3f72;
  font-size: 15px;
}
/* Prism.js IDE-style theme (VS Code–like dark) */
pre[class*=language-] {
  background: #0f172a;
  color: #e5e7eb;
  padding: 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.9rem;
}

.token.comment {
  color: #64748b;
}

.token.keyword {
  color: #60a5fa;
}

.token.string {
  color: #a7f3d0;
}

.token.handlertion {
  color: #fde68a;
}

.token.number {
  color: #fca5a5;
}

.token.operator {
  color: #c7d2fe;
}

.token.punctuation {
  color: #94a3b8;
}/* Light IDE-style Prism theme */
pre[class*=language-] {
  background: #f3f4f6;
  color: #111827;
  padding: 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.9rem;
}

.token.comment {
  color: #6b7280;
}

.token.keyword {
  color: #1d4ed8;
}

.token.string {
  color: #047857;
}

.token.handlertion {
  color: #92400e;
}

.token.number {
  color: #b91c1c;
}

.token.operator {
  color: #374151;
}

.token.punctuation {
  color: #4b5563;
}:root {
  /* Deterministic execution */
  --requests-light: #e0ecff;
  --requests-base: #2554ba; /* clearer blue */
  --requests-dark: #1e40af;
  /* Explicit bindings */
  --bindings-light: #e6f4f2;
  --bindings-base: #1990b8;
  --bindings-dark: #25738e;
  /* Testability by design */
  --testability-light: #e9f4ea;
  --testability-base: #2e7d32;
  --testability-dark: #1b4d1f;
  /* Learning overview */
  --learning-light: #fff4db;
  --learning-base: #d98800;
  --learning-dark: #b45309;
  /* Architecture */
  --architecture-light: #eceaf4;
  --architecture-base: #4b3f72;
  --architecture-dark: #2f274a;
  /* Requests flows */
  --context-light: #f7e6fb;
  --context-base: #d32684;
  --context-dark: #86198f;
}


:root {
  /* Deterministic execution */
  --requests-light: #e0ecff;
  --requests-base: #2554ba; /* clearer blue */
  --requests-dark: #1e40af;
  /* Explicit bindings */
  --bindings-light: #e6f4f2;
  --bindings-base: #1990b8;
  --bindings-dark: #25738e;
  /* Testability by design */
  --testability-light: #e9f4ea;
  --testability-base: #2e7d32;
  --testability-dark: #1b4d1f;
  /* Learning overview */
  --learning-light: #fff4db;
  --learning-base: #d98800;
  --learning-dark: #b45309;
  /* Architecture */
  --architecture-light: #eceaf4;
  --architecture-base: #4b3f72;
  --architecture-dark: #2f274a;
  /* Requests flows */
  --context-light: #f7e6fb;
  --context-base: #d32684;
  --context-dark: #86198f;
}
:root {
  --bg: #f9fafb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --accent: #2563eb;
  --border: #e5e7eb;
  --sidebar-w: 260px;
  --max: 1100px;
  --radius: 14px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
.token.operator,
.token.keyword,
.token.important {
  color: #d19a66 !important;
}
.language-js {
  overflow-x: hidden !important;
}
.token.literal-property.property {
  color: #9e6128 !important;
}
.token.literal-property.property {
  color: #bd7b3d !important;
}
.token.constant {
  color: #aa6e36 !important;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: radial-gradient(1000px 600px at 15% 30%, rgba(124, 58, 237, 0.25), transparent 60%), radial-gradient(900px 520px at 85% 85%, rgba(34, 197, 94, 0.18), transparent 55%), radial-gradient(800px 520px at 80% 20%, rgba(59, 130, 246, 0.14), transparent 60%), linear-gradient(180deg, var(--bg), var(--bg2) 70%, #06060a);
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.small {
  font-size: 13px;
  color: var(--muted);
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 10, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgb(124, 58, 237), rgb(34, 197, 94));
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.22);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  color: var(--text);
  opacity: 0.88;
}
.nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}
.nav-links a.active {
  color: #fff;
  opacity: 1;
}
.nav-links .pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.14);
}
.nav-links .cta {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.22);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero {
  padding: 10px 0 22px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}
h1 {
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 13px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: none;
}
.btn:hover {
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn.primary {
  background: rgba(124, 58, 237, 0.24);
  border-color: rgba(124, 58, 237, 0.55);
}
.btn .arrow {
  opacity: 0.9;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.section {
  padding: 18px 0 0;
}
.section h2 {
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.section p {
  color: var(--muted);
  line-height: 1.6;
}
.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  padding: 16px;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}
.notice strong {
  color: var(--text);
}
/* Docs layout */
.docs {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 0;
  padding: 0 18px 80px;
}
.sidebar {
  width: var(--sidebar-w);
  padding: 18px 14px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow: auto;
  border-right: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.sidebar h4 {
  margin: 18px 8px 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.12em;
}
.sidebar a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text);
  opacity: 0.86;
}
.sidebar a:hover {
  opacity: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}
.sidebar a.active {
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.3);
  opacity: 1;
}
.doc {
  flex: 1;
  padding: 28px 24px;
  max-width: var(--max);
}
.doc h1 {
  margin-top: 16px;
}
.doc h2 {
  margin-top: 26px;
}
.doc p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 90ch;
}
.doc ul {
  color: var(--muted);
  line-height: 1.65;
}
.doc .callout {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.1);
  color: var(--muted);
  margin: 14px 0;
}
pre {
  margin: 12px 0 18px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(10, 10, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: auto;
}
code {
  font-family: var(--mono);
  font-size: 13px;
}
/* Images */
.figure {
  margin: 14px 0 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.figure img {
  width: 100%;
  display: block;
}
.figure .cap {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}
th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  color: var(--muted);
  font-size: 14px;
}
th {
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
}
.footer {
  padding: 40px 0 70px;
  color: var(--muted);
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .docs {
    flex-direction: column;
    padding-bottom: 40px;
  }
  .sidebar {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 7, 10, 0.55);
  }
  .doc {
    padding: 18px 6px;
  }
}
/* lightweight code colouring */
.tok-kw {
  color: #c084fc;
}
.tok-str {
  color: #86efac;
}
.tok-com {
  color: rgba(185, 185, 201, 0.55);
  font-style: italic;
}
.tok-num {
  color: #60a5fa;
}
.tok-tag {
  color: #f472b6;
}
.tok-attr {
  color: #fde68a;
}
pre:not([class*=language-]) {
  background: #f3f4f6;
  color: #111827;
}
code:not([class*=language-]) {
  color: #111827;
}
/* Prism (Coy) cleanup */
pre[class*=language-] {
  border: 1px solid #eaeaea;
  border-radius: 4px;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}
pre[class*=language-]::before,
pre[class*=language-]::after {
  content: none !important;
}
pre[class*=language-] > code {
  border: none;
  box-shadow: none;
}
/* ---------- UX polish ---------- */
/* spacing rhythm */
.section {
  margin-top: 64px;
}
.section > p {
  margin-top: 12px;
}
/* hover states */
a {
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent);
}
.card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
/* tables */
tbody tr:hover {
  background: #f9fafb;
}
/* summary blocks */
.summary {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: #f8fafc;
}
.summary strong {
  display: block;
  margin-bottom: 6px;
}
/* Header background fix */
.nav {
  background: var(--panel);
  color: var(--text);
}
.nav a {
  color: var(--text);
}
.nav a:hover {
  color: var(--accent);
}
/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 20px;
  height: 20px;
  image-rendering: crisp-edges;
}
/* ---------- Flow diagrams (light theme fix) ---------- */
.flow {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 20px;
}
.flow svg rect {
  fill: #ffffff;
  stroke: var(--accent);
  stroke-width: 2;
}
.flow svg text {
  fill: #111827;
  font-weight: 500;
}
.flow svg line {
  stroke: var(--accent);
  stroke-width: 2;
}
.flow svg marker path {
  fill: var(--accent);
}
/* ---------- Safety net: neutralize any tok-* remnants ---------- */
.tok-str,
.tok-kw,
.tok-fn,
.tok-num,
.tok-op {
  color: inherit !important;
  background: none !important;
  font-weight: inherit !important;
}
/* Strong flow text contrast */
.flow svg text {
  fill: #111827 !important;
}
/* Diagram layout */
.diagram-wrap {
  max-width: 100%;
  padding: 20px;
  overflow-x: auto;
}
.diagram-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}
/* === HTML Flow Diagram === */
.flow-wrap {
  padding: 20px;
  max-width: 100%;
}
.flow {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 20px;
}
.node {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
}
.node.start,
.node.end {
  border-radius: 999px;
  border: 2px solid #10b981;
  background: #ecfdf5;
  color: #065f46;
  font-weight: normal;
}
.node.process {
  border: 2px solid #7c3aed;
  background: #f8f5ff;
  color: #4c1d95;
}
.node.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.arrow {
  font-size: 1.4rem;
  color: #7c3aed;
  user-select: none;
}
.flow-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
}
@media (max-width: 768px) {
  .flow {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 20px;
  }
  .arrow {
    transform: rotate(90deg);
  }
}
.node strong {
  font-weight: 600;
  margin-bottom: 4px;
}
.node .code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 400;
}
/* Frame around flow to avoid border touching content */
.flow-frame {
  padding: 20px;
  box-sizing: border-box;
}
header {
  border-bottom: 1px solid #e5e7eb;
}
.site-header nav {
  align-items: center;
}
.site-header .logo {
  font-weight: 600;
  margin-right: 24px;
}
/* Visible border around flow chart */
.flow-border {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin: 20px 0;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}
.site-header > div {
  width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.top-nav nav {
  display: flex;
  gap: 16px;
}
.top-nav .brand {
  font-weight: 600;
}
.side-nav {
  background: transparent;
  border-right: 1px solid #e5e7eb;
  padding-right: 16px;
}
.image-placeholder {
  border: 1px dashed #e5e7eb;
  padding: 24px;
  margin: 24px 0;
  background: #fafafa;
}
.image-placeholder h2 {
  margin-top: 0;
}
.flow-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.flow-block h3 {
  margin-bottom: 8px;
}
.flow-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.node {
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
}
.node.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.arrow {
  color: #7c3aed;
  font-weight: 600;
}
.hint {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #6b7280;
}
/* Override notice padding safely */
.notice {
  padding-left: 0;
}
/* === Section heading colour bindings === */
.section-requests h1,
.section-requests h2 {
  color: var(--requests-base);
}
.section-bindings h1,
.section-bindings h2 {
  color: var(--bindings-base);
}
.section-testability h1,
.section-testability h2 {
  color: var(--testability-base);
}
.section-learning h1,
.section-learning h2 {
  color: var(--learning-base);
}
.section-architecture h1,
.section-architecture h2 {
  color: var(--architecture-base);
}
.context h1,
.context h2 {
  color: var(--context-base);
}
h3 {
  font-weight: bold !important;
}
/* === Section colours on home page cards === */
.section-requests h3,
.section-requests a {
  color: var(--requests-base);
}
.section-bindings h3,
.section-bindings a {
  color: var(--bindings-base);
}
.section-testability h3,
.section-testability a {
  color: var(--testability-base);
}
.section-learning h3,
.section-learning a {
  color: var(--learning-base);
}
.section-architecture h3,
.section-architecture a {
  color: var(--architecture-base);
}
.context h3,
.context a {
  color: var(--context-base);
}
/* === Brand colour override (reduce colours) === */
.brand,
.brand a,
.brand h1,
.brand h2,
.brand h3 {
  color: #000000;
}
/* === Site header with brand left, nav right === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.brand-left a {
  font-weight: 600;
  text-decoration: none;
  color: #000;
}
.brand-left a img {
  pointer-events: none;
}
.top-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 8px;
}
.top-nav a,
.brand-left a {
  text-decoration: none;
  font-weight: 500;
  position: relative;
  cursor: pointer;
}
.top-nav a.selected,
.brand-left a.selected {
  cursor: pointer;
  pointer-events: none;
}
/* Hover underline */
.top-nav a::after,
.brand-left a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.top-nav a:hover::after {
  transform: scaleX(1);
}
ul.header li a.selected,
.top-nav a.selected {
  pointer-events: none;
  cursor: default;
}
ul.header li a.selected::after,
.top-nav a.selected::after {
  transform: scaleX(1);
}
/* Section colours */
.top-nav .section-requests a,
.top-nav .section-requests h1 {
  color: var(--requests-base);
}
.top-nav .section-bindings a,
.top-nav .section-bindings h1 {
  color: var(--bindings-base);
}
.top-nav .section-testability a,
.top-nav .section-testability h1 {
  color: var(--testability-base);
}
.top-nav .section-learning a,
.top-nav .section-learning h1 {
  color: var(--learning-base);
}
.top-nav .section-architecture a,
.top-nav .section-architecture h1 {
  color: var(--architecture-base);
}
.top-nav .context a,
.top-nav .context h1 {
  color: var(--context-base);
}
/* === Brand hover matches nav rollover === */
.brand-left a {
  position: relative;
  text-decoration: none;
}
.brand-left a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.brand-left a:hover::after {
  transform: scaleX(1);
}