@charset "UTF-8";
* {
  margin: 0;
  border: 0;
  box-sizing: border-box;
  padding: 0;
}

:root {
  --font-stack: "Space Mono", monospace;
  --font-stack-code: "Space Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --color-background: #0a0e27;
  --color-background-light: #131829;
  --color-background-card: #1a1f3a;
  --color-text: #e4e4e7;
  --color-text-muted: #94a3b8;
  --color-accent-primary: #6366f1;
  --color-accent-secondary: #8b5cf6;
  --color-accent-tertiary: #06b6d4;
  --color-link: #818cf8;
  --color-link-alt: #a5b4fc;
  --color-redlink: #f87171;
  --color-nav: rgba(10, 14, 39, 0.95);
  --color-nav-active: rgba(99, 102, 241, 0.1);
  --color-code: #1e293b;
  --color-code-name: #f87171;
  --color-code-string: #4ade80;
  --color-code-function: #60a5fa;
  --color-code-keyword: #c084fc;
  --color-code-constant: #fbbf24;
  --color-code-attribute: #fb923c;
  --color-code-builtin: #f59e0b;
  --color-code-operator: #22d3ee;
  --color-code-comment: #64748b;
  --color-hr: rgba(148, 163, 184, 0.2);
  --color-table-stripe: rgba(255, 255, 255, 0.02);
  --color-tip: rgba(34, 197, 94, 0.1);
  --color-tip-accent: #22c55e;
  --color-note: rgba(59, 130, 246, 0.1);
  --color-note-accent: #3b82f6;
  --color-caution: rgba(251, 146, 60, 0.1);
  --color-caution-accent: #fb923c;
  --color-version: rgba(168, 85, 247, 0.1);
  --color-version-accent: #a855f7;
  --color-selection: rgba(99, 102, 241, 0.3);
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

html {
  scrollbar-color: #6366f1 #131829;
  scrollbar-width: thin;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 70px;
  background: var(--color-background);
  font-family: var(--font-body, var(--font-stack));
  line-height: 1.6;
  color: var(--color-text);
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrapper-content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

main {
  margin-bottom: 4rem;
}
main h1:first-child {
  font-size: 3.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}
main > p:first-of-type {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

main > * {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .wrapper-content {
    padding: 2rem 1.5rem;
  }
  main h1:first-child {
    font-size: 2.5rem;
  }
  main > p:first-of-type {
    font-size: 1.1rem;
  }
}
pre {
  overflow: auto;
  margin: 1.5rem 0;
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--color-code);
  font-size: 0.875em;
  white-space: pre;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  position: relative;
}
pre::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
  border-radius: 12px 12px 0 0;
  pointer-events: none;
}

code {
  font-size: 0.875em;
  font-family: var(--font-code, var(--font-stack-code));
  word-break: normal;
}

pre code {
  font-size: inherit;
  position: relative;
  z-index: 1;
}

/* inline code */
code.highlighter-rouge {
  border-radius: 6px;
  padding: 3px 8px;
  background: var(--color-background-card);
  color: var(--color-accent-tertiary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-weight: 500;
}

.nt, .gh, .si, .se {
  color: var(--color-code-name);
}

.dl, .s, .s1, .s2, .sb, .sc, .nl, .sr {
  color: var(--color-code-string);
}

.nx, .nf, .nn, .nc, .ss, .sx {
  color: var(--color-code-function);
}

.k, .kd, .kn, .kp, .kr, .ge {
  color: var(--color-code-keyword);
}

.kc, .m, .mf, .mh, .mi, .il, .mo, .mx, .mb, .nv, .kt, .nd, .gs, .py, .no {
  color: var(--color-code-constant);
}

.na {
  color: var(--color-code-attribute);
}

.nb {
  color: var(--color-code-builtin);
}

.o {
  color: var(--color-code-operator);
}

.c, .cm, .cp, .c1 {
  color: var(--color-code-comment);
}

h1, h2, h3, h4, h5, h6, p {
  margin-bottom: 1rem;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5rem;
  font-family: var(--font-heading, var(--font-stack));
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 700;
  font-size: 2.25rem;
}
h1:first-child {
  margin-top: 0;
}

h1:first-of-type {
  border-bottom: 2px solid transparent;
  border-image: var(--gradient-primary);
  border-image-slice: 1;
  padding-bottom: 0.75rem;
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-link-alt);
  position: relative;
  padding-left: 1rem;
}
h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

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

h6 {
  font-style: italic;
  color: var(--color-text-muted);
}

p {
  font-size: 0.95rem;
  line-height: 1.7;
}

small {
  font-size: 0.85rem;
}

a {
  text-decoration: none;
  color: var(--color-link);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-link-alt);
  text-decoration: underline;
}

main ul, main ol {
  margin-bottom: 1rem;
  counter-reset: step-counter;
}
main li {
  margin-bottom: 0.5rem;
  margin-left: 1rem;
  padding-left: 2rem;
  list-style: none;
}
main li ol, main li ol *, main li ul, main li ul * {
  margin: 0.25rem 0;
}

main ol li ol {
  counter-reset: sub-counter;
}

main ul li:before {
  content: "▸";
  position: absolute;
  margin-left: -2rem;
  color: var(--color-accent-primary);
  font-size: 1.2em;
  font-weight: 700;
}

