﻿@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/fraunces-italic-vietnamese.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: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/fraunces-italic-latin-ext.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: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/fraunces-italic-latin.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: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/fraunces-normal-vietnamese.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: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/fraunces-normal-latin-ext.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: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/fonts/fraunces-normal-latin.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-weight: 300;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic-ext.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-weight: 300;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic.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-weight: 300;
  font-display: swap;
  src: url(/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/inter-normal-greek.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-weight: 300;
  font-display: swap;
  src: url(/fonts/inter-normal-vietnamese.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-weight: 300;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.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-weight: 300;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.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-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic-ext.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-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic.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-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-normal-greek.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-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-normal-vietnamese.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-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.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-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.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-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic-ext.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-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic.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-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-normal-greek.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-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-normal-vietnamese.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-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.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-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.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-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic-ext.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-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic.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-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-normal-greek.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-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-normal-vietnamese.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-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.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-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.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-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic-ext.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-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic.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-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-normal-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-normal-greek.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-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-normal-vietnamese.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-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.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-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-cyrillic-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-greek.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-vietnamese.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-latin-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-cyrillic-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-greek.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-vietnamese.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-latin-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-latin.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-cyrillic-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-greek.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-vietnamese.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-latin-ext.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-latin.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;
}

/* ===== MAIN STYLES ===== */

/* ═══════════════════════════════════════════════════════
   FABRIQ - design system
   ═══════════════════════════════════════════════════════ */

:root {
    --bg:           #0a0908;
    --bg-1:         #100e0c;
    --surface:      rgba(255, 246, 237, 0.035);
    --surface-hi:   rgba(255, 246, 237, 0.06);
    --border:       rgba(255, 246, 237, 0.08);
    --border-hi:    rgba(217, 119, 87, 0.35);
    --text:         #faf6ed;
    --text-2:       #c4bdb1;
    --muted:        #847d72;
    --muted-2:      #58524a;

    --coral:        #d97757;
    --coral-hi:     #e0875f;
    --amber:        #f59e0b;
    --violet:       #a78bfa;
    --teal:         #5eead4;
    --red:          #ef4444;

    --r:            14px;
    --r-lg:         24px;
    --r-sm:         8px;

    --serif:        'Fraunces', Georgia, serif;
    --sans:         'Inter', system-ui, sans-serif;
    --mono:         'JetBrains Mono', ui-monospace, monospace;

    --nav-bg:       rgba(10,9,8,.7);
    --dropdown-bg:  rgba(24,21,18,.97);
    --bar-tone:     rgba(255,246,237,.025);
    --grid-tone:    rgba(255,246,237,.018);
    --hg-grid-tone: rgba(255,246,237,.04);
    --code-surface: var(--bg);

    color-scheme: dark;
}

/* ═══════════════════════════════════════════════════════
   DAY THEME
   ═══════════════════════════════════════════════════════ */
[data-theme="day"] {
    --bg:           #faf6ed;
    --bg-1:         #f3eddc;
    --surface:      rgba(10, 9, 8, 0.04);
    --surface-hi:   rgba(10, 9, 8, 0.07);
    --border:       rgba(10, 9, 8, 0.10);
    --border-hi:    rgba(194, 83, 58, 0.45);
    --text:         #1a1410;
    --text-2:       #4a423a;
    --muted:        #807769;
    --muted-2:      #b8aea1;

    --coral:        #c2533a;
    --coral-hi:     #b34629;
    --amber:        #b8620a;
    --violet:       #7c3aed;
    --teal:         #0d9488;

    --nav-bg:       rgba(250,246,237,.85);
    --dropdown-bg:  rgba(252,249,242,.98);
    --bar-tone:     rgba(10,9,8,.04);
    --grid-tone:    rgba(10,9,8,.045);
    --hg-grid-tone: rgba(10,9,8,.06);
    --code-surface: #ece3cb;

    color-scheme: light;
}

[data-theme="day"] .bg-grain {
    background:
        radial-gradient(ellipse 70% 50% at 20% 0%, rgba(194,83,58,.13), transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 100%, rgba(124,58,237,.08), transparent 65%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(184,98,10,.05), transparent 60%);
}
[data-theme="day"] .bg-noise { display: none; }

[data-theme="day"] .network-svg .edge { stroke: rgba(194,83,58,.32); }
[data-theme="day"] .network-svg .node { stroke: rgba(194,83,58,.55); }

[data-theme="day"] .nav-cta-arrow { background: #fff8ec; }
[data-theme="day"] .cursor { mix-blend-mode: multiply; border-color: rgba(194,83,58,.6); }
[data-theme="day"] .cursor.hover { background: rgba(194,83,58,.1); border-color: var(--coral); }

[data-theme="day"] .term-ok    { color: #15803d; }
[data-theme="day"] .term-warn  { color: #b8620a; }
[data-theme="day"] .cli-val    { color: #15803d; }
[data-theme="day"] .status-prod { background: rgba(34,197,94,.12); color: #15803d; border-color: rgba(34,197,94,.3); }
[data-theme="day"] .status-dev  { background: rgba(184,98,10,.12); color: #b8620a; border-color: rgba(184,98,10,.3); }

[data-theme="day"] .contact-block { background: rgba(194,83,58,.05); border-color: rgba(194,83,58,.2); }
[data-theme="day"] .contact-block::before {
    background: radial-gradient(ellipse at top right, rgba(194,83,58,.13), transparent 60%);
}

[data-theme="day"] .b-ico {
    background: rgba(194,83,58,.1);
    border-color: rgba(194,83,58,.25);
}
[data-theme="day"] .scale-table thead { background: rgba(10,9,8,.025); }
[data-theme="day"] .scale-table tbody tr:hover { background: rgba(10,9,8,.025); }
[data-theme="day"] .contact-cli { background: var(--code-surface); }
[data-theme="day"] .action-row { background: var(--code-surface); }
[data-theme="day"] .proj-window.wide {
    background: linear-gradient(135deg, rgba(194,83,58,.06), var(--bg-1) 60%);
    border-color: rgba(194,83,58,.25);
}
[data-theme="day"] .proj-window.wide::after {
    background: radial-gradient(ellipse 50% 40% at 100% 0%, rgba(194,83,58,.08), transparent 60%);
}
[data-theme="day"] .proj-spotlight {
    color: #b8620a;
    border-color: rgba(184,98,10,.4);
    background: rgba(184,98,10,.1);
}

body { transition: background-color .35s ease, color .35s ease; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: rgba(217,119,87,.35); color: var(--text); }
body { -webkit-user-select: none; user-select: none; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}
@media (max-width: 900px) { body { cursor: auto; } .cursor, .cursor-dot { display: none; } }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: none; }

/* ── BACKGROUND ────────────────────────────────────── */
.bg-fixed {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.bg-grain {
    background:
        radial-gradient(ellipse 70% 50% at 20% 0%, rgba(217,119,87,.08), transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 100%, rgba(167,139,250,.06), transparent 65%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(245,158,11,.025), transparent 60%);
}
.bg-noise::before {
    content:'';
    position:absolute;
    inset:0;
    opacity:.4;
    mix-blend-mode:overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}
.bg-grid {
    background-image:
        linear-gradient(to right, var(--grid-tone) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-tone) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
}

main, header, footer { position: relative; z-index: 1; }

.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── CUSTOM CURSOR ─────────────────────────────────── */
.cursor {
    position: fixed;
    width: 32px; height: 32px;
    border: 1px solid rgba(217,119,87,.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width .25s, height .25s, background .25s, border-color .25s;
    mix-blend-mode: difference;
}
.cursor-dot {
    position: fixed;
    width: 4px; height: 4px;
    background: var(--coral);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
}
.cursor.hover { width: 56px; height: 56px; background: rgba(217,119,87,.08); border-color: var(--coral); }

/* ── NAV ───────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 16px; left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px); max-width: 1240px;
    height: 56px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 0 24px;
    border-radius: 100px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--border);
}
.logo {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.5px;
    display: flex; align-items: baseline; gap: 2px;
}
.logo-dot { color: var(--coral); }
.logo-mono {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    margin-left: 6px;
    align-self: center;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 4px;
}
.nav-links a {
    padding: 8px 14px;
    font-size: 14px;
    color: var(--text-2);
    border-radius: 100px;
    transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--surface); color: var(--text); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 6px 8px 18px;
    background: var(--coral);
    color: var(--bg) !important;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--coral-hi); transform: translateY(-1px); }
.nav-cta-arrow {
    width: 28px; height: 28px;
    background: var(--bg);
    color: var(--coral);
    border-radius: 50%;
    display: grid; place-items: center;
    transition: transform .2s;
}
.nav-cta:hover .nav-cta-arrow { transform: rotate(-45deg); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--text-2);
    cursor: none;
    transition: color .25s, border-color .25s, transform .35s, background .25s;
}
.theme-toggle:hover {
    color: var(--coral);
    border-color: var(--border-hi);
    background: var(--surface);
    transform: rotate(20deg);
}
.theme-toggle .ico-sun  { display: block; }
.theme-toggle .ico-moon { display: none; }
[data-theme="day"] .theme-toggle .ico-sun  { display: none; }
[data-theme="day"] .theme-toggle .ico-moon { display: block; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav { padding-left: 18px; }
}

/* ── MOBILE BURGER ─────────────────────────────── */
.nav-burger {
    display: none;
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, background .2s, color .2s;
    flex-shrink: 0;
}
.nav-burger:hover { background: var(--surface); border-color: var(--border-hi); color: var(--coral); }
@media (max-width: 900px) {
    .nav-burger { display: flex; }
    .nav-cta { display: none; }
    .theme-toggle { display: none; }
}

.nav-drawer {
    position: fixed;
    top: 72px; left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 440px;
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
    pointer-events: none;
}
.nav-drawer.open { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.nav-drawer a {
    display: block;
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-2);
    text-decoration: none;
    font-family: var(--sans);
    transition: background .15s, color .15s;
}
.nav-drawer a:hover, .nav-drawer a:active { background: var(--surface); color: var(--text); }

.nav-drawer-sep {
    height: 1px;
    background: var(--border);
    margin: 8px 4px;
}
.nav-drawer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 6px 2px;
}
.theme-toggle-drawer {
    display: flex !important;
    width: auto;
    height: 38px;
    border-radius: 10px;
    gap: 8px;
    padding: 0 12px;
    flex-shrink: 0;
}
.theme-toggle-label {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--text-2);
    white-space: nowrap;
}
.nav-cta-drawer { display: inline-flex !important; flex: 1; justify-content: center; }

/* ── SECTION wrapper ───────────────────────────────── */
.wrap {
    max-width: 85%;
    margin: 0 auto;
    padding: 40px 28px;
}

.section-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.section-meta-num {
    color: var(--coral);
    font-size: 11px;
    font-weight: 500;
    background: transparent;
    border: 1px solid var(--border-hi);
    border-radius: var(--r-sm);
    padding: 2px 8px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.section-meta-line {
    flex: 1;
    height: 1px;
    background: rgba(255,246,237,0.14);
}
[data-theme="day"] .section-meta-line {
    background: rgba(10,9,8,0.14);
}
.sec-fn {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
    letter-spacing: 0;
}

.section-h {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}
.section-h em {
    font-style: italic;
    color: var(--coral);
    font-weight: 300;
}
.section-d {
    font-size: 17px;
    color: var(--text-2);
    max-width: 95%;
    line-height: 1.65;
    margin-bottom: 64px;
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    min-height: 100%;
    display: flex;
    align-items: center;
    padding: 140px 28px 40px;
    max-width: 85%;
    margin: 0 auto;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 40%;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* hero art — photo frame (right column) */
.hero-art {
    position: relative;
    align-self: center;
}
/* hero build — code that grows into a working product (diagonal split) */
.hero-build {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--code-surface);
    border: 1px solid var(--border);
    box-shadow: 0 30px 70px -34px rgba(0,0,0,.5), 0 2px 10px rgba(0,0,0,.12);
    isolation: isolate;
}
/* product (CRM dashboard) — fills the panel, content pinned to the right */
.hb-product {
    position: absolute; inset: 0;
    padding: 20px 18px 18px 56%;
    display: flex; flex-direction: column; gap: 8px;
    background:
        radial-gradient(130% 90% at 92% 3%, rgba(217,119,87,.13), transparent 56%),
        var(--surface-hi);
}
.hb-dash-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hb-dash-title { font-family: var(--mono); font-size: 9.5px; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.hb-dash-live { font-family: var(--mono); font-size: 9px; letter-spacing: .5px; color: #16a34a; white-space: nowrap; }
.hb-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hb-kpi { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 7px 9px; }
.hb-kpi-n { display: block; font-family: var(--serif); font-weight: 400; font-size: 16px; line-height: 1; letter-spacing: -.5px; color: var(--text); }
.hb-kpi-n.hb-up { color: var(--coral); }
.hb-kpi-l { display: block; font-family: var(--mono); font-size: 7.5px; letter-spacing: .5px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.hb-chart { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 8px; height: 60px; }
.hb-chart svg { width: 100%; height: 100%; display: block; }
.hb-list { display: flex; flex-direction: column; gap: 5px; }
.hb-row { display: flex; align-items: center; gap: 7px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 5px 9px; font-family: var(--sans); font-size: 10.5px; color: var(--text-2); }
.hb-row span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-row b { font-family: var(--serif); font-weight: 400; font-size: 12px; color: var(--text); }
.hb-row i { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hb-row i.ok { background: #16a34a; }
.hb-row i.wait { background: var(--amber); }
/* code side — clipped to a left diagonal band, layered on top */
.hb-code {
    position: absolute; inset: 0;
    clip-path: polygon(0 0, 55% 0, 40% 100%, 0 100%);
    background: linear-gradient(150deg, #17120e 0%, #0b0908 100%);
    padding: 22px 18px;
    font-family: var(--mono);
    font-size: 10px;
    line-height: 1.62;
    color: #c4bdb1;
    white-space: pre;
}
.hb-code .cm { color: #6f675c; font-style: italic; }
.hb-code .kw { color: var(--violet); }
.hb-code .fn { color: var(--coral); }
.hb-code .st { color: #4ade80; }
.hb-code .nm { color: var(--amber); }
.hb-code .at { color: #38bdf8; }
.hb-cursor { display: inline-block; width: 5px; height: 11px; background: var(--coral); vertical-align: text-bottom; animation: blink 1s steps(2) infinite; }
/* diagonal seam — the "косая черта" where code becomes product */
.hb-seam {
    position: absolute; inset: 0; pointer-events: none;
    clip-path: polygon(54.3% 0, 55.7% 0, 40.7% 100%, 39.3% 100%);
    background: linear-gradient(180deg, var(--coral-hi), var(--coral));
    filter: drop-shadow(0 0 7px rgba(217,119,87,.6));
}
/* arrow hint of transformation */
.hb-flow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; font-family: var(--mono); font-size: 15px; color: #fff; background: var(--coral); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(217,119,87,.18), 0 6px 16px rgba(0,0,0,.35); }

/* keep the original network-svg in DOM for JS but remove from layout */
.hero-graphic {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 38%; gap: 40px; }
}
@media (max-width: 780px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-art { display: none; }
    .hero-text { order: 0; }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 6px 16px 6px 12px;
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-2);
    margin-bottom: 32px;
}
.eyebrow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 10px var(--teal);
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .55; transform: scale(.85); }
}

.hero h1 {
    font-family: var(--serif);
    font-weight: 350;
    font-size: clamp(48px, 8vw, 110px);
    line-height: .95;
    letter-spacing: -3.5px;
    margin-bottom: 28px;
}
.hero h1 em {
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(135deg, var(--coral) 0%, var(--amber) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
.hero h1 .underline-mark {
    position: absolute;
    bottom: -.04em; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--coral), var(--amber));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: drawLine 1.5s .8s ease-out forwards;
	z-index: -1;
}
@keyframes drawLine {
    to { transform: scaleX(1); }
}

.hero-sub {
    font-size: 18px;
    color: var(--text-2);
    line-height: 1.65;
    max-width: 90%;
    margin-bottom: 48px;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    transition: all .2s;
    border: 1px solid transparent;
    cursor: none;
}
.btn-primary {
    background: var(--coral);
    color: var(--bg);
}
.btn-primary:hover { background: var(--coral-hi); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(217,119,87,.25); }
.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-hi); border-color: rgba(217,119,87,.3); }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* hero stats row */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0;
    align-items: end;
}
.hstat {
    padding-right: 32px;
    border-right: 1px solid var(--border);
}
.hstat:last-child { border-right: none; padding-right: 0; }
.hstat:not(:first-child) { padding-left: 32px; }
.hstat-n {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -1.5px;
}
.hstat-n .unit { color: var(--coral); font-style: italic; }
.hstat-l {
    font-size: 12px;
    font-family: var(--mono);
    color: var(--muted);
    margin-top: 6px;
    letter-spacing: .5px;
}

/* ── HERO graphic - animated network ──────────────── */
.hero-graphic {
    position: relative;
    aspect-ratio: 1;
    max-width: 520px;
    margin-left: auto;
}
.hero-graphic-frame {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    background:
        radial-gradient(ellipse at center, rgba(217,119,87,.06), transparent 70%),
        var(--surface);
    backdrop-filter: blur(8px);
}
.hero-graphic-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--hg-grid-tone) 1px, transparent 1px),
        linear-gradient(to bottom, var(--hg-grid-tone) 1px, transparent 1px);
    background-size: 32px 32px;
}
.hero-graphic-corners {
    position: absolute;
    inset: -6px;
    pointer-events: none;
}
.hero-graphic-corners::before, .hero-graphic-corners::after,
.hero-graphic-corners > i::before, .hero-graphic-corners > i::after {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    border: 1px solid var(--coral);
}
.hero-graphic-corners::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-graphic-corners::after { top: 0; right: 0; border-left: none; border-bottom: none; }
.hero-graphic-corners > i::before { bottom: 0; left: 0; border-right: none; border-top: none; }
.hero-graphic-corners > i::after { bottom: 0; right: 0; border-left: none; border-top: none; }

.network-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}
.network-svg .edge {
    stroke: rgba(217,119,87,.25);
    stroke-width: 1;
    fill: none;
}
.network-svg .edge.active {
    stroke: var(--coral);
    stroke-width: 1.4;
    filter: drop-shadow(0 0 4px rgba(217,119,87,.6));
}
.network-svg .node {
    fill: var(--bg-1);
    stroke: rgba(217,119,87,.45);
    stroke-width: 1;
}
.network-svg .node.hub {
    fill: var(--coral);
    stroke: var(--coral);
    filter: drop-shadow(0 0 8px rgba(217,119,87,.6));
}
.network-svg .pulse {
    fill: var(--amber);
    filter: drop-shadow(0 0 6px var(--amber));
}
.network-label {
    position: absolute;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: .5px;
    pointer-events: none;
}
.network-label.tl { top: 16px; left: 18px; }
.network-label.tr { top: 16px; right: 18px; color: var(--teal); }
.network-label.br { bottom: 16px; right: 18px; }
.network-label.bl { bottom: 16px; left: 18px; }

/* ═══════════════════════════════════════════════════════
   BENTO
   ═══════════════════════════════════════════════════════ */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
}
@media (max-width: 900px) {
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}

.b-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s, transform .25s;
}
.b-card:hover { border-color: var(--border-hi); }

/* ── Bento spotlight + tilt ─────────────────────── */
.b-card::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--shine-x,50%) var(--shine-y,50%), rgba(217,119,87,.14) 0%, transparent 62%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
}
.b-card.shining::after { opacity: 1; }
.b-card.tilting { transition: border-color .25s, transform 0s; }

/* ── Terminal interactive ─────────────────────────── */
#termHiddenInput {
    position: fixed; top: 0; left: 0;
    width: 1px; height: 1px;
    padding: 0; margin: 0; border: 0; outline: 0;
    opacity: 0; z-index: 0;
    font-size: 16px;                /* prevents iOS zoom-on-focus */
    color: transparent; background: transparent; caret-color: transparent;
    pointer-events: none;
}
.terminal-mock { cursor: pointer; }
.terminal-mock.active {
    border-color: rgba(217,119,87,.45);
    box-shadow: 0 0 16px rgba(217,119,87,.12);
    cursor: default;
    overflow-y: auto;
    height: 180px;
}
/* pinned to top of viewport while typing — mobile / tablet only */
@media (max-width: 1024px) {
    .b-card .terminal-mock.pinned {
        position: fixed;
        top: 72px; left: 12px; right: 12px;
        z-index: 90;
        margin-top: 0;
        height: auto;
        max-height: 42vh;
        overflow-y: auto;
        box-shadow: 0 18px 48px rgba(0,0,0,.5);
    }
    [data-theme="day"] .b-card .terminal-mock.pinned { box-shadow: 0 18px 48px rgba(0,0,0,.18); }
}
.terminal-mock::-webkit-scrollbar { width: 3px; }
.terminal-mock::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
.term-hint { font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); margin-top: 7px; letter-spacing: .5px; pointer-events: none; }
.term-input-row { display: flex; align-items: baseline; }

