
        :root {
            --primary: #1f4e79;
            --primary-dark: #14344f;
            --accent: #c8a24a;
            --bg: #f3f6fa;
            --card: #ffffff;
            --text: #2b3440;
            --muted: #5d6b7a;
            --border: #dbe3ec;
        }

        * {
            box-sizing: border-box;
        }

        html {
            -webkit-text-size-adjust: 100%;
        }

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

        .site-header {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            border-bottom: 5px solid var(--accent);
            color: #fff;
            padding: 22px 20px;
            text-align: center;
        }

        .site-header .brand {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            margin: 0;
        }

        .site-header .tagline {
            margin: 4px 0 0;
            font-size: 0.95rem;
            opacity: 0.85;
        }

        main {
            flex: 1;
            width: 100%;
            max-width: 980px;
            margin: 0 auto;
            padding: 32px 20px 48px;
        }

        h1 {
            font-size: clamp(1.7rem, 4vw, 2.5rem);
            line-height: 1.25;
            color: var(--primary-dark);
            margin: 0 0 24px;
            padding-bottom: 14px;
            border-bottom: 4px solid var(--accent);
            overflow-wrap: break-word;
        }

        article,
        .transition,
        .links-block {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 12px;
            box-shadow: 0 4px 14px rgba(20, 52, 79, 0.06);
            padding: 28px;
            margin-bottom: 28px;
        }

        article h2,
        article h3,
        article h4 {
            color: var(--primary);
            line-height: 1.3;
            margin: 1.6em 0 0.6em;
        }

        article h2 {
            font-size: 1.6rem;
        }

        article h3 {
            font-size: 1.3rem;
        }

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

        article > :last-child {
            margin-bottom: 0;
        }

        p {
            margin: 0 0 1.1em;
        }

        article ul,
        article ol {
            padding-left: 1.4em;
            margin: 0 0 1.1em;
        }

        article a,
        .transition a {
            color: var(--primary);
            text-decoration: underline;
        }

        .transition {
            border-left: 5px solid var(--accent);
        }

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

        .links-block {
            background: #eef3f9;
        }

        .links-block h3 {
            color: var(--primary-dark);
            font-size: 1.25rem;
            margin: 1.4em 0 0.6em;
            padding-bottom: 6px;
            border-bottom: 2px solid var(--border);
        }

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

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

        .links-block li {
            break-inside: avoid;
            padding: 6px 0 6px 18px;
            position: relative;
            overflow-wrap: anywhere;
        }

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

        .links-block a {
            color: var(--primary);
            text-decoration: none;
            border-bottom: 1px solid transparent;
        }

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

        .site-footer {
            background: var(--primary-dark);
            border-top: 5px solid var(--accent);
            color: #d5deea;
            text-align: center;
            padding: 22px 20px;
            font-size: 0.95rem;
        }

        .site-footer p {
            margin: 0;
        }

        @media (max-width: 700px) {
            body {
                font-size: 16px;
            }

            main {
                padding: 22px 14px 36px;
            }

            article,
            .transition,
            .links-block {
                padding: 20px 16px;
                border-radius: 10px;
            }

            .links-block ul {
                columns: 1;
            }
        }
    