/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ee544651.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/7e809554.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/6766241c.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/99949aae.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/76b7befa.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/e751b340.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/9855c38b.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/744369b3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/16da4be5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/be4f4b1a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/4518a7ac.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fa103e7f.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/6c6d7dac.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/aa130fb8.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/9aaba50f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ed95d241.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/47aa2ad8.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/8b70a616.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/13ab398d.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/03920f93.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/dcafac07.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/8f4d7642.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/a39ac91d.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/bf859d48.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/666c4250.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/9031299d.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/62704621.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/88f1020a.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/da56c7b6.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/fb827415.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/c7c4079d.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/b9e57de3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/62704621.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/88f1020a.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/da56c7b6.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/fb827415.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/c7c4079d.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/b9e57de3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/62704621.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/88f1020a.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/da56c7b6.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/fb827415.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/c7c4079d.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/b9e57de3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/9272d1fe.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/32043434.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/9d1b3b9a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/3d394417.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


body{margin:0}
a{color:#171614}a:hover{color:#B3341C}

/* gut — a field notebook for a precision instrument */

:root {
  --paper: #F3EFE6;
  --paper-2: #EAE4D6;
  --ink: #171614;
  --ink-2: #45413A;
  --muted: #6A645A;
  --rule: rgba(23, 22, 20, .20);
  --rule-2: rgba(23, 22, 20, .45);
  --grid: rgba(23, 22, 20, .035);
  --signal: #E0452B;
  --signal-ink: #B3341C;
  --cta: #C23A21;
  --on-cta: #FBF8F2;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --hatch: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--ink) 62%, transparent) 0 1px, transparent 1px 6px);
  --hatch-light: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--ink) 30%, transparent) 0 1px, transparent 1px 6px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171614; --paper-2: #1F1D1A; --ink: #EDE6D8; --ink-2: #CBC3B4; --muted: #A0988B;
    --rule: rgba(237, 230, 216, .17); --rule-2: rgba(237, 230, 216, .42); --grid: rgba(237, 230, 216, .03);
    --signal: #E0452B; --signal-ink: #F2694F; --cta: #E0452B; --on-cta: #0E0D0C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #171614; --paper-2: #1F1D1A; --ink: #EDE6D8; --ink-2: #CBC3B4; --muted: #A0988B;
  --rule: rgba(237, 230, 216, .17); --rule-2: rgba(237, 230, 216, .42); --grid: rgba(237, 230, 216, .03);
  --signal: #E0452B; --signal-ink: #F2694F; --cta: #E0452B; --on-cta: #0E0D0C;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  overflow-x: hidden;
}
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal-ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
code, kbd, pre, .mono { font-family: var(--mono); }
p { margin: 0 0 1em; }
em { font-style: italic; }
.sc { font-variant-caps: all-small-caps; letter-spacing: .09em; font-weight: 500; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.mark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.mark b { font: italic 400 32px/1 var(--serif); letter-spacing: -.01em; }
.mark small { font: 12px/1 var(--mono); color: var(--muted); }
.nav-links { display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
.nav-links .ext::after { content: " ↗"; font-size: 11px; color: var(--muted); }
.theme-btn { width: 36px; height: 36px; border: 1px solid var(--rule-2); background: transparent; color: var(--ink); border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; }
.theme-btn svg { width: 16px; height: 16px; }
.nav-menu { display: none; margin-left: auto; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; font-size: 14px; padding: 10px 4px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu ul { position: absolute; right: 0; top: 44px; background: var(--paper); border: 1px solid var(--rule-2); margin: 0; padding: 8px 0; list-style: none; min-width: 180px; }
.nav-menu li a { display: block; padding: 10px 18px; text-decoration: none; }

/* ---------- buttons, install ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-cta { background: var(--cta); border-color: var(--cta); color: var(--on-cta); }
.btn-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.install { display: flex; align-items: stretch; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); max-width: 520px; }
.install code { flex: 1; min-width: 0; padding: 12px 0; font-size: 14px; white-space: nowrap; overflow-x: auto; }
.install code::before { content: "$ "; color: var(--muted); }
.copy { flex: none; min-width: 72px; border: 0; border-left: 1px solid var(--rule); background: transparent; color: var(--ink); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 0 14px; }
.copy:hover { color: var(--signal-ink); }
.copy[data-copied] { color: var(--signal-ink); }

/* ---------- listings ---------- */
.listing { margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.listing-head { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font: 12px/1.3 var(--mono); color: var(--muted); border-bottom: 1px solid var(--rule); }
.listing pre { margin: 0; padding: 12px 0; overflow-x: auto; font: 14px/1.7 var(--mono); counter-reset: ln; }
.listing .l { display: block; white-space: pre; padding-right: 12px; }
.listing .l::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 2.4em; margin-right: 1.1em; padding-right: .6em; text-align: right; color: var(--muted); opacity: .6; border-right: 1px solid var(--rule); }
.listing .c { color: var(--muted); font-style: italic; }
.listing .s { color: var(--ink-2); }
.listing .k { font-weight: 600; }
.listing .f { text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.listing .hl { background: color-mix(in srgb, var(--signal) 10%, transparent); }
.inline-code { font: .9em var(--mono); padding: 0 .2em; border-bottom: 1px solid var(--rule); }

/* ---------- ruler ---------- */
.ruler { --h: 46px; position: relative; padding-top: 22px; user-select: none; }
.ruler-track { position: relative; height: var(--h); border-bottom: 1.5px solid var(--ink); }
.ruler-ticks { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 100% / calc(100% / 40) 6px repeat-x,
    linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 100% / 10% 12px repeat-x,
    linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 100% / 50% 20px repeat-x; }
.ruler-ticks::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 20px; background: var(--ink); }
.ruler-band { position: absolute; top: 0; bottom: 0; background-image: var(--hatch); border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.ruler-band-label { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font: 10px/1 var(--mono); letter-spacing: .12em; color: var(--muted); white-space: nowrap; background: var(--paper); padding: 2px 4px; }
.ruler-thresh { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--ink); }
.ruler-thresh span { position: absolute; top: -20px; left: 0; transform: translateX(-50%); font: 10px/1 var(--mono); color: var(--muted); white-space: nowrap; background: var(--paper); padding: 2px 4px; }
.ruler-zone { position: absolute; bottom: -5px; height: 3px; }
.ruler-zone.no { left: 0; background: var(--ink); opacity: .5; }
.ruler-zone.yes { right: 0; background: var(--signal); }
.ruler-needle { position: absolute; top: -8px; bottom: -1px; width: 0; border-left: 1.5px solid var(--ink); pointer-events: none; }
.ruler-needle::before { content: ""; position: absolute; left: -5.5px; top: -7px; border: 5px solid transparent; border-top: 7px solid var(--ink); }
.ruler-needle::after { content: ""; position: absolute; left: -4px; bottom: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.ruler-p { position: absolute; top: -30px; left: 8px; font: 500 12px/1 var(--mono); white-space: nowrap; }
.ruler-needle.flip .ruler-p { left: auto; right: 8px; }
.ruler[data-idle] .ruler-needle { opacity: .35; }
.ruler-scale { position: relative; height: 26px; font: 11px/1 var(--mono); color: var(--muted); }
.ruler-scale span { position: absolute; top: 12px; transform: translateX(-50%); }
.ruler-scale span:first-child { transform: none; }
.ruler-scale span:last-child { transform: translateX(-100%); }
.ruler-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: -4px; }
.ruler-input { position: absolute; inset: -10px 0 -6px; width: 100%; height: calc(100% + 16px); margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ruler-input::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 60px; }
.ruler-input::-moz-range-thumb { width: 2px; height: 60px; border: 0; }
.ruler-track:has(.ruler-input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 12px; }
.ruler.mini { --h: 34px; }
.ruler.mini .ruler-ticks { background-size: calc(100% / 20) 5px, 10% 10px, 50% 16px; }

/* ---------- stamp ---------- */
.stamp { display: inline-flex; align-items: center; justify-content: center; min-width: 118px; padding: 9px 14px 8px; border: 2px solid currentColor; font: 600 22px/1 var(--mono); letter-spacing: .14em; transform: rotate(-3deg); }
.stamp.yes { color: var(--signal); }
.stamp.no { color: var(--ink); }
.stamp.unsure { color: var(--ink); background-image: var(--hatch-light); }
.stamp.unsure span { background: var(--paper); padding: 2px 5px; }
.stamp.idle { color: var(--muted); border-style: dashed; }
.stamp.pop { animation: pop .38s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: rotate(-9deg) scale(1.25); opacity: .2; } to { transform: rotate(-3deg) scale(1); opacity: 1; } }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; padding: 72px 0 96px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 12px/1.4 var(--mono); color: var(--muted); margin-bottom: 36px; }
.eyebrow span + span::before { content: "·"; margin-right: 18px; }
.hero h1 { font: 400 clamp(56px, 8.4vw, 118px)/.92 var(--serif); letter-spacing: -.02em; margin: 0 0 28px; }
.hero h1 em { color: var(--signal); }
.lede { font-size: 19px; line-height: 1.55; max-width: 34em; color: var(--ink-2); margin-bottom: 32px; }
.lede strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-meta { margin-top: 28px; font-size: 13px; color: var(--muted); }
.instrument { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--rule); }
.instrument-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.instrument label { font: 12px/1 var(--mono); color: var(--muted); flex: none; }
.field { width: 100%; min-width: 0; min-height: 44px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font: 15px/1.4 var(--mono); padding: 8px 0; border-radius: 0; }
.field:focus { outline: none; border-bottom: 2px solid var(--signal); padding-bottom: 7px; }
textarea.field { resize: vertical; min-height: 110px; line-height: 1.55; border: 1px solid var(--rule-2); padding: 12px; font-family: var(--sans); font-size: 15px; }
textarea.field:focus { border: 1px solid var(--signal); outline: 1px solid var(--signal); padding: 12px; }
.readout { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.readout-note { font: 12px/1.5 var(--mono); color: var(--muted); max-width: 28em; }

/* ---------- sections ---------- */
.sec { display: grid; grid-template-columns: 150px minmax(0, 1fr) 210px; column-gap: 44px; padding: 88px 0; border-top: 1px solid var(--ink); }
.sec-mark { font: 400 44px/1 var(--serif); }
.sec-mark .sc { display: block; font-family: var(--sans); font-size: 15px; margin-top: 10px; color: var(--muted); }
.sec h2 { font: 400 clamp(36px, 4.6vw, 60px)/1.02 var(--serif); letter-spacing: -.01em; margin: 0 0 22px; max-width: 16em; }
.sec h2 em { font-style: italic; }
.sec h3 { font: 400 28px/1.1 var(--serif); margin: 0 0 10px; }
.intro { font-size: 18px; color: var(--ink-2); max-width: 36em; margin-bottom: 40px; }
.side { font-size: 13px; line-height: 1.5; color: var(--muted); }
.note { padding-top: 10px; border-top: 1px solid var(--rule); margin-bottom: 26px; }
.note b { display: block; font: 500 12px/1.3 var(--mono); color: var(--ink); margin-bottom: 4px; }
.note .n { font: 11px var(--mono); color: var(--signal-ink); margin-right: 6px; }

/* ---------- §1 gap ---------- */
.gap { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.gap-axis { grid-column: 1 / -1; width: 100%; height: 70px; color: var(--ink); overflow: visible; }
.gap-axis text { font: 12px var(--mono); fill: var(--muted); }
.gap-col { padding: 18px 22px 0 0; }
.gap-col + .gap-col { padding-left: 22px; border-left: 1px solid var(--rule); }
.gap-col.home { position: relative; }
.gap-col h3 { margin-bottom: 16px; }
.gap-col dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 12px; font-size: 14px; }
.gap-col dt { font-variant-caps: all-small-caps; letter-spacing: .09em; color: var(--muted); font-weight: 500; }
.gap-col dd { margin: 0; }

/* ---------- §2 specimens ---------- */
.specimens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.specimen { padding: 20px 24px 26px 0; }
.specimen + .specimen { padding-left: 24px; border-left: 1px solid var(--rule); }
.specimen .tag { font: 12px var(--mono); color: var(--muted); display: flex; justify-content: space-between; }
.specimen .fn { font: 500 32px/1.1 var(--mono); margin: 22px 0 6px; letter-spacing: -.02em; }
.specimen .asks { font: italic 22px/1.2 var(--serif); color: var(--ink-2); margin-bottom: 20px; }
.specimen .call { font: 13px/1.5 var(--mono); padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); word-break: break-word; }
.specimen .returns { margin-top: 18px; }
.specimen .returns > .sc { display: block; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.glyphs { display: flex; flex-wrap: wrap; gap: 8px; }
.glyph { font: 600 12px/1 var(--mono); letter-spacing: .12em; padding: 6px 8px; border: 1.5px solid currentColor; }
.glyph.yes { color: var(--signal); }
.glyph.unsure { background-image: var(--hatch-light); }
.glyph.unsure span { background: var(--paper); padding: 0 3px; }
.enum { list-style: none; margin: 0; padding: 0; font: 13px/1.9 var(--mono); }
.enum li::before { content: "○  "; color: var(--muted); }
.enum li.on::before { content: "●  "; color: var(--ink); }
.enum li.on { font-weight: 600; }
.rungs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; font: 12px/1.3 var(--mono); }
.rungs span { position: relative; padding-top: 18px; }
.rungs span::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 12px; background: var(--ink); }
.rungs span.on { font-weight: 600; }
.rungs span.on::after { content: ""; position: absolute; left: -5px; top: -2px; border: 5px solid transparent; border-top: 7px solid var(--signal); }

