@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-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: 100 900;
    font-display: swap;
    src: url("../fonts/inter-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: 100 900;
    font-display: swap;
    src: url("../fonts/inter-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 {
    --bg: #100e0c;
    --surface: #1c1916;
    --surface-muted: #15120f;
    --surface-tint: #2a1d12;

    --ink: #f6f1e9;
    --ink-soft: #cfc6ba;
    --ink-muted: #9d9387;
    --ink-faint: #6f675c;
    --line: #322c26;
    --line-soft: #262019;

    --brand-50: #2a1c11;
    --brand-100: #4a3320;
    --brand: #f97316;
    --brand-strong: #ea580c;
    --brand-deep: #fdba74;
    --brand-night: #080706;

    --accent-50: #281d0d;
    --accent: #f59e0b;
    --accent-strong: #fbbf24;

    --spark: #f59e0b;

    --r-xs: 8px;
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(28, 20, 16, 0.06);
    --shadow-sm: 0 2px 8px -2px rgba(28, 20, 16, 0.10), 0 1px 2px rgba(28, 20, 16, 0.05);
    --shadow-md: 0 14px 32px -14px rgba(28, 20, 16, 0.20);
    --shadow-lg: 0 30px 60px -22px rgba(124, 45, 18, 0.28);
    --shadow-brand: 0 16px 34px -12px rgba(249, 115, 22, 0.42);
    --shadow-accent: 0 16px 34px -12px rgba(217, 119, 6, 0.40);

    --ring: 0 0 0 4px rgba(249, 115, 22, 0.20);

    --container: 1180px;
    --gutter: clamp(1.1rem, 4vw, 2.5rem);
    --section-y: clamp(3.5rem, 8vw, 6.5rem);

    --font: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--ink-soft);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 800;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.2rem, 1.3rem + 3.9vw, 3.65rem);
}

h2 {
    font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem);
}

h3 {
    font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem);
    font-weight: 700;
}

p {
    text-wrap: pretty;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--r-xs);
}

::selection {
    background: var(--brand-100);
    color: var(--brand-deep);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: clamp(2.5rem, 6vw, 4rem);
}

.section-head {
    max-width: 44rem;
    margin-inline: auto;
    text-align: center;
    margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.section-head--left {
    margin-inline: 0;
    text-align: left;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    padding: 0.4rem 0.85rem;
    border-radius: var(--r-pill);
    margin-bottom: 1.1rem;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.section-head p {
    margin-top: 0.9rem;
    font-size: 1.075rem;
    color: var(--ink-muted);
}

.text-gradient {
    background: linear-gradient(105deg, var(--brand) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
