
    /* ==============================================================
       AZURE MASTERY — GUIDES ARTICLE TOKENS + TYPOGRAPHY + COMPONENTS
       Token block + typography copied verbatim from exams/az-104/index.html
       so guides match the site visual. Every colour outside :root is a
       token or a semi-transparent tint that reads on both themes, keeping
       the page theme-ready. Sibling guide authors can lift this <style>
       block wholesale and only change the article prose.
       ============================================================== */
    :root {
      --azure-cyan:      #50E6FF;
      --azure-blue:      #2B88D8;
      --azure-purple:    #9578E0;
      --xp-gold:         #FFB900;
      --success-green:   #20C020;
      --warning-orange:  #F7630C;

      --bg-app:          #050810;
      --bg-deep:         #0A0E1A;
      --bg-card:         #111827;
      --bg-elevated:     #182033;
      --bg-soft-blue:    #10233D;

      --text-primary:    #F0F0F0;
      --text-secondary:  #8B95A5;
      --text-muted:      #808A96;

      --border-subtle:   rgba(255,255,255,0.06);
      --border-strong:   rgba(255,255,255,0.12);
      --border-accent:   rgba(80,230,255,0.25);

      --radius-md:       12px;
      --radius-lg:       16px;
      --radius-xl:       20px;

      --gradient-cyan-blue:   linear-gradient(135deg, #50E6FF 0%, #2B88D8 100%);
      --gradient-blue-purple: linear-gradient(135deg, #2B88D8 0%, #9578E0 100%);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    html, body { margin: 0; padding: 0; }
    body {
      background: linear-gradient(180deg, var(--bg-app) 0%, var(--bg-deep) 50%, var(--bg-app) 100%);
      color: var(--text-primary);
      font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
      font-size: 16px;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .sr-only {
      position: absolute;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Typography classes (site parity) */
    .display-large  { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(36px, 6vw, 64px); line-height: 1.06; letter-spacing: -0.025em; }
    .display-small  { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.015em; }
    .heading-medium { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: clamp(15px, 2vw, 22px); line-height: 1.3; }
    .body-large     { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.65; }
    .label-eyebrow  { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--azure-cyan); }
    .headline-accent {
      background: var(--gradient-cyan-blue);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }

    /* Sticky site nav (exam-page pattern) */
    .site-nav {
      position: sticky;
      top: 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 24px;
      background: rgba(5, 8, 16, 0.86);
      -webkit-backdrop-filter: blur(14px);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border-subtle);
    }
    .site-nav__brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--text-primary);
    }
    .site-nav__brand img { width: 28px; height: 28px; border-radius: 6px; }
    .site-nav__brand span { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 15px; }
    .site-nav__cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 16px;
      border-radius: 999px;
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 13px;
      color: var(--azure-cyan);
      background: rgba(80,230,255,0.06);
      border: 1px solid rgba(80,230,255,0.30);
      text-decoration: none;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .site-nav__cta:hover { background: rgba(80,230,255,0.12); transform: translateY(-1px); }

    /* Body sections */
    .container {
      max-width: 780px;
      margin: 0 auto;
      padding-inline: 24px;
    }
    main > section { padding-block: clamp(44px, 5vw, 72px); }
    main > section:first-of-type { padding-block-start: 0; }
    main > section[id] { scroll-margin-top: 72px; }

    .section-eyebrow { margin: 0 0 14px; }
    .section-title { margin: 0 0 24px; color: var(--text-primary); }
    .section-lede {
      margin: 0 0 28px;
      color: var(--text-secondary);
      font-size: clamp(16px, 1.5vw, 18px);
      line-height: 1.65;
      max-width: 64ch;
    }
    section p { color: var(--text-secondary); max-width: 66ch; }
    section p strong { color: var(--text-primary); font-weight: 600; }
    .section-note { margin-top: 22px; }
    section a { color: var(--azure-cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
    section a:hover { text-decoration-thickness: 2px; }

    /* Right-rail "On this page" TOC — desktop only (exam-page pattern) */
    .page-toc { display: none; }
    @media (min-width: 1280px) {
      .page-toc {
        display: block;
        position: fixed;
        top: 50%;
        right: 24px;
        transform: translateY(-50%);
        z-index: 40;
        width: 156px;
        padding: 16px 10px;
        background: rgba(5, 8, 16, 0.55);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border-subtle);
        border-radius: 12px;
        font-family: 'Outfit', sans-serif;
      }
      .page-toc__title {
        margin: 0 0 10px;
        padding-inline-start: 12px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--azure-cyan);
      }
      .page-toc__list { list-style: none; margin: 0; padding: 0; }
      .page-toc__item { margin: 0; }
      .page-toc__link {
        display: block;
        padding: 6px 12px;
        font-size: 12px;
        line-height: 1.4;
        color: var(--text-secondary);
        text-decoration: none;
        border-left: 2px solid transparent;
        border-radius: 0 6px 6px 0;
        transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
      }
      .page-toc__link:hover {
        color: var(--text-primary);
        background: rgba(80, 230, 255, 0.06);
        text-decoration: none;
      }
      .page-toc__link[aria-current="true"] {
        color: var(--azure-cyan);
        border-left-color: var(--azure-cyan);
        background: rgba(80, 230, 255, 0.08);
      }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
    }

    /* ---- Guide article components (reusable across the /guides/ wave) ---- */

    /* Text hero — no phone mockup; eyebrow, headline, dek, meta line */
    .guide-hero { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); }
    .guide-hero__eyebrow { margin: 0 0 18px; }
    .guide-hero__title { margin: 0 0 20px; color: var(--text-primary); }
    .guide-hero__dek {
      margin: 0 0 24px;
      color: var(--text-secondary);
      font-size: clamp(16px, 1.6vw, 19px);
      line-height: 1.6;
      max-width: 60ch;
    }
    .guide-meta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      font-family: 'Outfit', sans-serif;
      font-size: 12px;
      letter-spacing: 0.04em;
      color: var(--text-muted);
    }
    .guide-meta__dot { color: var(--border-strong); }

    /* Domain / weight table */
    .guide-table-wrap { overflow-x: auto; margin-top: 8px; }
    .guide-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 15px;
      min-width: 460px;
    }
    .guide-table caption {
      text-align: left;
      color: var(--text-muted);
      font-size: 13px;
      padding-bottom: 10px;
    }
    .guide-table th, .guide-table td {
      text-align: left;
      padding: 12px 16px;
      border-bottom: 1px solid var(--border-subtle);
      vertical-align: top;
    }
    .guide-table thead th {
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    .guide-table tbody th {
      font-family: 'DM Sans', sans-serif;
      font-weight: 500;
      color: var(--text-primary);
    }
    .guide-table td { color: var(--text-secondary); }
    .guide-table__weight {
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 13px;
      color: var(--azure-cyan);
      white-space: nowrap;
    }
    .guide-table tbody tr:last-child th,
    .guide-table tbody tr:last-child td { border-bottom: 0; }

    /* Quick-facts list (exam format at a glance) */
    .fact-grid {
      list-style: none;
      padding: 0;
      margin: 22px 0 0;
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }
    @media (min-width: 620px) { .fact-grid { grid-template-columns: repeat(2, 1fr); } }
    .fact-grid li {
      display: flex;
      align-items: baseline;
      gap: 12px;
      padding: 13px 18px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
    }
    .fact-grid__label {
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 11px;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--text-muted);
      min-width: 92px;
    }
    .fact-grid__value { color: var(--text-primary); font-size: 15px; }

    /* Six-week study plan */
    .guide-plan {
      list-style: none;
      counter-reset: weeks;
      padding: 0;
      margin: 8px 0 0;
      display: grid;
      gap: 16px;
    }
    .guide-plan > li {
      counter-increment: weeks;
      padding: 20px 24px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
    }
    .guide-plan > li::before {
      content: 'Week ' counter(weeks);
      display: inline-block;
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--azure-cyan);
      margin-bottom: 8px;
    }
    .guide-plan h3 {
      margin: 0 0 8px;
      color: var(--text-primary);
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 17px;
    }
    .guide-plan p { margin: 0; max-width: none; }

    /* Callout / topic cards (hardest topics, practice tactics) */
    .topic-cards { display: grid; gap: 16px; margin-top: 8px; }
    .topic-card {
      padding: 20px 24px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-left: 3px solid var(--border-accent);
      border-radius: var(--radius-lg);
    }
    .topic-card h3 {
      margin: 0 0 8px;
      color: var(--text-primary);
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 17px;
      line-height: 1.3;
    }
    .topic-card p { margin: 0; max-width: none; }

    /* Inline article screenshot */
    .guide-figure {
      margin: 28px 0 0;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: rgba(255,255,255,0.02);
    }
    .guide-figure img { display: block; width: 100%; height: auto; }
    .guide-figure figcaption {
      padding: 12px 18px;
      color: var(--text-muted);
      font-size: 13px;
      border-top: 1px solid var(--border-subtle);
    }

    /* CTA panel (in-article, honest features-forward) */
    .cta-panel {
      margin-top: 30px;
      padding: 26px 28px;
      border-radius: var(--radius-xl);
      background:
        radial-gradient(ellipse 80% 120% at 0% 0%, rgba(43,136,216,0.16) 0%, transparent 60%),
        rgba(255,255,255,0.025);
      border: 1px solid var(--border-accent);
    }
    .cta-panel h3 {
      margin: 0 0 8px;
      color: var(--text-primary);
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 19px;
    }
    .cta-panel p { margin: 0 0 18px; color: var(--text-secondary); max-width: 58ch; }
    .cta-button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 26px;
      border-radius: 999px;
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 15px;
      color: #050810;
      background: var(--gradient-cyan-blue);
      text-decoration: none;
      box-shadow: 0 12px 28px rgba(43,136,216,0.35), 0 0 0 1px rgba(80,230,255,0.45) inset;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .cta-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 36px rgba(43,136,216,0.50), 0 0 0 1px rgba(80,230,255,0.65) inset;
    }

    /* FAQ items */
    .faqs { display: grid; gap: 14px; margin-top: 8px; }
    .faq {
      padding: 20px 24px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
    }
    .faq h3 {
      margin: 0 0 10px;
      color: var(--text-primary);
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 17px;
      line-height: 1.35;
    }
    .faq p { margin: 0; max-width: none; }

    /* Related grid (exam-page pattern) */
    .related-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
      margin-top: 8px;
    }
    @media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
    .related-card {
      display: block;
      padding: 20px 24px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      text-decoration: none;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }
    .related-card:hover {
      background: rgba(80,230,255,0.06);
      border-color: rgba(80,230,255,0.28);
      transform: translateY(-2px);
    }
    .related-card__code {
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      font-size: 16px;
      color: var(--azure-cyan);
      letter-spacing: 0.03em;
    }
    .related-card__name {
      display: block;
      margin-top: 6px;
      color: var(--text-primary);
      font-size: 15px;
    }
    .related-card__hint {
      display: block;
      margin-top: 8px;
      color: var(--text-muted);
      font-size: 13px;
    }

    /* Final CTA section */
    .cta-final {
      text-align: center;
      padding: clamp(52px, 8vw, 104px) 24px;
      background:
        radial-gradient(ellipse 60% 50% at 50% 30%, rgba(43,136,216,0.18) 0%, transparent 65%),
        radial-gradient(ellipse 40% 30% at 50% 100%, rgba(149,120,224,0.10) 0%, transparent 65%);
    }
    .cta-final h2 { margin: 0 0 14px; color: var(--text-primary); }
    .cta-final p { margin: 0 auto 26px; max-width: 56ch; color: var(--text-secondary); }
    .cta-final .cta-button { font-size: 17px; padding: 16px 32px; }
    .cta-small { display: block; margin-top: 14px; color: var(--text-muted); font-size: 13px; }

    /* Footer */
    .site-footer {
      border-top: 1px solid var(--border-subtle);
      padding: 32px 24px;
      text-align: center;
      color: var(--text-muted);
      font-size: 13px;
    }
    .site-footer a { color: var(--text-secondary); text-decoration: none; margin: 0 8px; }
    .site-footer a:hover { color: var(--azure-cyan); }

    .guide-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 720px; margin: 40px auto 0; padding: 18px 22px; border: 1px solid rgba(80,230,255,0.3); border-radius: 14px; background: rgba(80,230,255,0.05); }
    .guide-inline-cta__text { font-size: 15px; line-height: 1.5; color: var(--text-primary); }
    .guide-inline-cta__btn { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 22px; border-radius: 999px; background: linear-gradient(120deg, #50E6FF, #2E7CEE); color: #041018; font-weight: 700; font-size: 14px; text-decoration: none; }


/* Shared polish: canonical CTA sizing, mobile tables, and narrow navigation. */
.guide-inline-cta {
  flex-wrap: nowrap;
  width: calc(100% - 48px);
  max-width: 720px;
}
.guide-inline-cta__text { flex: 1 1 0; min-width: 0; }
.guide-inline-cta__btn { justify-content: center; }
.site-nav__cta, .theme-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
.site-nav__cta:focus-visible, .guide-inline-cta__btn:focus-visible {
  outline: 2px solid var(--azure-cyan);
  outline-offset: 3px;
}
section h3 { color: var(--text-primary); font-family: 'Outfit', sans-serif; font-weight: 600; }
@media (min-width: 640px) { .topic-cards--pair { grid-template-columns: repeat(2, 1fr); } }
.faq summary { color: var(--text-primary); cursor: pointer; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 17px; line-height: 1.35; }
.faq[open] summary { margin-bottom: 10px; }
.faq__answer p { margin: 0; max-width: none; }

@media (max-width: 640px) {
  .site-nav { gap: 8px; padding-inline: 14px; }
  .site-nav__brand { min-width: 0; }
  .site-nav__brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .guide-inline-cta { flex-direction: column; align-items: stretch; }
  .guide-inline-cta__btn { width: 100%; }

  .guide-table-wrap { overflow: visible; border: 0; background: transparent; }
  .guide-table, .guide-table caption, .guide-table tbody, .guide-table tr,
  .guide-table th, .guide-table td { display: block; width: 100%; }
  .guide-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .guide-table tbody { display: grid; gap: 12px; }
  .guide-table tbody tr {
    overflow: hidden;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--bg-card);
  }
  .guide-table th, .guide-table td { padding: 7px 0; border: 0; white-space: normal; }
  .guide-table td::before {
    display: block;
    margin-bottom: 2px;
    content: attr(data-label);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
}

@media (max-width: 350px) {
  .site-nav__brand span { display: none; }
  .site-nav__cta { padding-inline: 12px; }
}
