/* Self-hosted fonts (T7 perf run) — Geologica / Golos Text / JetBrains Mono,
   cyrillic+latin subsets, font-display:swap. Replaces Google Fonts CDN. */
@font-face{font-family:'Geologica';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/geologica-400-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:'Geologica';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/geologica-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Geologica';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/geologica-400-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:'Geologica';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/geologica-400-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:'Geologica';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/geologica-500-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:'Geologica';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/geologica-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Geologica';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/geologica-500-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:'Geologica';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/geologica-500-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:'Geologica';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/geologica-600-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:'Geologica';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/geologica-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Geologica';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/geologica-600-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:'Geologica';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/geologica-600-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:'Geologica';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/geologica-700-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:'Geologica';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/geologica-700.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Geologica';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/geologica-700-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:'Geologica';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/geologica-700-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:'Golos Text';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/golos-text-400-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:'Golos Text';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/golos-text-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/golos-text-400-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:'Golos Text';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/golos-text-400-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:'Golos Text';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/golos-text-500-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:'Golos Text';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/golos-text-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/golos-text-500-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:'Golos Text';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/golos-text-500-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:'Golos Text';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/golos-text-600-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:'Golos Text';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/golos-text-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/golos-text-600-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:'Golos Text';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/golos-text-600-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:'Golos Text';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/golos-text-700-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:'Golos Text';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/golos-text-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/golos-text-700-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:'Golos Text';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/golos-text-700-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-400-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-400-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-400-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-400-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-500-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-500-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-500-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-500-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;}

/* =========================================================================
   Mikekarni AI Agents — Dark Techno Trust
   Theme: teya-generated-site  ·  Project: mikekarni  ·  aiworkagents.ru
   Built by Aurora (THEME BASE) strictly from AURADESIGN tokens.

   Layers:
     1. Design tokens (CSS custom properties)  — AURADESIGN front matter
     2. Reset / base
     3. Layout (container 1200 / 12-col / gutter 24)
     4. Typography (Geologica display / Golos Text body / JetBrains Mono accent)
     5. Components (buttons, cards, badges, market-stat, process node, inputs, header,
        footer, cookie-banner, focus states)
     6. Section rhythm + non-rectangular transition helpers
     7. Responsive (375 / 768 / 1440) + reduced-motion
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
	/* Brand / CTA — warm gold (reserved: CTA + key accents only) */
	--color-primary: #E0A93C;
	--color-primary-hover: #C9942B;
	--color-on-primary: #141C2B;

	/* Secondary — soft teal */
	--color-secondary: #2BB8A3;
	--color-secondary-hover: #229987;
	--color-on-secondary: #0C1320;

	/* Tertiary — soft green (trust/success only) */
	--color-tertiary: #4FB477;
	--color-on-tertiary: #0C1320;

	/* Dark techno base */
	--color-bg: #0F1622;
	--color-on-bg: #E8ECF2;

	/* Light base (longread sections) */
	--color-bg-light: #F6F8FB;
	--color-on-bg-light: #15202E;

	/* Dark surfaces (elevation by tone) */
	--surface-lowest: #141C2B;
	--surface-low: #1C2737;
	--surface-container: #22304A;
	--surface-high: #2C3D5C;

	/* Light surfaces */
	--surface-light-lowest: #FFFFFF;
	--surface-light-low: #EEF2F8;

	/* Borders */
	--outline: #3A4B68;
	--outline-variant: #26344C;
	--outline-light: #D5DEEA;

	/* Muted text */
	--muted: #9AA9BE;
	--muted-light: #5A6B82;

	/* On-light accessible accent tokens (REQUIRED build-condition 1, AA on light) */
	--color-teal-on-light: #18786B;   /* 5.01:1 PASS AA */
	--color-green-on-light: #2E7D4F;  /* 4.74:1 PASS AA */
	--color-gold-on-light: #9A6F12;   /* 4.24:1 PASS AA large */

	/* Signals */
	--color-error: #E5564B;
	--color-on-error: #FFFFFF;

	/* Typography families */
	--font-display: "Geologica", system-ui, "Segoe UI", Arial, sans-serif;
	--font-body: "Golos Text", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	/* Type scale */
	--fs-display-xl: 56px;
	--fs-display-lg: 44px;
	--fs-headline-md: 30px;
	--fs-headline-sm: 21px;
	--fs-body-lg: 19px;
	--fs-body-md: 16px;
	--fs-body-sm: 14px;
	--fs-label: 15px;
	--fs-eyebrow: 13px;
	--fs-mono: 14px;

	/* Radii (soft / human techno) */
	--radius-sm: 8px;
	--radius: 12px;
	--radius-md: 16px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--radius-pill: 9999px;

	/* Spacing (8px grid) */
	--space-xs: 4px;
	--space-sm: 12px;
	--space-md: 24px;
	--space-lg: 40px;
	--space-xl: 64px;
	--space-xxl: 96px;
	--gutter: 24px;
	--container-max: 1200px;
	--container-narrow: 760px;
	--section-y: 112px;
	--header-h: 72px;

	/* Shadows / glows */
	--shadow-card-light: 0 8px 24px rgba(20, 28, 43, 0.08);
	--shadow-card-light-hover: 0 14px 36px rgba(20, 28, 43, 0.12);
	--glow-gold: 0 0 0 1px rgba(224, 169, 60, 0.25), 0 12px 40px rgba(224, 169, 60, 0.18);
	--glow-teal: 0 0 0 1px rgba(43, 184, 163, 0.25), 0 12px 40px rgba(43, 184, 163, 0.15);
	--shadow-elevated-dark: 0 18px 50px rgba(0, 0, 0, 0.45);
	--shadow-card-dark-hover: 0 14px 32px rgba(0, 0, 0, 0.38);

	/* Motion */
	--ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
	--dur-fast: 160ms;
	--dur-base: 240ms;
	--dur-slow: 400ms;

	/* Non-rectangular transition controls (overridden per breakpoint) */
	--wave-amp: 36px;
	--cut-deg: 4deg;
	--fade-h: 80px;
}

