    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg: #f8fafc;
      --panel-bg: rgba(255, 255, 255, 0.85);
      --card-bg: rgba(255, 255, 255, 0.95);
      --border: rgba(15, 23, 42, 0.08);
      --text: #0f172a;
      --text-muted: #64748b;
      --primary: #eab308;
      --primary-hover: #ca8a04;
      --primary-glow: rgba(234, 179, 8, 0.15);
      --blue: #3b82f6;
      --font: 'Inter', sans-serif;
      --font-head: 'Poppins', sans-serif;
      --r: 12px;
      --wrap: 100%;
      --px: 24px;
    }
    body.dark-theme {
      --bg: #070a13;
      --panel-bg: rgba(15, 23, 42, 0.6);
      --card-bg: rgba(30, 41, 59, 0.7);
      --border: rgba(255, 255, 255, 0.08);
      --text: #f8fafc;
      --text-muted: #94a3b8;
    }
    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    header.site-header {
      border-bottom: 1px solid var(--border);
      background: var(--panel-bg);
      backdrop-filter: blur(12px);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .header-inner {
      max-width: var(--wrap);
      margin: 0 auto;
      padding: 12px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--text);
      font-family: var(--font-head);
      font-weight: 800;
      font-size: 20px;
    }
    .brand-badge {
      background: var(--primary);
      color: #070a13;
      padding: 2px 8px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 800;
    }
    .header-links {
      display: flex;
      gap: 18px;
      align-items: center;
    }
    .header-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 14px;
      font-weight: 600;
      transition: color 0.2s;
    }
    .header-links a:hover { color: var(--primary); }

    .main-wrap {
      max-width: var(--wrap);
      margin: 32px auto 60px;
      padding: 0 24px;
    }
    .bread {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 24px;
    }
    .bread a { color: inherit; text-decoration: none; }
    .bread a:hover { color: var(--primary); }

    /* Guides Hub Layout */
    .guides-hero {
      background: var(--panel-bg);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 36px 32px;
      margin-bottom: 36px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    }
    .guides-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(26px, 3.5vw, 36px);
      font-weight: 800;
      margin-bottom: 12px;
    }
    .guides-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
      gap: 24px;
    }
    .guide-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 24px;
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .guide-card:hover {
      transform: translateY(-3px);
      border-color: var(--primary);
      box-shadow: 0 8px 24px rgba(234, 179, 8, 0.08);
    }
    .guide-card-tag {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--primary);
      margin-bottom: 8px;
    }
    .guide-card h2 {
      font-family: var(--font-head);
      font-size: 19px;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.35;
    }
    .guide-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.55;
      margin-bottom: 18px;
      flex-grow: 1;
    }
    .guide-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
    }

    /* Single Article View */
    .article-container {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 40px 48px;
      margin: 0 auto;
      max-width: 860px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    }
    .article-header {
      border-bottom: 1px solid var(--border);
      padding-bottom: 24px;
      margin-bottom: 32px;
    }
    .article-header h1 {
      font-family: var(--font-head);
      font-size: clamp(26px, 3.5vw, 38px);
      font-weight: 800;
      margin-bottom: 14px;
      line-height: 1.25;
    }
    .article-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 13px;
      color: var(--text-muted);
      flex-wrap: wrap;
    }
    .article-body h2 {
      font-family: var(--font-head);
      font-size: 22px;
      font-weight: 700;
      margin: 28px 0 12px;
    }
    .article-body h3 {
      font-family: var(--font-head);
      font-size: 18px;
      font-weight: 700;
      margin: 20px 0 8px;
    }
    .article-body p {
      margin-bottom: 16px;
      font-size: 15.5px;
    }
    .article-body ul, .article-body ol {
      margin: 0 0 20px 24px;
      font-size: 15px;
    }
    .article-body li { margin-bottom: 6px; }
    .article-body table {
      width: 100%;
      border-collapse: collapse;
      margin: 24px 0;
      font-size: 14px;
    }
    .article-body th, .article-body td {
      border: 1px solid var(--border);
      padding: 10px 14px;
      text-align: left;
    }
    .article-body th {
      background: var(--panel-bg);
      font-weight: 700;
    }
    .cta-box {
      background: var(--panel-bg);
      border: 1px solid var(--primary);
      border-radius: var(--r);
      padding: 24px;
      margin: 32px 0 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }
    .cta-btn {
      background: var(--primary);
      color: #070a13;
      padding: 10px 20px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 14px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.2s;
    }
    .cta-btn:hover { background: var(--primary-hover); }

    @media (max-width: 768px) {
      .article-container { padding: 24px 20px; }
      .guides-grid { grid-template-columns: 1fr; }
    }

/* Phase 5K: Extracted Guides Inline Classes */
.hub-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.guide-header-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 820px;
}
.guide-article-h1 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}
.guide-cta-title {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
}
.guide-cta-sub {
  font-size: 14px;
  color: var(--text-muted);
}