/* ── Click burst ─────────────────────────────────── */
@keyframes burst-fly {
    from { opacity: .85; transform: scale(1); }
    to   { opacity: 0;   transform: translate(var(--bx), var(--by)) scale(.25); }
}
.burst-p {
    position: fixed;
    pointer-events: none;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--coral);
    animation: burst-fly .65s ease-out forwards;
    z-index: 9998;
    user-select: none;
}

.b-card .b-tag {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.b-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.5px;
    margin-bottom: 8px;
}
.b-card p {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.6;
}

/* sizes */
.b-1 { grid-column: span 4; grid-row: span 2; }       /* big - terminal */
.b-2 { grid-column: span 2; grid-row: span 2; }       /* tall - code */
.b-3 { grid-column: span 2; grid-row: span 1; }
.b-4 { grid-column: span 2; grid-row: span 1; }
.b-5 { grid-column: span 2; grid-row: span 1; }
.b-6 { grid-column: span 3; grid-row: span 1; }
.b-7 { grid-column: span 3; grid-row: span 1; }

@media (max-width: 900px) {
    .b-1, .b-2, .b-3, .b-4, .b-5, .b-6, .b-7 { grid-column: span 2; grid-row: span 1; }
    .b-1 { grid-row: span 2; }
    .b-2 { grid-row: span 2; }
}

