/* Shared exam-page styles — extracted from the per-page inline blocks.
   Single source of truth for all /exams/<code>/ pages except gh-300 and
   gh-900 (older layout generation, still inline). Per-page accent colours
   stay inline on each page as `.am-cert-hero { --amh-accent: ... }`. */
    /* ==============================================================
       AZURE MASTERY — CERT PAGE TOKENS + TYPOGRAPHY
       Subset of /apps/AzureMastery/index.html :root + display-* / body-*
       so the cert page matches the homepage visual without re-bundling
       the full 80KB design system.
       ============================================================== */
    :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;
    }

    /* Visually-hidden utility — same definition as homepage */
    .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 (homepage parity) */
    .display-large  { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(36px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.025em; }
    .display-small  { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(22px, 3vw, 36px); 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; }
    .heading-small  { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.4; }
    .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;
    }

    /* Top sticky-on-scroll site nav (minimal) */
    .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: 880px;
      margin: 0 auto;
      padding-inline: 24px;
    }
    main > section {
      padding-block: clamp(56px, 6vw, 96px);
    }
    main > section:first-of-type { padding-block-start: 0; }
    main > section[id] { scroll-margin-top: 72px; }

    /* Right-rail "On this page" TOC — desktop only */
    .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: 152px;
        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; }
    }

    .section-eyebrow { margin: 0 0 18px; }
    .section-title { margin: 0 0 36px; color: var(--text-primary); }
    .section-lede {
      margin: 0 0 40px;
      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: 64ch; }
    section p strong { color: var(--text-primary); font-weight: 600; }
    section a { color: var(--azure-cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
    section a:hover { text-decoration-thickness: 2px; }

    /* Page-level H1 — sits below the hero, sets the SEO target */
    .page-h1 {
      margin: 0 0 16px;
      color: var(--text-primary);
    }
    .page-h1-accent {
      background: var(--gradient-cyan-blue);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }

    /* Exam-format facts list */
    .exam-format {
      list-style: none;
      padding: 0;
      margin: 24px 0 0;
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }
    @media (min-width: 640px) {
      .exam-format { grid-template-columns: repeat(2, 1fr); }
    }
    .exam-format li {
      display: flex;
      align-items: baseline;
      gap: 12px;
      padding: 14px 18px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
    }
    .exam-format__label {
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-muted);
      min-width: 96px;
    }
    .exam-format__value {
      color: var(--text-primary);
      font-size: 15px;
    }

    /* Domain card grid (objectives) */
    .domains {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 16px;
    }
    .domain {
      padding: 24px 26px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
    }
    .domain h3 {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      margin: 0 0 12px;
      color: var(--text-primary);
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 19px;
      line-height: 1.3;
    }
    .domain__weight {
      font-family: 'Outfit', sans-serif;
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--azure-cyan);
      background: rgba(80,230,255,0.10);
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid rgba(80,230,255,0.25);
      white-space: nowrap;
    }
    .domain p { margin: 0; max-width: 60ch; }

    /* Study plan as ordered list with week labels */
    .study-plan {
      list-style: none;
      counter-reset: weeks;
      padding: 0;
      margin: 16px 0 0;
      display: grid;
      gap: 18px;
    }
    .study-plan > li {
      counter-increment: weeks;
      padding: 22px 24px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      position: relative;
    }
    .study-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;
    }
    .study-plan > li[data-period-label]::before {
      content: attr(data-period-label);
    }
    .study-plan h3 {
      margin: 0 0 8px;
      color: var(--text-primary);
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 17px;
    }
    .study-plan ul { margin: 0; padding-left: 20px; color: var(--text-secondary); }
    .study-plan li li { margin-bottom: 4px; }

    /* FAQ items */
    .faqs { display: grid; gap: 14px; margin-top: 16px; }
    .faq {
      padding: 22px 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; }

    /* Question types — visualisations of each format */
    .question-types {
      display: grid;
      grid-template-columns: 1fr;
      gap: 18px;
      margin-top: 16px;
    }
    @media (min-width: 640px) { .question-types { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1000px) { .question-types { grid-template-columns: repeat(3, 1fr); } }
    .qt {
      padding: 20px 22px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      display: flex;
      flex-direction: column;
    }
    .qt__viz {
      background: rgba(10,14,26,0.7);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 14px;
      margin-bottom: 18px;
      font-family: 'DM Sans', sans-serif;
      min-height: 200px;
      display: flex;
      flex-direction: column;
    }
    .qt__viz-q {
      margin: 0 0 12px;
      color: var(--text-primary);
      font-weight: 500;
      font-size: 12px;
      line-height: 1.4;
    }
    .qt__viz-options {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 6px;
    }
    .qt__viz-options li {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 7px 10px;
      background: rgba(255,255,255,0.02);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      color: var(--text-secondary);
      font-size: 11px;
      line-height: 1.3;
    }
    .qt__viz-options li.is-selected {
      background: rgba(80,230,255,0.10);
      border-color: rgba(80,230,255,0.32);
      color: var(--text-primary);
    }
    .qt__viz-radio {
      width: 13px; height: 13px;
      border-radius: 50%;
      border: 1.5px solid var(--text-muted);
      flex-shrink: 0;
      position: relative;
    }
    .is-selected .qt__viz-radio {
      border-color: var(--azure-cyan);
      background: var(--azure-cyan);
      box-shadow: 0 0 8px rgba(80,230,255,0.45);
    }
    .is-selected .qt__viz-radio::after {
      content: '';
      position: absolute;
      inset: 3px;
      border-radius: 50%;
      background: #050810;
    }
    .qt__viz-checkbox {
      width: 13px; height: 13px;
      border-radius: 3px;
      border: 1.5px solid var(--text-muted);
      flex-shrink: 0;
      position: relative;
    }
    .is-selected .qt__viz-checkbox {
      background: var(--azure-cyan);
      border-color: var(--azure-cyan);
      box-shadow: 0 0 8px rgba(80,230,255,0.4);
    }
    .is-selected .qt__viz-checkbox::after {
      content: '';
      position: absolute;
      top: 2px; left: 4px;
      width: 4px; height: 7px;
      border-right: 1.8px solid #050810;
      border-bottom: 1.8px solid #050810;
      transform: rotate(45deg);
    }

    /* Drag-and-drop visualisation */
    .qt__viz-drag {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 5px;
    }
    .qt__viz-drag li {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 7px 10px 7px 6px;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      color: var(--text-primary);
      font-size: 11px;
      cursor: grab;
    }
    .qt__viz-drag-handle {
      color: var(--text-muted);
      font-size: 12px;
      letter-spacing: -2px;
      flex-shrink: 0;
    }
    .qt__viz-drag-num {
      display: inline-flex;
      width: 18px; height: 18px;
      align-items: center;
      justify-content: center;
      background: rgba(80,230,255,0.12);
      color: var(--azure-cyan);
      border-radius: 4px;
      font-size: 10px;
      font-weight: 700;
      flex-shrink: 0;
      font-family: 'Outfit', sans-serif;
    }

    /* Hotspot — mock UI with a target highlight */
    .qt__viz-hotspot {
      position: relative;
      flex-grow: 1;
      min-height: 140px;
      background: linear-gradient(135deg, #182033 0%, #0a0e1a 100%);
      border-radius: 8px;
      overflow: hidden;
    }
    .qt__viz-hotspot::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(transparent 22%, rgba(255,255,255,0.05) 22%, rgba(255,255,255,0.05) 23%, transparent 23%),
        linear-gradient(transparent 44%, rgba(255,255,255,0.05) 44%, rgba(255,255,255,0.05) 45%, transparent 45%),
        linear-gradient(transparent 66%, rgba(255,255,255,0.05) 66%, rgba(255,255,255,0.05) 67%, transparent 67%),
        linear-gradient(transparent 88%, rgba(255,255,255,0.05) 88%, rgba(255,255,255,0.05) 89%, transparent 89%);
    }
    .qt__viz-hotspot-mock-row {
      position: absolute;
      left: 12px;
      height: 6px;
      background: rgba(255,255,255,0.08);
      border-radius: 3px;
    }
    .qt__viz-hotspot-mock-row--1 { top: 18%; width: 60%; }
    .qt__viz-hotspot-mock-row--2 { top: 32%; width: 80%; }
    .qt__viz-hotspot-mock-row--3 { top: 46%; width: 50%; }
    .qt__viz-hotspot-mock-row--4 { top: 60%; width: 70%; }
    .qt__viz-hotspot-mock-row--5 { top: 74%; width: 55%; }
    .qt__viz-target {
      position: absolute;
      width: 28px; height: 28px;
      border: 2px solid var(--azure-cyan);
      border-radius: 50%;
      top: 28%; left: 62%;
      box-shadow: 0 0 18px rgba(80,230,255,0.6), inset 0 0 8px rgba(80,230,255,0.2);
      transform: translate(-50%, -50%);
    }
    .qt__viz-target::before {
      content: '';
      position: absolute;
      inset: 8px;
      background: var(--azure-cyan);
      border-radius: 50%;
    }
    @media (prefers-reduced-motion: no-preference) {
      .qt__viz-target { animation: qt-pulse 2.4s ease-in-out infinite; }
    }
    @keyframes qt-pulse {
      0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
      50% { transform: translate(-50%,-50%) scale(1.18); opacity: 0.85; }
    }

    /* Case studies */
    .qt__viz-case {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .qt__viz-case-scenario {
      padding: 8px 10px;
      background: rgba(255,255,255,0.03);
      border-left: 2px solid var(--azure-cyan);
      border-radius: 0 4px 4px 0;
      color: var(--text-secondary);
      font-size: 10px;
      line-height: 1.45;
    }
    .qt__viz-case-scenario strong { color: var(--text-primary); font-weight: 600; }
    .qt__viz-case-questions {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 5px;
    }
    .qt__viz-case-questions li {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 9px;
      background: rgba(255,255,255,0.02);
      border: 1px solid var(--border-subtle);
      border-radius: 4px;
      color: var(--text-secondary);
      font-size: 10px;
    }
    .qt__viz-case-num {
      display: inline-flex;
      width: 16px; height: 16px;
      align-items: center;
      justify-content: center;
      background: rgba(80,230,255,0.10);
      color: var(--azure-cyan);
      border-radius: 50%;
      font-size: 9px;
      font-weight: 700;
      font-family: 'Outfit', sans-serif;
      flex-shrink: 0;
    }

    /* Answer Coach */
    .qt__viz-ai-wrong {
      padding: 7px 10px;
      background: rgba(240,80,80,0.08);
      border: 1px solid rgba(240,80,80,0.25);
      border-radius: 4px;
      color: var(--text-secondary);
      font-size: 10px;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .qt__viz-ai-wrong-mark { color: #F05050; font-weight: 700; font-size: 12px; }
    .qt__viz-ai-explain {
      padding: 9px 11px;
      background: linear-gradient(135deg, rgba(80,230,255,0.06) 0%, rgba(149,120,224,0.06) 100%);
      border: 1px solid rgba(80,230,255,0.22);
      border-radius: 4px;
      color: var(--text-secondary);
      font-size: 10px;
      line-height: 1.45;
      flex-grow: 1;
    }
    .qt__viz-ai-explain-mark {
      color: var(--azure-cyan);
      font-weight: 700;
      margin-right: 4px;
    }
    .qt__viz-ai-source {
      display: block;
      margin-top: 8px;
      font-size: 9px;
      color: var(--text-muted);
      font-style: italic;
    }

    /* Card text */
    .qt h3 {
      margin: 0 0 8px;
      color: var(--text-primary);
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 17px;
      line-height: 1.3;
    }
    .qt p { margin: 0 0 12px; color: var(--text-secondary); font-size: 14px; line-height: 1.55; flex-grow: 1; }
    .qt__hint {
      display: inline-block;
      align-self: flex-start;
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--azure-cyan);
      padding: 4px 10px;
      background: rgba(80,230,255,0.08);
      border: 1px solid rgba(80,230,255,0.18);
      border-radius: 999px;
    }
    .qt__hint--gold { color: var(--xp-gold); background: rgba(255,185,0,0.10); border-color: rgba(255,185,0,0.22); }
    .qt__hint--purple { color: var(--azure-purple); background: rgba(149,120,224,0.10); border-color: rgba(149,120,224,0.22); }

    /* Certification paths visualisation */
    .cert-paths { display: grid; gap: 18px; margin-top: 16px; }
    .cert-path {
      padding: 22px 24px;
      background: rgba(255,255,255,0.025);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
    }
    .cert-path__header {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
    .cert-path__name {
      margin: 0;
      color: var(--text-primary);
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 16px;
      line-height: 1.3;
    }
    .cert-path__tag {
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--azure-cyan);
      padding: 3px 9px;
      background: rgba(80,230,255,0.08);
      border: 1px solid rgba(80,230,255,0.22);
      border-radius: 999px;
    }
    .cert-path__tag--terminal { color: var(--success-green); background: rgba(32,192,32,0.08); border-color: rgba(32,192,32,0.25); }
    .cert-path__stations {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      align-items: stretch;
      gap: 10px;
    }
    .cert-path__station {
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }
    .cert-path__station + .cert-path__station::before {
      content: '→';
      color: var(--text-muted);
      font-size: 18px;
      align-self: center;
    }
    .cert-path__chip {
      display: inline-flex;
      flex-direction: column;
      gap: 2px;
      padding: 10px 16px;
      border-radius: var(--radius-md);
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border-subtle);
      text-decoration: none;
      color: var(--text-primary);
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
      min-width: 0;
    }
    a.cert-path__chip:hover {
      background: rgba(80,230,255,0.06);
      border-color: rgba(80,230,255,0.30);
      transform: translateY(-1px);
    }
    .cert-path__chip-code {
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 0.04em;
    }
    .cert-path__chip-role {
      font-size: 11px;
      color: var(--text-secondary);
    }
    .cert-path__chip--current {
      background: linear-gradient(135deg, rgba(80,230,255,0.18) 0%, rgba(43,136,216,0.18) 100%);
      border-color: rgba(80,230,255,0.50);
      box-shadow: 0 0 18px rgba(80,230,255,0.20);
    }
    .cert-path__chip--current .cert-path__chip-code { color: var(--azure-cyan); }
    .cert-path__chip--target {
      background: rgba(255,185,0,0.10);
      border-color: rgba(255,185,0,0.32);
    }
    .cert-path__chip--target .cert-path__chip-code { color: var(--xp-gold); }
    .cert-path__or {
      display: inline-flex;
      align-items: center;
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
      padding: 0 4px;
    }

    /* Related certifications grid */
    .related-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
      margin-top: 16px;
    }
    @media (min-width: 640px) {
      .related-grid { grid-template-columns: repeat(2, 1fr); }
    }
    .related-card {
      display: block;
      padding: 22px 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: 18px;
      color: var(--azure-cyan);
      letter-spacing: 0.04em;
    }
    .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(60px, 9vw, 120px) 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 28px; max-width: 56ch; color: var(--text-secondary); }
    .cta-button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 32px;
      border-radius: 999px;
      font-family: 'Outfit', sans-serif;
      font-weight: 600;
      font-size: 17px;
      color: #050810;
      background: var(--gradient-cyan-blue);
      text-decoration: none;
      box-shadow:
        0 12px 28px rgba(43,136,216,0.40),
        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;
    }
    .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); }

    /* Hero styles: /exams/hero.css — per-page family accent only */
  

