*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: #030712;
  color: #9ca3af;
  line-height: 1.7;
}

::selection {
  background-color: rgba(99, 102, 241, 0.3);
  color: #f3f4f6;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #030712;
}

::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

h1, h2, h3, h4, h5, h6 {
  color: #f3f4f6;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: 1px solid #1f2937;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}

h1:first-child, h2:first-child, h3:first-child {
  margin-top: 0;
}

p {
  margin-bottom: 1rem;
}

strong {
  color: #e5e7eb;
  font-weight: 600;
}

em {
  color: #d1d5db;
}

a {
  color: #818cf8;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(129, 140, 248, 0.3);
  transition: color 150ms ease, text-decoration-color 150ms ease;
}
a:hover {
  color: rgb(177.3157894737, 184.0977443609, 250.6842105263);
  text-decoration-color: rgba(129, 140, 248, 0.7);
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.75rem;
}

li {
  margin-bottom: 0.35rem;
}

li > ul, li > ol {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

blockquote {
  border-left: 3px solid #4f46e5;
  background-color: rgba(79, 70, 229, 0.05);
  padding: 0.75rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #d1d5db;
}
blockquote p:last-child {
  margin-bottom: 0;
}

hr {
  border: none;
  border-top: 1px solid #1f2937;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

th {
  background-color: #111827;
  color: #e5e7eb;
  font-weight: 600;
  text-align: left;
  padding: 0.65rem 0.75rem;
  border: 1px solid #1f2937;
}

td {
  padding: 0.55rem 0.75rem;
  border: 1px solid #1f2937;
  background-color: #030712;
}

tr:nth-child(even) td {
  background-color: rgba(17, 24, 39, 0.5);
}

code {
  font-family: "JetBrains Mono", ui-monospace, "Cascadia Code", "Fira Code", monospace;
  font-size: 0.85em;
  background-color: #1f2937;
  color: #d1d5db;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}

pre {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background-color: #111827;
  border: 1px solid #1f2937;
  border-radius: 0.75rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.65;
}
pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: #d1d5db;
  font-size: inherit;
}

div.highlighter-rouge {
  margin: 1.5rem 0;
}

dl {
  margin-bottom: 1rem;
}

dt {
  color: #e5e7eb;
  font-weight: 600;
  margin-top: 0.75rem;
}

dd {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

kbd {
  font-family: "JetBrains Mono", ui-monospace, "Cascadia Code", "Fira Code", monospace;
  font-size: 0.85em;
  background-color: #1f2937;
  color: #e5e7eb;
  padding: 0.1em 0.4em;
  border: 1px solid #374151;
  border-radius: 0.25rem;
  box-shadow: 0 1px 0 #374151;
}

details {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background-color: #111827;
  border: 1px solid #1f2937;
  border-radius: 0.5rem;
}
details summary {
  cursor: pointer;
  color: #e5e7eb;
  font-weight: 600;
}
details summary:hover {
  color: #818cf8;
}

.footnotes {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #1f2937;
  font-size: 0.875rem;
  color: #6b7280;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 3.5rem;
  background-color: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1f2937;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f3f4f6;
  text-decoration: none;
}
.site-title:hover {
  color: #818cf8;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #374151;
  border-radius: 0.375rem;
  padding: 0.35rem 0.5rem;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
.menu-toggle:hover {
  color: #f3f4f6;
  border-color: #4b5563;
}

.site-wrapper {
  display: flex;
  min-height: 100vh;
  padding-top: 3.5rem;
}

.site-sidebar {
  position: fixed;
  top: 3.5rem;
  left: 0;
  bottom: 0;
  width: 17rem;
  background-color: #111827;
  border-right: 1px solid #1f2937;
  overflow-y: auto;
  padding: 1.5rem 0;
  z-index: 90;
  transition: transform 250ms ease;
}

.nav-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  padding: 0 1.5rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.nav-section-title:first-child {
  margin-top: 0;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
}

.nav-item a {
  display: block;
  padding: 0.4rem 1.5rem;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.nav-item a:hover {
  color: #f3f4f6;
  background-color: rgba(99, 102, 241, 0.05);
}
.nav-item a.active {
  color: #818cf8;
  border-left-color: #818cf8;
  background-color: rgba(99, 102, 241, 0.08);
  font-weight: 600;
}

.nav-children {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-children .nav-item a {
  padding-left: 2.5rem;
  font-size: 0.85rem;
  font-weight: 400;
}

.site-content {
  margin-left: 17rem;
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.content-wrapper {
  width: 100%;
  max-width: 52rem;
  padding: 2.5rem 2rem 4rem;
}

.page-toc {
  position: fixed;
  top: calc(3.5rem + 2rem);
  right: 2rem;
  width: 14rem;
  max-height: calc(100vh - 3.5rem - 4rem);
  overflow-y: auto;
  font-size: 0.8rem;
  display: none;
}
@media (min-width: 80rem) {
  .page-toc {
    display: block;
  }
}
.page-toc .toc-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.75rem;
}
.page-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-toc li {
  margin-bottom: 0.25rem;
}
.page-toc a {
  color: #6b7280;
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
  border-left: 1px solid #1f2937;
  padding-left: 0.75rem;
  transition: color 150ms ease, border-color 150ms ease;
}
.page-toc a:hover {
  color: #e5e7eb;
  border-color: #4b5563;
}
.page-toc .toc-h3 a {
  padding-left: 1.5rem;
}
.page-toc .toc-h4 a {
  padding-left: 2.25rem;
}

.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1f2937;
  font-size: 0.8rem;
  color: #4b5563;
  text-align: center;
}

@media (max-width: 48rem) {
  .menu-toggle {
    display: block;
  }
  .site-sidebar {
    transform: translateX(-100%);
  }
  .site-sidebar.open {
    transform: translateX(0);
  }
  .site-content {
    margin-left: 0;
  }
  .content-wrapper {
    padding: 1.5rem 1rem 3rem;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 80;
  }
  .sidebar-overlay.visible {
    display: block;
  }
}
.nav-children.collapsed {
  display: none;
}

.callout {
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-left: 3px solid;
}
.callout.callout-info {
  border-color: #60a5fa;
  background-color: rgba(96, 165, 250, 0.05);
}
.callout.callout-warning {
  border-color: #facc15;
  background-color: rgba(250, 204, 21, 0.05);
}
.callout.callout-danger {
  border-color: #f87171;
  background-color: rgba(248, 113, 113, 0.05);
}
.callout.callout-success {
  border-color: #4ade80;
  background-color: rgba(74, 222, 128, 0.05);
}

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15em 0.5em;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.label.label-blue {
  background-color: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
}
.label.label-green {
  background-color: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}
.label.label-red {
  background-color: rgba(248, 113, 113, 0.15);
  color: #f87171;
}
.label.label-yellow {
  background-color: rgba(250, 204, 21, 0.15);
  color: #facc15;
}
.label.label-purple {
  background-color: rgba(192, 132, 252, 0.15);
  color: #c084fc;
}

.breadcrumbs {
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  color: #4b5563;
}
.breadcrumbs a {
  color: #6b7280;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: #818cf8;
}
.breadcrumbs .separator {
  margin: 0 0.4rem;
  color: #374151;
}
.breadcrumbs .current {
  color: #9ca3af;
}

.back-to-top {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: none;
}
.back-to-top:hover {
  color: #818cf8;
}

.hw-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 600px) {
  .hw-card-grid {
    grid-template-columns: 1fr;
  }
}

.hw-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  text-decoration: none !important;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.hw-card:hover {
  border-color: #818cf8;
  background-color: rgba(129, 140, 248, 0.05);
}
.hw-card .hw-card-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background-color: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hw-card .hw-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #818cf8;
  stroke: currentColor;
}
.hw-card .hw-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f3f4f6;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}
.hw-card .hw-card-desc {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

@media print {
  .site-header, .site-sidebar, .page-toc, .sidebar-overlay, .menu-toggle {
    display: none !important;
  }
  .site-content {
    margin-left: 0 !important;
  }
  body {
    background: white;
    color: black;
  }
  a {
    color: black;
    text-decoration: underline;
  }
  pre {
    border: 1px solid #ccc;
  }
}
.highlight .c, .highlight .cm, .highlight .c1, .highlight .cs, .highlight .cp {
  color: #4b5563;
  font-style: italic;
}
.highlight .k, .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt {
  color: #c084fc;
}
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .s1, .highlight .sx {
  color: #4ade80;
}
.highlight .si {
  color: #22d3ee;
}
.highlight .sr {
  color: #f87171;
}
.highlight .na {
  color: #60a5fa;
}
.highlight .nb, .highlight .bp {
  color: #22d3ee;
}
.highlight .nc, .highlight .nn {
  color: #facc15;
}
.highlight .nf, .highlight .fm {
  color: #60a5fa;
}
.highlight .no {
  color: #fb923c;
}
.highlight .ni {
  color: #d1d5db;
}
.highlight .ne {
  color: #f87171;
}
.highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi {
  color: #f87171;
}
.highlight .nt {
  color: #f472b6;
}
.highlight .o, .highlight .ow {
  color: #d1d5db;
}
.highlight .p {
  color: #9ca3af;
}
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .il {
  color: #fb923c;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gh {
  color: #e5e7eb;
  font-weight: bold;
}
.highlight .gp {
  color: #6b7280;
  font-weight: bold;
}
.highlight .w {
  color: #4b5563;
}
.highlight .err {
  color: #f87171;
}

/*# sourceMappingURL=main.css.map */