/* ---------- posture ---------- */
.posture { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 40px; margin-bottom: 44px; }
.posture fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.posture legend { font: 12px var(--mono); color: var(--muted); padding: 0; margin-bottom: 8px; }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; min-height: 40px; padding: 0 13px; font: 13px/1 var(--mono); border-left: 1px solid var(--rule); cursor: pointer; }
.seg label:first-child span { border-left: 0; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.seg input:disabled + span { color: var(--muted); cursor: not-allowed; background-image: none; }
.seg input:disabled:checked + span { background: var(--rule); color: var(--ink-2); }
.toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 42px; cursor: pointer; font: 13px var(--mono); position: relative; }
.toggle input { position: absolute; opacity: 0; width: 46px; height: 24px; margin: 0; cursor: pointer; }
.toggle .sw { width: 46px; height: 24px; border: 1px solid var(--ink); position: relative; flex: none; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--ink); transition: transform .18s; }
.toggle input:checked + .sw { background-image: var(--hatch-light); }
.toggle input:checked + .sw::after { transform: translateX(22px); background: var(--ink); }
.toggle input:focus-visible + .sw { outline: 2px solid var(--signal); outline-offset: 3px; }
.explorer-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule); }
.codeline { font: 14px/1.6 var(--mono); overflow-x: auto; white-space: nowrap; padding-bottom: 4px; }
.codeline .kw { color: var(--signal-ink); }
.codeline .arrow { color: var(--muted); }
.band-table { margin-top: 26px; width: 100%; border-collapse: collapse; font: 12px/1.4 var(--mono); }
.band-table th, .band-table td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.band-table th { color: var(--muted); }
.band-table tr.on td { font-weight: 600; }
.band-table tr.on td:first-child::before { content: "▸ "; color: var(--signal); }

