@font-face {
    font-family: "Lexend";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/lexend/lexend-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: "Lexend";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/lexend/lexend-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: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist/geist-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist/geist-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: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist/geist-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;
}
:root {
    color-scheme: dark;
    --bg: #000000;
    --bg-soft: #020203;
    --bg-strong: #06070a;
    --line: #13151a;
    --line-subtle: #0c0e12;
    --text: #f1f3f7;
    --text-secondary: #cfd4dd;
    --muted: #a1a7b2;
    --brand-rgb: 63, 56, 82;
    --brand-strong-rgb: 86, 77, 112;
    --brand: #3f3852;
    --brand-strong: #564d70;
    --brand-dim: rgba(63, 56, 82, 0.16);
    --brand-soft: rgba(63, 56, 82, 0.28);
    --brand-contrast: #f1f3f7;
    --interactive-hover-bg: #1e1e24;
    --interactive-hover-line: #2a2a32;
    --overlay-scrim: rgba(7, 6, 5, 0.78);
    --surface-inline-bg: rgba(255, 255, 255, 0.035);
    --search-offer-bg: linear-gradient(
        135deg,
        #211a31 0%,
        #171223 52%,
        #120f1b 100%
    );
    --search-offer-bg-active: linear-gradient(
        135deg,
        #2a2140 0%,
        #1b1528 52%,
        #14101d 100%
    );
    --search-offer-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(var(--brand-rgb), 0.08);
    --search-offer-shadow-active:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(var(--brand-rgb), 0.16);
    --service-offer-bg: linear-gradient(
        135deg,
        #1a1d24 0%,
        #141619 52%,
        #111214 100%
    );
    --service-offer-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(var(--brand-rgb), 0.08);
    --search-offer-title: #bcaeea;
    --search-offer-icon: #9f8bd8;
    --search-offer-accent: #9f8bd8;
    --search-offer-accent-strong: #bcaeea;
    --cap-card-bg: linear-gradient(135deg, #381b20 0%, #1e1114 100%);
    --cap-card-border: rgba(179, 107, 114, 0.34);
    --cap-card-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 0 1px rgba(179, 107, 114, 0.08);
    --cap-card-icon: #e2bcc0;
    --success-fg: #d7ecd8;
    --success-fg-strong: #b5dcc2;
    --warning-fg: #e2b087;
    --paper-shell-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    --grain-accent-rgb: 20, 18, 28;
    --grain-ambient-opacity: 0.055;
    --grain-surface-opacity: 0.065;
    --grain-paper-opacity: 0.092;
    --grain-ambient-blend: lighten;
    --grain-surface-blend: screen;
    --grain-paper-blend: multiply;
    --grain-size: 512px auto;
    --grain-ambient-filter: none;
    --grain-surface-filter: none;
    --grain-paper-filter: none;
    --text-muted: #999999;
    --page-scale: 0.9;
    --ok: #93bc9f;
    --bad: #c07c84;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

:root[data-theme="light"] {
    color-scheme: light;
    --bg: #f3f0eb;
    --bg-soft: #faf9f6;
    --bg-strong: #ebe8e3;
    --line: #d8cfbf;
    --line-subtle: #e8dfd1;
    --text: #241f19;
    --text-secondary: #5e554a;
    --muted: #7b7267;
    --brand-rgb: 255, 154, 92;
    --brand-strong-rgb: 239, 135, 71;
    --brand: #ff9a5c;
    --brand-strong: #ef8747;
    --brand-dim: rgba(255, 154, 92, 0.16);
    --brand-soft: rgba(255, 154, 92, 0.24);
    --brand-contrast: #fffaf4;
    --interactive-hover-bg: #e8dfd2;
    --interactive-hover-line: #cfc4b3;
    --overlay-scrim: rgba(74, 60, 42, 0.24);
    --surface-inline-bg: rgba(102, 86, 59, 0.06);
    --search-offer-bg: linear-gradient(
        135deg,
        #fff0e5 0%,
        #fbe6d7 52%,
        #f5dbc8 100%
    );
    --search-offer-bg-active: linear-gradient(
        135deg,
        #ffe7d5 0%,
        #f8dcc8 52%,
        #f1cfb8 100%
    );
    --search-offer-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        0 0 0 1px rgba(var(--brand-rgb), 0.08);
    --search-offer-shadow-active:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 0 0 1px rgba(var(--brand-rgb), 0.14);
    --service-offer-bg: linear-gradient(
        135deg,
        #fff2e8 0%,
        #f6e5d8 52%,
        #ecd8c8 100%
    );
    --service-offer-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 0 0 1px rgba(var(--brand-rgb), 0.08);
    --search-offer-title: #b35f2f;
    --search-offer-icon: #d97439;
    --search-offer-accent: #d97439;
    --search-offer-accent-strong: #b35f2f;
    --cap-card-bg: linear-gradient(135deg, #f1dfdd 0%, #e9d3d1 100%);
    --cap-card-border: rgba(179, 107, 114, 0.28);
    --cap-card-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 0 0 1px rgba(179, 107, 114, 0.06);
    --cap-card-icon: #a86f77;
    --success-fg: #416b4f;
    --success-fg-strong: #315a40;
    --warning-fg: #8b5d3e;
    --paper-shell-shadow:
        0 10px 24px rgba(85, 63, 35, 0.08), 0 1px 2px rgba(85, 63, 35, 0.05);
    --grain-accent-rgb: 20, 18, 28;
    --grain-ambient-opacity: 0;
    --grain-surface-opacity: 0;
    --grain-paper-opacity: 0;
    --grain-ambient-blend: normal;
    --grain-surface-blend: normal;
    --grain-paper-blend: multiply;
    --grain-size: 320px auto;
    --grain-ambient-filter: contrast(235%) brightness(46%);
    --grain-surface-filter: contrast(220%) brightness(52%);
    --grain-paper-filter: contrast(190%) brightness(62%);
    --text-muted: #746b60;
    --shadow-sm: 0 1px 2px rgba(85, 63, 35, 0.12);
    --shadow-md: 0 8px 20px rgba(85, 63, 35, 0.12);
    --shadow-lg: 0 18px 40px rgba(85, 63, 35, 0.16);
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        color-scheme: light;
        --bg: #f3f0eb;
        --bg-soft: #faf9f6;
        --bg-strong: #ebe8e3;
        --line: #d8cfbf;
        --line-subtle: #e8dfd1;
        --text: #241f19;
        --text-secondary: #5e554a;
        --muted: #7b7267;
        --brand-rgb: 255, 154, 92;
        --brand-strong-rgb: 239, 135, 71;
        --brand: #ff9a5c;
        --brand-strong: #ef8747;
        --brand-dim: rgba(255, 154, 92, 0.16);
        --brand-soft: rgba(255, 154, 92, 0.24);
        --brand-contrast: #fffaf4;
        --interactive-hover-bg: #e8dfd2;
        --interactive-hover-line: #cfc4b3;
        --overlay-scrim: rgba(74, 60, 42, 0.24);
        --surface-inline-bg: rgba(102, 86, 59, 0.06);
        --search-offer-bg: linear-gradient(
            135deg,
            #fff0e5 0%,
            #fbe6d7 52%,
            #f5dbc8 100%
        );
        --search-offer-bg-active: linear-gradient(
            135deg,
            #ffe7d5 0%,
            #f8dcc8 52%,
            #f1cfb8 100%
        );
        --search-offer-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.48),
            0 0 0 1px rgba(var(--brand-rgb), 0.08);
        --search-offer-shadow-active:
            inset 0 1px 0 rgba(255, 255, 255, 0.58),
            0 0 0 1px rgba(var(--brand-rgb), 0.14);
        --service-offer-bg: linear-gradient(
            135deg,
            #fff2e8 0%,
            #f6e5d8 52%,
            #ecd8c8 100%
        );
        --service-offer-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.42),
            0 0 0 1px rgba(var(--brand-rgb), 0.08);
        --search-offer-title: #b35f2f;
        --search-offer-icon: #d97439;
        --search-offer-accent: #d97439;
        --search-offer-accent-strong: #b35f2f;
        --cap-card-bg: linear-gradient(135deg, #f1dfdd 0%, #e9d3d1 100%);
        --cap-card-border: rgba(179, 107, 114, 0.28);
        --cap-card-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.45),
            0 0 0 1px rgba(179, 107, 114, 0.06);
        --cap-card-icon: #a86f77;
        --success-fg: #416b4f;
        --success-fg-strong: #315a40;
        --warning-fg: #8b5d3e;
        --paper-shell-shadow:
            0 10px 24px rgba(85, 63, 35, 0.08), 0 1px 2px rgba(85, 63, 35, 0.05);
        --grain-accent-rgb: 20, 18, 28;
        --grain-ambient-opacity: 0;
        --grain-surface-opacity: 0;
        --grain-paper-opacity: 0;
        --grain-ambient-blend: normal;
        --grain-surface-blend: normal;
        --grain-paper-blend: multiply;
        --grain-size: 320px auto;
        --grain-ambient-filter: contrast(235%) brightness(46%);
        --grain-surface-filter: contrast(220%) brightness(52%);
        --grain-paper-filter: contrast(190%) brightness(62%);
        --text-muted: #746b60;
        --shadow-sm: 0 1px 2px rgba(85, 63, 35, 0.12);
        --shadow-md: 0 8px 20px rgba(85, 63, 35, 0.12);
        --shadow-lg: 0 18px 40px rgba(85, 63, 35, 0.16);
    }
}
