/* ============ БАЗА ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #fdfcf9;
    --bg-alt: #f7f4ee;
    --panel: #ffffff;
    --border: #e8e3d9;
    --border-2: #d8d1c2;
    --text: #1a1a1a;
    --text-2: #3d3a34;
    --muted: #7a7568;
    --accent: #b5651d;
    /* тёплый терракотовый */
    --accent-2: #8a4a15;
    --green: #3e7a4e;
    --red: #a63a3a;
    --serif: 'Lora', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-narrow {
    max-width: 760px;
}

/* ============ TOPBAR ============ */
.topbar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--muted);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    padding: 10px 24px;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============ HEADER ============ */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text);
    color: var(--bg);
    font-size: 0.95rem;
}

.brand-name {
    color: var(--text);
}

.brand-accent {
    color: var(--accent);
    font-style: italic;
}

.nav {
    display: flex;
    gap: 4px;
}

.nav a {
    color: var(--text-2);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background .2s, color .2s;
}

.nav a:hover {
    background: var(--bg-alt);
    color: var(--text);
    text-decoration: none;
}

.nav a.active {
    background: var(--bg-alt);
    color: var(--accent);
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

/* ============ HERO ============ */
.hero {
    padding: 90px 0 80px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero p {
    font-size: 1.08rem;
    color: var(--text-2);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 8px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.94rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s, background .2s, border-color .2s, color .2s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-2);
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-2);
}

.btn-outline:hover {
    background: var(--panel);
    border-color: var(--text);
    text-decoration: none;
    color: var(--text);
}

/* Hero side */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.side-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-num {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.1;
}

.side-label {
    font-size: 0.9rem;
    color: var(--muted);
}

.side-card-accent {
    background: var(--text);
    border-color: var(--text);
}

.side-card-accent .side-num {
    color: #fff;
}

.side-card-accent .side-label {
    color: #d8d1c2;
}

/* ============ SECTION ============ */
.section {
    padding: 90px 0;
}

.section-tinted {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    margin-bottom: 50px;
    max-width: 620px;
}

.section-head-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: none;
    gap: 24px;
    flex-wrap: wrap;
}

.section-tag {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 12px;
}

.section-head p {
    color: var(--text-2);
}

.link-arrow {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.92rem;
    white-space: nowrap;
}

.link-arrow:hover {
    text-decoration: none;
}

.link-arrow:hover::after {
    transform: translateX(3px);
}

.link-arrow::after {
    content: '';
    display: inline-block;
    transition: transform .2s;
}

/* ============ TOPICS GRID ============ */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.topic-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 26px;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.topic-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.topic-icon {
    display: block;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 18px;
}

.topic-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text);
}

.topic-card p {
    color: var(--text-2);
    font-size: 0.94rem;
}

/* ============ ARTICLES GRID ============ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.article-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.article-featured .article-cover {
    aspect-ratio: auto;
    min-height: 320px;
}

.article-cover {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.cover-symbol {
    font-family: var(--serif);
    font-size: 3rem;
    color: #fff;
    opacity: 0.9;
    font-weight: 500;
}

.cover-1 {
    background: linear-gradient(135deg, #c98a5a, #b5651d);
}

.cover-2 {
    background: linear-gradient(135deg, #7a8db8, #4a5d8a);
}

.cover-3 {
    background: linear-gradient(135deg, #6f9c80, #3e7a4e);
}

.cover-4 {
    background: linear-gradient(135deg, #b8926a, #8a6a3f);
}

.cover-5 {
    background: linear-gradient(135deg, #a88ab8, #7a5a8a);
}

.cover-6 {
    background: linear-gradient(135deg, #c98a8a, #a63a3a);
}

.article-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.cat {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.dot {
    opacity: 0.5;
}

.article-body h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--text);
}

.article-featured .article-body h3 {
    font-size: 1.5rem;
}

.article-body p {
    color: var(--text-2);
    font-size: 0.94rem;
    flex: 1;
}

.article-body .link-arrow {
    align-self: flex-start;
    margin-top: 8px;
}

/* ============ MISSION ============ */
.mission {
    padding: 90px 0;
    background: var(--bg-alt);
}

.mission-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 70px;
    align-items: center;
}

.mission h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 12px 0 20px;
}

.mission p {
    color: var(--text-2);
    font-size: 1.02rem;
    margin-bottom: 28px;
}

.mission-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mp {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.94rem;
    color: var(--text-2);
}

.mp span {
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.mission-quote {
    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0 16px 16px 0;
    padding: 32px 30px;
}

.mission-quote blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 14px;
}

.mission-quote span {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============ HELP ============ */
.help {
    padding: 60px 0;
    background: var(--text);
    color: #fff;
}

.help-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
}

.help-icon {
    font-size: 3rem;
    color: var(--accent);
}

.help-text h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.help-text p {
    color: #d8d1c2;
    font-size: 0.98rem;
}

.help .btn-primary {
    background: var(--accent);
    color: #fff;
}

/* ============ PAGE ============ */
.page {
    padding: 70px 0 90px;
}

.page h1 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin: 8px 0 20px;
}

.page-lead {
    color: var(--text-2);
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 640px;
}

.page h2 {
    font-size: 1.35rem;
    margin: 40px 0 14px;
    color: var(--text);
}

.page p,
.page li {
    color: var(--text-2);
    margin-bottom: 10px;
}

.page ul {
    margin-left: 22px;
    margin-bottom: 20px;
}

