:root {
  color-scheme: dark;
  --bg: #0c100e;
  --surface: #101713;
  --text: #e2e8e3;
  --muted: #a1afa5;
  --accent: #98d8a4;
  --line: #2b3830;
  --font: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.8 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .25em; overflow-wrap: anywhere; }
a:hover { color: #c6efd0; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #33563c; color: #fff; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { line-height: 1.3; font-weight: 600; letter-spacing: -.035em; }
h1 { margin: 0 0 1.5rem; font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: 1.4rem; margin: 0 0 1.25rem; }
h3 { font-size: 1.12rem; margin: 0 0 .75rem; }
.site-shell { width: min(100% - 4rem, 1000px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2.1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--text); text-decoration: none; min-width: 0; }
.brand-prompt { color: var(--accent); font-weight: 700; font-size: 1.8rem; line-height: 1; }
.brand-name { font-size: 1.05rem; font-weight: 600; letter-spacing: -.04em; }
.brand-logo { display: block; width: min(430px, 100%); }
.site-nav { display: flex; gap: 1.5rem; flex-shrink: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .875rem; padding-block: .5rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .55em; }
.command { color: var(--muted); font-size: .8rem; margin-bottom: 2rem; letter-spacing: .01em; }
.prompt, .accent { color: var(--accent); }
.prompt { margin-right: .65rem; }
.eyebrow { color: var(--muted); text-transform: uppercase; font-size: .7rem; letter-spacing: .14em; margin-bottom: 1.1rem; }
.intro { padding: 4.1rem 0 4.5rem; max-width: 740px; }
.intro h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1.13; margin-bottom: 1.7rem; letter-spacing: -.055em; }
.intro-copy { color: var(--muted); max-width: 660px; margin-bottom: 1.4rem; }
.text-link { font-size: .875rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.articles-section { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.7rem; }
.section-heading .command { margin-bottom: .6rem; }
.section-heading h2 { margin: 0; }
.count { color: var(--muted); font-size: .75rem; white-space: nowrap; padding-bottom: .15rem; }
.empty-state { display: flex; align-items: flex-start; gap: 1.2rem; background: var(--surface); border: 1px solid var(--line); padding: 1.8rem; }
.empty-marker { color: var(--accent); white-space: nowrap; line-height: 1.6; }
.empty-state h3 { font-size: .95rem; letter-spacing: -.015em; margin: 0 0 .5rem; }
.empty-state p { color: var(--muted); font-size: .875rem; max-width: 650px; margin: 0; }
.topics-section { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; }
.small-heading { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.topic-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; }
.topic-list dt { font-size: .875rem; font-weight: 600; line-height: 1.6; margin-bottom: .75rem; }
.topic-list dt span { display: block; color: var(--accent); font-size: .7rem; font-weight: 400; margin-bottom: .55rem; }
.topic-list dd { color: var(--muted); font-size: .8rem; margin: 0; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.8rem 2.2rem; font-size: .7rem; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-prompt { color: var(--accent); margin-right: .4rem; }
.copyright { margin-left: .8rem; }
.page-header { max-width: 780px; padding-top: 4rem; margin-bottom: 2.7rem; }
.page-header h1 { margin-bottom: .8rem; }
.page-subtitle { color: var(--muted); margin: 0; }
.prose { max-width: 760px; padding-bottom: 3.8rem; overflow-wrap: anywhere; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin: 0 0 1.5rem; }
.prose li { padding-left: .3rem; margin-bottom: .7rem; }
.prose li::marker { color: var(--accent); }
.prose blockquote { border-left: 2px solid var(--accent); margin: 1.5rem 0; padding: .2rem 0 .2rem 1.3rem; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border: 1px solid var(--line); display: block; margin: 1.5rem auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
code, pre { font-family: var(--font); font-size: .86em; }
:not(pre) > code { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: .1em .35em; color: var(--text); }
pre { background: var(--surface); border: 1px solid var(--line); padding: 1.2rem; line-height: 1.65; overflow-x: auto; white-space: pre; margin: 1.5rem 0; }
pre code { font-size: 1em; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .85rem; margin-block: 1.5rem; }
th, td { border: 1px solid var(--line); padding: .65rem .9rem; text-align: left; }
th { background: var(--surface); color: var(--text); }
td { color: var(--muted); }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-item { padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.post-item:first-child { padding-top: .5rem; }
.post-item:last-child { border-bottom: 0; padding-bottom: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; color: var(--muted); font-size: .72rem; margin-bottom: .75rem; }
.post-meta span { color: var(--accent); }
.post-item h3 a { color: var(--text); text-decoration: none; }
.post-item h3 a span { color: var(--accent); font-size: .85em; }
.post-item h3 a:hover { color: var(--accent); }
.post-item p { color: var(--muted); font-size: .875rem; margin-bottom: 0; }
.back-link { display: inline-block; font-size: .8rem; margin-bottom: 2rem; text-decoration: none; }
.post-header h1 { font-size: clamp(2rem, 4vw, 3rem); }
.post-end { padding-bottom: 3.5rem; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; background: var(--text); color: var(--bg); padding: .5rem 1rem; }
.skip-link:focus { top: 1rem; }
.highlight .c, .highlight .c1, .highlight .cm { color: #95a99b; }
.highlight .k, .highlight .kd, .highlight .kn, .highlight .o { color: #b8a8e2; }
.highlight .s, .highlight .s1, .highlight .s2 { color: #a7dca5; }
.highlight .m, .highlight .mi, .highlight .mf, .highlight .na { color: #e6c292; }
.highlight .nf, .highlight .nb, .highlight .nc { color: #9eced3; }
.highlight .err { color: #f0aaa0; }
@media (max-width: 760px) {
  .site-shell { width: min(100% - 2.5rem, 1000px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 1.1rem; padding-block: 1.5rem; }
  .brand { max-width: 100%; }
  .brand-logo { width: min(430px, 100%); }
  .site-nav { gap: 1.6rem; }
  .intro { padding-block: 2.8rem 3rem; }
  .intro h1 { font-size: clamp(2.5rem, 9vw, 3.7rem); }
  .command { font-size: .75rem; margin-bottom: 1.6rem; }
  .topic-list { grid-template-columns: 1fr; gap: 1.6rem; }
  .topic-list dt span { display: inline; margin-right: .7rem; }
  .topic-list dt { margin-bottom: .4rem; }
  .topic-list dd { max-width: 560px; }
  .page-header { padding-top: 2.7rem; }
  .empty-state { padding: 1.2rem; gap: .9rem; }
}
@media (max-width: 400px) {
  body { font-size: 15px; }
  .site-shell { width: calc(100% - 2rem); }
  .brand-name { font-size: .95rem; }
  .brand-prompt { font-size: 1.5rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .site-footer { flex-direction: column; gap: .5rem; }
  .copyright { margin-left: .3rem; }
}
@media print {
  :root { --bg: #fff; --surface: #f5f5f5; --text: #111; --muted: #333; --accent: #19532a; --line: #bbb; }
  body { font-size: 11pt; }
  .site-shell { width: 100%; }
  .site-nav, .command, .back-link, .post-end, .skip-link { display: none; }
  .site-header { padding-block: 0 1rem; }
  .page-header { padding-top: 1.5rem; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; }
}
