
  :root {
    --primary: #3d2e95;
    --primary-dark: #2b2070;
    --primary-light: #ece9fa;
    --accent: #ff6b35;
    --text: #25233a;
    --muted: #6a6880;
    --bg: #f6f5fb;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(61, 46, 149, 0.12);
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: "Segoe UI", "Open Sans", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
  }

  /* Header */
  .site-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #5646c4 100%);
    color: var(--white);
    padding: 70px 20px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .site-header::before,
  .site-header::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
  }

  .site-header::before { width: 380px; height: 380px; top: -160px; left: -120px; }
  .site-header::after { width: 300px; height: 300px; bottom: -150px; right: -80px; }

  .header-inner {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .brand {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-weight: 600;
  }

  h1 {
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
  }

  /* Layout */
  main {
    max-width: 960px;
    margin: -50px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
  }

  article {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 48px 52px;
    border-top: 5px solid var(--accent);
  }

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

  article h2 { font-size: 1.9rem; }
  article h3 { font-size: 1.5rem; }
  article h4 { font-size: 1.25rem; }

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

  article p { margin-bottom: 1.2em; }

  article ul, article ol { margin: 0 0 1.2em 1.6em; }
  article li { margin-bottom: 0.4em; }

  article a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
  article a:hover { color: var(--accent); }

  article img { max-width: 100%; height: auto; border-radius: 10px; }

  article blockquote {
    border-left: 4px solid var(--accent);
    background: var(--primary-light);
    padding: 16px 22px;
    border-radius: 0 10px 10px 0;
    margin: 1.4em 0;
    color: var(--primary-dark);
  }

  /* Transition paragraph */
  .transition {
    margin-top: 32px;
    padding: 28px 34px;
    background: var(--primary-light);
    border-radius: var(--radius);
    border-left: 5px solid var(--primary);
    color: var(--primary-dark);
  }

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

  /* Links block */
  .links-block {
    margin-top: 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 44px;
    border: 1px solid #e3e0f3;
  }

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

  .links-block h3:not(:first-child) { margin-top: 34px; }

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

  .links-block li {
    break-inside: avoid;
    padding: 8px 0 8px 22px;
    position: relative;
    border-bottom: 1px dashed #e3e0f3;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

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

  .links-block a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
  }

  .links-block a:hover { color: var(--accent); text-decoration: underline; }

  /* Footer */
  .site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 36px 20px;
    font-size: 0.95rem;
    border-top: 5px solid var(--accent);
  }

  .site-footer strong { color: var(--white); letter-spacing: 1px; }

  /* Responsive */
  @media (max-width: 768px) {
    body { font-size: 16px; }
    .site-header { padding: 50px 16px 80px; }
    article { padding: 30px 24px; }
    .links-block { padding: 28px 24px; }
    .transition { padding: 22px 22px; }
    .links-block ul { columns: 1; }
  }

  @media (max-width: 480px) {
    article { padding: 24px 18px; }
    .links-block { padding: 22px 18px; }
    main { padding: 0 12px 40px; }
  }