/* terminal mock inside b-1 */
.terminal-mock {
    margin-top: 16px;
    background: var(--code-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-2);
    overflow: hidden;
    position: relative;
}
.terminal-mock::before {
    content: '';
    display: block;
    position: absolute;
    top: 8px; left: 12px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 14px 0 0 #f59e0b, 28px 0 0 #22c55e;
}
.terminal-mock .term-content { margin-top: 18px; }
.term-prompt { color: var(--coral); }
.term-cmd    { color: var(--text); }
.term-out    { color: var(--muted); }
.term-ok     { color: #4ade80; }
.term-warn   { color: var(--amber); }
.term-cursor { display: inline-block; width: 7px; height: 13px; background: var(--coral); animation: blink 1s steps(2) infinite; vertical-align: text-bottom; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* code mock for b-2 */
.code-mock {
    margin-top: 16px;
    background: var(--code-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    font-family: var(--mono);
    font-size: 11.5px;
    line-height: 1.65;
    overflow: hidden;
    height: calc(100% - 60px);
}
.code-mock .ln { color: var(--muted-2); margin-right: 12px; user-select: none; }
.code-mock .kw { color: var(--violet); }
.code-mock .st { color: #4ade80; }
.code-mock .fn { color: var(--coral); }
.code-mock .cm { color: var(--muted); font-style: italic; }
.code-mock .nm { color: var(--amber); }

/* compact card icons */
.b-ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(217,119,87,.12);
    border: 1px solid rgba(217,119,87,.2);
    display: grid; place-items: center;
    font-family: var(--mono);
    font-weight: 600;
    color: var(--coral);
    margin-bottom: 14px;
    font-size: 14px;
    transition: transform .4s cubic-bezier(.2,.8,.3,1), background .3s, border-color .3s, box-shadow .3s;
}
.b-card:hover .b-ico {
    transform: translateY(-2px) scale(1.1) rotate(-4deg);
    background: rgba(217,119,87,.18);
    border-color: var(--coral);
    box-shadow: 0 6px 18px -6px rgba(217,119,87,.5);
}
.b-2 .code-mock { transition: border-color .3s, box-shadow .3s; }
.b-2:hover .code-mock { border-color: var(--border-hi); box-shadow: inset 0 0 0 1px rgba(217,119,87,.14); }
@media (prefers-reduced-motion: reduce) {
    .b-card:hover .b-ico { transform: none; }
}

/* metric card */
.metric-card { display: flex; flex-direction: column; justify-content: space-between; }
.metric-num {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(180deg, var(--text) 30%, var(--muted) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.metric-l {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════
   PIPELINE
   ═══════════════════════════════════════════════════════ */
.pipeline-board {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 48px 32px;
    position: relative;
    overflow: hidden;
}
.pipeline-board::before {
    content:'';
    position:absolute;
    inset:0;
    background:
        linear-gradient(to right, var(--bar-tone) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bar-tone) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.pipe-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    z-index: 1;
}

.pipe-stage {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px 20px;
    transition: border-color .25s, transform .25s;
}
.pipe-stage:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.pipe-stage:not(:last-child)::after {
    content:'';
    position: absolute;
    top: 50%; right: -28px;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--coral), transparent);
    transform: translateY(-50%);
}
.pipe-stage:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50%; right: -10px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 8px var(--coral);
    transform: translateY(-50%);
    animation: pipeFlow 3s linear infinite;
}
@keyframes pipeFlow {
    0%   { right: -28px; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { right: -2px; opacity: 0; }
}

.pipe-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--coral);
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.pipe-stage h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 19px;
    letter-spacing: -.3px;
    margin-bottom: 8px;
}
.pipe-stage p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
}
.pipe-meta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: .5px;
}