/* -------------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

/* Anchors must not dive under the fixed header (T3 3.2 / E §5.2) */
[id] {
	scroll-margin-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body-md);
	line-height: 1.65;
	color: var(--color-on-bg);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	padding-top: var(--header-h);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-secondary);
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease-standard);
}

a:hover {
	color: var(--color-secondary-hover);
	text-decoration: underline;
}

button {
	font-family: inherit;
	cursor: pointer;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

p {
	margin: 0 0 var(--space-md);
}

/* Screen-reader-only + skip link */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--color-primary);
	color: var(--color-on-primary);
	font-weight: 600;
	border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
	left: 0;
}

/* -------------------------------------------------------------------------
   3. LAYOUT
   ------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: var(--container-narrow);
}

.site-main {
	min-height: 50vh;
}

.section {
	padding-block: var(--section-y);
}

/* Alternating dark/light rhythm helpers */
.section--dark {
	background: var(--color-bg);
	color: var(--color-on-bg);
}

.section--light {
	background: var(--color-bg-light);
	color: var(--color-on-bg-light);
}

.grid {
	display: grid;
	gap: var(--gutter);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* -------------------------------------------------------------------------
   4. TYPOGRAPHY
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	margin: 0 0 var(--space-md);
	color: inherit;
}

h1 {
	font-size: var(--fs-display-lg);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.is-front-page h1,
h1.display-xl {
	font-size: var(--fs-display-xl);
	line-height: 1.1;
}

h2 {
	font-size: var(--fs-headline-md);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

h3 {
	font-size: var(--fs-headline-sm);
	font-weight: 600;
	line-height: 1.25;
}

.lead,
.body-lg {
	font-size: var(--fs-body-lg);
	line-height: 1.6;
}

.body-sm {
	font-size: var(--fs-body-sm);
	line-height: 1.55;
}

/* text-wrap: balanced headings, tidy trailing lines in leads/captions (T3 3.7 / E §2.2) */
h1, h2, h3, .card__title, .audit-tool__title { text-wrap: balance; }
.lead, .card__text, .home-hero__cta-note, figcaption,
.market-stat__label, .audit-tool__vtext { text-wrap: pretty; }

/* tabular-nums: numbers don't jiggle layout (T3 3.8 / E §2.3) */
.tnum,
.market-stat__number,
.home-pricing__num,
.info-tier__range,
.header-phone__num,
.btn--phone,
.audit-tool__score b {
	font-variant-numeric: tabular-nums lining-nums;
}

.eyebrow {
	display: inline-block;
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.section--light .eyebrow {
	color: var(--muted-light);
}

.mono,
.mono-accent {
	font-family: var(--font-mono);
	font-size: var(--fs-mono);
	font-weight: 500;
	letter-spacing: 0.02em;
}

/* On-light accent text (accessible variants) */
.section--light a,
.text-accent-on-light {
	color: var(--color-teal-on-light);
}

.section--light a:hover {
	color: var(--color-teal-on-light);
}

/* T16 F-3 — залитые кнопки внутри светлой секции сохраняют СВОЙ цвет текста.
   Правило `.section--light a` выше имеет специфичность 0,1,1 и перебивало
   `.btn--primary` / `.btn--phone` (0,1,0): у ссылки-кнопки текст становился
   тёмно-бирюзовым #18786B поверх золотой заливки #E0A93C — контраст 2.52:1
   (пересчёт по WCAG 2.1, подтверждён ревью R1; в первой редакции комментария
   стояло ошибочное 2.33:1), мимо и 4.5:1, и 3:1. Заливка кнопки сама задаёт фон, поэтому цвет текста
   берём из её собственного токена, а не из «ссылки на светлом».
   Найдено live-аудитом T16 на /contacts/ #co-02 (.info-contact__btn). */
.section--light a.btn--primary,
.section--light a.btn--primary:hover,
.section--light a.btn--phone,
.section--light a.btn--phone:hover {
	color: var(--color-on-primary);   /* #141C2B на #E0A93C = 8.05:1 */
}

/* T16 F-4: правило `.section--light a.btn--telegram` удалено — оно не матчило
   ни одного элемента (в светлых секциях `.btn--telegram` не встречается) и было
   добавлено в F-3 «на будущее». Находка M-3 ревью R1. Если бирюзовая кнопка
   когда-нибудь появится в светлой секции, правило вернуть по образцу выше. */

/* -------------------------------------------------------------------------
   5. COMPONENTS
   ------------------------------------------------------------------------- */

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 14px 28px;
	font-family: var(--font-body);
	font-size: var(--fs-label);
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	text-decoration: none;
	transition-property: background-color, transform, box-shadow, border-color, color;
	transition-duration: var(--dur-fast);
	transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.btn:hover {
	text-decoration: none;
}

.btn--primary {
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.btn--primary:hover {
	background: var(--color-primary-hover);
	color: var(--color-on-primary);
	transform: translateY(-2px);
	box-shadow: var(--glow-gold);
}

.btn--secondary {
	background: transparent;
	color: var(--color-on-bg);
	border-color: var(--outline);
}

.btn--secondary:hover {
	color: var(--color-secondary);
	border-color: var(--color-secondary);
	background: rgba(43, 184, 163, 0.10);
	transform: translateY(-2px);
}

.section--light .btn--secondary {
	color: var(--color-on-bg-light);
	border-color: var(--outline-light);
}

.section--light .btn--secondary:hover {
	color: var(--color-teal-on-light);
	border-color: var(--color-teal-on-light);
	background: rgba(24, 120, 107, 0.08);
}

.btn--telegram {
	background: var(--color-secondary);
	color: var(--color-on-secondary);
}

.btn--telegram:hover {
	background: var(--color-secondary-hover);
	color: var(--color-on-secondary);
	transform: translateY(-2px);
}

/* Header CTA: both buttons turquoise, identical size (overrides global gold primary only inside the header) */
.site-header__cta .btn {
	min-height: 48px;
	padding: 12px 26px;
	white-space: nowrap;
}

.site-header__cta .btn--primary {
	background: var(--color-secondary);
	color: var(--color-on-secondary);
}

.site-header__cta .btn--primary:hover {
	background: var(--color-secondary-hover);
	color: var(--color-on-secondary);
	transform: translateY(-2px);
	box-shadow: var(--glow-teal);
}

.btn:active,
.site-header__cta .btn:active {
	transform: translateY(0) scale(0.97);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	transition-duration: 60ms;
}

.btn[disabled],
.btn[aria-disabled="true"] {
	opacity: 0.4;
	pointer-events: none;
	cursor: not-allowed;
}

/* Cards */
.card {
	border-radius: var(--radius-lg);
	padding: var(--space-md);
	transition: transform var(--dur-base) var(--ease-standard),
		border-color var(--dur-base) var(--ease-standard),
		box-shadow var(--dur-base) var(--ease-standard);
}

.card--product {
	background: var(--surface-lowest);
	border: 1px solid var(--outline);
	color: var(--color-on-bg);
}

.card--product:hover {
	border-color: var(--color-primary);
	transform: translateY(-4px);
	box-shadow: var(--shadow-card-dark-hover);
}

.card--light,
.card--direction {
	background: var(--surface-light-lowest);
	border: 1px solid var(--outline-light);
	color: var(--color-on-bg-light);
	box-shadow: var(--shadow-card-light);
}

.card--light:hover,
.card--direction:hover {
	box-shadow: var(--shadow-card-light-hover);
	transform: translateY(-4px);
}

.card__icon {
	width: 96px;
	height: 96px;
	object-fit: contain;
	margin-bottom: var(--space-sm);
}

.card__title {
	font-size: var(--fs-headline-sm);
	margin-bottom: var(--space-xs);
}

.card__text {
	font-size: var(--fs-body-sm);
	color: var(--muted);
}

.section--light .card__text {
	color: var(--muted-light);
}

/* Trust badge */
.badge-trust {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-tertiary);
	background: rgba(79, 180, 119, 0.12);
	border: 1px solid rgba(79, 180, 119, 0.35);
	border-radius: var(--radius-pill);
}

.section--light .badge-trust {
	color: var(--color-green-on-light);
}

/* Market stat (number "по данным рынка") */
.market-stat__number {
	font-family: var(--font-display);
	font-size: var(--fs-display-lg);
	font-weight: 700;
	color: var(--color-primary);
	line-height: 1.1;
}

.section--light .market-stat__number {
	/* On light, do not rely on gold as readable text: use dark ink (AA) */
	color: var(--color-on-bg-light);
}

.market-stat__label {
	color: var(--muted);
	font-size: var(--fs-body-md);
}

.section--light .market-stat__label {
	color: var(--muted-light);
}

.market-stat__disclaimer {
	font-family: var(--font-mono);
	font-size: var(--fs-mono);
	color: var(--muted);
}

.section--light .market-stat__disclaimer {
	color: var(--muted-light);
}

/* Process node */
.process-node {
	background: var(--surface-low);
	border: 1px solid var(--outline);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	--accent: var(--color-secondary);
}

.process-node__step {
	font-family: var(--font-mono);
	color: var(--color-secondary);
}

/* Quote card (avatar inner-thought, pain) */
.quote-card {
	position: relative;
	background: var(--surface-low);
	border-radius: var(--radius-lg);
	padding: var(--space-lg) var(--space-md) var(--space-md);
}

.quote-card::before {
	content: "“";
	position: absolute;
	top: 4px;
	left: 16px;
	font-family: var(--font-display);
	font-size: 64px;
	line-height: 1;
	color: rgba(224, 169, 60, 0.28);
	pointer-events: none;
}

/* Letter / demo cards (owner assets) */
.letter-card,
.demo-card {
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-card-light);
	background: var(--surface-light-lowest);
}

.letter-card img,
.demo-card img {
	width: 100%;
	height: auto;
}

/* Scans read as documents, not floating images (T3 3.10 / E §4.4) */
.letter-card__img,
.demo-card__img {
	outline: 1px solid rgba(0, 0, 0, 0.08);
	outline-offset: -1px;
}

.letter-card__caption,
.demo-card__caption {
	padding: var(--space-sm) var(--space-md);
	font-size: var(--fs-body-sm);
	color: var(--muted-light);
}

/* Form inputs */
.field {
	margin-bottom: var(--space-md);
}

.field__label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--fs-body-sm);
	font-weight: 600;
}