/* --- Free study guides block --- */
.guide-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 8px; }
@media (min-width: 720px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
.guide-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--border-subtle, rgba(255,255,255,0.1)); border-radius: var(--radius-lg, 16px); background: rgba(255,255,255,0.025); text-decoration: none; transition: border-color 0.15s ease, background 0.15s ease; }
.guide-card:hover { border-color: rgba(80,230,255,0.4); background: rgba(80,230,255,0.05); }
.guide-card__title { font-weight: 600; color: var(--text-primary, #EAEFF7); font-size: 16px; }
.guide-card__hint { font-size: 13.5px; line-height: 1.5; color: var(--text-secondary, #9AA3B5); }
.guide-card__more { font-size: 13px; font-weight: 600; color: var(--amh-accent, #50E6FF); }

/* --- Tappable sample questions (progressive enhancement; exam.js) --- */
.qt__viz[data-quiz-live] .qt__viz-options li { cursor: pointer; border-radius: 10px; transition: background 0.15s ease; }
.qt__viz[data-quiz-live] .qt__viz-options li:hover { background: rgba(80,230,255,0.07); }
.qt__viz[data-quiz-live] .qt__viz-options li:focus-visible { outline: 2px solid var(--amh-accent, #50E6FF); outline-offset: 2px; }
.qt__viz-options li.is-correct { background: rgba(31,190,67,0.14); box-shadow: inset 0 0 0 1px rgba(51,210,160,0.55); }
.qt__viz-options li.is-wrong { background: rgba(255,99,99,0.12); box-shadow: inset 0 0 0 1px rgba(255,99,99,0.45); }
.qt__quiz-note { display: block; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-secondary, #9AA3B5); }
.qt__quiz-note strong { color: var(--text-primary, #EAEFF7); }
.qt__quiz-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--text-secondary, #9AA3B5); opacity: 0.8; }
.quiz-summary { margin: 18px 0 0; padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(80,230,255,0.25); background: rgba(80,230,255,0.06); font-size: 15px; line-height: 1.5; }
.quiz-summary a { color: var(--amh-accent, #50E6FF); font-weight: 600; text-decoration: none; }
.quiz-summary a:hover { text-decoration: underline; }
/* 44pt tap targets (Apple HIG minimum) */
.site-nav__cta { min-height: 44px; display: inline-flex; align-items: center; }