@media (max-width: 800px) {
    .pipe-track { grid-template-columns: 1fr 1fr; gap: 16px; }
    .pipe-stage:not(:last-child)::after,
    .pipe-stage:not(:last-child)::before { display: none; }
}

/* ═══════════════════════════════════════════════════════
   SCALE - table format
   ═══════════════════════════════════════════════════════ */
.scale-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
}
.scale-table th, .scale-table td {
    padding: 22px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.scale-table tbody tr:last-child td { border-bottom: none; }
.scale-table thead {
    background: var(--bar-tone);
}
.scale-table th {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.scale-table tbody tr {
    transition: background .15s;
}
.scale-table tbody tr:hover { background: rgba(255,246,237,.02); }

.scale-tier {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--coral);
    letter-spacing: 1.5px;
}
.scale-tier::before {
    content:'';
    width: 8px; height: 8px;
    border-radius: 2px;
    background: var(--coral);
}
.scale-tier.t1::before { width: 6px;  height: 6px; }
.scale-tier.t2::before { width: 10px; height: 8px; }
.scale-tier.t3::before { width: 14px; height: 10px; }
.scale-tier.t4::before { width: 18px; height: 12px; }

.scale-name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 19px;
    letter-spacing: -.2px;
}
.scale-desc {
    font-size: 13.5px;
    color: var(--text-2);
    margin-top: 4px;
    line-height: 1.55;
}
.scale-time {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text);
}
.scale-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.scale-chip {
    background: var(--surface-hi);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 11.5px;
    font-family: var(--mono);
}