/* ---------- playground ---------- */
.pg-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--ink); margin-bottom: 28px; }
.pg-tabs button { min-height: 44px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font: 500 14px var(--mono); cursor: pointer; margin-bottom: -1px; }
.pg-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.pg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.pg-field { margin-bottom: 20px; }
.pg-field label { display: block; font: 12px var(--mono); color: var(--muted); margin-bottom: 8px; }
.hyp { font: 12px/1.5 var(--mono); color: var(--muted); margin-top: 8px; word-break: break-word; }
.hyp b { color: var(--ink); font-weight: 500; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.presets .sc { width: 100%; font-size: 13px; color: var(--muted); }
.chip { min-height: 38px; padding: 0 12px; border: 1px solid var(--rule-2); background: transparent; color: var(--ink); font: 13px var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pg-out { border-top: 1px solid var(--ink); padding-top: 18px; }
.pg-out .posture { grid-template-columns: auto auto; gap: 14px 22px; margin-bottom: 26px; }
.pg-out .posture .seg span { padding: 0 10px; font-size: 12px; min-height: 36px; }
.pg-verdict { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.pg-verdict .codeline { font-size: 12.5px; flex: 1; min-width: 0; }
.dist { list-style: none; margin: 10px 0 0; padding: 0; }
.dist li { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 4px 12px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.dist .opt { font-size: 14px; overflow-wrap: anywhere; }
.dist .val { font: 13px var(--mono); text-align: right; }
.dist .bar { grid-column: 1 / -1; height: 10px; position: relative; background: linear-gradient(to right, var(--rule) 1px, transparent 1px) 0 0 / 10% 100%; }
.dist .bar i { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--ink); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.dist li.top .opt { font-weight: 600; }
.dist li.top .bar i { height: 4px; }
.caption { font: italic 18px/1.45 var(--serif); color: var(--ink-2); margin-top: 28px; max-width: 34em; }

.loader { border: 1px solid var(--ink); padding: 22px 24px; margin-bottom: 32px; }
.loader-head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: baseline; }
.loader-head b { font: 400 24px/1.1 var(--serif); }
.loader-specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px 28px; margin: 14px 0 18px; font: 12px/1.5 var(--mono); }
.loader-specs dt { color: var(--muted); }
.loader-specs dd { margin: 0; }
.fill { position: relative; height: 30px; border-bottom: 1.5px solid var(--ink); margin: 20px 0 6px; }
.fill-ticks { position: absolute; inset: 0; background:
  linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 100% / calc(100% / 40) 6px repeat-x,
  linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 100% / 10% 12px repeat-x; }
.fill-bar { position: absolute; left: 0; top: 8px; bottom: 0; background: var(--ink); width: 0%; transition: width .25s linear; }
.fill-scale { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--muted); }
.loader-status { font: 13px/1.5 var(--mono); margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.loader-status .privacy { color: var(--muted); }
.loader[data-state="ready"] .fill-bar { background: var(--ink); }
.loader[data-state="error"] { border-style: dashed; }

/* ---------- backends / cascade ---------- */
.backends { list-style: none; margin: 0 0 56px; padding: 0; border-top: 1px solid var(--ink); counter-reset: be; }
.backends li { display: grid; grid-template-columns: 34px minmax(190px, 1.1fr) minmax(140px, .8fr) minmax(0, 2fr); gap: 8px 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.backends li::before { counter-increment: be; content: counter(be, decimal-leading-zero); font: 12px var(--mono); color: var(--muted); }
.backends .nm { font: 500 15px var(--mono); }
.backends .ex { font: 12.5px var(--mono); color: var(--ink-2); }
.backends .wh { font-size: 15px; color: var(--ink-2); }
.backends li.first .nm::after { content: "first"; margin-left: 10px; font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--signal-ink); border: 1px solid currentColor; padding: 3px 5px; vertical-align: 2px; }
.figure { margin: 0 0 30px; }
.figure-scroll { overflow-x: auto; }
.cascade { display: block; width: 100%; min-width: 620px; height: auto; color: var(--ink); }
.cascade text { font-family: var(--mono); font-size: 12px; fill: var(--ink); }
.cascade .lbl { fill: var(--muted); font-size: 11px; }
.cascade .big { font-family: var(--serif); font-size: 22px; }
figcaption { font: italic 17px/1.45 var(--serif); color: var(--ink-2); margin-top: 14px; max-width: 38em; }
figcaption .sc { font-style: normal; font-family: var(--sans); font-size: 14px; color: var(--muted); margin-right: 6px; }

/* ---------- each / async ---------- */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.timing { margin-top: 30px; max-width: 560px; }
.timing-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 56px; gap: 14px; align-items: center; font: 13px var(--mono); padding: 6px 0; }
.timing-row .bar { height: 12px; position: relative; }
.timing-row .bar i { position: absolute; left: 0; top: 0; bottom: 0; }
.timing-row.fast .bar i { background: var(--ink); }
.timing-row.slow .bar i { border: 1px solid var(--ink); background: transparent; }
.timing-row .t { text-align: right; }

/* ---------- exhibits ---------- */
.exhibits { display: grid; gap: 48px; }
.exhibit { display: grid; grid-template-columns: minmax(0, 1fr); }
.printout { position: relative; padding: 18px 20px 18px 40px; background: var(--paper-2); border-top: 1px dashed var(--rule-2); border-bottom: 1px dashed var(--rule-2); font: 13.5px/1.75 var(--mono); overflow-x: auto; }
.printout::before { content: ""; position: absolute; left: 12px; top: 10px; bottom: 10px; width: 10px; background: radial-gradient(circle at 5px 5px, var(--paper) 3.5px, transparent 4px) 0 0 / 10px 22px repeat-y; }
.printout .cmd { color: var(--muted); margin-bottom: 8px; }
.printout .row { display: grid; grid-template-columns: minmax(0, 18em) 2em minmax(0, 1fr); gap: 0; }
.printout .in { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.printout .ar { color: var(--muted); text-align: center; }
.printout .miss { color: var(--muted); }
.printout .miss b { color: var(--ink); font-weight: 500; text-decoration: line-through; text-decoration-color: var(--signal); text-decoration-thickness: 1.5px; }
.exhibit figcaption { margin-top: 12px; }

/* ---------- agents ---------- */
.agents { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
.rules { list-style: none; margin: 0; padding: 0; counter-reset: r; border-top: 1px solid var(--ink); }
.rules li { counter-increment: r; display: grid; grid-template-columns: 38px 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.rules li::before { content: counter(r) "."; font: 400 24px/1 var(--serif); color: var(--ink); }
.rules li b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.linkrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- mcp ---------- */
.planned { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .14em; padding: 7px 10px; border: 1.5px solid var(--ink); background-image: var(--hatch-light); margin-bottom: 20px; }
.planned span { background: var(--paper); padding: 2px 4px; }
.tools { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.tools li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.tools code { display: block; font: 500 14px var(--mono); color: var(--ink); margin-bottom: 2px; }
.listing.draft { border-top-style: dashed; }
.listing.draft pre { background-image: var(--hatch-light); background-size: auto; }
.listing.draft .l { background: var(--paper); width: fit-content; }

/* ---------- docs toc ---------- */
.toc { list-style: none; margin: 0; padding: 0; counter-reset: ch; border-top: 1px solid var(--ink); max-width: 760px; }
.toc li { counter-increment: ch; }
.toc a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.toc a::before { content: counter(ch); font: 400 26px/1 var(--serif); width: 28px; flex: none; }
.toc .t { font: 400 24px/1.2 var(--serif); }
.toc .dots { flex: 1; border-bottom: 1.5px dotted var(--rule-2); transform: translateY(-5px); min-width: 20px; }
.toc .go { font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.toc a:hover .t { color: var(--signal-ink); }
.toc a:hover .dots { border-color: var(--signal); }

/* ---------- limitations ---------- */
.limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.limits > div { padding: 22px 24px 24px 0; }
.limits > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.limits b { display: block; font: 400 26px/1.1 var(--serif); margin-bottom: 8px; font-weight: 400; }
.limits p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--ink); padding: 56px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.foot .big { font: italic 400 clamp(48px, 7vw, 96px)/1 var(--mono); letter-spacing: -.04em; }
.foot .big span { font-style: normal; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.colophon { margin-top: 30px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- docs page ---------- */
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr) 210px; gap: 48px; padding-top: 56px; padding-bottom: 96px; }
.doc-nav { position: sticky; top: 84px; align-self: start; font-size: 14px; }
.doc-nav .sc { color: var(--muted); display: block; margin-bottom: 10px; font-size: 13px; }
.doc-nav ol { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: dn; border-top: 1px solid var(--ink); }
.doc-nav li { counter-increment: dn; }
.doc-nav li a { display: grid; grid-template-columns: 22px 1fr; padding: 8px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink-2); }
.doc-nav li a::before { content: counter(dn); font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.doc-nav li a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.doc-nav li a[aria-current="page"]::before { color: var(--signal-ink); }
.doc-nav .onpage a { grid-template-columns: 1fr; font-size: 13px; }
.doc-nav .onpage li a::before { content: none; }
.doc-body { min-width: 0; max-width: 720px; }
.doc-body .crumbs { font: 12px var(--mono); color: var(--muted); margin-bottom: 24px; }
.doc-body h1 { font: 400 clamp(44px, 6vw, 72px)/1 var(--serif); margin: 0 0 20px; letter-spacing: -.01em; }
.doc-body h2 { font: 400 34px/1.1 var(--serif); margin: 56px 0 14px; padding-top: 18px; border-top: 1px solid var(--ink); }
.doc-body h2 .sc { font-family: var(--sans); font-size: 15px; color: var(--muted); margin-right: 10px; vertical-align: 6px; }
.doc-body p, .doc-body li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.doc-body .listing { margin: 22px 0 26px; }
.doc-side { padding-top: 150px; }
.doc-pager { display: flex; justify-content: space-between; gap: 18px; margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--ink); }
.doc-pager a { text-decoration: none; display: block; }
.doc-pager small { display: block; font: 12px var(--mono); color: var(--muted); }
.doc-pager span { font: 400 24px/1.2 var(--serif); }
.answer-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.answer-row .glyph { justify-self: start; }
.answer-row p { margin: 0; font-size: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .sec { grid-template-columns: 110px minmax(0, 1fr); }
  .sec .side { grid-column: 2; margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 28px; }
  .doc { grid-template-columns: 200px minmax(0, 1fr); }
  .doc-side { grid-column: 2; padding-top: 0; }
  .nav-links { gap: 16px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 48px; }
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .pg-grid, .pair, .agents { grid-template-columns: minmax(0, 1fr); }
  .backends li { grid-template-columns: 30px minmax(0, 1fr); }
  .backends .ex, .backends .wh { grid-column: 2; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .sec { grid-template-columns: minmax(0, 1fr); padding: 64px 0; }
  .sec-mark { display: flex; align-items: baseline; gap: 12px; font-size: 32px; margin-bottom: 18px; }
  .sec-mark .sc { display: inline; margin: 0; }
  .sec .side { grid-column: 1; }
  .gap, .specimens, .limits { grid-template-columns: minmax(0, 1fr); }
  .gap-axis { display: none; }
  .gap-col, .gap-col + .gap-col, .specimen, .specimen + .specimen, .limits > div, .limits > div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .gap-col.home { border-top: 2px solid var(--ink); }
  .posture { grid-template-columns: minmax(0, 1fr); }
  .pg-out .posture { grid-template-columns: minmax(0, 1fr); }
  .explorer-foot { grid-template-columns: minmax(0, 1fr); }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .loader-specs { grid-template-columns: repeat(2, auto); }
  .printout { padding-left: 32px; font-size: 12.5px; }
  .printout .row { grid-template-columns: minmax(0, 1fr); }
  .printout .row .ar { display: none; }
  .printout .row .out::before { content: "→ "; color: var(--muted); }
  .printout .row + .row { margin-top: 8px; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  .doc-nav { position: static; }
  .doc-side { grid-column: 1; }
  .listing pre { font-size: 12.5px; }
  .timing-row { grid-template-columns: 90px minmax(0, 1fr) 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- addenda ---------- */
.gap-axis { position: relative; height: 64px; }
.gap-axis .ga-line { position: absolute; left: 0; right: 0; top: 40px; border-top: 1.5px solid var(--ink); }
.gap-axis .ga-line::before, .gap-axis .ga-line::after { content: ""; position: absolute; top: -5.5px; border: 5px solid transparent; }
.gap-axis .ga-line::before { left: -2px; border-right: 8px solid var(--ink); border-left: 0; }
.gap-axis .ga-line::after { right: -2px; border-left: 8px solid var(--ink); border-right: 0; }
.gap-axis i { position: absolute; top: 34px; width: 12px; height: 12px; margin-left: -6px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.gap-axis i.home { background: var(--ink); }
.gap-axis .ga-br { position: absolute; left: 36%; right: 36%; top: 14px; height: 14px; border: 1.5px solid var(--ink); border-bottom: 0; }
.gap-axis .ga-br span { position: absolute; left: 50%; top: -12px; transform: translateX(-50%); background: var(--paper); padding: 0 8px; font: italic 20px/1 var(--serif); white-space: nowrap; }
.gap-axis .ga-l, .gap-axis .ga-r { position: absolute; top: 50px; font: 11px var(--mono); color: var(--muted); }
.gap-axis .ga-l { left: 0; }
.gap-axis .ga-r { right: 0; }
.gap-col.home h3::after { content: " ← gut"; font-size: 18px; font-style: italic; color: var(--signal-ink); }
.band-table td.on { font-weight: 600; background-image: var(--hatch-light); }
.band-table td.on span { background: var(--paper); padding: 1px 3px; }
.pg-panel[hidden] { display: none; }
.pg-status { font: 12px/1.5 var(--mono); color: var(--muted); margin-top: 10px; min-height: 18px; }
.opt-list { font: 12px var(--mono); color: var(--muted); margin-top: 8px; }
.listing-head { max-width: none; }
.listing pre, .listing code { white-space: normal; }
.listing pre { display: block; }
.listing code { display: block; min-width: max-content; }
.codeline { white-space: normal; overflow-wrap: anywhere; }
.ruler-band-label { top: 4px; }
.printout .in { white-space: normal; overflow: visible; }
.printout .row { grid-template-columns: minmax(0, 17em) 2em minmax(0, 1fr); margin-bottom: 4px; }
@media (max-width: 760px) {
  .printout .row { grid-template-columns: minmax(0, 1fr); }
  .printout .in { color: var(--muted); }
}

/* ---------- footer install line (in place of the design's "import gut") ---------- */
.foot-install { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; min-width: 0; }
.foot .foot-install .big { font: italic 400 clamp(28px, 6.2vw, 84px)/1 var(--mono); letter-spacing: -.04em; }
.foot .foot-install .big span { font-style: normal; }
.foot .foot-install .copy { min-height: 44px; border: 1px solid var(--ink); }

/* ---------- the generated documentation pages (scripts/build_site.py) ---------- */
.doc-body h3 { font: 600 17px/1.35 var(--sans); margin: 34px 0 8px; color: var(--ink); }
.doc-body ul { padding-left: 1.2em; margin: 12px 0 18px; }
.doc-body li { margin: 4px 0; }
.doc-body a { text-underline-offset: 3px; }
.doc-table { overflow-x: auto; margin: 22px 0 26px; }
.doc-table .band-table { margin-top: 0; font-size: 12.5px; }
.doc-table td { vertical-align: top; }
.doc.doc-index { grid-template-columns: minmax(0, 1fr); }
.doc-index .doc-body { max-width: 760px; }
.doc-index .toc { margin: 30px 0 12px; }
.toc-desc { margin: 8px 0 16px 42px; font-size: 15px !important; line-height: 1.5 !important; color: var(--muted) !important; }
