/* ============================================================================
   AliothPress Theme: Midnight Botanist
   
   Concept: The organic growth of ideas under the glow of lunar moss —
   deep forest dark mode with soft botanical accents.
   Deep forest dark mode by default. Light mode via .light-theme class on <html>.
   
   Architecture: ONLY overrides CSS custom properties from core.css.
   Components stay untouched — themes are fully portable.
   ============================================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-cyrillic-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-greek-ext-400-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-greek-400-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-vietnamese-400-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-latin-ext-400-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-latin-400-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-cyrillic-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-cyrillic-400-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-greek-ext-400-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-greek-400-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-vietnamese-400-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-latin-ext-400-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/inter/inter-latin-400-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-cyrillic-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-greek-ext-500-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-greek-500-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-vietnamese-500-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-latin-ext-500-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-latin-500-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-cyrillic-ext-500-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-cyrillic-500-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-greek-ext-500-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-greek-500-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-vietnamese-500-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-latin-ext-500-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/inter/inter-latin-500-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-cyrillic-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-greek-ext-600-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-greek-600-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-vietnamese-600-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-latin-ext-600-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-latin-600-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-cyrillic-ext-600-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-cyrillic-600-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-greek-ext-600-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-greek-600-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-vietnamese-600-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-latin-ext-600-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/inter/inter-latin-600-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-cyrillic-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-greek-ext-700-normal.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-greek-700-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-vietnamese-700-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-latin-ext-700-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-latin-700-normal.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-cyrillic-ext-700-italic.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-cyrillic-700-italic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-greek-ext-700-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-greek-700-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-vietnamese-700-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-latin-ext-700-italic.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;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/inter/inter-latin-700-italic.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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/outfit/outfit-latin-ext-400-normal.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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/static/fonts/outfit/outfit-latin-400-normal.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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/outfit/outfit-latin-ext-500-normal.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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/static/fonts/outfit/outfit-latin-500-normal.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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/outfit/outfit-latin-ext-600-normal.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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/static/fonts/outfit/outfit-latin-600-normal.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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/outfit/outfit-latin-ext-700-normal.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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/static/fonts/outfit/outfit-latin-700-normal.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;
}

/* Metric-adjusted fallbacks — local() only, zero downloads, GDPR-safe.
   Keep the real web font shown as designed; the fallback only fills the brief
   pre-load window with identical line-height/width so swapping causes no CLS.
   unicode-range limits this to the scripts these fonts actually serve, so
   Arabic/Hebrew/CJK keep using the system font (better RTL/CJK rendering). */
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 400;
  src: local('Arial');
  size-adjust: 106.26%;
  ascent-override: 91.17%;
  descent-override: 22.70%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 400;
  src: local('Arial');
  size-adjust: 105.64%;
  ascent-override: 91.70%;
  descent-override: 22.83%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 500;
  src: local('Arial');
  size-adjust: 107.47%;
  ascent-override: 90.15%;
  descent-override: 22.45%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 500;
  src: local('Arial');
  size-adjust: 106.77%;
  ascent-override: 90.73%;
  descent-override: 22.59%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 600;
  src: local('Arial');
  size-adjust: 108.65%;
  ascent-override: 89.16%;
  descent-override: 22.20%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 600;
  src: local('Arial');
  size-adjust: 107.92%;
  ascent-override: 89.77%;
  descent-override: 22.35%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 700;
  src: local('Arial');
  size-adjust: 109.84%;
  ascent-override: 88.19%;
  descent-override: 21.96%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 700;
  src: local('Arial');
  size-adjust: 109.06%;
  ascent-override: 88.83%;
  descent-override: 22.12%;
  line-gap-override: 0.00%;
  unicode-range: U+0301, U+0400-045F, U+0460-052F, U+1C80-1C8A, U+2116;
}
@font-face {
  font-family: 'Outfit Fallback';
  font-weight: 400;
  src: local('Arial');
  size-adjust: 98.90%;
  ascent-override: 101.11%;
  descent-override: 26.29%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Outfit Fallback';
  font-weight: 500;
  src: local('Arial');
  size-adjust: 99.18%;
  ascent-override: 100.83%;
  descent-override: 26.21%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Outfit Fallback';
  font-weight: 600;
  src: local('Arial');
  size-adjust: 100.94%;
  ascent-override: 99.06%;
  descent-override: 25.76%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
@font-face {
  font-family: 'Outfit Fallback';
  font-weight: 700;
  src: local('Arial');
  size-adjust: 102.68%;
  ascent-override: 97.39%;
  descent-override: 25.32%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-036F, U+1E00-1FFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}

/* ============================================================================
   DARK THEME (default)
   ============================================================================ */

:root {
  /* --- Brand: Midnight Botanical --- */
  --ap-color-primary:        #4d8a45;
  --ap-color-primary-hover:  #4f772d;
  --ap-color-primary-light:  rgba(49, 87, 44, 0.2);
  --ap-color-primary-subtle: rgba(49, 87, 44, 0.08);
  
  --ap-color-accent:         #90a955;
  --ap-color-accent-hover:   #ecf39e;
  
  /* --- Semantic --- */
  --ap-color-success:  #34d399;
  --ap-color-warning:  #fbbf24;
  --ap-color-error:    #f87171;
  --ap-color-info:     #67e8f9;
  
  /* --- Surfaces: Mossy Shadows --- */
  --ap-color-bg:            #060806;
  --ap-color-surface:       #0d110d;
  --ap-color-surface-alt:   #141a14;
  --ap-color-border:        rgba(144, 169, 85, 0.1);
  --ap-color-border-strong: rgba(144, 169, 85, 0.2);
  
  /* --- Text --- */
  --ap-color-text:           #f1f3f2;
  --ap-color-text-secondary: #a3ad9f;
  --ap-color-text-muted:     #7a8578;
  --ap-color-text-inverse:   #060806;
  --ap-color-link:           #90a955;
  --ap-color-link-hover:     #ecf39e;
  
  /* --- White stays white for contrast --- */
  --ap-color-white: #ffffff;
  --ap-color-black: #060806;

  /* --- Header: Glassmorphism --- */
  --ap-header-bg:         rgba(6, 8, 6, 0.85);
  --ap-header-text:       #f1f3f2;
  --ap-header-link:       rgba(241, 243, 242, 0.6);
  --ap-header-link-hover: #90a955;

  /* --- Footer: Forest Floor --- */
  --ap-footer-bg:         #050605;
  --ap-footer-text:       #7a8578;
  --ap-footer-link:       #a3ad9f;
  --ap-footer-link-hover: #90a955;
  --ap-footer-border:     rgba(144, 169, 85, 0.08);

 /* --- Typography: Organic & Clear --- */
  --ap-font-heading: 'Outfit', 'Outfit Fallback', 'Inter', system-ui, -apple-system, sans-serif;
  --ap-font-body:    'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
  --ap-font-mono:    'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

 /* --- Shapes: Softer, natural --- */
  --ap-radius-sm:  4px;
  --ap-radius-md:  8px;
  --ap-radius-lg:  14px;
  --ap-radius-xl:  20px;
  
 /* --- Shadows: Organic Depth --- */
 --ap-shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.4);
 --ap-shadow-md:  0 4px 12px rgba(0, 0, 0, 0.5);
 --ap-shadow-lg:  0 8px 24px rgba(0, 0, 0, 0.6);
 --ap-shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.7);
 --ap-shadow-glow: 0 0 20px rgba(49, 87, 44, 0.2);
}