@media (max-width: 800px) {
    .scale-table thead { display: none; }
    .scale-table, .scale-table tbody, .scale-table tr, .scale-table td {
        display: block;
        width: 100%;
    }
    .scale-table tr {
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }
    .scale-table td { padding: 8px 0; border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════
   STACK - ticker
   ═══════════════════════════════════════════════════════ */
.stack-ticker {
    overflow: hidden;
    margin: 0 -28px;
    padding: 24px 0;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.stack-row {
    display: flex;
    gap: 32px;
    animation: tickScroll 40s linear infinite;
    width: max-content;
}
.stack-row.r2 {
    animation-direction: reverse;
    animation-duration: 50s;
    margin-top: 16px;
    opacity: .55;
}
@keyframes tickScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.stack-pill {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: 36px;
    color: var(--text-2);
    letter-spacing: -1px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}
.stack-pill::after {
    content: '✦';
    color: var(--coral);
    font-size: 16px;
    font-style: normal;
}
.stack-pill:hover { color: var(--coral); }

/* ═══════════════════════════════════════════════════════
   PROJECTS - IDE windows
   ═══════════════════════════════════════════════════════ */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-content: start;
}
@media (max-width: 800px) { .proj-grid { grid-template-columns: 1fr; } }

.proj-window {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    align-self: start;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 32px -20px rgba(0,0,0,.28);
}
.proj-window:hover { border-color: var(--border-hi); transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 28px 54px -24px rgba(0,0,0,.4); }
a.proj-window { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.proj-window .proj-bar::after { content: '↗'; font-size: 13px; color: var(--muted); margin-left: 6px; transition: color .2s; flex-shrink: 0; }
a.proj-window:hover .proj-bar::after { color: var(--coral); }

/* Заблокированные (NDA) карточки — кликабельны, открывают попап */
.proj-window.proj-locked { cursor: pointer; }
.proj-window.proj-locked .proj-bar::after {
    content: '🔒 NDA';
    font-family: var(--mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    letter-spacing: .06em;
    color: var(--muted);
    margin-left: 6px;
    padding: 2px 7px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-1);
    transition: color .2s, border-color .2s;
    flex-shrink: 0;
    white-space: nowrap;
}
.proj-window.proj-locked:hover .proj-bar::after { color: var(--coral); border-color: var(--border-hi); }
.proj-window.proj-locked:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.proj-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bar-tone);
    border-bottom: 1px solid var(--border);
}
.proj-bar .dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-r { background: #ef4444; }
.dot-y { background: #f59e0b; }
.dot-g { background: #22c55e; }

.proj-title {
    margin-left: 8px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-2);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px 12px 5px 28px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8278' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") no-repeat 10px center / 11px;
}
.proj-status {
    font-family: var(--mono);
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: .8px;
}
.status-prod { background: rgba(34,197,94,.12); color: #4ade80; border: 1px solid rgba(34,197,94,.2); }
.status-dev  { background: rgba(245,158,11,.12); color: var(--amber); border: 1px solid rgba(245,158,11,.2); }

.proj-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.proj-cat {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--coral);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.proj-window h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    letter-spacing: -.5px;
    line-height: 1.15;
    margin-bottom: 12px;
}
.proj-window p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 20px;
}
.proj-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.proj-stat-n {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -.5px;
}
.proj-stat-l {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--muted);
    margin-top: 4px;
    letter-spacing: .5px;
}

.proj-tech {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.tech-chip {
    font-family: var(--mono);
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 4px;
    background: rgba(255,246,237,.04);
    color: var(--text-2);
    border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════
   CONTACT - terminal
   ═══════════════════════════════════════════════════════ */
.contact-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
}
.contact-block::before {
    content:'';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(217,119,87,.1), transparent 60%);
    pointer-events: none;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}
@media (max-width: 800px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-block { padding: 36px 24px; }
}

.contact-block h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.contact-block h2 em { font-style: italic; color: var(--coral); }
.contact-block .lead {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 32px;
}

.contact-cli {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px 22px;
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.85;
    color: var(--text-2);
}
.cli-line { display: block; }
.cli-prompt { color: var(--coral); }
.cli-flag   { color: var(--violet); }
.cli-val    { color: #4ade80; }
.cli-out    { color: var(--muted); }

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color .2s, background .2s, transform .2s;
}
.action-row:hover { border-color: var(--border-hi); background: var(--bg-1); transform: translateX(4px); }
.action-key {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.action-val {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}
.action-arrow {
    color: var(--coral);
    transition: transform .2s;
}
.action-row:hover .action-arrow { transform: rotate(-45deg); }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
footer {
    border-top: 1px solid var(--border);
    margin-top: 80px;
}
.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-grid p {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .5px;
}
.footer-logo {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -.5px;
}
.footer-logo span { color: var(--coral); }

/* ── reveal anim ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════
   FEATURED SPOTLIGHT - wide project card
   ═══════════════════════════════════════════════════════ */
.proj-window.wide {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(217,119,87,.04), var(--bg-1) 60%);
    border-color: rgba(217,119,87,.22);
    position: relative;
}
.proj-window.wide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 40% at 100% 0%, rgba(217,119,87,.07), transparent 60%);
    pointer-events: none;
    border-radius: var(--r);
}
.proj-window.wide .proj-body { padding: 38px 36px; }
.proj-window.wide h3 {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 16px;
}
.proj-window h3 em { font-style: italic; color: var(--coral); font-weight: 300; }
.proj-window.wide p {
    font-size: 15px;
    max-width: 95%;
    margin-bottom: 24px;
}
.proj-window.wide .proj-stats { gap: 36px; }
.proj-window.wide .proj-stat-n { font-size: 24px; }
.proj-stats { flex-wrap: wrap; }

