:root {
  --font-family: "DM Sans", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  --max-w: 1200px;
  --space-x: 24px;
  --space-y: 20px;
  --gap: 16px;

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  --overlay: rgba(0,0,0,0.5);
  --anim-duration: 0.3s;
  --anim-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --random-number: 2;

  --brand: #2A9D8F;
  --brand-contrast: #FFFFFF;
  --accent: #E76F51;
  --accent-contrast: #FFFFFF;

  --neutral-0: #FFFFFF;
  --neutral-100: #F8F9FA;
  --neutral-300: #DEE2E6;
  --neutral-600: #6C757D;
  --neutral-800: #343A40;
  --neutral-900: #212529;

  --bg-page: #FFFFFF;
  --fg-on-page: #212529;

  --bg-alt: #F8F9FA;
  --fg-on-alt: #343A40;

  --surface-1: #FFFFFF;
  --surface-2: #F8F9FA;
  --fg-on-surface: #212529;
  --border-on-surface: #DEE2E6;

  --surface-light: rgba(42, 157, 143, 0.05);
  --fg-on-surface-light: #2A9D8F;
  --border-on-surface-light: rgba(42, 157, 143, 0.2);

  --bg-primary: #2A9D8F;
  --fg-on-primary: #FFFFFF;
  --bg-primary-hover: #248277;
  --ring: rgba(42, 157, 143, 0.4);

  --bg-accent: rgba(231, 111, 81, 0.1);
  --fg-on-accent: #E76F51;
  --bg-accent-hover: #D65A40;

  --link: #2A9D8F;
  --link-hover: #248277;

  --gradient-hero: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
  --gradient-accent: linear-gradient(135deg, #2A9D8F 0%, #264653 100%);

  --btn-ghost-bg: transparent;
  --btn-ghost-bg-hover: rgba(255,255,255,0.06);
  --chip-bg: rgba(255,255,255,0.08);
  --input-placeholder: rgba(255,255,255,0.55);
}
body{margin:0;padding:0;font-family:var(--font-family);box-sizing: border-box;}
*{box-sizing:border-box;}

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.hero {
        position: relative;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--fg-on-primary);
        overflow: hidden;
    }

    .hero__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
    }

    .hero__overlay {
        position: absolute;
        inset: 0;
        background: var(--gradient-hero);
        opacity: 0.7;
        z-index: -1;
    }

    .hero__content {
        max-width: 900px;
        padding: clamp(16px, 3vw, 32px);
        z-index: 1;
    }

    .hero h1 {
        font-size: clamp(28px, 5vw, 48px);
        font-weight: 700;
        margin-bottom: var(--space-y);
        text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }

    .hero p {
        font-size: clamp(16px, 2.5vw, 20px);
        font-weight: 400;
        margin: 0 auto calc(var(--space-y) * 1.5);
        max-width: 700px;
    }

    .hero__actions {
        display: flex;
        gap: var(--gap);
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__btn {
        display: inline-block;
        padding: 12px 30px;
        border-radius: var(--radius-md);
        font-weight: 500;
        text-align: center;
        transition: all var(--anim-duration) var(--anim-ease);
        cursor: pointer;
        border: 1px solid transparent;
        font-size: 1rem;
    }

    .hero__btn--primary {
        background-color: var(--bg-primary);
        color: var(--fg-on-primary);
        border-color: var(--bg-primary);
    }

    .hero__btn--primary:hover {
        background-color: var(--bg-primary-hover);
        border-color: var(--bg-primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .hero__btn--outline {
        background-color: transparent;
        color: var(--fg-on-primary);
        border-color: var(--fg-on-primary);
    }

    .hero__btn--outline:hover {
        background-color: var(--btn-ghost-bg-hover);
    }

.value-pills {
        padding: clamp(60px, 8vw, 110px) clamp(16px, 3vw, 40px);
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .value-pills .wrap {
        max-width: 900px;
        margin: 0 auto;
    }

    .value-pills h2 {
        margin: 0;
        font-size: clamp(30px, 4.8vw, 52px);
        color: var(--neutral-900);
    }

    .value-pills .lead {
        margin: 10px 0 16px;
        color: var(--neutral-600);
    }

    .value-pills .pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .value-pills .pill {
        border: 1px solid var(--border-on-surface);
        border-radius: 999px;
        background: var(--surface-1);
        padding: 8px 12px;
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .value-pills .pill strong {
        font-weight: 600;
        color: var(--brand);
    }

    .value-pills .pill span {
        color: var(--neutral-600);
        font-size: .85rem;
    }

    .value-pills .note {
        margin: 16px 0 0;
        color: var(--neutral-600);
    }

.next-stages {
        padding: clamp(60px, 9vw, 108px) clamp(16px, 3vw, 36px);
        background: linear-gradient(150deg, var(--bg-primary), var(--bg-primary-hover));
        color: var(--fg-on-primary);
    }

    .next-stages .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .next-stages .intro {
        max-width: 66ch;
        margin: 0 auto 14px;
        text-align: center;
    }

    .next-stages .intro p {
        margin: 8px 0 0;
        opacity: .9;
    }

    .next-stages h2 {
        margin: 8px 0;
        font-size: clamp(30px, 4.4vw, 46px);
    }

    .next-stages .stages {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
    }

    .next-stages article {
        border: 1px solid rgba(255, 255, 255, .35);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, .12);
        padding: 12px;
        animation: stageIn 420ms ease both;
    }

    .next-stages article:nth-child(2) {
        animation-delay: 80ms;
    }

    .next-stages article:nth-child(3) {
        animation-delay: 160ms;
    }

    .next-stages article:nth-child(4) {
        animation-delay: 240ms;
    }

    .next-stages .icon {
        margin: 0 0 6px;
        opacity: .92;
    }

    .next-stages h3 {
        margin: 0 0 8px;
        font-size: 1rem;
    }

    .next-stages a {
        color: var(--fg-on-primary);
        text-decoration: underline;
    }

    @keyframes stageIn {
        from {
            opacity: 0;
            transform: translateY(8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

.visual-highlights-carousel {

        background: var(--bg-alt);
        color: var(--fg-on-alt);
        padding: clamp(60px, 8vw, 108px) clamp(18px, 4vw, 56px);
    }

    .visual-highlights-carousel__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .visual-highlights-carousel__h {
        text-align: center;
        margin-bottom: clamp(40px, 6vw, 72px);

        transform: translateY(-20px);
    }

    .visual-highlights-carousel__h p {
        margin: 0 0 0.75rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--brand);
        font-size: 13px;
    }

    .visual-highlights-carousel__h h2 {
        margin: 0;
        font-size: clamp(30px, 4.8vw, 50px);
        font-weight: 800;
        color: var(--fg-on-alt);
    }

    .visual-highlights-carousel__row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: clamp(20px, 3vw, 32px);
    }

    .visual-highlights-carousel__slide {
        border-radius: var(--radius-lg);
        background: var(--surface-light);
        border: 1px solid var(--border-on-surface-light);
        overflow: hidden;

        transform: translateY(30px);
        box-shadow: var(--shadow-lg);
        display: flex;
        flex-direction: column;
    }

    .visual-highlights-carousel__img {
        position: relative;
        padding-top: 60%;
    }

    .visual-highlights-carousel__img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .visual-highlights-carousel__slide:hover img {
        transform: scale(1.05);
    }

    .visual-highlights-carousel__flag {
        position: absolute;
        top: 16px;
        right: 16px;
        background: var(--bg-page);
        border-radius: 999px;
        padding: 6px 14px;
        font-size: 12px;
        color: var(--accent);
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        box-shadow: 0 12px 20px rgba(0, 86, 179, 0.15);
    }

    .visual-highlights-carousel__text {
        padding: clamp(20px, 3vw, 28px);
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .visual-highlights-carousel__text h3 {
        margin: 0;
        font-size: clamp(18px, 2.4vw, 24px);
        color: var(--fg-on-page);
    }

    .visual-highlights-carousel__text p {
        margin: 0;
        color: var(--neutral-600);
    }

    .visual-highlights-carousel__note {
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: var(--brand);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.post-list {

        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .post-list .post-list__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .post-list .post-list__h {
        text-align: center;
        margin-bottom: var(--space-y);
    }

    .post-list h1 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 0.5rem;
        color: var(--fg-on-page);
    }

    .post-list .post-list__categories {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: var(--space-y);
        justify-content: center;
    }

    .post-list .post-list__category {
        padding: 0.5rem 1rem;
        border-radius: var(--radius-md);
        background: var(--surface-light);
        color: var(--fg-on-page);
        text-decoration: none;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .post-list .post-list__category:hover {
        background: var(--bg-primary);
        color: var(--fg-on-page) fff;
    }

    .post-list .post-list__list {
        display: flex;
        flex-direction: column;
        gap: var(--space-x);
    }

    .post-list .post-list__item {
        background: var(--surface-light);
        border: 1px solid var(--ring);
        border-radius: var(--radius-lg);
        padding: clamp(16px, 2vw, 24px);
        box-shadow: var(--shadow-sm);
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .post-list .post-list__item:hover {
        box-shadow: var(--shadow-md);
        transform: translateX(4px);
    }

    .post-list .post-list__meta {
        display: flex;
        gap: 1rem;
        color: var(--neutral-600);
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .post-list h3 {
        margin: 0 0 0.5rem;
        font-size: clamp(18px, 2.2vw, 22px);
    }

    .post-list h3 a {
        color: var(--fg-on-page);
        text-decoration: none;
    }

    .post-list h3 a:hover {
        color: var(--bg-primary);
    }

    .post-list p {
        color: var(--neutral-600);
        margin: 0;
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.post-item--light-v6 {
    padding: 48px 20px;
    background: var(--bg-page);
    color: var(--fg-on-page);
}

.post-item__inner {
    max-width: 720px;
    margin: 0 auto;
}

.post-item__inner h1 {
    margin: 0 0 4px;
    font-size: clamp(24px,4vw,32px);
}

.post-item__meta {
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: var(--neutral-600);
}

.post-item__lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.author {

        color: var(--fg-on-page);
        background: var(--bg-alt);
        padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px);
    }

    .author .author__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .author .author__content {
        display: flex;
        gap: clamp(24px, 4vw, 40px);
        align-items: flex-start;
    }

    .author .author__image {
        flex-shrink: 0;
        width: clamp(120px, 18vw, 180px);
        height: clamp(120px, 18vw, 180px);
        border-radius: 50%;
        overflow: hidden;
    }

    .author .author__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .author .author__info h3 {
        font-size: clamp(24px, 4vw, 32px);
        margin: 0 0 0.5rem;
        color: var(--fg-on-alt);
    }

    .author .author__role {
        font-size: clamp(16px, 2.5vw, 18px);
        color: var(--bg-accent);
        margin: 0 0 1rem;
        font-weight: 600;
    }

    .author .author__bio {
        font-size: clamp(15px, 2.2vw, 17px);
        line-height: 1.7;
        color: var(--neutral-600);
        margin: 0 0 1.5rem;
    }

    .author .author__contacts a {
        color: var(--link);
        text-decoration: none;
        font-size: clamp(14px, 2vw, 16px);
    }

    .author .author__contacts a:hover {
        color: var(--link-hover);
    }

    @media (max-width: 768px) {
        .author .author__content {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.post-item--colored-v5 {
    padding: 64px 20px;
    background: var(--neutral-900);
    color: var(--neutral-0);
}

.post-item__inner {
    max-width: 720px;
    margin: 0 auto;
}

.post-item__card {
    background: rgba(15,23,42,0.98);
    border-radius: var(--radius-xl);
    padding: 20px 22px;
    border: 1px solid rgba(148,163,184,0.8);
    box-shadow: var(--shadow-lg);
}

.post-item__category {
    margin: 0 0 6px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--bg-accent);
}

.post-item__header h1 {
    margin: 0 0 4px;
    font-size: clamp(24px,4vw,32px);
    color: var(--brand-contrast);
}

.post-item__meta {
    margin: 0;
    font-size: 0.85rem;
    color: var(--neutral-300);
}

.post-item__lead {
    margin: 12px 0;
    font-size: 0.95rem;
    color: var(--neutral-100);
}

.post-item__body {
    font-size: 0.92rem;
    color: var(--neutral-200);
    line-height: 1.7;
}

.identity-manifest {

        background: var(--fg-on-primary);
        color: var(--bg-primary);
        padding: clamp(60px, 8vw, 100px) clamp(16px, 4vw, 48px);
    }

    .identity-manifest__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .identity-manifest__h {
        text-align: center;
        margin-bottom: clamp(40px, 5vw, 72px);

        transform: translateY(-16px);
    }

    .identity-manifest__badge {
        display: inline-flex;
        padding: 0.35rem 1rem;
        border-radius: 999px;
        border: 1px solid rgba(10, 42, 102, 0.2);
        font-size: 0.85rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .identity-manifest h2 {
        font-size: clamp(32px, 4.5vw, 54px);
        margin: 0.75rem 0;
        color: var(--bg-primary);
    }

    .identity-manifest__h > p {
        margin: 0 auto;
        max-width: 720px;
        color: rgba(19, 32, 75, 0.8);
    }

    .identity-manifest__values {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: clamp(18px, 3vw, 28px);
    }

    .identity-manifest__card {
        background: var(--bg-page);
        border: 1px solid var(--border);
        border-radius: var(--radius-xl);
        padding: clamp(20px, 3vw, 28px);
        box-shadow: var(--shadow-sm);
        position: relative;

        transform: translateY(18px);
        transition: border-color var(--anim-duration) var(--anim-ease), box-shadow var(--anim-duration) var(--anim-ease);
    }

    .identity-manifest__card:hover {
        border-color: rgba(255, 139, 92, 0.5);
        box-shadow: var(--shadow-md);
    }

    .identity-manifest__label {
        font-size: 0.8rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: rgba(19, 32, 75, 0.5);
        margin-bottom: 0.75rem;
    }

    .identity-manifest__card h3 {
        margin: 0 0 0.6rem;
        font-size: clamp(20px, 2.2vw, 24px);
        color: var(--bg-primary);
    }

    .identity-manifest__card p {
        margin: 0 0 1rem;
        color: rgba(19, 32, 75, 0.75);
    }

    .identity-manifest__note {
        font-weight: 600;
        color: var(--bg-accent);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.post-item {

        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .post-item .post-item__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .post-item .post-item__header {
        margin-bottom: var(--space-y);
    }

    .post-item h1 {
        font-size: clamp(28px, 5vw, 42px);
        margin: 0 0 1rem;
        color: var(--fg-on-page);
    }

    .post-item .post-item__meta {
        display: flex;
        gap: 1rem;
        font-size: 0.875rem;
    }

    .post-item .post-item__content {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: clamp(24px, 3vw, 40px);
        border-radius: var(--radius-lg);
        line-height: 1.8;
        color: var(--fg-on-page);
        margin-bottom: var(--space-y);
    }

    .post-item .post-item__comments {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: clamp(24px, 3vw, 40px);
        border-radius: var(--radius-lg);
    }

    .post-item .post-item__comments h3 {
        margin: 0 0 1.5rem;
        color: var(--fg-on-page);
    }

    .post-item .post-item__comments-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: var(--space-y);
    }

    .post-item .post-item__comment {
        background: rgba(255, 255, 255, 0.1);
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .post-item .post-item__comment-author {
        font-weight: 600;
        color: var(--fg-on-page);
        margin-bottom: 0.5rem;
    }

    .post-item .post-item__comment-text {
        margin-bottom: 0.5rem;
    }

    .post-item .post-item__comment-date {
        font-size: 0.875rem;
    }

    .post-item .post-item__reply-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .post-item .post-item__reply-form textarea {
        padding: 1rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--fg-on-page);
        outline: none;
        min-height: 100px;

    }

    .post-item .post-item__reply-form button {
        padding: 0.875rem 2rem;
        border-radius: var(--radius-md);
        border: none;
        background: var(--fg-on-page);
        color: var(--bg-page);
        font-weight: 600;
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .post-item .post-item__reply-form button:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.article-list--light-v6 {
    padding: 48px 20px;
    background: var(--surface-light);
    color: var(--fg-on-surface-light);
}

.article-list__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.article-list__title {
    margin: 0 0 16px;
    font-size: clamp(24px,4vw,30px);
}

.article-list__list {
    display: grid;
    gap: 12px;
}

.article-list__row {
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    border: 1px solid var(--border-on-surface-light);
}

.article-list__row h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.article-list__row p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--neutral-600);
}

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.form-split {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 3vw, 36px);
        background: linear-gradient(150deg, var(--bg-primary), var(--bg-primary-hover));
        color: var(--fg-on-primary);
    }

    .form-split .wrap {
        max-width: 980px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: .9fr 1.1fr;
        gap: 12px;
    }

    .form-split .left,
    .form-split .right {
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, .1);
        padding: 14px;
    }

    .form-split h2 {
        margin: 0;
        font-size: clamp(26px, 3.8vw, 38px);
    }

    .form-split .left p {
        margin: 8px 0 0;
        opacity: .9;
    }

    .form-split label {
        display: grid;
        gap: 6px;
        margin-bottom: 8px;
    }

    .form-split input:not([type="checkbox"]),
    .form-split textarea {
        width: 100%;
        border: 1px solid rgba(255, 255, 255, .4);
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, .12);
        color: var(--fg-on-primary);
        padding: 9px;
        font: inherit;
    }

    .form-split .agree {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .form-split button {
        border: 0;
        border-radius: var(--radius-sm);
        background: var(--accent);
        color: var(--accent-contrast);
        padding: 9px 12px;
        cursor: pointer;
        font: inherit;
        transition: background-color var(--anim-duration) var(--anim-ease);
    }
    .form-split button:hover {
        background: var(--bg-accent-hover);
    }

    @media (max-width: 860px) {
        .form-split .wrap {
            grid-template-columns: 1fr;
        }
    }

.contact-float {
        padding: clamp(56px, 8vw, 96px) 16px;
        background: var(--bg-page);
        color: var(--fg-on-page);
        position: relative;
        overflow: hidden;
    }

    .contact-float::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 15% 20%, rgba(255, 107, 53, 0.12), transparent 55%),
            radial-gradient(circle at 80% 70%, rgba(0, 86, 179, 0.08), transparent 60%);
        pointer-events: none;
    }

    .contact-float .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .contact-float header {
        margin-bottom: 14px;
    }

    .contact-float h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 42px);
        letter-spacing: -0.02em;
    }

    .contact-float header p {
        margin: 10px 0 0;
        color: var(--neutral-600);
    }

    .contact-float .row {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 14px;
    }

    .contact-float .sheet {
        border: 1px solid var(--border-on-surface);
        border-radius: 16px;
        background: var(--surface-1);
        padding: 16px;
        box-shadow: var(--shadow-sm);
    }

    .contact-float h3 {
        margin: 0 0 10px;
    }

    .contact-float .items {
        display: grid;
        gap: 10px;
    }

    .contact-float .item {
        padding: 10px 12px;
        border-radius: var(--radius-md);
        background: var(--surface-2);
        border: 1px solid var(--border-on-surface);
    }

    .contact-float .label {
        display: block;
        font-size: 12px;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--neutral-600);
        margin-bottom: 6px;
    }

    .contact-float .value {
        color: var(--fg-on-page);
        font-weight: 600;
    }

    .contact-float .social-title {
        margin: 0 0 10px;
        font-weight: 600;
    }

    .contact-float .social-links {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .contact-float .social a,
    .contact-float .social-links a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid var(--border-on-surface);
        display: grid;
        place-items: center;
        text-decoration: none;
        color: var(--fg-on-page);
        background: var(--surface-2);
        transition: transform var(--anim-duration) var(--anim-ease);
    }

    .contact-float .social-links a:hover {
        transform: translateY(-2px);
    }

    .contact-float .sheet.social {
        background: var(--bg-accent);
        border-color: var(--border-on-surface-light);
    }

    @media (max-width: 860px) {
        .contact-float .row {
            grid-template-columns: 1fr;
        }
    }

.contact-support--colored-v3 {
        padding: 64px 20px;
        background: radial-gradient(calc(var(--random-number) * 80%) calc(var(--random-number) * 60%) at 0% calc(var(--random-number) * 10%), var(--accent), transparent 55%),
        radial-gradient(calc(var(--random-number) * 80%) calc(var(--random-number) * 80%) at 100% 0%, var(--bg-primary), transparent 55%),
        var(--fg-on-surface);
        color: var(--neutral-0);

    }

    .contact-support__inner {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .contact-support__qa {
        display: grid;
        gap: 14px;
    }

    .contact-support__card {
        padding: 18px 20px;
        border-radius: 20px;
        background: rgba(17, 24, 39, 0.8);
        border: 1px solid rgba(148, 163, 184, 0.35);
        box-shadow: 0 16px 30px rgba(3, 7, 18, 0.35);
        transition: transform var(--anim-duration) var(--anim-ease),
        box-shadow var(--anim-duration) var(--anim-ease);
    }

    .contact-support__card:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 36px rgba(3, 7, 18, 0.5);
    }

    .contact-support__question {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--neutral-0);
    }

    .contact-support__answer {
        font-size: 0.92rem;
        color: rgba(226, 232, 240, 0.75);
    }

.connect {
        color: var(--fg-on-page);
        background: var(--surface-light);
        padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px);
    }

    .connect .connect__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .connect .connect__header {
        text-align: center;
        margin-bottom: clamp(48px, 7vw, 72px);
    }

    .connect .connect__header h2 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 0.75rem;
        color: var(--fg-on-surface-light);
    }

    .connect .connect__header p {
        font-size: clamp(16px, 2vw, 18px);
        color: var(--neutral-600);
        margin: 0;
    }

    .connect .connect__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
        gap: clamp(24px, 4vw, 32px);
    }

    .connect .connect__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(14px, 2.2vw, 18px);
        padding: clamp(24px, 4vw, 32px);
        background: var(--bg-page);
        border-radius: var(--radius-lg);
        text-decoration: none;
        color: inherit;
        transition: transform 0.3s;
    }

    .connect .connect__item:hover {
        transform: translateY(-4px);
    }

    .connect .connect__icon {
        font-size: clamp(44px, 7.5vw, 68px);
        width: clamp(90px, 13vw, 130px);
        height: clamp(90px, 13vw, 130px);
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-accent);
        border-radius: 50%;
    }

    .connect .connect__icon {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-md);
        animation: section-pulse-border 3s var(--anim-ease) infinite;
    }

    @keyframes section-pulse-border {
        0%, 100% {
            border-color: var(--border-on-surface);
            box-shadow: none;
        }
        50% {
            border-color: var(--brand);
            box-shadow: 0 0 0 3px var(--accent);
        }
    }

    .connect .connect__item span {
        font-size: clamp(16px, 2.5vw, 18px);
        font-weight: 600;
        color: var(--fg-on-page);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.policy-table {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 3vw, 36px);
        background: var(--bg-page);
        color: var(--fg-on-page);
    }

    .policy-table .wrap {
        max-width: 900px;
        margin: 0 auto;
    }

    .policy-table h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .policy-table .lead {
        margin: 10px 0 16px;
        color: var(--neutral-600);
    }

    .policy-table .rows {
        display: grid;
        gap: 8px;
    }

    .policy-table .row {
        display: grid;
        grid-template-columns: 56px 1fr auto;
        gap: 10px;
        align-items: start;
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-md);
        background: var(--surface-1);
        padding: 10px;
    }

    .policy-table .left {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--bg-alt);
        display: grid;
        place-items: center;
        color: var(--neutral-800);
        font-weight: 600;
    }

    .policy-table h3 {
        margin: 0 0 6px;
    }

    .policy-table p {
        margin: 0;
        color: var(--neutral-600);
    }

    .policy-table .right {
        color: var(--neutral-600);
        font-size: .9rem;
    }

    @media (max-width: 640px) {
        .policy-table .row {
            grid-template-columns: 1fr;
        }
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.terms-panels {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 3vw, 36px);
        background: linear-gradient(180deg, var(--bg-alt), var(--bg-page));
        color: var(--fg-on-page);
    }

    .terms-panels .wrap {
        max-width: 900px;
        margin: 0 auto;
    }

    .terms-panels header {
        margin-bottom: 16px;
    }

    .terms-panels h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .terms-panels header p {
        margin: 10px 0 0;
        color: var(--neutral-600);
    }

    .terms-panels .panel {
        margin-bottom: 12px;
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, .9);
        padding: 14px;
    }

    .terms-panels h3, .terms-panels h4 {
        margin: 0 0 8px;
    }

    .terms-panels p, .terms-panels li {
        color: var(--neutral-600);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.th-core-e {
        padding: clamp(56px, 10vw, 110px) 16px;
        background: var(--gradient-hero);
        color: var(--fg-on-primary);
    }

    .th-core-e .box {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .th-core-e h1 {
        margin: 0;
        font-size: clamp(30px, 5vw, 50px);
    }

    .th-core-e p {
        margin: 10px 0 0;
        color: var(--border-on-surface-light);
    }

    .th-core-e a {
        display: inline-block;
        margin-top: 18px;
        padding: 10px 16px;
        border-radius: 12px;
        text-decoration: none;
        background: var(--fg-on-primary);
        color: var(--fg-on-accent);
    }

.site-header {
    background-color: var(--surface-1);
    color: var(--fg-on-surface);
    border-bottom: 1px solid var(--border-on-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.logo {
    font-weight: 700;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--brand);
    text-decoration: none;
    transition: color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.logo:hover {
    color: var(--accent);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}
.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--fg-on-surface);
    border-radius: var(--radius-sm);
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

.main-nav {
    display: block;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--gap);
}
.nav-link {
    color: var(--link);
    text-decoration: none;
    padding: calc(var(--space-y) / 2) var(--space-x);
    border-radius: var(--radius-md);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--link-hover);
    background-color: var(--btn-ghost-bg-hover);
}

@media (max-width: 767px) {
    .burger-menu {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: var(--overlay);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: 99;
    }
    .main-nav.is-active {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        background-color: var(--surface-2);
        padding: var(--space-y);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 90%;
        width: 20rem;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: var(--space-y);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.site-footer {
        background-color: #f8f9fa;
        color: #333;
        padding: 2.5rem 1rem;
        border-top: 1px solid #dee2e6;
        font-family: system-ui, -apple-system, sans-serif;
        margin-top: auto;
    }
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    .footer-section {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 1rem 0;
    }
    .footer-disclaimer {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.4;
        margin: 0;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin: 0 0 1rem 0;
        color: #495057;
    }
    .footer-nav, .footer-legal {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .footer-nav li, .footer-legal li {
        margin-bottom: 0.6rem;
    }
    .footer-nav a, .footer-legal a {
        color: #555;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .footer-nav a:hover, .footer-legal a:hover {
        color: #007bff;
        text-decoration: underline;
    }
    .footer-contacts p {
        margin: 0 0 0.6rem 0;
        line-height: 1.5;
    }
    .footer-contacts a {
        color: #555;
        text-decoration: none;
    }
    .footer-contacts a:hover {
        text-decoration: underline;
    }
    .footer-social {
        margin-top: 1rem;
        display: flex;
        gap: 1rem;
    }
    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #6c757d;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9rem;
        transition: background-color 0.2s ease;
    }
    .footer-social a:hover {
        background-color: #495057;
    }
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .footer-section {
            align-items: flex-start;
        }
    }

.cookie-dock {
        position: fixed;
        right: 16px;
        bottom: 16px;
        width: min(420px, calc(100% - 32px));
        z-index: 1100;
        background: var(--surface-1);
        color: var(--fg-on-page);
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .cookie-dock .wrap {
        padding: 14px;
        display: grid;
        gap: 10px;
    }

    .cookie-dock h2 {
        margin: 0;
        font-size: 1rem;
    }

    .cookie-dock p {
        margin: 0;
        color: var(--neutral-600);
    }

    .cookie-dock .actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cookie-dock button {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        color: var(--fg-on-page);
        padding: 8px 12px;
        cursor: pointer;
    }

    .cookie-dock button[data-mode='accept'] {
        background: var(--bg-primary);
        border-color: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.nf-core-d {
        padding: clamp(56px, 10vw, 110px) 16px;
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .nf-core-d .box {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
        border: 1px dashed var(--border-on-surface-light);
        border-radius: var(--radius-xl);
        background: var(--surface-1);
        padding: clamp(18px, 3vw, 30px);
    }

    .nf-core-d h1 {
        margin: 0;
        font-size: clamp(32px, 6vw, 56px);
    }

    .nf-core-d p {
        margin: 10px 0 0;
        color: var(--neutral-600);
    }

    .nf-core-d a {
        display: inline-block;
        margin-top: 18px;
        padding: 10px 16px;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-on-surface);
        background: var(--surface-2);
        color: var(--fg-on-page);
        text-decoration: none;
    }