.page ul li::marker {
    color: var(--accent);
}

.muted {
    color: var(--muted);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* ============ FILTERS ============ */
.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter {
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 9px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all .2s;
}

.filter:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter.active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

/* ============ TOOL GRID ============ */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 24px 0 40px;
}

.tool-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.tool-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text);
}

.tool-card p {
    font-size: 0.92rem;
    color: var(--text-2);
}

/* ============ CALLOUT ============ */
.callout {
    display: flex;
    gap: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 26px;
    margin: 32px 0;
}

.callout-info {
    border-left: 3px solid var(--accent);
}

.callout-warn {
    border-left: 3px solid var(--red);
}

.callout-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--accent);
    font-weight: 700;
    font-family: var(--serif);
    flex-shrink: 0;
}

.callout-warn .callout-icon {
    background: #fdeeee;
    color: var(--red);
}

.callout strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-family: var(--serif);
    font-size: 1.02rem;
}

.callout p {
    color: var(--text-2);
    font-size: 0.94rem;
    margin: 0;
}

/* ============ ARTICLE PAGE ============ */
.article-page {
    padding: 60px 0 90px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.article-content {
    max-width: 720px;
}

.article-head {
    margin-bottom: 34px;
}

.article-head h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.2;
    margin: 12px 0 20px;
}

.article-intro {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-2);
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

.article-cover-lg {
    aspect-ratio: 16 / 8;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 40px;
}

.article-cover-lg .cover-symbol {
    font-size: 4rem;
}

.article-content h2 {
    font-family: var(--serif);
    font-size: 1.5rem;
    margin: 44px 0 16px;
    color: var(--text);
}

.article-content h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    margin: 28px 0 12px;
    color: var(--text);
}

.article-content p {
    color: var(--text-2);
    margin-bottom: 16px;
    font-size: 1.02rem;
    line-height: 1.75;
}

.article-content ul {
    margin: 16px 0 24px 22px;
}

.article-content ul li {
    color: var(--text-2);
    margin-bottom: 10px;
    font-size: 1rem;
}

.article-content ul li::marker {
    color: var(--accent);
}

.article-content em {
    color: var(--text);
}

.formula-block {
    background: var(--bg-alt);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
    margin: 24px 0;
    color: var(--text);
    overflow-x: auto;
    line-height: 1.9;
}

.article-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.sources h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.sources ul {
    list-style: none;
    margin: 0;
}

.sources li {
    font-size: 0.88rem;
    color: var(--muted);
    padding: 4px 0 4px 14px;
    position: relative;
}

.sources li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--border-2);
}

/* Article sidebar */
.article-side {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-block {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.side-block h4 {
    font-family: var(--sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.side-link {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.45;
    transition: color .15s;
}

.side-link:last-child {
    border-bottom: none;
}

.side-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.side-link span:first-child {
    color: var(--accent);
    flex-shrink: 0;
    font-size: 1.05rem;
}

.side-help {
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
}

.side-help p {
    font-size: 0.9rem;
    color: var(--text-2);
    margin-bottom: 12px;
}

/* ============ CONTACTS ============ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0 50px;
}

.contact-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.form-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.35rem;
}

/* ============ FORM ============ */
.form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form input,
.form textarea {
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 18px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.98rem;
    transition: border-color .2s, box-shadow .2s;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(181, 101, 29, 0.12);
}

.form .btn {
    align-self: flex-start;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-desc {
    margin-top: 16px;
    font-size: 0.92rem;
    color: var(--muted);
    max-width: 280px;
}

.footer h4 {
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer a {
    display: block;
    color: var(--text-2);
    font-size: 0.92rem;
    margin-bottom: 8px;
    transition: color .2s;
}

.footer a:hover {
    color: var(--accent);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============ PRIVACY MODAL ============ */
.privacy-modal {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    animation: fadeIn .25s ease;
}

.privacy-modal.show {
    display: flex;
}

.privacy-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    animation: popIn .35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
    position: relative;
}

.privacy-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 34px;
    right: 34px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    border-radius: 0 0 3px 3px;
}

.privacy-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.privacy-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.privacy-head h3 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.privacy-sub {
    font-size: 0.82rem;
    color: var(--muted);
}

.privacy-text {
    color: var(--text-2);
    font-size: 0.96rem;
    margin-bottom: 24px;
}

.privacy-text a {
    color: var(--accent);
    font-weight: 500;
}

.privacy-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.privacy-foot {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.privacy-foot a {
    color: var(--muted);
}

.privacy-foot a:hover {
    color: var(--accent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        transform: translateY(20px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* ============ АДАПТИВ ============ */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-side {
        flex-direction: row;
        overflow-x: auto;
    }

    .side-card {
        min-width: 200px;
        flex-shrink: 0;
    }

    .topics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }

    .article-featured {
        grid-template-columns: 1fr;
    }

    .mission-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .help-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-side {
        position: static;
    }

    .tool-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .nav {
        display: none;
    }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px;
        right: 24px;
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px;
        gap: 4px;
        min-width: 220px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .burger {
        display: block;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .section {
        padding: 60px 0;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .tool-grid {
        grid-template-columns: 1fr;
    }

    .mission-points {
        grid-template-columns: 1fr;
    }

    .privacy-box {
        padding: 26px 22px;
    }

    .privacy-actions {
        flex-direction: column-reverse;
    }

    .privacy-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}