.input-field,
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	font-family: var(--font-body);
	font-size: var(--fs-body-md);
	color: var(--color-on-bg-light);
	background: var(--surface-light-lowest);
	border: 1px solid var(--outline-light);
	border-radius: var(--radius);
	transition: border-color var(--dur-fast) var(--ease-standard),
		box-shadow var(--dur-fast) var(--ease-standard);
}

.field textarea {
	min-height: 120px;
	resize: vertical;
}

.input-field:focus,
.field input:focus,
.field textarea:focus {
	outline: 2px solid var(--color-secondary);
	outline-offset: 1px;
	border-color: var(--color-secondary);
}

.field--error input,
.field--error textarea {
	border-color: var(--color-error);
}

.field__error {
	margin-top: 6px;
	font-size: var(--fs-body-sm);
	font-weight: 600;
	color: var(--color-error);
}

/* Honeypot — visually + semantically hidden (NOT display:none) */
.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Consent checkbox row */
.consent-row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: var(--fs-body-sm);
}

.consent-row input[type="checkbox"] {
	margin-top: 3px;
	accent-color: var(--color-secondary);
	width: 18px;
	height: 18px;
}

/* -------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: 100;
	height: var(--header-h);
	background: rgba(15, 22, 34, 0.85);
	border-bottom: 1px solid transparent;
	transition: background-color var(--dur-base) var(--ease-standard),
		border-color var(--dur-base) var(--ease-standard),
		backdrop-filter var(--dur-base) var(--ease-standard);
}

.site-header.is-scrolled {
	background: rgba(28, 39, 55, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom-color: var(--outline-variant);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	height: 100%;
	max-width: 1760px;
	padding-inline: clamp(24px, 3vw, 48px);
}

.site-header__brand {
	display: flex;
	align-items: center;
}

.site-logo {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.1;
	color: var(--color-on-bg);
}

.site-logo:hover {
	text-decoration: none;
	color: var(--color-on-bg);
}

.site-logo__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 18px;
}

.site-logo__tag {
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.site-logo--img {
	display: inline-flex;
	align-items: center;
}

.site-logo__img {
	display: block;
	height: 44px;
	width: auto;
}

.site-nav {
	margin-inline-start: auto;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 20px;
	list-style: none;
}

.primary-menu a {
	color: var(--color-on-bg);
	font-size: var(--fs-body-sm);
	font-weight: 600;
	white-space: nowrap;
	padding-block: 12px;
	margin-block: -12px;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	color: var(--color-primary);
	text-decoration: none;
}

.primary-menu .menu-item-has-children {
	position: relative;
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px;
	margin-top: 8px;
	list-style: none;
	background: var(--surface-low);
	border: 1px solid var(--outline-variant);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-elevated-dark);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--dur-fast) var(--ease-standard),
		transform var(--dur-fast) var(--ease-standard),
		visibility var(--dur-fast);
	transition-delay: 120ms;
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
}

.primary-menu .sub-menu a:hover {
	background: var(--surface-container);
}

.site-header__cta {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

/* Desktop 3-zone header: brand (left) | nav (centred) | CTA (right).
   Equal flex on the side zones pins the menu to the true centre of the row. */
