@charset "UTF-8";
:root {
  --bg:#f8f8f4;
  --surface:#fff;
  --surface-2:#f0f0e9;
  --text:#242923;
  --muted:#73766b;
  --line:#dedfd5;
  --accent:#c94b2c;
  --accent-soft:#f8ebe3;
  --code-bg:#222822;
  --code-text:#e4eadd;
  --header:rgba(248,248,244,.95);
  --shadow:0 24px 80px #24332314;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  --mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
  color-scheme: light;
}
:root[data-theme=dark] {
  --bg:#191d19;
  --surface:#202620;
  --surface-2:#292f28;
  --text:#e7ecdf;
  --muted:#a0aa99;
  --line:#3b4439;
  --accent:#f18c68;
  --accent-soft:#3d2c24;
  --code-bg:#151a15;
  --code-text:#e4eadd;
  --header:rgba(25,29,25,.96);
  --shadow:0 24px 80px #0003;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
a,
button,
input {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
}
svg {
  flex-shrink: 0;
}
.icon {
  vertical-align: middle;
  flex-shrink: 0;
}
::selection {
  background: #d4e6ba;
  color: #25331d;
}
img {
  max-width: 100%;
  height: auto;
}
code,
pre,
kbd {
  font-family: var(--mono);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 24px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
.container {
  max-width: 1248px;
  margin: auto;
  padding: 0 40px;
}
.site-header {
  height: 82px;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
}
.header-inner {
  max-width: 1440px;
  height: 100%;
  padding: 0 40px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  white-space: nowrap;
}
.brand-logo {
  display: block;
  width: 186px;
  height: auto;
  aspect-ratio: 744 / 182;
  color: #222327;
}
:root[data-theme=dark] .brand-logo {
  color: #fffaf1;
}
.main-nav {
  display: flex;
  gap: 27px;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}
.main-nav > a {
  font-size: 13px;
  font-weight: 570;
  color: var(--muted);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.main-nav > a:hover,
.main-nav > a.is-active {
  color: var(--text);
}
.main-nav > a.is-active:after {
  position: absolute;
  content: "";
  height: 2px;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
}
.header-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 6px;
  padding: 7px 9px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.search-trigger .icon {
  width: 15px;
  height: 15px;
}
.search-trigger kbd {
  font-size: 10px;
  padding: 0 3px;
  background: var(--surface-2);
  border-radius: 3px;
  margin-left: 15px;
}
.icon-button {
  display: inline-flex;
  width: 30px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 5px;
}
.icon-button:hover {
  background: var(--surface-2);
  color: var(--text);
}
.icon-button .icon {
  width: 18px;
  height: 18px;
}
.theme-moon {
  display: none;
}
[data-theme=dark] .theme-sun {
  display: none;
}
[data-theme=dark] .theme-moon {
  display: block;
}
.menu-toggle {
  display: none;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.4px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.eyebrow .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow-rule {
  width: 30px;
  height: 1px;
  background: var(--line);
}
.hero {
  padding: 78px 0 68px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  align-items: center;
}
.hero-copy h1 {
  font-size: 62px;
  font-weight: 730;
  line-height: 1.22;
  letter-spacing: -3.6px;
  margin: 24px 0;
}
.hero-copy h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero-copy > p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
  margin: 0;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 11px 21px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  transition: background .15s, transform .15s;
}
.button:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
}
.button.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.hero-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
  letter-spacing: .3px;
}
.hero-note span {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  vertical-align: middle;
  margin: 0 9px;
}
.hero-visual {
  position: relative;
  padding: 8px 0 30px;
}
.editor {
  border: 1px solid #41493d;
  border-radius: 11px;
  background: var(--code-bg);
  color: var(--code-text);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.editor-top {
  height: 43px;
  display: flex;
  align-items: center;
  padding: 0 17px;
  border-bottom: 1px solid #ffffff13;
  gap: 6px;
}
.window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #596253;
}
.window-dot:first-child {
  background: #c58b70;
}
.window-dot:nth-child(2) {
  background: #c8ba7a;
}
.window-dot:nth-child(3) {
  background: #819f7c;
}
.editor-filename {
  font-family: var(--mono);
  font-size: 10px;
  color: #b7c2aa;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.editor-label {
  margin-left: auto;
  font-size: 9px;
  font-family: var(--mono);
  color: #92a584;
}
.editor-tabs {
  display: flex;
  gap: 22px;
  padding: 0 22px;
  border-bottom: 1px solid #ffffff13;
}
.editor-tab {
  border: 0;
  background: none;
  color: #9aa88f;
  font-size: 11px;
  font-family: var(--mono);
  padding: 13px 0 11px;
  position: relative;
}
.editor-tab[aria-selected=true] {
  color: #eef1e6;
}
.editor-tab[aria-selected=true]:after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #dc9876;
}
.editor-code {
  padding: 24px 22px 30px;
  min-height: 280px;
}
.editor-code pre {
  margin: 0;
  white-space: pre;
  font-size: 12px;
  line-height: 1.95;
  tab-size: 2;
  overflow: auto;
  color: #d9e5cd;
}
.line-number {
  color: #68775e;
  display: inline-block;
  width: 25px;
  user-select: none;
}
.syntax-comment {
  color: #839478;
}
.syntax-keyword {
  color: #d99a83;
}
.syntax-string {
  color: #bed797;
}
.syntax-function {
  color: #e7cb8e;
}
.editor-status {
  padding: 8px 17px;
  background: #ffffff04;
  border-top: 1px solid #ffffff13;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  color: #92a584;
}
.editor-status span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: #a4bf81;
  border-radius: 50%;
}
.result-note {
  position: absolute;
  bottom: 0;
  right: -15px;
  padding: 13px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 3;
  box-shadow: 0 8px 28px #26301d0c;
}
.result-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eaf0dd;
  color: #617643;
  display: grid;
  place-items: center;
}
.result-note strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
}
.result-note span {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.visual-grid {
  position: absolute;
  width: 200px;
  height: 200px;
  right: -25px;
  top: -20px;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: .7;
}
.hero-result {
  padding: 25px;
  min-height: 280px;
}
.mini-label {
  font-size: 10px;
  color: #a9b59b;
  display: block;
  margin: 10px 0 5px;
}
.mini-input {
  border: 1px solid #63705b;
  background: #ffffff08;
  border-radius: 4px;
  padding: 8px 12px;
  color: #dbe5d1;
  font-family: var(--mono);
  font-size: 13px;
  width: 100%;
  outline: none;
}
.mini-output {
  font-family: var(--mono);
  font-size: 11px;
  color: #a3bc8b;
  margin-top: 26px;
}
.install-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.install-strip p {
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin: 0;
}
.install-command {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  flex: 1;
}
.install-command .prompt {
  color: var(--accent);
}
.install-command code {
  letter-spacing: .1px;
}
.install-command button {
  margin-left: auto;
}
.strip-links {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 22px;
  align-items: center;
  border-left: 1px solid var(--line);
  padding-left: 27px;
}
.strip-links a {
  display: flex;
  gap: 7px;
  align-items: center;
}
.strip-links .icon {
  height: 13px;
  width: 13px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 55px 0 62px;
}
.principle > .icon {
  color: var(--accent);
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
}
.principle h2 {
  font-size: 16px;
  margin: 0 0 9px;
  letter-spacing: -.4px;
}
.principle p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  max-width: 320px;
}
.principle .tag {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 12px;
}
.documentation-section {
  border-top: 1px solid var(--line);
  padding: 62px 0 68px;
  background: var(--surface-2);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 29px;
}
.section-heading h2 {
  font-size: 33px;
  line-height: 1.4;
  letter-spacing: -1.4px;
  margin: 12px 0 0;
  font-weight: 680;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  max-width: 320px;
  margin: 0 0 3px;
  line-height: 1.9;
}
.docs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 225px;
  transition: border-color .18s, transform .18s;
}
.doc-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.card-top > .icon {
  width: 23px;
  height: 23px;
  color: var(--accent);
}
.card-top > span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.doc-card h3 {
  font-size: 17px;
  letter-spacing: -.5px;
  margin: 0 0 8px;
}
.doc-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 265px;
  margin: 0 0 18px;
}
.card-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.card-bottom .icon {
  width: 17px;
  height: 17px;
  color: var(--text);
}
.doc-card.wide {
  grid-column: span 2;
  background: var(--code-bg);
  color: var(--code-text);
  flex-direction: row;
  align-items: center;
  gap: 30px;
  border-color: #41493d;
}
.doc-card.wide p {
  color: #a4b098;
  max-width: 300px;
}
.doc-card.wide .card-top > .icon {
  color: #c7d8af;
}
.doc-card.wide .card-top {
  margin-bottom: 17px;
}
.doc-card.wide .card-bottom {
  color: #b4c29f;
}
.doc-card.wide .card-bottom .icon {
  color: #c7d8af;
}
.wide-code {
  font-family: var(--mono);
  font-size: 11px;
  color: #9eaf8e;
  flex: 1;
  border-left: 1px solid #ffffff20;
  padding-left: 28px;
  white-space: pre;
  line-height: 2;
}
.wide-code b {
  color: #d4dfc5;
  font-weight: 400;
}
.architecture-section {
  padding: 68px 0;
}
.architecture-section > .section-heading {
  margin-bottom: 35px;
}
.architecture-board {
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 25px;
  align-items: center;
  padding: 32px;
  background: var(--surface);
}
.architecture-node {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.architecture-node.main-node {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.architecture-node > span {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  display: block;
}
.architecture-node > strong {
  font-family: var(--mono);
  font-size: 15px;
  display: block;
  margin: 5px 0;
}
.architecture-node > p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.architecture-board > .icon {
  color: var(--muted);
}
.view-pills {
  display: flex;
  gap: 5px;
  margin-top: 11px;
  flex-wrap: wrap;
}
.view-pills span {
  font-family: var(--mono);
  font-size: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 4px;
}
.architecture-caption {
  margin-top: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.architecture-caption a {
  color: var(--text);
}
.start-banner {
  margin-bottom: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 35px;
  gap: 24px;
}
.start-banner h2 {
  font-size: 21px;
  letter-spacing: -.7px;
  margin: 0 0 4px;
}
.start-banner p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1248px;
  padding: 28px 40px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer-brand .brand-logo {
  width: 148px;
}
.footer-inner > p {
  font-size: 11px;
  color: var(--muted);
}
.footer-inner > div {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 10px;
  color: var(--muted);
}
.footer-inner > div a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-inner > div .icon {
  width: 12px;
  height: 12px;
}
.docs-layout {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr) 210px;
  padding: 0 40px;
  gap: 46px;
}
.docs-sidebar {
  position: sticky;
  top: 82px;
  height: calc(100dvh - 82px);
  overflow: auto;
  padding: 32px 20px 30px 0;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.sidebar-home {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 30px;
}
.sidebar-home .icon {
  color: var(--accent);
  width: 16px;
  height: 16px;
}
.sidebar-group {
  margin-bottom: 26px;
}
.sidebar-group h2 {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .2px;
  margin: 0 0 8px;
  padding: 0 12px 0 0;
}
.sidebar-group h2 > span:last-child {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.sidebar-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-group a {
  font-size: 12px;
  color: var(--muted);
  display: block;
  padding: 6px 12px;
  border-radius: 4px;
  line-height: 1.6;
  margin-left: -12px;
  border-left: 2px solid transparent;
}
.sidebar-group a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.sidebar-group a.is-current {
  color: var(--accent);
  background: var(--accent-soft);
  border-left-color: var(--accent);
  font-weight: 600;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-bottom .icon {
  width: 13px;
  height: 13px;
}
.doc-main {
  min-width: 0;
  padding: 36px 0 0;
}
.doc-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.doc-breadcrumb .icon {
  width: 11px;
  height: 11px;
}
.doc-heading {
  margin: 36px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}
.doc-heading .eyebrow {
  font-size: 10px;
  letter-spacing: .7px;
}
.doc-heading h1 {
  font-size: 38px;
  letter-spacing: -1.5px;
  line-height: 1.35;
  margin: 16px 0 12px;
  font-weight: 720;
  overflow-wrap: anywhere;
}
.doc-heading > p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.9;
}
.doc-meta {
  display: flex;
  gap: 18px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 10px;
}
.doc-meta > span + span:before {
  content: "\b7";
  margin-right: 18px;
}
.doc-content {
  font-size: 14px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.doc-content h2,
.doc-content h3,
.doc-content h4 {
  position: relative;
  line-height: 1.5;
  scroll-margin-top: 105px;
}
.doc-content h2 {
  font-size: 23px;
  letter-spacing: -.7px;
  border-top: 1px solid var(--line);
  padding-top: 27px;
  margin: 46px 0 17px;
  font-weight: 690;
}
.doc-content > h2:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.doc-content h3 {
  font-size: 17px;
  letter-spacing: -.35px;
  margin: 31px 0 11px;
}
.doc-content h4 {
  font-size: 14px;
  margin: 24px 0 10px;
}
.heading-anchor {
  color: var(--accent) !important;
  opacity: 0;
  margin-left: 9px;
  font-weight: 400;
  font-size: .75em;
}
.doc-content h2:hover .heading-anchor,
.doc-content h3:hover .heading-anchor,
.heading-anchor:focus {
  opacity: 1;
}
.doc-content p {
  margin: 14px 0;
}
.doc-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.doc-content a:hover {
  text-decoration-color: var(--accent);
}
.doc-content ul,
.doc-content ol {
  padding-left: 23px;
}
.doc-content li {
  margin: 5px 0;
}
.doc-content li::marker {
  color: var(--muted);
}
.doc-content strong {
  font-weight: 650;
}
.doc-content :not(pre) > code {
  font-size: .86em;
  padding: 3px 5px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  white-space: break-spaces;
  color: var(--accent);
}
.doc-content blockquote {
  border-left: 3px solid #8d9d75;
  margin: 22px 0;
  padding: 11px 18px;
  background: var(--surface-2);
  font-size: 12px;
  color: var(--muted);
  border-radius: 0 5px 5px 0;
}
.doc-content blockquote p {
  margin: 5px 0;
}
.doc-content blockquote ul {
  padding-left: 18px;
}
.doc-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.table-scroll {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.doc-content table {
  font-size: 12px;
  border-collapse: collapse;
  min-width: 100%;
  line-height: 1.75;
  word-break: normal;
}
.doc-content td,
.doc-content th {
  padding: 10px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.doc-content tr:last-child td {
  border-bottom: 0;
}
.doc-content td:last-child,
.doc-content th:last-child {
  border-right: 0;
}
.doc-content th {
  background: var(--surface-2);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.doc-content td code {
  word-break: normal;
}
.code-block {
  border-radius: 7px;
  background: var(--code-bg);
  color: var(--code-text);
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid #ffffff12;
  position: relative;
}
.code-toolbar {
  height: 34px;
  padding: 0 11px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 9px var(--mono);
  color: #a1b193;
  border-bottom: 1px solid #ffffff0c;
}
.copy-code {
  display: flex;
  gap: 5px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #a8b69a;
  font-size: 10px;
  padding: 4px 5px;
  border-radius: 3px;
}
.copy-code:hover {
  background: #ffffff10;
  color: #fff;
}
.copy-code .icon {
  width: 12px;
  height: 12px;
}
.code-block pre {
  margin: 0;
  padding: 18px;
  font-size: 11px;
  line-height: 1.85;
  overflow: auto;
  tab-size: 2;
  word-break: normal;
}
.code-block code {
  font-size: inherit;
  white-space: pre;
  overflow-wrap: normal;
}
.hljs-comment,
.hljs-quote {
  color: #899b7a;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-name {
  color: #e2a18a;
}
.hljs-string,
.hljs-regexp,
.hljs-addition {
  color: #c0d99c;
}
.hljs-number,
.hljs-symbol,
.hljs-bullet {
  color: #d3bc81;
}
.hljs-title,
.hljs-section {
  color: #e4cf9b;
}
.hljs-built_in,
.hljs-type,
.hljs-attr {
  color: #a8c7c5;
}
.hljs-variable,
.hljs-template-variable {
  color: #d1dcca;
}
.hljs-deletion {
  color: #de9696;
}
.doc-content img {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 22px auto;
}
.diagram {
  margin: 24px 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
  border-radius: 6px;
  overflow: auto;
}
.diagram .mermaid {
  font-size: 10px;
  color: var(--muted);
  white-space: pre;
  overflow: auto;
  margin: 0;
  text-align: center;
}
.diagram .mermaid svg {
  max-width: 100%;
  height: auto;
}
.diagram figcaption {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}
.notice {
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
  margin: 24px 0;
  font-size: 12px;
  line-height: 1.85;
}
.notice strong {
  display: block;
  margin-bottom: 4px;
}
.notice p {
  margin: 0;
}
.notice a {
  color: var(--accent);
}
.doc-feedback {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 45px;
  font-size: 10px;
  color: var(--muted);
}
.doc-feedback a {
  display: flex;
  gap: 6px;
  align-items: center;
}
.doc-feedback .icon {
  width: 11px;
  height: 11px;
}
.page-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 45px;
}
.page-link {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
  background: var(--surface);
  min-width: 0;
}
.page-link:hover {
  border-color: var(--accent);
}
.page-link > span {
  color: var(--muted);
  font-size: 10px;
}
.page-link > strong {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}
.page-link .icon {
  width: 15px;
  height: 15px;
}
.page-link.next {
  text-align: right;
}
.page-link.next > strong {
  justify-content: flex-end;
}
.doc-footer {
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
}
.doc-footer a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.doc-footer .icon {
  width: 12px;
  height: 12px;
}
.page-toc {
  position: sticky;
  top: 116px;
  align-self: start;
  max-height: calc(100dvh - 150px);
  overflow: auto;
  padding-left: 17px;
  border-left: 1px solid var(--line);
  font-size: 10px;
  scrollbar-width: thin;
}
.page-toc > p {
  font-size: 10px;
  font-weight: 650;
  margin: 0 0 14px;
}
.page-toc nav > a {
  display: block;
  color: var(--muted);
  line-height: 1.6;
  padding: 5px 0;
  transition: color .15s;
}
.page-toc nav > a:hover,
.page-toc nav > a.is-active {
  color: var(--accent);
}
.page-toc nav > a.toc-level-3 {
  font-size: 9px;
  padding-left: 10px;
}
.back-top {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 18px;
  display: block;
  color: var(--muted);
}
.reading-progress {
  height: 2px;
  position: fixed;
  z-index: 45;
  top: 81px;
  left: 0;
  background: var(--accent);
  width: 0;
  transition: width .1s;
}
.mobile-docbar {
  display: none;
}
.sidebar-backdrop {
  display: none;
}
.search-dialog {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  width: min(640px, calc(100% - 32px));
  max-height: 75dvh;
  margin: 12dvh auto auto;
  box-shadow: 0 25px 120px #0004;
}
.search-dialog::backdrop {
  background: #121b1166;
  backdrop-filter: blur(4px);
}
.search-top {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 19px;
  border-bottom: 1px solid var(--line);
}
.search-top > .icon {
  color: var(--accent);
}
.search-top input {
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  font-size: 14px;
  padding: 6px 0;
  color: var(--text);
}
.dialog-close {
  font: 10px var(--mono);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 6px;
  background: var(--bg);
}
.search-status {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 20px 6px;
  margin: 0;
}
.search-results {
  max-height: 49dvh;
  overflow: auto;
  padding: 8px;
}
.search-result {
  display: block;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 13px 14px;
  margin-bottom: 4px;
}
.search-result:hover,
.search-result.is-selected {
  background: var(--accent-soft);
  border-color: var(--line);
}
.search-result > span {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.search-result strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin: 2px 0;
}
.search-result p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 3px 0;
}
.search-result mark {
  background: #e9cf89;
  color: #26271f;
  padding: 0 2px;
  border-radius: 2px;
}
.search-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 19px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.search-footer kbd {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 3px;
  font-size: 9px;
  margin-right: 4px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: var(--text);
  color: var(--bg);
  border-radius: 7px;
  padding: 10px 18px;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
[hidden] {
  display: none !important;
}
.not-found {
  max-width: 650px;
  text-align: center;
  margin: 100px auto;
  padding: 0 30px;
}
.not-found .error-code {
  font: 12px var(--mono);
  color: var(--accent);
}
.not-found h1 {
  font-size: 38px;
  letter-spacing: -1px;
}
.not-found p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 94px;
    padding-bottom: 80px;
  }
  .hero-copy h1 {
    font-size: 66px;
  }
}
@media (max-width: 1230px) {
  .header-inner {
    gap: 30px;
    padding: 0 28px;
  }
  .main-nav {
    gap: 20px;
  }
  .search-trigger > span,
  .search-trigger kbd {
    display: none;
  }
  .search-trigger {
    padding: 7px;
  }
  .docs-layout {
    grid-template-columns: 215px minmax(0, 1fr) 170px;
    gap: 30px;
    padding: 0 28px;
  }
  .hero {
    gap: 35px;
  }
  .hero-copy h1 {
    font-size: 52px;
    letter-spacing: -2.8px;
  }
  .editor-code pre {
    font-size: 11px;
  }
  .result-note {
    right: -4px;
  }
  .container {
    padding: 0 32px;
  }
  .page-toc {
    font-size: 9px;
  }
}
@media (max-width: 1020px) {
  .header-inner {
    gap: 25px;
  }
  .main-nav {
    gap: 17px;
  }
  .main-nav > a {
    font-size: 12px;
  }
  .brand-logo {
    width: 172px;
  }
  .header-tools {
    gap: 7px;
  }
  .docs-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 35px;
  }
  .page-toc {
    position: static;
    display: none;
  }
  .hero {
    gap: 28px;
    padding-top: 60px;
  }
  .hero-copy h1 {
    font-size: 46px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-visual {
    min-width: 0;
  }
  .editor-code {
    padding: 20px 15px;
  }
  .editor-code pre {
    font-size: 10px;
  }
  .principles {
    gap: 30px;
  }
  .wide-code {
    font-size: 10px;
    padding-left: 20px;
  }
  .architecture-board {
    gap: 15px;
    padding: 22px;
  }
  .architecture-node {
    padding: 14px;
  }
  .architecture-node > strong {
    font-size: 13px;
  }
  .doc-main {
    max-width: 750px;
  }
}
@media (max-width: 800px) {
  .site-header {
    height: 68px;
  }
  .header-inner {
    padding: 0 22px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    height: auto;
    background: var(--bg);
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 16px #00000008;
    flex-wrap: wrap;
  }
  .main-nav > a {
    height: auto;
    padding: 10px 8px;
    font-size: 13px;
  }
  .nav-open .main-nav {
    display: flex;
  }
  .main-nav > a.is-active:after {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .brand-logo {
    width: 180px;
  }
  .header-tools {
    gap: 8px;
  }
  .search-trigger {
    border: 0;
    padding: 5px;
  }
  .search-trigger .icon {
    width: 18px;
    height: 18px;
  }
  .container {
    padding: 0 25px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 50px 0 35px;
  }
  .hero-copy h1 {
    font-size: 55px;
    letter-spacing: -2.8px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 520px;
  }
  .hero-visual {
    max-width: 580px;
    width: 100%;
    margin: auto;
  }
  .editor-code pre {
    font-size: 12px;
  }
  .editor-code {
    min-height: 275px;
    padding: 24px;
  }
  .result-note {
    right: 14px;
  }
  .hero-note {
    margin-top: 18px;
  }
  .install-strip {
    gap: 20px;
    flex-wrap: wrap;
  }
  .install-strip > p {
    width: 100%;
  }
  .strip-links {
    padding-left: 18px;
    gap: 14px;
    font-size: 10px;
  }
  .principles {
    gap: 25px;
    padding: 40px 0;
  }
  .principle h2 {
    font-size: 14px;
  }
  .principle p {
    font-size: 11px;
  }
  .documentation-section {
    padding: 45px 0;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading p {
    max-width: 240px;
    font-size: 11px;
  }
  .docs-cards {
    grid-template-columns: 1fr 1fr;
  }
  .doc-card.wide {
    grid-column: span 2;
  }
  .doc-card {
    min-height: 210px;
    padding: 20px;
  }
  .architecture-section {
    padding: 45px 0;
  }
  .architecture-board {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 24px;
  }
  .architecture-board > .icon {
    transform: rotate(90deg);
    margin: auto;
    width: 16px;
  }
  .architecture-node {
    padding: 18px;
  }
  .architecture-node > strong {
    font-size: 16px;
  }
  .architecture-node > p {
    font-size: 12px;
  }
  .view-pills {
    margin-top: 7px;
  }
  .architecture-caption {
    gap: 15px;
    align-items: start;
  }
  .start-banner {
    margin-bottom: 40px;
  }
  .footer-inner {
    padding: 25px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer-inner > p {
    margin: 0;
  }
  .footer-inner > div {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .docs-layout {
    display: block;
    padding: 0 25px;
  }
  .docs-sidebar {
    position: fixed;
    top: 107px;
    left: 0;
    bottom: 0;
    height: calc(100dvh - 107px);
    width: 280px;
    z-index: 35;
    background: var(--bg);
    padding: 24px 25px;
    transform: translateX(-100%);
    transition: transform .2s;
  }
  .sidebar-open .docs-sidebar {
    transform: translateX(0);
  }
  .sidebar-open .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 107px 0 0;
    background: #0005;
    z-index: 30;
    border: 0;
  }
  .doc-main {
    max-width: 740px;
    margin: auto;
    padding-top: 26px;
  }
  .mobile-docbar {
    display: flex;
    position: sticky;
    top: 68px;
    z-index: 36;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    height: 39px;
    padding: 0 25px;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: var(--muted);
  }
  .mobile-docbar button {
    background: none;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
  }
  .mobile-docbar .icon {
    width: 13px;
    height: 13px;
  }
  .mobile-docbar > a {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .mobile-docbar > a .icon {
    transform: rotate(90deg);
  }
  .page-toc:target {
    display: block;
    margin: 24px 0;
    max-height: 300px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
  }
  .doc-heading {
    margin-top: 28px;
  }
  .doc-heading h1 {
    font-size: 33px;
  }
  .doc-content {
    font-size: 14px;
  }
  .reading-progress {
    top: 67px;
  }
  .doc-content h2,
  .doc-content h3,
  .doc-content h4 {
    scroll-margin-top: 125px;
  }
  .page-toc nav > a.toc-level-3 {
    font-size: 11px;
  }
  .page-toc nav > a {
    font-size: 12px;
  }
  .doc-content table {
    font-size: 11px;
  }
  .doc-content td,
  .doc-content th {
    padding: 8px 10px;
  }
}
@media (max-width: 480px) {
  .header-inner {
    padding: 0 18px;
    gap: 12px;
  }
  .brand-logo {
    width: 166px;
  }
  .header-tools {
    gap: 5px;
  }
  .github-link {
    display: none;
  }
  .container {
    padding: 0 22px;
  }
  .hero {
    padding-top: 38px;
    gap: 32px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 1.1px;
  }
  .hero-copy h1 {
    font-size: 43px;
    letter-spacing: -2.5px;
    margin: 22px 0;
  }
  .hero-copy > p {
    font-size: 13px;
    line-height: 1.9;
  }
  .hero-actions {
    gap: 8px;
    margin-top: 24px;
  }
  .button {
    padding: 10px 16px;
    font-size: 12px;
    gap: 16px;
  }
  .hero-note {
    font-size: 9px;
  }
  .editor-code {
    padding: 19px 12px;
    min-height: 245px;
  }
  .editor-code pre {
    font-size: 10px;
    line-height: 1.95;
  }
  .line-number {
    width: 21px;
  }
  .editor-tabs {
    padding: 0 16px;
    gap: 20px;
  }
  .editor-tab {
    font-size: 10px;
  }
  .editor-filename {
    font-size: 9px;
  }
  .editor-label {
    display: none;
  }
  .result-note {
    right: 7px;
    padding: 10px 14px;
  }
  .result-note strong {
    font-size: 10px;
  }
  .result-note span {
    font-size: 9px;
  }
  .result-check {
    width: 25px;
    height: 25px;
  }
  .install-strip {
    gap: 13px;
    padding: 20px 0;
  }
  .install-command {
    font-size: 10px;
    min-width: 0;
    gap: 8px;
  }
  .strip-links {
    border-left: 0;
    padding-left: 0;
    width: 100%;
    gap: 20px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 34px 0;
  }
  .principle {
    position: relative;
    padding-left: 41px;
  }
  .principle > .icon {
    position: absolute;
    left: 0;
    top: 4px;
  }
  .principle h2 {
    font-size: 15px;
  }
  .principle p {
    font-size: 12px;
    max-width: none;
  }
  .principle .tag {
    margin-top: 7px;
    font-size: 8px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading p {
    max-width: none;
    margin-top: 17px;
    font-size: 12px;
  }
  .docs-cards {
    gap: 11px;
  }
  .doc-card {
    padding: 18px;
    min-height: 225px;
  }
  .doc-card h3 {
    font-size: 15px;
  }
  .doc-card p {
    font-size: 11px;
  }
  .card-top {
    margin-bottom: 18px;
  }
  .card-top > span {
    font-size: 9px;
  }
  .doc-card.wide {
    display: block;
    min-height: 0;
  }
  .wide-code {
    display: none;
  }
  .doc-card.wide p {
    max-width: none;
  }
  .doc-card.wide .card-top {
    margin-bottom: 17px;
  }
  .architecture-caption {
    font-size: 9px;
  }
  .start-banner {
    display: block;
  }
  .start-banner h2 {
    font-size: 20px;
  }
  .start-banner .button {
    margin-top: 18px;
  }
  .footer-inner {
    padding: 23px 22px;
  }
  .footer-inner > p {
    font-size: 10px;
  }
  .doc-heading h1 {
    font-size: 31px;
  }
  .docs-layout {
    padding: 0 21px;
  }
  .doc-heading > p {
    font-size: 13px;
  }
  .doc-content {
    font-size: 13px;
  }
  .doc-content h2 {
    font-size: 21px;
  }
  .doc-content h3 {
    font-size: 16px;
  }
  .code-block pre {
    font-size: 10px;
    padding: 14px;
  }
  .doc-feedback {
    display: block;
    line-height: 2.1;
  }
  .doc-feedback a {
    margin-top: 5px;
  }
  .page-pagination {
    gap: 10px;
  }
  .page-link {
    padding: 12px;
  }
  .page-link > strong {
    font-size: 11px;
  }
  .search-footer {
    font-size: 8px;
  }
  .search-footer > span:last-child {
    display: none;
  }
  .search-top input {
    font-size: 12px;
  }
  .hero-result {
    min-height: 245px;
  }
  .mini-output {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .docs-sidebar,
  .page-toc,
  .mobile-docbar,
  .reading-progress,
  .page-pagination,
  .doc-feedback,
  .search-dialog,
  .copy-code {
    display: none !important;
  }
  .docs-layout {
    display: block;
    padding: 0;
  }
  .doc-main {
    padding: 0;
  }
  .code-block {
    background: #f0f0f0;
    color: #111;
    break-inside: avoid;
  }
  .doc-content .code-block span {
    color: #111;
  }
  .doc-content {
    font-size: 11pt;
  }
  .doc-heading {
    margin-top: 0;
  }
  a {
    color: inherit !important;
  }
  .code-block pre {
    white-space: pre-wrap;
  }
}
@media (max-width: 800px) {
  .visual-grid {
    right: 0;
  }
}
