  :root {
    --bg: #07080d;
    --surface: #23133a;
    --surface2: #1f1232;
    --border: #3a1c63;
    --accent: #883CF0;
    --accent2: #7c3aed;
    --accent3: #af62c8;
    --warn: #7b5ea7;
    --danger: #ef4444;
    --text: #e2e8f0;
    --text-dim: #c8d6e5;
    --text-muted: #f0f8ff;
    --glow: rgba(255, 0, 230, 0.15);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  .yubikey-delinea-guide {
    background: #191127;
    color: var(--text);
    height: 100vh;
    overflow-x: hidden;
    position: relative;
    overflow-y: auto;
  }

  /* Grid background */
  .yubikey-delinea-guide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 0, 179, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 0, 170, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
  }

  /* Ambient orbs */
  .yubikey-delinea-guide::after {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .ambient-bottom {
    position: fixed;
    bottom: -200px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }

  .wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
  }

  /* ── Header ── */
  .yubikey-delinea-guide header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .brand-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 20px #be52e50f;
    flex-shrink: 0;
  }

  .brand-text {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
  }

  .brand-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
  }

  .badge {
    background: linear-gradient(135deg, #3a1c63, #684895);
    border: 1px solid #3a1c63;
    color: var(--accent);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    align-self: center;
  }

  /* ── Hero ── */
  .hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 40px;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  }

  .hero-eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 16px;
  }

  .hero h1 span {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
    max-width: 600px;
  }

  .hero-meta {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-dim);
  }

  .meta-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
  }

  .meta-dot.green { background: var(--accent3); box-shadow: 0 0 6px var(--accent3); }
  .meta-dot.blue { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
  .meta-dot.purple { background: var(--accent2); box-shadow: 0 0 6px var(--accent2); }

  /* ── Progress tracker ── */
  .progress-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
  }

  .progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-dim);
  }

  .progress-track {
    height: 4px;
    background: #282035;
    border-radius: 2px;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
    width: 0%;
    box-shadow: 0 0 8px var(--accent);
  }

  .step-dots {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
  }

  .step-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.3s;
    cursor: pointer;
  }

  .step-dot.active {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    transform: scale(1.3);
  }

  .step-dot.done {
    background: var(--accent3);
    box-shadow: 0 0 6px var(--accent3);
  }

  /* ── Steps ── */
  .steps-container { position: relative; }

  .step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
  }

  .step-card.active {
    border-color: #5e309d;
    box-shadow: 0 0 30px #be52e50f;
  }

  .step-card.completed .step-header {
    opacity: 0.7;
  }

  .step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
  }

  .step-header:hover {
    background: rgba(255,255,255,0.02);
  }

  .step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s;
    border: 1.5px solid var(--border);
    color: var(--text-dim);
  }

  .step-card.active .step-num {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-color: transparent;
    color: white;
    box-shadow: 0 0 16px #be52e50f;
  }

  .step-card.completed .step-num {
    background: var(--accent3);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 12px #be52e50f;
  }

  .step-title-group { flex: 1; }

  .step-tag {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
  }

  .step-card.active .step-tag { color: var(--accent); }

  .step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
  }

  .step-chevron {
    color: var(--text-muted);
    transition: transform 0.3s;
    font-size: 18px;
    line-height: 1;
  }

  .step-card.active .step-chevron { transform: rotate(90deg); color: var(--accent); }

  .step-body {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  }

  .step-card.active .step-body {
    max-height: 980px;
    padding: 0 24px 24px;
  }

  .step-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 20px;
  }

  /* Content inside steps */
  .instruction {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
  }

  .instruction-bullet {
    width: 24px; height: 24px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
  }

  .instruction-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-dim);
    flex: 1;
  }

  .instruction-text strong {
    color: var(--text);
    font-weight: 500;
  }

  /* Path/nav representation */
  .nav-path {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    margin: 14px 0;
    flex-wrap: wrap;
  }

  .nav-crumb {
    font-size: 11px;
    color: var(--text-dim);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 8px;
    white-space: nowrap;
  }

  .nav-crumb.active {
    color: var(--accent);
    border-color: #5e309d;
    background: #2a1647;
  }

  .nav-sep {
    color: var(--text-muted);
    font-size: 12px;
  }

  /* Callout boxes */
  .callout {
    border-radius: 10px;
    padding: 14px 16px;
    margin: 14px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.6;
  }

  .callout-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

  .callout.info {
    background: #23133a;
    border: 1px solid #5e309d;
    color: #f1f8fb;
  }

  .callout.warn {
    background: rgba(245,158,11,0.07);
    border: 1px solid rgba(245,158,11,0.2);
    color: #fcd34d;
  }

  .callout.success {
    background: rgba(16,185,129,0.07);
    border: 1px solid rgba(16,185,129,0.2);
    color: #6ee7b7;
  }

  .callout.tip {
    background: rgba(124,58,237,0.08);
    border: 1px solid rgba(124,58,237,0.2);
    color: #c4b5fd;
  }

  /* UI mockup */
  .ui-mock {
    background: #1f1232;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0;
  }

  .ui-mock-bar {
    background: #3a1c6350;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ui-mock-dots span {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 4px;
  }

  .ui-mock-dots span:nth-child(1) { background: #ef4444; }
  .ui-mock-dots span:nth-child(2) { background: #f59e0b; }
  .ui-mock-dots span:nth-child(3) { background: #10b981; }

  .ui-mock-url {
    font-size: 10px;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 10px;
    flex: 1;
    max-width: 300px;
  }

  .ui-mock-content {
    padding: 20px;
  }

  /* Highlight box for UI elements */
  .ui-highlight {
    border: 1.5px dashed #5e309d;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 8px 0;
    position: relative;
    background: #1f1232;
  }

  .ui-highlight-label {
    position: absolute;
    top: -9px; left: 10px;
    background: var(--bg);
    font-size: 9px;
    color: var(--accent);
    padding: 0 6px;
    text-transform: uppercase;
  }

  .fake-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6848953a, #684895b0);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 12px;
    color: var(--text);
  }

  .fake-button.primary {
    background: linear-gradient(135deg, var(--accent2), #4c1d95);
    border-color: rgba(124,58,237,0.5);
    color: white;
  }

  .fake-button.accent {
    background: linear-gradient(135deg, #2a1647, #2a164778);
    border-color: #5e309d;
    color: var(--accent);
  }

  .fake-link {
    color: var(--accent);
    text-decoration: underline;
    font-size: 12px;
    cursor: default;
  }

  /* ── Action buttons ── */
  .step-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .btn {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: white;
    box-shadow: 0 0 20px #be52e50f;
  }

  .btn-primary:hover { box-shadow: 0 0 30px #883cf0e0; transform: translateY(-1px); }

  .btn-ghost {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-dim);
  }

  .btn-ghost:hover { border-color: #3a1c63; color: var(--text); }

  .btn-success {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    box-shadow: 0 0 16px #be52e50f;
  }

  .btn-success:hover { box-shadow: 0 0 24px rgba(16, 185, 129, 0.238); transform: translateY(-1px); }

  /* ── Quiz / Check ── */
  .quiz-box {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 16px;
  }

  .quiz-q {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
  }

  .quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .quiz-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    color: var(--text-dim);
    background: var(--surface);
  }

  .quiz-option:hover {
    border-color: #5e309d;
    color: var(--text);
    background: #1f1232;
  }

  .quiz-option.correct {
    border-color: #77b255;
    background: #77b25520;
    color: #60c090;
  }

  .quiz-option.wrong {
    border-color: #dc143c;
    background: #dc143c2b;
    color: #ff7a90;
  }

  .quiz-option input[type="radio"] { accent-color: var(--accent); }

  .quiz-feedback {
    margin-top: 12px;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    display: none;
  }

  .quiz-feedback.show { display: block; }
  .quiz-feedback.correct { background: #77b25520; color: #60c090; border: 1px solid #77b255; }
  .quiz-feedback.wrong { background: #dc143c2b; color: #ff7a90; border: 1px solid #dc143c; }

  /* ── Summary / completion ── */
  .completion-card {
    background: var(--surface);
    border: 1px solid #3a1c63;
    border-radius: 16px;
    padding: 36px 40px;
    margin-top: 32px;
    text-align: center;
    display: none;
    position: relative;
    overflow: hidden;
  }

  .completion-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent3), transparent);
  }

  .completion-card.show { display: block; animation: fadeUp 0.5s ease; }

  .completion-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 0 20px #2a1647);
  }

  .completion-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent3);
    margin-bottom: 10px;
  }

  .completion-card p {
    color: var(--text-dim);
    font-size: 14px;
    max-width: 480px;
    margin: 0 auto 20px;
    line-height: 1.7;
  }

  .completion-checklist {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 0 auto 24px;
  }

  .completion-checklist li {
    list-style: none;
    font-size: 13px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .completion-checklist li::before {
    content: '✓';
    color: var(--accent3);
    font-weight: bold;
  }

  /* animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 #be52e50f; }
    70%  { box-shadow: 0 0 0 12px #be52e50f; }
    100% { box-shadow: 0 0 0 0 #be52e50f; }
  }

  .step-card.active { animation: pulse-ring 2s ease-out; }

  /* tooltip */
  .tooltip-wrap { position: relative; display: inline-block; }
  .tooltip-wrap .tooltip {
    position: absolute;
    bottom: 130%; left: 50%; transform: translateX(-50%);
    background: #1e2636;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s;
  }
  .tooltip-wrap:hover .tooltip { opacity: 1; }

  /* tags */
  .tag {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
  }

  .tag-blue { background: rgba(0,212,255,0.1); color: var(--accent); border: 1px solid rgba(0,212,255,0.2); }
  .tag-purple { background: rgba(124,58,237,0.1); color: #a78bfa; border: 1px solid rgba(124,58,237,0.2); }
  .tag-green { background: rgba(16,185,129,0.1); color: var(--accent3); border: 1px solid rgba(16,185,129,0.2); }

  /* responsive */
  @media (max-width: 600px) {
    .hero { padding: 24px 20px; }
    .step-header { padding: 14px 16px; }
    .step-card.active .step-body { padding: 0 16px 16px; }
    .wrapper { padding: 24px 16px 60px; }
  }

    /* SCROLLBAR */
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: #873cf015; }
  ::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 3px; }