@media (min-width: 1025px) {
	.site-header__brand {
		flex: 1 1 0;
		min-width: 0;
	}

	.site-nav {
		margin-inline: 0;
	}

	.site-header__cta {
		flex: 1 1 0;
		justify-content: flex-end;
	}
}

.header-phone {
	display: inline-flex;
	flex-direction: column;
	color: var(--color-on-bg);
	line-height: 1.1;
	padding-block: 7px;
	margin-block: -7px;
}

.header-phone:hover {
	color: var(--color-primary);
	text-decoration: none;
}

.header-phone__num {
	font-weight: 600;
	font-size: var(--fs-body-sm);
	white-space: nowrap;
}

.header-phone__hours {
	font-size: 11px;
	color: var(--muted);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1px solid var(--outline);
	border-radius: var(--radius-sm);
	position: relative;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	content: "";
	position: absolute;
	left: 11px;
	width: 20px;
	height: 2px;
	background: var(--color-on-bg);
	transition: transform var(--dur-fast) var(--ease-standard);
}

.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
	background: var(--color-bg);
	color: var(--color-on-bg);
	border-top: 1px solid rgba(224, 169, 60, 0.2);
	padding-top: var(--space-xl);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr) 1.1fr;
	gap: var(--space-lg);
	padding-bottom: var(--space-lg);
}