/* --- Glassmorphism for forest mist --- */
.ap-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(144, 169, 85, 0.1);
}

/* --- Headings: Lunar White --- */
h1, h2, h3, h4, h5, h6 {
  color: #f1f3f2;
  letter-spacing: -0.01em;
}

/* --- Prose code blocks: forest hollow --- */

/* --- Blockquotes: herbal glow border --- */
.ap-prose blockquote {
  border-left-color: #31572c;
  background: rgba(49, 87, 44, 0.05);
  color: #a3ad9f;
}

/* --- Tables: forest shade rows --- */
.ap-prose th {
  background: #0d110d;
  border-bottom-color: rgba(144, 169, 85, 0.15);
}

.ap-prose td {
  border-bottom-color: rgba(144, 169, 85, 0.08);
}

.ap-prose tbody tr:hover {
  background: rgba(49, 87, 44, 0.1);
}

/* --- Post cards on dark: lunar title --- */
.ap-post-card__title a {
  color: #f1f3f2;
}

.ap-post-card__title a:hover {
  color: #90a955;
}

.ap-post-card {
  border-bottom-color: rgba(144, 169, 85, 0.1);
}

/* --- Article title: Lunar Glow --- */
.ap-article__title {
  color: #f1f3f2;
}

/* --- Language dropdown: Mossy Cellar --- */
.ap-lang__dropdown {
  background: #0d110d;
  border-color: rgba(144, 169, 85, 0.15);
}

.ap-lang__option {
  color: #a3ad9f;
}

.ap-lang__option:hover {
  background: rgba(49, 87, 44, 0.15);
  color: #f1f3f2;
}

.ap-lang__option.is-active {
  color: #ecf39e;
  background: rgba(49, 87, 44, 0.25);
}

/* --- Mobile sidebar: Forest Shelter --- */
.ap-sidebar {
  background: #0d110d;
  border-left: 1px solid rgba(144, 169, 85, 0.1);
}

.ap-sidebar__header {
  border-bottom-color: rgba(144, 169, 85, 0.08);
}

