
        :root {
            --color-primary: #faf6f0;
            --color-secondary: #3b2a20;
            --color-secondary-soft: #5a4234;
            --color-accent: #d4572a;
            --color-accent-dark: #b44420;
            --color-text: #2b2018;
            --color-border: #e6dccd;
            --color-surface: #ffffff;
            --radius: 14px;
            --shadow: 0 6px 24px rgba(59, 42, 32, 0.08);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--color-primary);
            color: var(--color-text);
            line-height: 1.75;
            font-size: 17px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
        }

        /* ===== Header ===== */
        .site-header {
            background-color: var(--color-secondary);
            color: #fff;
            padding: 22px 20px;
            border-bottom: 4px solid var(--color-accent);
        }

        .header-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }

        .logo {
            font-size: 1.7rem;
            font-weight: 800;
            letter-spacing: 0.5px;
            color: #fff;
            text-decoration: none;
        }

        .logo span {
            color: var(--color-accent);
        }

        /* ===== Navbar ===== */
        .site-nav {
            background-color: var(--color-secondary-soft);
            padding: 0 20px;
        }

        .nav-inner {
            max-width: 1100px;
            margin: 0 auto;
        }

        .nav-list {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
        }

        .nav-list a {
            display: block;
            padding: 14px 18px;
            color: #f3e9dc;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .nav-list a:hover,
        .nav-list a:focus {
            background-color: var(--color-accent);
            color: #fff;
        }

        /* ===== Main ===== */
        main {
            flex: 1;
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            padding: 40px 20px 60px;
        }

        h1 {
            font-size: clamp(1.9rem, 4vw, 3rem);
            line-height: 1.2;
            color: var(--color-secondary);
            margin-bottom: 28px;
            padding-bottom: 16px;
            border-bottom: 3px solid var(--color-accent);
            letter-spacing: -0.5px;
        }

        article {
            background-color: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 36px 40px;
            margin-bottom: 32px;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }

        article h2 {
            font-size: 1.7rem;
            color: var(--color-secondary);
            margin: 32px 0 14px;
            line-height: 1.3;
        }

        article h3 {
            font-size: 1.35rem;
            color: var(--color-secondary-soft);
            margin: 26px 0 12px;
            line-height: 1.3;
        }

        article h4,
        article h5,
        article h6 {
            font-size: 1.1rem;
            color: var(--color-secondary-soft);
            margin: 22px 0 10px;
        }

        article > :first-child {
            margin-top: 0;
        }

        article p {
            margin-bottom: 18px;
        }

        article ul,
        article ol {
            margin: 0 0 18px 24px;
        }

        article li {
            margin-bottom: 6px;
        }

        article a {
            color: var(--color-accent);
        }

        article a:hover {
            color: var(--color-accent-dark);
        }

        /* ===== Transition block ===== */
        .transition-block {
            background-color: var(--color-surface);
            border-left: 5px solid var(--color-accent);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 26px 32px;
            margin-bottom: 32px;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }

        .transition-block p {
            margin-bottom: 14px;
        }

        .transition-block p:last-child {
            margin-bottom: 0;
        }

        /* ===== Links block ===== */
        .links-block {
            background-color: var(--color-secondary);
            color: #f3e9dc;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 36px 40px;
            overflow: hidden;
        }

        .links-block h3 {
            color: #fff;
            font-size: 1.3rem;
            margin: 28px 0 14px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--color-accent);
        }

        .links-block h3:first-child {
            margin-top: 0;
        }

        .links-block ul {
            list-style: none;
            columns: 2;
            column-gap: 40px;
            margin: 0 0 10px;
            padding: 0;
        }

        .links-block li {
            break-inside: avoid;
            -webkit-column-break-inside: avoid;
            page-break-inside: avoid;
            padding: 7px 0 7px 18px;
            position: relative;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }

        .links-block li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 1.05em;
            width: 7px;
            height: 7px;
            background-color: var(--color-accent);
            border-radius: 50%;
        }

        .links-block a {
            color: #f3e9dc;
            text-decoration: none;
            border-bottom: 1px solid rgba(243, 233, 220, 0.3);
            transition: color 0.2s ease, border-color 0.2s ease;
        }

        .links-block a:hover,
        .links-block a:focus {
            color: var(--color-accent);
            border-bottom-color: var(--color-accent);
        }

        /* ===== Footer ===== */
        .site-footer {
            background-color: var(--color-secondary);
            color: #d9ccbb;
            text-align: center;
            padding: 28px 20px;
            border-top: 4px solid var(--color-accent);
            font-size: 0.95rem;
        }

        .footer-inner {
            max-width: 1100px;
            margin: 0 auto;
        }

        .footer-list {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px 24px;
        }

        .footer-list a {
            color: #f3e9dc;
            text-decoration: none;
        }

        .footer-list a:hover {
            color: var(--color-accent);
        }

        /* ===== Responsive ===== */
        @media (max-width: 768px) {
            body {
                font-size: 16px;
            }

            main {
                padding: 28px 16px 44px;
            }

            article {
                padding: 24px 22px;
            }

            .transition-block {
                padding: 22px 22px;
            }

            .links-block {
                padding: 26px 22px;
            }

            .links-block ul {
                column-gap: 24px;
            }

            .nav-list a {
                padding: 12px 14px;
            }
        }

        @media (max-width: 520px) {
            .header-inner {
                justify-content: center;
                text-align: center;
            }

            .nav-list {
                justify-content: center;
            }

            .links-block ul {
                columns: 2;
                column-gap: 16px;
                font-size: 0.95rem;
            }

            .links-block li {
                padding-left: 14px;
            }

            .logo {
                font-size: 1.45rem;
            }
        }
    