.site-footer__pos {
	color: var(--muted);
	font-size: var(--fs-body-sm);
	max-width: 30ch;
}

.footer-col__title {
	font-size: var(--fs-body-md);
	font-weight: 600;
	margin-bottom: var(--space-sm);
	color: var(--color-on-bg);
}

.footer-menu {
	list-style: none;
}

.footer-menu li {
	margin-bottom: 8px;
}

.footer-menu a {
	display: inline-block;
	color: var(--muted);
	font-size: var(--fs-body-sm);
	padding-block: 6px;
	margin-block: -4px;
}

.footer-menu a:hover {
	color: var(--color-secondary);
}

.footer-nap {
	list-style: none;
}

.footer-nap li {
	margin-bottom: 8px;
	font-size: var(--fs-body-sm);
	color: var(--muted);
}

.footer-nap a {
	color: var(--color-on-bg);
}

.footer-nap__hours {
	color: var(--muted);
	margin-left: 4px;
}

.site-footer__honest {
	border-top: 1px solid var(--outline-variant);
	padding-block: var(--space-md);
}

.site-footer__honest p {
	margin: 0;
	font-size: var(--fs-body-sm);
	color: var(--muted);
}

.site-footer__legal {
	background: #0B111B;
}

.site-footer__legal-inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	justify-content: space-between;
	align-items: center;
	padding-block: var(--space-md);
	font-size: var(--fs-body-sm);
	color: var(--muted);
}