.ap-sidebar__title {
  color: #f1f3f2;
}

.ap-sidebar__link {
  color: #a3ad9f;
}

.ap-sidebar__link:hover {
  background: rgba(49, 87, 44, 0.15);
  color: #ecf39e;
}

.ap-sidebar__close {
  color: #a3ad9f;
}

.ap-sidebar__close:hover {
  background: rgba(144, 169, 85, 0.1);
  color: #f1f3f2;
}

.ap-sidebar__lang-link {
  color: #a3ad9f;
  border-color: rgba(144, 169, 85, 0.15);
}

.ap-sidebar__lang-link:hover {
  border-color: #90a955;
  color: #ecf39e;
}

.ap-sidebar__lang-link.is-active {
  background: #31572c;
  border-color: #4f772d;
  color: #f1f3f2;
}

/* --- Social icons: Forest Shadows --- */
.ap-social-icon {
  background: rgba(49, 87, 44, 0.15);
  color: #a3ad9f;
}

/* --- Footer nav: Branching line --- */
.ap-footer__nav {
  border-top-color: rgba(144, 169, 85, 0.1);
}

/* --- Pagination: Forest Path --- */
.ap-pagination a {
  color: #a3ad9f;
  border-color: rgba(144, 169, 85, 0.15);
}

.ap-pagination a:hover {
  color: #ecf39e;
  border-color: #90a955;
  background: rgba(49, 87, 44, 0.15);
}

/* --- Tags: Botanical Labels --- */
.ap-tag {
  color: #ecf39e;
  background: rgba(49, 87, 44, 0.2);
}

.ap-tag:hover {
  background: rgba(49, 87, 44, 0.3);
  color: #ecf39e;
}

/* --- Buttons: Forest Stones --- */
.ap-btn--primary {
  background: #31572c;
  color: #f1f3f2;
}

.ap-btn--primary:hover {
  background: #4f772d;
  color: #ffffff;
}

.ap-btn--outline {
  color: #90a955;
  border-color: rgba(144, 169, 85, 0.4);
}

.ap-btn--outline:hover {
  background: #31572c;
  border-color: #31572c;
  color: #f1f3f2;
}

/* --- HR: Moss line --- */
.ap-prose hr {
  border-top-color: rgba(144, 169, 85, 0.1);
}

/* --- Focus visible: emerald ring --- */
:focus-visible {
  outline: 2px solid #4f772d;
  outline-offset: 2px;
}

/* ============================================================================
   LIGHT THEME — "Sunlit Garden"

Activated by adding class="light-theme" to <html>. Fresh, organic palette. Deep forest accents on morning dew. WCAG contrast ratio ≥ 4.5:1 on all text.
   ============================================================================ */

.light-theme {
  /* --- Surfaces: morning dew & mist --- */
  --ap-color-bg:            #f7f9f7;
  --ap-color-surface:       #ffffff;
  --ap-color-surface-alt:   #f1f3f1;
  --ap-color-border:        rgba(79, 119, 45, 0.12);
  --ap-color-border-strong: rgba(79, 119, 45, 0.2);

  /* --- Text: deep bark & soil for readability --- */
  --ap-color-text:           #131a13;
  --ap-color-text-secondary: #3a453a;
  --ap-color-text-muted:     #647264;
  --ap-color-text-inverse:   #f7f9f7;

  /* --- Primary: forest growth --- */
  --ap-color-primary:        #4f772d;
  --ap-color-primary-hover:  #31572c;
  --ap-color-primary-light:  rgba(79, 119, 45, 0.1);
  --ap-color-primary-subtle: rgba(79, 119, 45, 0.05);
  --ap-color-link:           #4f772d;
  --ap-color-link-hover:     #31572c;

  --ap-color-accent:         #90a955;
  --ap-color-accent-hover:   #31572c;
  
  /* --- Header: Morning Mist --- */
  --ap-header-bg:         rgba(247, 249, 247, 0.9);
  --ap-header-text:       #131a13;
  --ap-header-link:       #3a453a;
  --ap-header-link-hover: #4f772d;

  /* --- Footer: Earth & Moss --- */
  --ap-footer-bg:         #f1f3f1;
  --ap-footer-text:       #5c6b5c;
  --ap-footer-link:       #3a453a;
  --ap-footer-link-hover: #31572c;
  --ap-footer-border:     rgba(79, 119, 45, 0.1);

  /* --- Shadows: Organic Depth --- */
  --ap-shadow-sm:  0 1px 2px rgba(49, 87, 44, 0.04);
  --ap-shadow-md:  0 4px 6px -1px rgba(49, 87, 44, 0.06), 0 2px 4px -2px rgba(49, 87, 44, 0.04);
  --ap-shadow-lg:  0 10px 15px -3px rgba(49, 87, 44, 0.08), 0 4px 6px -4px rgba(49, 87, 44, 0.04);
  --ap-shadow-xl:  0 20px 25px -5px rgba(49, 87, 44, 0.08), 0 8px 10px -6px rgba(49, 87, 44, 0.04);
}

