:root {
      --bg: #0d0f14;
      --surface: #13161d;
      --border: #1e2230;
      --accent: #6c8cff;
      --accent2: #a78bfa;
      --text: #c9d1e8;
      --muted: #5a6280;
      --heading: #eef0f8;
      --tag-bg: #1a1f30;
    }

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

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      font-size: 16px;
      line-height: 1.75;
      min-height: 100vh;
    }

     body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: .5;
    }

    .wrapper {
      position: relative;
      z-index: 1;
      max-width: 780px;
      margin: 0 auto;
      padding: 80px 32px 120px;
    }

    header {
      margin-bottom: 64px;
      padding-bottom: 40px;
      border-bottom: 1px solid var(--border);
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 40px;
      text-decoration: none;
    }

    .brand-icon {
      width: 36px; 
      height: 36px;
      /* background: linear-gradient(135deg, var(--accent), var(--accent2)); */
      border-radius: 10px;
      /* display: flex; align-items: center; justify-content: center; */
      /* font-size: 18px; */
    }

    .brand-name {
      font-family: 'DM Serif Display', serif;
      font-size: 18px;
      color: var(--heading);
      letter-spacing: 0.01em;
    }

    .main {
      display: block;
      width: 100%;
      height: 40vh;
      max-height: 100%;
    }

    footer {
      margin-top: 80px;
      padding-top: 32px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }

    footer p {
      font-size: 13px;
      color: var(--muted);
      margin: 0;
    }

    /* — Fade-in animation — */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .wrapper > * {
      animation: fadeUp 0.6s ease both;
    }

    header { animation-delay: 0.05s; }
    .toc   { animation-delay: 0.15s; }
    section:nth-child(1) { animation-delay: 0.2s; }
    