.legal-links {
	display: flex;
	gap: var(--space-md);
	flex-wrap: wrap;
}

.legal-links a {
	color: var(--muted);
}

.legal-links a:hover {
	color: var(--color-secondary);
}

/* -------------------------------------------------------------------------
   COOKIE BANNER
   ------------------------------------------------------------------------- */
.cookie-banner {
	position: fixed;
	inset-block-end: 0;
	inset-inline: 0;
	z-index: 90;
	background: var(--surface-low);
	border-top: 1px solid var(--outline-variant);
	box-shadow: var(--shadow-elevated-dark);
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-banner__inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	align-items: center;
	justify-content: space-between;
	max-width: var(--container-max);
	margin-inline: auto;
	padding: var(--space-md) var(--gutter);
}

.cookie-banner__text {
	margin: 0;
	font-size: var(--fs-body-sm);
	color: var(--color-on-bg);
	max-width: 70ch;
}

.cookie-banner__text a {
	color: var(--color-secondary);
}

.cookie-banner__actions {
	display: flex;
	gap: var(--space-sm);
	flex-shrink: 0;
}

.cookie-banner__actions .btn {
	min-height: 44px;
	padding: 10px 20px;
}

/* -------------------------------------------------------------------------
   FOCUS STATES (a11y — visible teal ring everywhere)
   ------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--color-secondary);
	outline-offset: 2px;
}

/* Radius only for bare text links — pill buttons keep their own shape (T3 3.3 / E §1.1) */
p a:focus-visible, li a:focus-visible {
	border-radius: 2px;
}

.section--light a:focus-visible,
.section--light button:focus-visible {
	outline-color: var(--color-teal-on-light);
}

/* Visible focus ring on teal buttons — ring color must not blend with the fill (T3 3.4 / E §1.2) */
.btn--telegram:focus-visible,
.site-header__cta .btn--primary:focus-visible {
	outline-color: var(--color-on-bg);
}

.section--light .btn--telegram:focus-visible {
	outline-color: var(--color-on-bg-light);
}

/* -------------------------------------------------------------------------
   6. NON-RECTANGULAR SECTION TRANSITIONS (static geometry — present always)
   AURA_SECTION_TRANSITIONS.json — wave / diagonal / gradient-fade / overlap / hairline
   ------------------------------------------------------------------------- */
.transition {
	position: relative;
}

/* gradient-fade band */
.transition--fade-md,
.transition--fade-lg {
	height: var(--fade-h);
	background: linear-gradient(to bottom, var(--color-bg-light) 0%, var(--color-bg) 100%);
}

.transition--fade-lg {
	--fade-h: 72px;
}

/* diagonal cut (clip the lower section's top edge) */
.transition--diagonal {
	clip-path: polygon(0 var(--cut-deg, 4%), 100% 0, 100% 100%, 0 100%);
}

/* wave divider wrapper — inline-SVG sits inside */
.transition--wave {
	line-height: 0;
}

.transition--wave svg {
	width: 100%;
	height: var(--wave-amp);
	display: block;
}

