:root {
  --ink: #17201d;
  --muted: #59645d;
  --paper: #f3f1e9;
  --line: #d7d8ce;
  --lime: #bce34d;
  --forest: #385127;
  --orange: #c65f32;
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--ink); }
.site-header, .site-footer, .page-shell { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; background: var(--lime); font-family: var(--mono); font-size: 10px; }
.brand-light { color: var(--muted); font-weight: 500; }
.site-header nav { display: flex; align-items: center; gap: 26px; font-size: 12px; }
.site-header nav a:hover, .site-footer a:last-child:hover { color: var(--forest); }
.hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; padding: 72px 0 62px; border-bottom: 1px solid var(--line); }
.hero::after { content: ''; position: absolute; z-index: -1; right: 2%; top: 18px; width: 26%; height: 78%; background: repeating-linear-gradient(135deg, transparent 0 17px, rgb(23 32 29 / 4%) 17px 18px); }
.eyebrow, .section-kicker, .meta-label { font: 10px var(--mono); text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--forest); }
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 680px; margin-bottom: 18px; font-size: 76px; line-height: .98; font-weight: 600; }
.hero h1 span { color: var(--forest); }
.hero-intro { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-note { padding: 20px 0 2px 23px; border-left: 1px solid var(--ink); }
.hero-note .meta-label { color: var(--orange); }
.hero-note p:not(.meta-label) { max-width: 290px; margin: 10px 0; font-size: 20px; line-height: 1.4; }
.hero-note span { color: var(--muted); font: 10px/1.6 var(--mono); }
.section { padding: 52px 0 60px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 25px; }
.section-kicker { margin-bottom: 8px; color: var(--muted); }
.section-heading h2, .handbook-intro h2 { margin: 0; font-size: 28px; font-weight: 600; }
.section-count, .group-heading span { color: var(--muted); font: 10px var(--mono); }
.section-count strong { color: var(--ink); }
.project-group + .project-group { margin-top: 42px; }
.group-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.group-heading h3 { margin: 0; font-size: 17px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.project-card { min-height: 190px; padding: 20px 26px 20px 0; border-bottom: 1px solid var(--line); }
.project-card:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.card-topline { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.status, .starter-label { font: 9px var(--mono); text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); }
.status-prototyping::before { background: var(--orange); }
.status-completed::before { background: #737d75; }
.status-archived::before { background: #999; }
.starter-label, .starter-note { color: var(--orange); }
.project-card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; }
.card-summary { max-width: 580px; margin-bottom: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { padding: 4px 7px; background: #e6e7dc; font: 9px var(--mono); }
.card-link, .detail-meta a, .archive-link, .back-link { color: var(--forest); font: 10px var(--mono); white-space: nowrap; }
.empty-note { padding: 20px 0; color: var(--muted); font-size: 13px; }
.handbook-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; padding: 54px 0 66px; }
.handbook-intro h2 { max-width: 310px; margin-bottom: 13px; font-size: 30px; line-height: 1.1; }
.handbook-intro p:not(.section-kicker) { max-width: 330px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.archive-link { display: inline-block; margin-top: 9px; white-space: normal; }
.handbook-list { border-top: 1px solid var(--ink); }
.handbook-list a { display: grid; grid-template-columns: 82px 1fr 18px; align-items: center; gap: 13px; min-height: 59px; border-bottom: 1px solid var(--line); }
.handbook-list a > span:first-child { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.handbook-list strong { font-size: 13px; font-weight: 500; }
.handbook-list .arrow { color: var(--orange); text-align: right; }
.site-footer { min-height: 90px; font-size: 10px; }
.site-footer > span { color: var(--muted); font: 9px var(--mono); }
.footer-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.footer-socials a { color: var(--muted); font: 9px var(--mono); white-space: nowrap; }
.footer-socials a span { color: var(--orange); }
.footer-socials a:hover { color: var(--forest); }
.detail-page { padding-top: 52px; padding-bottom: 65px; }
.detail-heading { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.detail-heading h1 { max-width: 850px; margin: 8px 0 14px; font-size: 56px; line-height: 1.02; }
.detail-summary { max-width: 700px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.starter-note { margin: 15px 0 0; font: 9px var(--mono); text-transform: uppercase; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 21px; font: 10px var(--mono); }
.detail-meta .tag-list { margin-left: auto; }
.doc-siblings { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; max-width: 760px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 10px var(--mono); }
.doc-siblings strong { color: var(--muted); font-weight: 400; text-transform: uppercase; }
.doc-siblings a { color: var(--forest); }
.doc-siblings a:hover { color: var(--orange); }
.prose { max-width: 760px; padding: 35px 0 25px; font-size: 14px; line-height: 1.8; }
.prose h2 { margin: 2em 0 .5em; font-size: 24px; line-height: 1.2; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 18px; }
.prose p, .prose li { color: #39443e; }
.prose code { padding: 2px 5px; background: #e6e7dc; font: .9em var(--mono); }
.prose pre { overflow-x: auto; padding: 17px; background: var(--ink); color: var(--paper); }
.back-link { display: inline-block; margin-top: 5px; }
@media (max-width: 720px) {
  .site-header, .site-footer, .page-shell { width: calc(100% - 36px); }
  .site-header { min-height: 66px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:nth-child(3) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding: 53px 0 43px; }
  .hero h1 { font-size: 47px; }
  .hero-note { max-width: 390px; }
  .section { padding-block: 40px 46px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card:nth-child(even) { padding: 19px 0; border-left: 0; }
  .handbook-section { grid-template-columns: 1fr; gap: 24px; padding-block: 42px 50px; }
  .detail-heading h1 { font-size: 38px; }
  .detail-meta .tag-list { flex-basis: 100%; margin-left: 0; }
  .site-footer { min-height: 110px; flex-wrap: wrap; justify-content: flex-start; padding-block: 17px; }
  .site-footer > span { margin-left: auto; }
  .footer-socials { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* 1. Set a clean, solid dark background for the entire code block */
pre, .highlight {
  background-color: #0f172a !important;
  color: #6547a1 !important;
}

/* 2. Strip away all background boxes from individual words/tokens */
pre code span, .highlight span {
  background-color: transparent !important;
}