
        .btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: var(--space-xs);
          font-family: var(--font-sans);
          font-weight: var(--font-weight-semibold);
          border-radius: var(--radius-md);
          border: none;
          cursor: pointer;
          transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
          text-decoration: none;
        }

        .btn:hover:not(:disabled) {
          transform: translateY(-2px);
        }

        .btn:active:not(:disabled) {
          transform: translateY(0);
        }

        .btn:disabled {
          opacity: 0.5;
          cursor: not-allowed;
        }

        /* Variants */
        .btn-primary {
          background: var(--gradient-primary);
          color: white;
        }

        .btn-primary:hover:not(:disabled) {
          box-shadow: var(--shadow-lg);
        }

        .btn-secondary {
          background: var(--color-bg-tertiary);
          color: var(--color-text-primary);
        }

        .btn-secondary:hover:not(:disabled) {
          background: var(--color-bg-secondary);
          box-shadow: var(--shadow-md);
        }

        .btn-outline {
          background: transparent;
          color: var(--color-accent-primary);
          border: var(--border-width-thick) solid var(--color-accent-primary);
        }

        .btn-outline:hover:not(:disabled) {
          background: var(--color-accent-primary);
          color: white;
        }

        .btn-ghost {
          background: transparent;
          color: var(--color-text-secondary);
        }

        .btn-ghost:hover:not(:disabled) {
          background: var(--color-bg-secondary);
          color: var(--color-text-primary);
        }

        /* Sizes */
        .btn-sm {
          padding: var(--space-xs) var(--space-md);
          font-size: var(--font-size-sm);
        }

        .btn-md {
          padding: var(--space-sm) var(--space-lg);
          font-size: var(--font-size-base);
        }

        .btn-lg {
          padding: var(--space-md) var(--space-xl);
          font-size: var(--font-size-lg);
        }
      


        .glass-nav {
          margin: 20px 20px 0;
          padding: 16px 32px;
          border-radius: 16px;
          position: sticky;
          top: 20px;
          z-index: 100;
        }

        .nav-container {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 32px;
        }

        .nav-logo {
          text-decoration: none;
        }

        .logo-text {
          font-size: 24px;
          font-weight: 800;
          background: linear-gradient(135deg, #fff 0%, #8b5cf6 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
        }

        .nav-links {
          display: flex;
          align-items: center;
          gap: 32px;
          flex: 1;
          justify-content: center;
        }

        .nav-link {
          color: rgba(255, 255, 255, 0.8);
          text-decoration: none;
          font-size: 15px;
          font-weight: 500;
          transition: color 0.2s;
          text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .nav-link:hover,
        .nav-link.active {
          color: #fff;
        }

        .nav-cta {
          flex-shrink: 0;
        }

        /* Hamburger — hidden on desktop */
        .nav-hamburger {
          display: none;
          flex-direction: column;
          gap: 5px;
          padding: 8px;
          cursor: pointer;
          background: none;
          border: none;
        }

        .hamburger-line {
          display: block;
          width: 24px;
          height: 2px;
          background: rgba(255, 255, 255, 0.9);
          border-radius: 2px;
          transition: transform 0.3s, opacity 0.3s;
        }

        .hamburger-line.open:nth-child(1) {
          transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger-line.open:nth-child(2) {
          opacity: 0;
        }

        .hamburger-line.open:nth-child(3) {
          transform: rotate(-45deg) translate(5px, -5px);
        }

        /* Mobile dropdown — hidden on desktop */
        .nav-mobile-dropdown {
          display: none;
        }

        /* ===== MOBILE ===== */
        @media (max-width: 768px) {
          .glass-nav {
            margin: 10px 10px 0;
            padding: 12px 16px;
          }

          .nav-links {
            display: none;
          }

          .nav-cta {
            display: none;
          }

          .nav-hamburger {
            display: flex;
          }

          .nav-mobile-dropdown {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
          }

          .nav-mobile-link {
            display: block;
            padding: 10px 12px;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            border-radius: 8px;
            transition: background 0.2s, color 0.2s;
          }

          .nav-mobile-link:hover,
          .nav-mobile-link.active {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
          }

          .nav-mobile-cta {
            margin-top: 8px;
            text-decoration: none;
          }
        }
      


        .related-posts {
          margin: 60px 20px 40px;
          padding: 0;
        }

        .related-inner {
          max-width: 1200px;
          margin: 0 auto;
        }

        .related-header {
          text-align: center;
          margin-bottom: 32px;
          padding: 0 20px;
        }

        .related-eyebrow {
          display: block;
          font-size: 12px;
          font-weight: 600;
          letter-spacing: 2px;
          text-transform: uppercase;
          color: rgba(196, 181, 253, 0.85);
          margin-bottom: 8px;
        }

        .related-title-h2 {
          font-size: 32px;
          font-weight: 700;
          color: #fff;
          margin: 0;
          letter-spacing: -0.02em;
          text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        }

        .related-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
          gap: 24px;
        }

        .related-link {
          text-decoration: none;
          color: inherit;
          display: block;
          transition: transform 0.3s ease;
        }

        .related-link:hover {
          transform: translateY(-4px);
        }

        /* Cosmic-glass card — matches the /blog listing post-cards visually. */
        .related-card {
          /* .glass is provided by the page-level cosmic theme; we add
             explicit fallbacks here so the card looks right even if the
             parent's .glass rule isn't in scope. */
          background: rgba(255, 255, 255, 0.03);
          border: 1px solid rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(20px);
          box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
          padding: 28px;
          border-radius: 16px;
          height: 100%;
          display: flex;
          flex-direction: column;
          transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
        }

        .related-link:hover .related-card {
          background: rgba(255, 255, 255, 0.05);
          border-color: rgba(139, 92, 246, 0.4);
          box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
        }

        .related-category {
          display: inline-block;
          padding: 4px 10px;
          font-size: 11px;
          font-weight: 600;
          letter-spacing: 1px;
          text-transform: uppercase;
          color: rgba(196, 181, 253, 0.95);
          background: rgba(139, 92, 246, 0.15);
          border: 1px solid rgba(139, 92, 246, 0.3);
          border-radius: 999px;
          margin-bottom: 14px;
          align-self: flex-start;
        }

        .related-card-title {
          font-size: 20px;
          font-weight: 700;
          color: #fff;
          line-height: 1.3;
          margin: 0 0 12px 0;
          letter-spacing: -0.01em;
          text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
        }

        .related-card-meta {
          display: flex;
          gap: 8px;
          flex-wrap: wrap;
          font-size: 13px;
          color: rgba(255, 255, 255, 0.6);
          margin-bottom: 14px;
          align-items: center;
        }

        .related-card-excerpt {
          color: rgba(255, 255, 255, 0.8);
          font-size: 15px;
          line-height: 1.65;
          margin: 0 0 18px 0;
          flex: 1;
        }

        .related-card-cta {
          display: inline-block;
          font-size: 14px;
          font-weight: 600;
          color: rgba(196, 181, 253, 0.95);
          letter-spacing: 0.02em;
          margin-top: auto;
          transition: color 0.2s, transform 0.2s;
        }

        .related-link:hover .related-card-cta {
          color: #DDD6FE;
          transform: translateX(4px);
        }

        /* Mobile */
        @media (max-width: 768px) {
          .related-posts {
            margin: 40px 16px 32px;
          }
          .related-title-h2 {
            font-size: 26px;
          }
          .related-grid {
            grid-template-columns: 1fr;
            gap: 16px;
          }
          .related-card {
            padding: 22px;
          }
        }
      


          /* Cosmic Page Layout */
          .cosmic-page {
            position: relative;
            min-height: 100vh;
            overflow-x: hidden;
          }

          .content-layer {
            position: relative;
            z-index: 10;
            padding: 0;
          }

          /* Glassmorphism Effect */
          .glass {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
          }

                    /* Single Post Styles */
          .blog-post {
            margin: 20px;
            padding: 60px 48px;
            border-radius: 24px;
          }

          .post-container {
            max-width: 900px;
            margin: 0 auto;
          }

          .back-link {
            display: inline-block;
            color: rgba(139, 92, 246, 0.9);
            text-decoration: none;
            margin-bottom: 32px;
            font-weight: 600;
            transition: color 0.2s;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
          }

          .back-link:hover {
            color: rgba(139, 92, 246, 1);
          }

          .post-header {
            margin-bottom: 48px;
          }

          .post-title {
            font-size: 56px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 24px;
            line-height: 1.2;
            text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
          }

          .post-meta {
            display: flex;
            gap: 16px;
            font-size: 15px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 32px;
            flex-wrap: wrap;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
          }

          .post-meta span::after {
            content: '•';
            margin-left: 16px;
          }

          .post-meta span:last-child::after {
            content: '';
          }

          /* AI-Parseable Key Points */
          .key-points {
            padding: 24px;
            border-radius: 12px;
            margin-bottom: 32px;
            border-left: 4px solid rgba(139, 92, 246, 0.6);
          }

          .key-points h3 {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
          }

          .key-points ul {
            list-style: none;
            padding: 0;
          }

          .key-points li {
            padding: 8px 0;
            color: rgba(255, 255, 255, 0.8);
            font-size: 16px;
            line-height: 1.7;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
          }

          .key-points li::before {
            content: '→';
            color: rgba(139, 92, 246, 0.9);
            font-weight: 700;
            margin-right: 12px;
          }

          /* Topics & Tags */
          .post-topics, .post-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 24px;
          }

          .topic-badge {
            padding: 8px 16px;
            background: rgba(139, 92, 246, 0.3);
            border: 1px solid rgba(139, 92, 246, 0.5);
            color: #fff;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
          }

          .tag-badge {
            padding: 6px 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            border-radius: 6px;
            font-size: 13px;
          }

          /* Content */
          .post-content {
            font-size: 18px;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 48px;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
          }

          .post-content h2 {
            font-size: 36px;
            font-weight: 700;
            color: #fff;
            margin-top: 48px;
            margin-bottom: 16px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
          }

          /* H3 — used for sub-sections AND FAQ questions inside post-content.
             Slight purple accent + a thin left border gives FAQ items a clean
             rhythm without the blog content needing special markup. */
          .post-content h3 {
            font-size: 24px;
            font-weight: 700;
            color: #fff;
            margin-top: 36px;
            margin-bottom: 14px;
            line-height: 1.35;
            letter-spacing: -0.01em;
            padding-left: 14px;
            border-left: 3px solid rgba(139, 92, 246, 0.55);
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
          }
          /* Tighten the answer/paragraph that immediately follows an h3 — the
             FAQ pattern (h3 question / p answer) reads as one tight unit. */
          .post-content h3 + p {
            margin-top: 0;
            color: rgba(255, 255, 255, 0.88);
          }

          /* ════════════════════════════════════════════════════════════
           * BLOG POST READABILITY — DO NOT REMOVE.
           * src/styles/variables.css is a STALE light-theme palette
           * (#212529 / #495057 etc) that was never replaced when the
           * cosmic dark theme shipped. Without these explicit overrides,
           * post body text falls through to dark-on-dark and becomes
           * unreadable. We hit this on the first execution of the
           * deploy-blog-cluster-for-agent skill — caught it, fixed it,
           * documented it. When/if variables.css is rewritten as the
           * cosmic palette by default, this block can be simplified.
           * Until then: load-bearing.
           * ════════════════════════════════════════════════════════════ */
          .post-content p {
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.92);
          }

          /* Lead paragraph — first sentence of every post. Bigger + brighter. */
          .post-content p.lead,
          .post-content .lead {
            color: rgba(255, 255, 255, 0.98);
            font-size: 21px;
            line-height: 1.7;
            font-weight: 400;
            margin-bottom: 28px;
          }

          /* Inline links inside post body — bright enough to pop on cosmic bg */
          /* WITHOUT shouting against the prose. Hover state is brighter still. */
          .post-content a {
            color: #C4B5FD;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 3px;
            text-decoration-color: rgba(196, 181, 253, 0.4);
            transition: color 0.15s, text-decoration-color 0.15s;
          }
          .post-content a:hover {
            color: #DDD6FE;
            text-decoration-color: rgba(221, 214, 254, 0.9);
          }

          /* External-link visual cue (target=_blank). Subtle ↗ via ::after. */
          .post-content a[target="_blank"]::after {
            content: " ↗";
            opacity: 0.6;
            font-size: 0.85em;
          }

          .post-content strong {
            color: #fff;
            font-weight: 700;
          }

          .post-content ul, .post-content ol {
            margin-bottom: 20px;
            padding-left: 32px;
          }

          .post-content li {
            margin-bottom: 8px;
            color: rgba(255, 255, 255, 0.85);
          }

          .post-content code {
            background: rgba(255, 255, 255, 0.08);
            padding: 0.2em 0.5em;
            border-radius: 4px;
            font-size: 0.9em;
            color: rgba(139, 92, 246, 0.9);
          }

          .post-content pre {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 12px;
            overflow-x: auto;
            margin-bottom: 20px;
          }

          .post-content pre code {
            background: transparent;
            padding: 0;
            color: rgba(255, 255, 255, 0.9);
          }

          /* ════════════════════════════════════════════════════════════
           * ARTICLE META FOOTER — clean horizontal strip + topic chips.
           * Replaces the old debug-style "Article Information: ul" block.
           * ════════════════════════════════════════════════════════════ */
          .post-meta-footer {
            margin-top: 56px;
            padding: 24px 28px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
          }

          .post-meta-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0;
          }

          .post-meta-item {
            display: flex;
            flex-direction: column;
            gap: 2px;
            padding: 4px 18px;
            min-width: 0;
          }

          .post-meta-item:first-child {
            padding-left: 0;
          }

          .post-meta-divider {
            width: 1px;
            height: 32px;
            background: rgba(255, 255, 255, 0.1);
            margin: 0;
          }

          .post-meta-label {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.5);
          }

          .post-meta-value {
            font-size: 15px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.92);
            letter-spacing: -0.01em;
          }

          .post-meta-topics {
            margin-top: 18px;
            padding-top: 18px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
          }

          .post-meta-topics-label {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.5);
            white-space: nowrap;
          }

          .post-meta-topics-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
          }

          .post-meta-topic-chip {
            display: inline-block;
            padding: 5px 12px;
            font-size: 13px;
            font-weight: 500;
            color: rgba(196, 181, 253, 0.95);
            background: rgba(139, 92, 246, 0.12);
            border: 1px solid rgba(139, 92, 246, 0.25);
            border-radius: 999px;
            letter-spacing: 0.01em;
          }

          @media (max-width: 768px) {
            .post-meta-footer {
              padding: 20px;
            }
            .post-meta-row {
              gap: 8px;
            }
            .post-meta-item {
              padding: 4px 0;
              flex: 1 1 45%;
            }
            .post-meta-divider {
              display: none;
            }
          }

          /* Mobile Responsive */
          @media (max-width: 768px) {
            .blog-post {
              padding: 40px 24px;
            }

            .post-title {
              font-size: 36px;
            }

            .post-meta {
              flex-direction: column;
              gap: 8px;
            }

            .post-meta span::after {
              content: '';
            }

            .post-content {
              font-size: 16px;
            }

            .post-content h2 {
              font-size: 28px;
            }

            .post-content h3 {
              font-size: 22px;
            }

            .footer-content {
              grid-template-columns: 1fr;
              gap: 24px;
            }
          }

          /* Footer Styles */
          .footer {
            margin: 40px 20px;
            padding: 60px 48px;
            border-radius: 24px;
          }

          .footer-card {
            max-width: 1200px;
            margin: 0 auto;
          }

          .footer-content {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 48px;
            margin-bottom: 48px;
          }

          .footer-section h3 {
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 8px;
            background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
          }

          .footer-tagline {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
          }

          .footer-section h4 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 16px;
            color: #fff;
          }

          .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
          }

          .footer-links li {
            margin-bottom: 12px;
          }

          .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 15px;
            transition: color 0.2s;
          }

          .footer-links a:hover {
            color: #8b5cf6;
          }

          .footer-bottom {
            text-align: center;
            padding-top: 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
          }

          @media (max-width: 968px) {
            .footer-content {
              grid-template-columns: repeat(2, 1fr);
              gap: 32px;
            }
          }
        