/* ── Project screenshot ───────────────────────────── */
.proj-shot {
    display: none;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--surface);
}
.proj-shot::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10,9,8,.14), transparent 6%),
        linear-gradient(118deg, rgba(255,255,255,.10), transparent 32%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.proj-window.wide .proj-shot {
    aspect-ratio: 24 / 9;
}
.proj-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .45s ease;
}
.proj-window:hover .proj-shot img {
    transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
    .proj-shot img { transition: none; }
    .proj-window:hover .proj-shot img { transform: none; }
}

.proj-spotlight {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--amber);
    letter-spacing: 1.5px;
    margin-left: 12px;
    padding: 3px 8px;
    border: 1px solid rgba(245,158,11,.3);
    border-radius: 4px;
    background: rgba(245,158,11,.08);
}

/* ═══════════════════════════════════════════════════════
   MOBILE - comprehensive
   ═══════════════════════════════════════════════════════ */
@media (max-width: 700px) {
    .wrap { padding: 42px 18px; }
    .hero { padding: 96px 18px 16px; }

    .nav { height: 50px; padding: 0 6px 0 16px; top: 12px; width: calc(100% - 24px); }
    .logo { font-size: 19px; }
    .logo-mono { display: none; }
    .nav-cta { font-size: 13px; padding: 6px 4px 6px 14px; gap: 6px; }
    .nav-cta-arrow { width: 22px; height: 22px; }

    .hero-eyebrow { font-size: 11px; padding: 5px 12px 5px 10px; margin-bottom: 22px; }
    .hero h1 { font-size: clamp(40px, 11vw, 64px); letter-spacing: -2px; line-height: .98; margin-bottom: 22px; }
    .hero-sub { font-size: 15.5px; margin-bottom: 32px; }
    .hero-ctas { gap: 10px; margin-bottom: 44px; }
    .btn { padding: 12px 20px; font-size: 14px; }

    .hero-stats { gap: 0; }
    .hstat { padding-right: 14px; }
    .hstat:not(:first-child) { padding-left: 14px; }
    .hstat-n { font-size: 26px; letter-spacing: -1px; }
    .hstat-l { font-size: 10px; }

    .section-meta { font-size: 10px; gap: 12px; margin-bottom: 16px; }
    .section-h { font-size: clamp(28px, 8vw, 44px); letter-spacing: -1px; margin-bottom: 16px; }
    .section-d { font-size: 15px; margin-bottom: 40px; }

    .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
    .b-1, .b-2, .b-3, .b-4, .b-5, .b-6, .b-7 { grid-column: span 1; grid-row: span 1; }
    .b-card { padding: 22px; min-height: 0; }
    .b-card .terminal-mock, .b-card .code-mock { margin-top: 14px; height: auto; }
    .metric-num { font-size: 44px; }

    .pipeline-board { padding: 28px 18px; }
    .pipe-track { grid-template-columns: 1fr; gap: 12px; }
    .pipe-stage:not(:last-child)::after, .pipe-stage:not(:last-child)::before { display: none; }

    .stack-pill { font-size: 22px; gap: 20px; }
    .stack-pill::after { font-size: 12px; }
    .stack-ticker { padding: 16px 0; margin: 0 -18px; }

    .scale-table th, .scale-table td { padding: 14px 18px; }

    .proj-window.wide { grid-column: span 1; }
    .proj-window.wide .proj-body { padding: 24px 22px; }
    .proj-window.wide h3 { font-size: 22px; }
    .proj-window.wide p { font-size: 14px; }
    .proj-window.wide .proj-stats { gap: 16px; }
    .proj-body { padding: 22px; }
    .proj-window h3 { font-size: 21px; }
    .proj-stats { gap: 16px; padding: 12px 0; }
    .proj-stat-n { font-size: 18px; }
    .proj-bar { padding: 10px 14px; }
    .proj-title { font-size: 11px; }
    .proj-spotlight { display: none; }

    .contact-block { padding: 32px 22px; }
    .contact-block h2 { font-size: clamp(26px, 7vw, 36px); margin-bottom: 14px; }
    .contact-block .lead { font-size: 15px; margin-bottom: 22px; }
    .contact-cli { padding: 16px; font-size: 12px; }
    .action-row { padding: 14px 16px; }
    .action-val { font-size: 14px; }

    footer { margin-top: 56px; }
    .footer-grid { padding: 30px 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 38px; letter-spacing: -1.5px; }
    .hstat-n { font-size: 22px; }
    .hstat-l { font-size: 9px; letter-spacing: .3px; }
    .stack-pill { font-size: 19px; gap: 16px; }
    .stack-pill::after { font-size: 11px; }
    .b-card h3 { font-size: 18px; }
    .scale-tier { font-size: 11px; }
    .scale-name { font-size: 17px; }
}