main ol li:before {
  content: counter(step-counter) ".";
  position: absolute;
  margin-left: -2rem;
  color: var(--color-accent-primary);
  font-weight: 700;
  counter-increment: step-counter;
}

ol li ol li:before {
  content: counter(sub-counter, lower-alpha) ".";
  counter-increment: sub-counter;
}

#markdown-toc {
  padding-top: 1.75rem;
}

#markdown-toc:before {
  content: "table of contents";
  position: absolute;
  margin-top: -1.75rem;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

blockquote {
  border-left: 4px solid var(--color-accent-primary);
  background: var(--color-background-card);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

table {
  margin-bottom: 1.5rem;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-background-card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

th, td {
  padding: 12px;
  text-align: left;
}

th {
  border-bottom: 2px solid var(--color-accent-primary);
  background: var(--color-background-light);
  font-weight: 700;
  color: var(--color-accent-primary);
}

tr:nth-child(2n) {
  background-color: var(--color-table-stripe);
}

tr:hover {
  background-color: rgba(99, 102, 241, 0.05);
}

img {
  margin-bottom: 1rem;
  max-width: 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

/* For regular photos/screenshots that benefit from border radius */
img[src*=".jpg"],
img[src*=".jpeg"],
img[src*=screenshot] {
  border-radius: 12px;
}

hr {
  margin: 2rem 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-hr), transparent);
}

.tip, .note, .caution, .version {
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.tip:before, .note:before, .caution:before, .version:before {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.tip {
  border-left: 4px solid var(--color-tip-accent);
  background: linear-gradient(135deg, var(--color-tip) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.tip:before {
  content: "💡 tip: ";
  color: var(--color-tip-accent);
}

.note {
  border-left: 4px solid var(--color-note-accent);
  background: linear-gradient(135deg, var(--color-note) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.note:before {
  content: "ℹ️ note: ";
  color: var(--color-note-accent);
}

.caution {
  border-left: 4px solid var(--color-caution-accent);
  background: linear-gradient(135deg, var(--color-caution) 0%, rgba(251, 146, 60, 0.05) 100%);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.caution:before {
  content: "⚠️ caution: ";
  color: var(--color-caution-accent);
}

.version {
  border-left: 4px solid var(--color-version-accent);
  background: linear-gradient(135deg, var(--color-version) 0%, rgba(168, 85, 247, 0.05) 100%);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.version:before {
  content: "🔄 recent changes: ";
  color: var(--color-version-accent);
}

::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-thumb {
  border: 4px solid transparent;
  border-radius: 8px;
  background: #bdbdbd;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: #999999;
  background-clip: content-box;
}

::selection {
  background-color: var(--color-selection);
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-logo img {
  max-height: 48px;
  height: auto;
  margin-bottom: 0;
  transition: all 0.3s ease;
  filter: brightness(1.2);
  display: block;
}
.nav-logo:hover img {
  filter: brightness(1.4) drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: -0.01em;
}
.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--color-link-alt);
  text-decoration: none;
}
.nav-link:hover::before {
  width: 100%;
}
.nav-link.active {
  color: var(--color-accent-primary);
}
.nav-link.active::before {
  width: 100%;
}
.nav-link.nav-highlight {
  background: transparent;
  border: 2px solid var(--color-accent-primary);
  border-radius: 1.5rem;
  padding: 0.5rem 1.25rem;
}
.nav-link.nav-highlight::before {
  display: none;
}
.nav-link.nav-highlight:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--color-link-alt);
  color: var(--color-link-alt);
}
.nav-link.nav-highlight.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
}

#nav-toggle {
  display: none;
}

.nav-hamburger {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  left: 1rem;
}
.nav-hamburger svg {
  display: block;
}
.nav-hamburger:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }
  .nav-hamburger {
    display: block;
  }
  .nav-logo {
    position: static;
    transform: none;
    margin: 0 auto;
  }
  .nav-logo img {
    max-height: 35px;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: none;
  }
  #nav-toggle:checked ~ .nav-menu {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 1rem 2rem;
  }
  .nav-link::before {
    display: none;
  }
  .nav-link.active {
    background-color: var(--color-nav-active);
    border-left: 3px solid var(--color-accent-primary);
  }
  .nav-link:hover {
    background-color: rgba(99, 102, 241, 0.05);
  }
  .nav-link.nav-highlight {
    margin: 0.5rem 2rem;
    width: calc(100% - 4rem);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-accent-primary);
    border-radius: 1.5rem;
    text-align: center;
  }
  .nav-link.nav-highlight.active {
    background: rgba(99, 102, 241, 0.15);
    border: 2px solid var(--color-accent-primary);
  }
  .nav-link.nav-highlight:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--color-link-alt);
  }
}
.site-footer {
  background: var(--color-nav);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-container h3 {
  color: var(--color-text);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-container h4 {
  color: var(--color-text);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.footer-container p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links li {
  margin: 0;
}
.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--color-accent-primary);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  text-align: center;
}
.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 0 1rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }
  .footer-bottom {
    padding: 1.5rem 1.5rem 0;
  }
  .footer-links a:hover {
    transform: translateX(2px);
  }
}
.love {
  color: #db3ffd;
}

.caps:first-letter {
  text-transform: uppercase;
}

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