
  :root {
    --bg: #000;
    --bg-soft: #262626;
    --bg-card: #1a1a1a;
    --line: #5a5a5a;
    --line-soft: #404040;
    --text: #f2f2f2;
    --muted: #b3b3b3;
    --accent: #ffcd00;
    --accent-dark: #c2641e;
    --cat1: #a1c9e8;
    --cat2: #b1accf;
    --cat3: #f7b980;
    --cat4: #009eba;
  }

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

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

  body {
    background: #1c1c1c;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.75;
  }

  .page {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg);
    min-height: 100vh;
    border-left: 1px solid var(--line-soft);
    border-right: 1px solid var(--line-soft);
  }

  header.site-header {
    padding: 48px 25px 30px;
    border-bottom: 2px solid var(--line-soft);
    background: linear-gradient(180deg, #111 0%, #000 100%);
  }

  .brand {
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 54px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
  }

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

  .tagline {
    margin-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
  }

  nav.topics {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 12px 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  nav.topics span {
    color: var(--muted);
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
  }

  nav.topics span:nth-child(4n+1) { border-color: var(--cat1); }
  nav.topics span:nth-child(4n+2) { border-color: var(--cat2); }
  nav.topics span:nth-child(4n+3) { border-color: var(--cat3); }
  nav.topics span:nth-child(4n+4) { border-color: var(--cat4); }

  main { padding: 40px 25px 20px; }

  h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1.2;
    font-weight: normal;
    color: #fff;
    padding: 18px 0;
    margin-bottom: 30px;
    border-top: 2px solid var(--line-soft);
    border-bottom: 2px solid var(--line-soft);
    letter-spacing: 0.5px;
    overflow-wrap: anywhere;
  }

  article {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-bottom: 2px solid #bfbfbf;
    padding: 34px 36px;
    overflow-wrap: anywhere;
  }

  article p { margin-bottom: 20px; color: #e6e6e6; }
  article p:last-child { margin-bottom: 0; }

  article h2, article h3, article h4, article h5, article h6 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    color: #fff;
    line-height: 1.3;
    margin: 34px 0 14px;
  }

  article h2 {
    font-size: 28px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
  article h3 { font-size: 23px; color: var(--accent); }
  article h4 { font-size: 20px; }
  article h5 { font-size: 18px; }
  article h6 { font-size: 16px; text-transform: uppercase; letter-spacing: 2px; }

  article ul, article ol { margin: 0 0 20px 26px; }
  article li { margin-bottom: 8px; }

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

  article blockquote {
    margin: 24px 0;
    padding: 6px 0 6px 24px;
    border-left: 4px solid var(--accent);
    color: var(--muted);
    font-style: italic;
  }

  article table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    display: block;
    overflow-x: auto;
  }
  article th, article td {
    border: 1px solid var(--line);
    padding: 10px 14px;
    text-align: left;
  }
  article th { background: var(--bg-card); }

  .transition {
    margin-top: 30px;
    padding: 22px 28px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-left: 5px solid var(--accent);
    color: #d9d9d9;
    font-style: italic;
    overflow-wrap: anywhere;
  }

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

  .links-block {
    margin-top: 30px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 28px 30px 12px;
  }

  .links-block h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #fff;
    padding: 10px 0;
    margin: 0 0 16px;
    border-top: 2px solid var(--line-soft);
    border-bottom: 2px solid var(--line-soft);
  }

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

  .links-block li {
    break-inside: avoid;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

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

  footer.site-footer {
    margin-top: 50px;
    background: var(--bg-soft);
    border-top: 3px solid var(--accent);
    padding: 28px 25px;
    font-family: Arial, Helvetica, sans-serif;
  }

  .footer-brand {
    font-style: italic;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
  }

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

  .footer-text {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
  }

  @media (max-width: 720px) {
    body { font-size: 16px; }
    header.site-header { padding: 32px 18px 22px; }
    .brand { font-size: 38px; }
    nav.topics { padding: 12px 18px; gap: 10px 16px; }
    main { padding: 28px 16px 10px; }
    h1 { font-size: 29px; padding: 14px 0; }
    article { padding: 22px 18px; }
    article h2 { font-size: 24px; }
    article h3 { font-size: 20px; }
    .transition { padding: 18px; }
    .links-block { padding: 22px 18px 8px; }
    .links-block ul { columns: 1; }
    footer.site-footer { padding: 24px 18px; }
  }

  @media (max-width: 420px) {
    .brand { font-size: 32px; }
    h1 { font-size: 25px; }
  }