/* ═══════════════════════════════════════════════════════
   CHAOS EASTER EGG
   ═══════════════════════════════════════════════════════ */

.hero-eyebrow { cursor: pointer; user-select: none; }

#chaosOverlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(10 9 8 / 55%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transition: opacity .4s ease;
    padding: 24px;
    box-sizing: border-box;
    cursor: auto;
}
#chaosOverlay.chaos-visible { opacity: 1; }

/* broken modal */
.chaos-modal { text-align: center; max-width: 400px; width: 100%; }
.chaos-skull  { font-size: 72px; line-height: 1; margin-bottom: 12px; display: block; }
.chaos-err    {
    font-family: var(--mono); font-size: 10px;
    color: #ffd600; letter-spacing: 2.5px; text-transform: uppercase;
    margin-bottom: 14px;
}
.chaos-title  {
    font-family: var(--serif); font-size: clamp(28px, 8vw, 42px);
    font-weight: 400; color: #ffffff; line-height: 1.15;
    letter-spacing: -1px; margin-bottom: 12px;
}
.chaos-hint   { font-size: 14px; color: #ffffff; margin-bottom: 36px; line-height: 1.5; }
.chaos-btn    {
    background: var(--coral); color: #fff; border: none;
    border-radius: var(--r-sm); padding: 14px 36px;
    font-family: var(--mono); font-size: 13px; letter-spacing: .5px;
    cursor: pointer; transition: background .2s, transform .15s;
}
.chaos-btn:hover  { background: var(--coral-hi); transform: translateY(-2px); }
.chaos-btn:active { transform: translateY(1px); }

/* repair terminal */
.chaos-terminal {
    width: min(560px, 96vw);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.chaos-term-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    background: var(--bar-tone);
    border-bottom: 1px solid var(--border);
}
.chaos-term-label {
    flex: 1; text-align: center;
    font-family: var(--mono); font-size: 11px; color: var(--muted);
    margin-left: 6px;
}
.chaos-term-body {
    padding: 16px 20px;
    font-family: var(--mono); font-size: 12px; line-height: 1.85;
    color: var(--text-2);
    height: 240px; overflow-y: auto; scroll-behavior: smooth;
}
@media (max-width: 480px) { .chaos-term-body { height: 200px; font-size: 11px; } }
.chaos-term-body::-webkit-scrollbar { width: 3px; }
.chaos-term-body::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
.chaos-line { opacity: 0; transform: translateX(-6px); transition: opacity .18s, transform .18s; }
.chaos-line.chaos-in { opacity: 1; transform: none; }
.chaos-line.chaos-ok  { color: #4ade80; }
.chaos-line.chaos-cmd { color: var(--text); }
.chaos-line.chaos-warn { color: var(--amber); }
.chaos-progress-wrap { height: 3px; background: var(--border); }
.chaos-progress {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--coral), var(--teal));
}