/* --- Light theme overrides: Botanical contrast --- */

.light-theme .ap-header {
  border-bottom-color: rgba(79, 119, 45, 0.1);
}

.light-theme h1,
.light-theme h2,
.light-theme h3,
.light-theme h4,
.light-theme h5,
.light-theme h6 {
  color: #131a13;
}

.light-theme .ap-article__title {
  color: #131a13;
}

.light-theme .ap-post-card__title a {
  color: #131a13;
}

.light-theme .ap-post-card__title a:hover {
  color: #4f772d;
}

.light-theme .ap-post-card {
  border-bottom-color: rgba(79, 119, 45, 0.1);
}

.light-theme .ap-prose blockquote {
  border-left-color: #4f772d;
  background: rgba(79, 119, 45, 0.05);
  color: #3a453a;
}

.light-theme .ap-prose th {
  background: #f1f3f1;
  border-bottom-color: rgba(79, 119, 45, 0.2);
}

.light-theme .ap-prose td {
  border-bottom-color: rgba(79, 119, 45, 0.12);
}

.light-theme .ap-prose tbody tr:hover {
  background: rgba(49, 87, 44, 0.05);
}

.light-theme .ap-prose hr {
  border-top-color: rgba(79, 119, 45, 0.12);
}

.light-theme .ap-lang__trigger {
  color: #3a453a;
  border-color: rgba(79, 119, 45, 0.15);
}

.light-theme .ap-lang__trigger:hover {
  color: #131a13;
  border-color: rgba(79, 119, 45, 0.2);
  background: rgba(0, 0, 0, 0.03);
}

.light-theme .ap-lang__dropdown {
  background: #ffffff;
  border-color: rgba(79, 119, 45, 0.15);
}

.light-theme .ap-lang__option {
  color: #3a453a;
}

.light-theme .ap-lang__option:hover {
  background: rgba(144, 169, 85, 0.1);
  color: #131a13;
}

.light-theme .ap-lang__option.is-active {
  color: #4f772d;
  background: rgba(79, 119, 45, 0.08);
}

.light-theme .ap-sidebar {
  background: #ffffff;
  border-left-color: rgba(79, 119, 45, 0.1);
}

.light-theme .ap-sidebar__header {
  border-bottom-color: rgba(79, 119, 45, 0.1);
}

.light-theme .ap-sidebar__title {
  color: #131a13;
}

.light-theme .ap-sidebar__link {
  color: #3a453a;
}

.light-theme .ap-sidebar__link:hover {
  background: rgba(144, 169, 85, 0.1);
  color: #4f772d;
}

.light-theme .ap-sidebar__close {
  color: #647264;
}
.light-theme .ap-sidebar__close:hover {
  background: rgba(144, 169, 85, 0.1);
  color: #31572c;
}

.light-theme .ap-sidebar__lang-link {
  color: #3a453a;
  border-color: rgba(79, 119, 45, 0.15);
}

.light-theme .ap-sidebar__lang-link:hover {
  border-color: #4f772d;
  color: #4f772d;
}

.light-theme .ap-sidebar__lang-link.is-active {
  background: #4f772d;
  border-color: #4f772d;
  color: #f7f9f7;
}

.light-theme .ap-social-icon {
  background: #f1f3f1;
  color: #5c6b5c;
}

.light-theme .ap-footer__nav {
  border-top-color: rgba(79, 119, 45, 0.1);
}

.light-theme .ap-pagination a {
  color: #3a453a;
  border-color: rgba(79, 119, 45, 0.15);
}

.light-theme .ap-pagination a:hover {
  color: #4f772d;
  border-color: #4f772d;
  background: rgba(79, 119, 45, 0.05);
}

.light-theme .ap-tag {
  color: #31572c;
  background: rgba(79, 119, 45, 0.08);
}

.light-theme .ap-tag:hover {
  background: rgba(79, 119, 45, 0.15);
  color: #31572c;
}

.light-theme .ap-btn--primary {
  background: #4f772d;
  color: #f7f9f7;
}

.light-theme .ap-btn--primary:hover {
  background: #31572c;
  color: #ffffff;
}

.light-theme .ap-btn--outline {
  color: #4f772d;
  border-color: #4f772d;
}

.light-theme .ap-btn--outline:hover {
  background: #4f772d;
  color: #f7f9f7;
}

.light-theme .ap-hamburger__line {
  background: #3a453a;
}

.light-theme .ap-hamburger:hover {
  background: rgba(79, 119, 45, 0.08);
}

.light-theme :focus-visible {
  outline-color: #4f772d;
}