/* layered hairline (cta → footer) */
.transition--hairline {
	border-top: 1px solid rgba(224, 169, 60, 0.2);
	background: linear-gradient(to bottom, var(--color-bg) 0%, #0B111B 100%);
	height: 24px;
}

/* hero photo overlap into the next light strip */
.transition--hero-overlap [data-overlap-photo] {
	position: relative;
	z-index: 3;
	margin-bottom: -40px;
}

/* -------------------------------------------------------------------------
   MOTION PRIMITIVES (CSS layer — JS adds .is-in / .is-drawn / .is-scrolled)
   ------------------------------------------------------------------------- */
.js [data-reveal],
.js [data-reveal-item] {
	opacity: 0;
	transition: opacity var(--dur-slow) var(--ease-standard),
		transform var(--dur-slow) var(--ease-standard);
	transition-delay: calc(var(--i, 0) * 80ms);
}

/* Section = clean fade; movement stays on the children (no double 48px shift) (T3 3.14 / E §5.4) */
.js [data-reveal] {
	transform: none;
}

.js [data-reveal-item] {
	transform: translateY(24px);
}

.no-js [data-reveal],
.no-js [data-reveal-item] {
	opacity: 1;
	transform: none;
}

[data-reveal].is-in,
[data-reveal-item].is-in {
	opacity: 1;
	transform: none;
}

/* SVG connector draw-in (process / principle diagrams) */
[data-draw-connectors] path.connector {
	stroke: var(--color-secondary);
	stroke-width: 2;
	stroke-linecap: round;
	fill: none;
}

.js [data-draw-connectors] path.connector {
	stroke-dasharray: var(--len, 1000);
	stroke-dashoffset: var(--len, 1000);
	transition: stroke-dashoffset var(--dur-slow) var(--ease-standard);
}

[data-draw-connectors].is-drawn path.connector {
	stroke-dashoffset: 0;
}

/* Three.js / canvas hero scene mount (behind content) */
[data-three-scene] {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

/* Mobile sticky CTA (motion map §9) */
[data-sticky-cta] {
	display: none;
}

/* -------------------------------------------------------------------------
   7. RESPONSIVE
   ------------------------------------------------------------------------- */

/* Compact desktop / tablet (≤ 1024px) — collapse primary nav to burger so the
   header never crowds or wraps before the true mobile breakpoint. */
@media (max-width: 1024px) {
	/* Intermediate section-rhythm step between 1440 desktop and 768 tablet (T3 3.15 / E §3.1).
	   Must stay ABOVE the ≤768 block below so the narrower breakpoint wins the cascade. */
	:root {
		--section-y: 88px;
	}

	.nav-toggle {
		display: block;
		order: -1;
		margin-inline-start: auto;
	}

	.site-nav {
		position: static;
		margin-inline-start: 0;
	}

	.primary-menu {
		position: fixed;
		inset-block-start: var(--header-h);
		inset-inline: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: var(--space-md);
		background: var(--surface-low);
		border-bottom: 1px solid var(--outline-variant);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity var(--dur-base) var(--ease-standard),
			transform var(--dur-base) var(--ease-standard),
			visibility var(--dur-base);
	}

	.primary-menu.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.primary-menu > .menu-item {
		border-bottom: 1px solid var(--outline-variant);
	}

	.primary-menu a {
		display: block;
		padding: 14px 4px;
		white-space: normal;
	}

	.primary-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		background: transparent;
		margin: 0 0 0 var(--space-md);
		padding: 0;
	}

	.site-header__cta .header-phone,
	.site-header__cta .btn--telegram {
		display: none;
	}
}

/* Tablet (≤ 768px) */
@media (max-width: 768px) {
	:root {
		--section-y: 64px;
		--wave-amp: 24px;
		--fade-h: 56px;
	}

	.grid--5 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }

	h1 { font-size: 38px; }
	.is-front-page h1,
	h1.display-xl { font-size: 42px; }
	h2 { font-size: 26px; }

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Mobile (≤ 600px) — single column, burger menu, flatten overlaps */
@media (max-width: 600px) {
	:root {
		--wave-amp: 16px;
		--fade-h: 48px;
	}

	.nav-toggle {
		display: block;
		order: -1;
		margin-inline-start: auto;
	}

	.site-nav {
		position: static;
		margin-inline-start: 0;
	}

	.primary-menu {
		position: fixed;
		inset-block-start: var(--header-h);
		inset-inline: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: var(--space-md);
		background: var(--surface-low);
		border-bottom: 1px solid var(--outline-variant);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity var(--dur-base) var(--ease-standard),
			transform var(--dur-base) var(--ease-standard),
			visibility var(--dur-base);
	}

	.primary-menu.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.primary-menu > .menu-item {
		border-bottom: 1px solid var(--outline-variant);
	}

	.primary-menu a {
		display: block;
		padding: 14px 4px;
	}

	.primary-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		background: transparent;
		margin: 0 0 0 var(--space-md);
		padding: 0;
	}

	.grid--2,
	.grid--3,
	.grid--4,
	.grid--5 {
		grid-template-columns: 1fr;
	}

	.site-header__cta .header-phone,
	.site-header__cta .btn--telegram {
		display: none;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.cookie-banner__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.cookie-banner__actions .btn {
		flex: 1;
	}

	/* Flatten overlaps / diagonals that would crop content on mobile */
	.transition--flat-mobile {
		clip-path: none !important;
	}

	.transition--hero-overlap [data-overlap-photo] {
		margin-bottom: 0;
	}

	[data-sticky-cta] {
		display: flex;
		position: fixed;
		inset-block-end: 0;
		inset-inline: 0;
		z-index: 80;
		padding: 10px var(--gutter);
		background: rgba(15, 22, 34, 0.95);
		border-top: 1px solid var(--outline-variant);
	}

	[data-sticky-cta] .btn {
		flex: 1;
	}
}

/* Wide (≥ 1440px) — keep container centered, allow generous rhythm */
@media (min-width: 1440px) {
	.container {
		padding-inline: 0;
	}
}

/* -------------------------------------------------------------------------
   REDUCED MOTION (a11y — perf map §7.2)
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.js [data-reveal],
	.js [data-reveal-item] {
		opacity: 1;
		transform: none;
	}

	.js [data-draw-connectors] path.connector {
		stroke-dashoffset: 0;
	}
}


/* ── Переливающаяся кнопка-телефон (глобально, все страницы) — золото↔бирюза + бегущий блик ── */
.btn--phone {
	position: relative;
	overflow: hidden;
	color: var(--color-on-primary);
	font-weight: 700;
	letter-spacing: 0.02em;
	border-color: transparent;
	background-image: linear-gradient(100deg,#e0a93c 0%,#f2c66b 18%,#2bb8a3 42%,#8fe3d6 58%,#e0a93c 82%,#f2c66b 100%);
	background-size: 250% 100%;
	background-position: 0% 50%;
	box-shadow: 0 6px 20px -6px rgba(224,169,60,0.5);
	animation: teya-phone-shimmer 4.5s linear infinite;
}
.btn--phone:hover,
.btn--phone:focus-visible {
	color: var(--color-on-primary);
	transform: translateY(-2px);
	box-shadow: 0 10px 26px -6px rgba(43,184,163,0.55);
}
.btn--phone:focus-visible {
	outline-color: #fff;
}
.btn--phone::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
	background-size: 220% 100%;
	background-position: 220% 0;
	pointer-events: none;
	animation: teya-phone-sheen 4.5s linear infinite;
}
@keyframes teya-phone-shimmer {
	0%   { background-position: 0% 50%; }
	100% { background-position: 250% 50%; }
}
@keyframes teya-phone-sheen {
	0%   { background-position: 220% 0; }
	55%  { background-position: -80% 0; }
	100% { background-position: -80% 0; }
}
@media (prefers-reduced-motion: reduce) {
	.btn--phone { animation: none; }
	.btn--phone::after { display: none; }
}

/* ── CO-3: блок-подсказка «что написать» на /contacts/ — серая панель в духе light-секций ── */
.contacts-template {
	margin-top: var(--space-md);
	padding: var(--space-md);
	background: var(--surface-light-low);
	border: 1px solid var(--outline-light);
	border-radius: var(--radius-md);
}
.contacts-template__label {
	margin: 0 0 var(--space-sm);
	color: var(--muted-light);
	font-size: var(--fs-body-sm);
}
.contacts-template__text {
	margin: 0 0 var(--space-md);
	color: var(--color-on-bg-light);
	font-size: var(--fs-body-md);
	line-height: 1.5;
}