/* ═══ draw band — мы рисуем ═══ */
.draw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 36px;
}
.draw-cell {
    position: relative;
    margin: 0;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 1 / 1;
    background: var(--surface);
}
.draw-cell img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.2,.8,.3,1);
}
.draw-cell:hover img { transform: scale(1.05); }
.draw-cell figcaption {
    position: absolute;
    left: 12px; bottom: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .5px;
    color: #fff;
    background: rgba(10,9,8,.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.14);
}
@media (prefers-reduced-motion: reduce) { .draw-cell:hover img { transform: none; } }
@media (max-width: 900px) { .draw-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ═══ estimate calculator modal ═══ */
.calc-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.calc-modal.is-open { display: block; }
.calc-backdrop { position: absolute; inset: 0; background: rgba(10,9,8,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.calc-dialog {
    position: relative; max-width: 600px; margin: 4vh auto; max-height: 92vh; overflow-y: auto;
    background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 30px 30px 26px; box-shadow: 0 40px 110px rgba(0,0,0,.55);
}
.calc-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; transition: color .15s; }
.calc-close:hover { color: var(--coral); }
.calc-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .5px; color: var(--coral); margin-bottom: 8px; }
.calc-title { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.5px; margin-bottom: 8px; }
.calc-title em { font-style: italic; color: var(--coral); }
.calc-lede { font-size: 14px; color: var(--text-2); line-height: 1.5; margin-bottom: 22px; }
.calc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.calc-step { border: none; padding: 0; margin: 0 0 18px; }
.calc-step legend { font-family: var(--mono); font-size: 11px; color: var(--coral); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.calc-opts { display: grid; gap: 8px; }
.calc-products { grid-template-columns: 1fr 1fr; }
.calc-scale { grid-template-columns: 1fr 1fr 1fr; }
.calc-addons { grid-template-columns: 1fr 1fr; }
.calc-opts label { position: relative; display: flex; cursor: pointer; }
.calc-opts input { position: absolute; opacity: 0; pointer-events: none; }
.calc-opts label > span { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: 13.5px; color: var(--text); transition: border-color .15s, background .15s; }
.calc-opts label > span b { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--muted); }
.calc-opts input:checked + span { border-color: var(--coral); background: rgba(217,119,87,.09); }
.calc-opts input:checked + span b { color: var(--coral); }
.calc-opts input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 1px; }
.calc-result { margin: 6px 0 18px; padding: 16px 18px; border-radius: 12px; background: rgba(217,119,87,.08); border: 1px solid rgba(217,119,87,.25); }
.calc-result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-result-row + .calc-result-row { margin-top: 8px; }
.calc-result-label { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.calc-result-val { font-family: var(--serif); font-size: 25px; line-height: 1; color: var(--text); letter-spacing: -.5px; text-align: right; }
.calc-result-term { font-family: var(--serif); font-size: 18px; color: var(--coral); }
.calc-result-note { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.calc-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-field label { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.calc-field input { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font-family: var(--sans); font-size: 14px; }
.calc-field input:focus { outline: none; border-color: var(--coral); }
.calc-submit { width: 100%; margin-top: 14px; padding: 14px; border: none; border-radius: 100px; background: var(--coral); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s; }
.calc-submit:hover { background: var(--coral-hi); }
.calc-submit:disabled { opacity: .6; cursor: default; }
.calc-hint { font-size: 11px; color: var(--muted); margin-top: 12px; line-height: 1.45; text-align: center; }
.calc-success { text-align: center; padding: 30px 10px; }
.calc-success-ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: rgba(217,119,87,.12); color: var(--coral); display: grid; place-items: center; font-size: 26px; }
.calc-success h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 8px; }
.calc-success p { font-size: 14px; color: var(--text-2); line-height: 1.5; margin-bottom: 20px; }
.calc-ghost { padding: 11px 24px; border: 1px solid var(--border); border-radius: 100px; background: none; color: var(--text); font-family: var(--sans); font-size: 14px; cursor: pointer; }
.calc-ghost:hover { border-color: var(--coral); }

/* ═══ NDA modal ═══ */
.nda-dialog { max-width: 460px; text-align: left; }
.nda-lock {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bar-tone);
    color: var(--coral);
    margin-bottom: 18px;
}
.nda-note { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: -8px 0 24px; }
.nda-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nda-actions .calc-submit { flex: 1 1 auto; }
@media (max-width: 560px) {
    .nda-actions { flex-direction: column; }
    .nda-actions .calc-ghost { width: 100%; }

    .calc-modal { overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .calc-dialog { margin: 0; min-height: 100%; max-height: none; border-radius: 0; padding: 24px 18px 48px; }
    .calc-products, .calc-addons, .calc-contact { grid-template-columns: 1fr; }
    .calc-title { font-size: 24px; }
    .calc-close { top: 14px; right: 14px; }
}

/* ═══ custom scrollbars ═══ */
* { scrollbar-width: thin; scrollbar-color: var(--muted-2) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--muted-2);
    border-radius: 100px;
    border: 3px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--coral); background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }

/* ── CTA STRIP ─────────────────────────────────────── */
.cta-strip {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.cta-strip-text { flex: 1; min-width: 0; }
.cta-strip-h {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.15;
    letter-spacing: -.4px;
    margin-bottom: 5px;
}
.cta-strip-h em { font-style: italic; color: var(--coral); }
.cta-strip-sub { font-size: 14px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 780px) {
    .cta-strip { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
    .cta-strip .btn { width: 100%; justify-content: center; }
}

/* ── CONTACT MODAL extras ───────────────────────────── */
.calc-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.calc-field--full { grid-column: 1 / -1; }
.calc-field textarea {
    width: 100%; padding: 12px 14px; font-size: 14px; font-family: var(--sans);
    border: 1px solid var(--border); border-radius: 10px;
    background: var(--surface); color: var(--text);
    resize: vertical; min-height: 80px;
    transition: border-color .15s;
}
.calc-field textarea:focus { border-color: var(--coral); outline: none; }
.calc-field textarea::placeholder { color: var(--muted); }
@media (max-width: 600px) { .calc-contact { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   NAV DROPDOWN (Тарифы)
   ═══════════════════════════════════════════════════════ */

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-2);
    background: none;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.nav-dropdown-toggle:hover { background: var(--surface); color: var(--text); }
.nav-dropdown-arrow {
    transition: transform .2s;
    flex-shrink: 0;
}
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--dropdown-bg);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid var(--border-hi);
    border-radius: 18px;
    padding: 6px;
    min-width: 180px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s, visibility .18s, transform .18s;
    pointer-events: none;
    z-index: 200;
    box-shadow: 0 4px 10px rgba(0,0,0,.06), 0 24px 48px -20px rgba(0,0,0,.45);
}
/* Невидимый «мостик» через зазор между кнопкой и меню — курсор не теряет hover */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -8px;
    right: -8px;
    height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text-2);
    border-radius: 100px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--surface); color: var(--text); }

/* Mobile drawer label */
.nav-drawer-group-label {
    padding: 10px 14px 4px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--muted);
    text-transform: uppercase;
}

/* Nav dropdown group labels and separators */
.nav-dropdown-group {
    padding: 6px 14px 2px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--muted);
    text-transform: uppercase;
    pointer-events: none;
}
.nav-dropdown-sep {
    height: 1px;
    background: var(--border);
    margin: 4px 8px;
}
