  .demo-project-app {
    /* Epicflow brand - taken from logo + epicflow.com */
    --ef-primary: #202060;            /* primary wordmark indigo (meta-theme-color) */
    --ef-primary-dark: #161645;
    --ef-grad-1: #2BB6F7;             /* logo gradient start (cyan) */
    --ef-grad-2: #2C84E9;
    --ef-grad-3: #2E38D4;
    --ef-grad-4: #3000C4;             /* logo gradient end (violet) */
    --ef-accent: #2494F0;
    --ef-blue-tint: #ECF3FD;
    --ef-blue-tint-2: #DCE7FA;

    --ef-text: #14143A;
    --ef-text-muted: #5A5F7A;
    --ef-text-light: #8B90A8;
    --ef-bg: #F5F6FA;
    --ef-surface: #FFFFFF;
    --ef-border: #E2E4EE;
    --ef-border-strong: #C9CCDC;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(32, 32, 96, 0.04), 0 1px 3px rgba(32, 32, 96, 0.06);
    --shadow-md: 0 4px 12px rgba(32, 32, 96, 0.06), 0 2px 4px rgba(32, 32, 96, 0.04);
    --shadow-lg: 0 12px 32px rgba(32, 32, 96, 0.10), 0 4px 12px rgba(32, 32, 96, 0.06);

    --ef-gradient: linear-gradient(135deg, #2BB6F7 0%, #2C84E9 35%, #2E38D4 70%, #3000C4 100%);
  }

  .demo-project-app,
  .demo-project-app * { box-sizing: border-box; }

  .demo-project-app {
    color: var(--ef-text);
    background: var(--ef-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* ---------- NAV ---------- */
  .nav {
    background: var(--ef-surface);
    border-bottom: 1px solid var(--ef-border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo-svg { height: 28px; width: auto; display: block; }

  .nav-links {
    display: flex;
    gap: 32px;
    font-size: 14px;
    color: var(--ef-text-muted);
    font-weight: 500;
  }
  .nav-links a { color: inherit; text-decoration: none; transition: color 0.15s; }
  .nav-links a:hover { color: var(--ef-primary); }
  .nav-cta {
    background: var(--ef-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
  }
  .nav-cta:hover { background: var(--ef-primary-dark); }

  /* ---------- CONTAINER ---------- */
  .container-narrow {
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 32px;
  }

  /* ---------- PAGE 1 - DIAGNOSTIC ---------- */
  .hero {
    text-align: center;
    margin-bottom: 48px;
  }
  .eyebrow {
    display: inline-block;
    background: var(--ef-blue-tint);
    color: var(--ef-grad-3);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
    letter-spacing: 0.01em;
  }
  .demo-project-app h1 {
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: var(--ef-primary);
    margin-bottom: 18px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .demo-project-app h1 .accent {
    background: var(--ef-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .lead {
    font-size: 18px;
    color: var(--ef-text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.55;
  }

  .demo-project-progress {
    max-width: 720px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--ef-text-muted);
  }
  .demo-project-progress__bar {
    flex: 1;
    height: 4px;
    background: var(--ef-border);
    border-radius: 100px;
    overflow: hidden;
  }
  .demo-project-progress__fill {
    height: 100%;
    background: var(--ef-gradient);
    width: 0%;
    transition: width 0.4s ease;
  }

  .question-section {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
  }
  .question-label {
    font-size: 12px;
    color: var(--ef-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
  }
  .question-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--ef-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .question-sub {
    color: var(--ef-text-muted);
    margin-bottom: 24px;
    font-size: 15px;
  }

  .pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .pain-option {
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--ef-surface);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  .pain-option:hover {
    border-color: var(--ef-grad-3);
    background: #FAFBFE;
  }
  .pain-option.selected {
    border-color: var(--ef-primary);
    background: var(--ef-blue-tint);
    box-shadow: 0 0 0 3px rgba(32, 32, 96, 0.08);
  }
  .pain-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--ef-blue-tint);
    color: var(--ef-grad-3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
  }
  .pain-icon svg { width: 20px; height: 20px; }
  .pain-option.selected .pain-icon {
    background: var(--ef-gradient);
    color: white;
  }
  .pain-content { flex: 1; }
  .pain-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ef-primary);
    margin-bottom: 3px;
  }
  .pain-desc {
    font-size: 13px;
    color: var(--ef-text-muted);
    line-height: 1.45;
  }
  .pain-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--ef-border-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
  }
  .pain-option.selected .pain-check {
    background: var(--ef-primary);
    border-color: var(--ef-primary);
    color: white;
  }
  .pain-option.selected .pain-check::after {
    content: "✓";
    font-size: 13px;
    font-weight: 700;
  }

  .field-select, .field-input {
    padding: 12px 14px;
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--ef-text);
    background: var(--ef-surface);
    transition: all 0.15s;
    width: 100%;
  }
  .demo-project-app input.field-input[type="email"] {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-sm);
    background: var(--ef-surface);
    color: var(--ef-text);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    box-shadow: none;
    appearance: none;
  }
  .field-select:focus, .field-input:focus {
    outline: none;
    border-color: var(--ef-grad-3);
    box-shadow: 0 0 0 3px rgba(46, 56, 212, 0.1);
  }
  .demo-project-app input.field-input[type="email"]:focus {
    border-color: var(--ef-grad-3);
    box-shadow: 0 0 0 3px rgba(46, 56, 212, 0.1);
  }
  .field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ef-text);
    margin-bottom: 6px;
    display: block;
  }
  .context-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .submit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
  }
  .selected-count {
    font-size: 14px;
    color: var(--ef-text-muted);
  }
  .selected-count strong { color: var(--ef-primary); font-weight: 700; }

  .primary-btn {
    background: var(--ef-primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
    text-decoration: none;
  }
  .primary-btn:hover:not(:disabled) {
    background: var(--ef-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
  .primary-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .primary-btn .arrow { transition: transform 0.15s; }
  .primary-btn:hover:not(:disabled) .arrow { transform: translateX(3px); }

  .primary-btn.gradient {
    background: var(--ef-gradient);
  }
  .primary-btn.gradient:hover:not(:disabled) {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }

  /* ---------- PAGE 2 - TAILORED DEMO ---------- */
  .demo-header {
    background-image: linear-gradient(135deg, #202060 0%, #2E38D4 70%, #2C84E9 100%);
    color: white;
    padding: 56px 0 80px;
    position: relative;
    overflow: hidden;
  }
  .demo-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(43, 182, 247, 0.25), transparent 60%);
    pointer-events: none;
  }
  .demo-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
  }
  .demo-eyebrow {
    background: rgba(255,255,255,0.14);
    color: white;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
  }
  .demo-title {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.18;
  }
  .demo-name {
    background: linear-gradient(90deg, #FFFFFF 0%, #2BB6F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .demo-summary {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    max-width: 700px;
    line-height: 1.55;
    margin-bottom: 26px;
  }
  .pain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .pain-tag {
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.18);
  }

  .demo-layout {
    max-width: 1100px;
    margin: -48px auto 0;
    padding: 0 32px 64px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    position: relative;
    z-index: 5;
  }

  .player-card {
    background: var(--ef-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ef-border);
  }
  .player-stage {
    background: #0A0A28;
    aspect-ratio: 16 / 9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
  }
  .player-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(43, 182, 247, 0.22), transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(48, 0, 196, 0.28), transparent 55%);
  }
  .player-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0A0A28;
    z-index: 1;
    display: none;           /* shown only when the chapter has a clip */
  }
  .player-stage.has-video .player-video { display: block; }
  .play-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    transition: opacity 0.2s;
  }
  /* While a real clip is playing, hide the poster so the native controls are usable. */
  .player-stage.playing .play-overlay { opacity: 0; pointer-events: none; }
  .play-pending {
    display: none;
    max-width: 340px;
    margin: 4px auto 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255,255,255,0.55);
  }
  .player-stage.pending .play-pending { display: block; }
  .autoplay-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 6px;
    font-size: 13px;
    color: var(--ef-text-soft, #5F6B7A);
    cursor: pointer;
    user-select: none;
  }
  .autoplay-toggle input { width: 15px; height: 15px; accent-color: var(--ef-primary); cursor: pointer; }
  .play-button {
    width: 76px;
    height: 76px;
    background: rgba(255,255,255,0.96);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    cursor: pointer;
    transition: transform 0.2s;
  }
  .play-button:hover { transform: scale(1.08); }
  .play-button svg { width: 28px; height: 28px; fill: var(--ef-primary); margin-left: 4px; }
  .play-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 6px;
  }
  .play-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
  }

  .player-controls {
    padding: 20px 24px;
    border-top: 1px solid var(--ef-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .player-info-left { display: flex; align-items: center; gap: 14px; }
  .chapter-num {
    width: 32px;
    height: 32px;
    background: var(--ef-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
  }
  .chapter-info-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ef-primary);
  }
  .chapter-info-sub {
    font-size: 12px;
    color: var(--ef-text-muted);
  }
  .nav-controls { display: flex; gap: 8px; }
  .nav-btn {
    padding: 9px 16px;
    background: var(--ef-surface);
    border: 1px solid var(--ef-border-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--ef-text);
    transition: all 0.15s;
  }
  .nav-btn:hover:not(:disabled) {
    border-color: var(--ef-primary);
    color: var(--ef-primary);
  }
  .nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .nav-btn.primary {
    background: var(--ef-primary);
    color: white;
    border-color: var(--ef-primary);
  }
  .nav-btn.primary:hover:not(:disabled) {
    background: var(--ef-primary-dark);
    color: white;
  }

  /* Playlist */
  .playlist {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    align-self: start;
    position: sticky;
    top: 78px;
  }
  .playlist-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--ef-border);
    background: linear-gradient(180deg, #FAFBFE 0%, var(--ef-surface) 100%);
  }
  .playlist-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ef-primary);
  }
  .playlist-sub {
    font-size: 12px;
    color: var(--ef-text-muted);
    margin-top: 2px;
  }
  .playlist-body {
    max-height: 540px;
    overflow-y: auto;
  }
  .chapter {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.15s;
  }
  .chapter:hover { background: #FAFBFE; }
  .chapter.active {
    background: var(--ef-blue-tint);
    border-left-color: var(--ef-primary);
  }
  .chapter.standard .chapter-tag {
    background: #EEF0F7;
    color: var(--ef-text-muted);
  }
  .chapter.tailored .chapter-tag {
    background: var(--ef-blue-tint-2);
    color: var(--ef-grad-3);
  }
  .chapter-left {
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    color: var(--ef-text-light);
    font-size: 12px;
    font-weight: 700;
    padding-top: 2px;
  }
  .chapter.active .chapter-left { color: var(--ef-primary); }
  .chapter-body { flex: 1; min-width: 0; }
  .chapter-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ef-primary);
    line-height: 1.35;
    margin-bottom: 4px;
  }
  .chapter-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 11px;
  }
  .chapter-tag {
    padding: 2px 7px;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 10px;
  }
  .chapter-duration { color: var(--ef-text-light); }

  /* "Want to go deeper?" - quiet footer of the playlist card */
  .deeper { border-top: 1px solid var(--ef-border); }
  .deeper-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--ef-text-muted);
  }
  .deeper-toggle:hover { color: var(--ef-primary); }
  .deeper-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
  }
  .deeper.open .deeper-chevron { transform: rotate(180deg); }
  .deeper-body { display: none; }
  .deeper.open .deeper-body {
    display: block;
    max-height: 240px;
    overflow-y: auto;
    padding-bottom: 6px;
  }
  .deeper-group {
    padding: 8px 20px 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ef-text-light);
  }
  .deeper-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 8px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
  }
  .deeper-item:hover { background: #FAFBFE; }
  .deeper-item-name {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--ef-text-muted);
    line-height: 1.35;
  }
  .deeper-item:hover .deeper-item-name { color: var(--ef-primary); }
  .deeper-item-duration {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--ef-text-light);
  }
  .deeper-item-actions {
    flex-shrink: 0;
    display: flex;
    gap: 6px;
  }
  .deeper-action {
    padding: 3px 10px;
    border: 1px solid var(--ef-border);
    border-radius: 100px;
    background: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    color: var(--ef-text-muted);
  }
  .deeper-action:hover {
    color: var(--ef-primary);
    border-color: var(--ef-primary);
  }

  /* Removable chapters (added or tailored, never the standard spine) */
  .chapter-remove {
    flex-shrink: 0;
    align-self: center;
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    color: var(--ef-text-light);
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.15s;
  }
  .chapter:hover .chapter-remove { opacity: 1; }
  .chapter-remove:hover { color: #C0392B; background: #FBEEEC; }

  /* Share bar + modal */
  .share-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
  }
  .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 100px;
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
  }
  .share-btn:hover { background: rgba(255,255,255,0.22); }
  .share-btn svg { width: 15px; height: 15px; }
  .share-btn-full {
    width: 100%;
    justify-content: center;
    border-color: var(--ef-border);
    background: none;
    color: var(--ef-text-muted);
  }
  .share-btn-full:hover { background: #FAFBFE; color: var(--ef-primary); }
  #shareModal .call-card { position: relative; }
  .share-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--ef-text-light);
    line-height: 1;
  }
  .share-close:hover { color: var(--ef-primary); }
  .share-divider {
    text-align: center;
    margin: 14px 0;
    font-size: 12px;
    color: var(--ef-text-light);
  }
  .share-done {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #EBF7EE;
    color: #1E7B3C;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
  }

  /* ---------- CTA SECTION ---------- */
  .cta-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 32px 80px;
  }
  .cta-heading {
    text-align: center;
    margin-bottom: 32px;
  }
  .cta-heading h2 {
    font-size: 28px;
    color: var(--ef-primary);
    margin-bottom: 8px;
    letter-spacing: -0.015em;
    font-weight: 700;
  }
  .cta-heading p {
    color: var(--ef-text-muted);
    font-size: 16px;
  }

  .cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .cta-card {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
  }
  .cta-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ef-border-strong);
  }
  .cta-card.featured {
    background-image: linear-gradient(135deg, #202060 0%, #2E38D4 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
  }
  .cta-card.featured::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(43, 182, 247, 0.3), transparent 70%);
  }
  .cta-card.featured .cta-card-inner { position: relative; z-index: 2; }
  .cta-card-inner { display: flex; flex-direction: column; height: 100%; }

  .cta-badge {
    display: inline-block;
    background: rgba(43, 182, 247, 0.25);
    color: #B8E4FB;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    align-self: center;
  }
  .cta-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    background: var(--ef-blue-tint);
    color: var(--ef-grad-3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cta-icon svg { width: 24px; height: 24px; }
  .cta-card.featured .cta-icon {
    background: rgba(255,255,255,0.15);
    color: white;
  }
  .cta-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ef-primary);
    letter-spacing: -0.01em;
  }
  .cta-card.featured h3 { color: white; }
  .cta-card p {
    color: var(--ef-text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 22px;
    flex-grow: 1;
  }
  .cta-card.featured p { color: rgba(255,255,255,0.82); }
  .cta-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
  }
  .cta-btn-primary {
    background: var(--ef-primary);
    color: white;
  }
  .cta-btn-primary:hover { background: var(--ef-primary-dark); }
  .cta-btn-white {
    background: white;
    color: var(--ef-primary);
  }
  .cta-btn-white:hover { background: #F0F2F8; }
  .cta-btn-outline {
    background: transparent;
    color: var(--ef-primary);
    border: 1px solid var(--ef-border-strong);
  }
  .cta-btn-outline:hover {
    border-color: var(--ef-primary);
    background: var(--ef-blue-tint);
  }

  .restart-row {
    text-align: center;
    margin-top: 36px;
  }
  .restart-link {
    background: transparent;
    border: none;
    color: var(--ef-text-muted);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .restart-link:hover { color: var(--ef-primary); }

  .demo-project-app .page { display: none; }
  .demo-project-app .page.active { display: block; }

  /* Placeholder-video toast */
  .ef-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ef-primary);
    color: white;
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 10000;
  }
  .ef-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* Demo side column: playlist + assistant */
  .demo-side {
    align-self: start;
    position: sticky;
    top: 78px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .demo-side .playlist { position: static; }
  .demo-side .playlist-body { max-height: 260px; }

  .assistant {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .assistant-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background-image: linear-gradient(135deg, #161645 0%, #2E38D4 100%);
    color: white;
  }
  .assistant-avatar {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .assistant-avatar svg { width: 18px; height: 18px; }
  .assistant-title { font-size: 14px; font-weight: 700; }
  .assistant-sub { font-size: 11px; color: rgba(255,255,255,0.75); }
  .assistant-log {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
  }
  .assistant-msg {
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 12px;
    border-radius: 12px;
    max-width: 92%;
    white-space: pre-wrap;
  }
  .assistant-msg.bot {
    background: var(--ef-blue-tint);
    color: var(--ef-text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
  }
  .assistant-msg.user {
    background: var(--ef-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
  }
  .assistant-msg.thinking { opacity: 0.6; font-style: italic; }
  .assistant-input {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--ef-border);
  }
  .assistant-input .field-input { padding: 9px 12px; font-size: 13px; }
  .assistant-send {
    flex-shrink: 0;
    width: 38px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--ef-primary);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s;
  }
  .assistant-send:hover { background: var(--ef-primary-dark); }

  /* Talk-to-an-expert modal */
  .call-modal {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 58, 0.55);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .call-modal.active { display: flex; }
  .call-card {
    background: var(--ef-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 100%;
    padding: 36px 36px 34px;
    position: relative;
  }
  .call-close {
    position: absolute;
    top: 16px; right: 16px;
    background: transparent;
    border: 1px solid var(--ef-border);
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--ef-text-muted);
    font-size: 17px;
    line-height: 1;
  }
  .call-close:hover { border-color: var(--ef-text-muted); color: var(--ef-text); }
  .call-eyebrow {
    display: inline-block;
    background: var(--ef-blue-tint);
    color: var(--ef-grad-3);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .call-badge {
    display: inline-block;
    background: #EEF0F7;
    color: var(--ef-text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
  }
  .call-badge.ok { background: #EDFAF4; color: #0F6E56; }
  .call-title {
    font-size: 23px;
    font-weight: 700;
    color: var(--ef-primary);
    letter-spacing: -0.015em;
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .call-lead {
    color: var(--ef-text-muted);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .call-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .call-error {
    color: #B42318;
    font-size: 13px;
    margin-top: 12px;
  }

  .demo-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 18px;
    color: var(--ef-text-muted);
    font-size: 13px;
    line-height: 1.45;
  }

  .demo-consent input {
    flex: none;
    margin-top: 3px;
  }

  .demo-consent a {
    color: var(--ef-grad-3);
  }

  .demo-honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .demo-project-app [data-demo-style="hidden"],
  .demo-project-app [data-demo-style="hidden-mt-8"],
  .demo-project-app [data-demo-style="hidden-mt-14"] { display: none; }
  .demo-project-app [data-demo-style="hidden-mt-8"] { margin-top: 8px; }
  .demo-project-app [data-demo-style="hidden-mt-14"] { margin-top: 14px; }
  .demo-project-app [data-demo-style="day-muted"] { background: #dce7fa; }
  .demo-project-app [data-demo-style="cta-full"],
  .demo-project-app [data-demo-style="cta-full-18"],
  .demo-project-app [data-demo-style="cta-full-20"] { width: 100%; justify-content: center; }
  .demo-project-app [data-demo-style="cta-full-18"] { margin-top: 18px; }
  .demo-project-app [data-demo-style="cta-full-20"] { margin-top: 20px; }
  .demo-project-app [data-demo-style="text-center"] { text-align: center; }
  .demo-project-app [data-demo-style="icon-16"] { width: 16px; height: 16px; flex: none; }
  .demo-project-app [data-demo-style="disabled-next"] { opacity: 0.4; pointer-events: none; }
  .demo-project-app [data-demo-style="mt-8"] { margin-top: 8px; }
  .demo-project-app [data-demo-style="mt-16"] { margin-top: 16px; }
  .demo-project-app [data-demo-style="mt-18"] { margin-top: 18px; }
  .demo-project-app [data-demo-style="justify-center"] { justify-content: center; }
  .demo-project-app [data-demo-style="height-24"] { height: 24px; }
  .demo-project-app [data-demo-style="training-single"] { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .demo-project-app [data-demo-style="grid-full"] { grid-column: 1 / -1; }
  .demo-project-app [data-demo-style="flex-1"] { flex: 1; }
  .demo-project-app [data-demo-style="tenant-row"] { display: flex; align-items: center; gap: 6px; }
  .demo-project-app [data-demo-style="tenant-suffix"] { color: var(--ef-text-muted); font-size: 13px; }
  .demo-project-app [data-demo-style="primary-text"] { color: var(--ef-primary); }
  .demo-project-app [data-demo-style="training-icon-blue"] { background: #eef6ff; color: #1a7ad0; }
  .call-fineprint {
    text-align: center;
    color: var(--ef-text-light);
    font-size: 12px;
    margin-top: 12px;
  }
  @media (max-width: 520px) {
    .call-form-grid { grid-template-columns: 1fr; }
    .call-card { padding: 30px 24px 28px; }
  }

  @media (max-width: 880px) {
    .demo-project-app h1 { font-size: 32px; }
    .demo-title { font-size: 28px; }
    .pain-grid { grid-template-columns: 1fr; }
    .context-row { grid-template-columns: 1fr; }
    .demo-layout { grid-template-columns: 1fr; }
    .playlist { position: static; }
    .cta-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .question-section { padding: 28px 24px; }
  }

  /* ============================================
     PROVISIONING FLOW
     ============================================ */
  .prov-overlay {
    position: fixed;
    inset: 0;
    background: var(--ef-bg);
    z-index: 9999;
    display: none;
    overflow-y: auto;
  }
  .prov-overlay.active { display: block; }

  .prov-topbar {
    background: var(--ef-surface);
    border-bottom: 1px solid var(--ef-border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .prov-topbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .prov-close {
    background: transparent;
    border: 1px solid var(--ef-border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--ef-text-muted);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
  }
  .prov-close:hover {
    border-color: var(--ef-text-muted);
    color: var(--ef-text);
  }

  /* Stepper */
  .prov-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .prov-step-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ef-text-light);
  }
  .prov-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ef-border);
    color: white;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
  }
  .prov-step-dot.active .prov-step-num { background: var(--ef-primary); }
  .prov-step-dot.active { color: var(--ef-primary); }
  .prov-step-dot.complete .prov-step-num { background: #22B07D; }
  .prov-step-line {
    width: 24px;
    height: 2px;
    background: var(--ef-border);
  }
  .prov-step-line.complete { background: #22B07D; }

  /* Step containers */
  .prov-step { display: none; }
  .prov-step.active { display: block; }

  .prov-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 32px;
  }
  .prov-container-wide {
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 32px;
  }

  .prov-eyebrow {
    display: inline-block;
    background: var(--ef-blue-tint);
    color: var(--ef-grad-3);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .prov-h1 {
    font-size: 34px;
    font-weight: 700;
    color: var(--ef-primary);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1.2;
  }
  .prov-lead {
    color: var(--ef-text-muted);
    font-size: 16px;
    margin-bottom: 32px;
  }

  /* STEP 1: Account form */
  .prov-card {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
  }
  .prov-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .prov-form-grid.full { grid-template-columns: 1fr; }
  .prov-trust {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
    padding: 14px 18px;
    background: #F5F8FD;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--ef-text-muted);
  }
  .prov-trust svg { width: 22px; height: 22px; color: var(--ef-grad-3); flex-shrink: 0; }

  /* STEP 2: Provisioning animation */
  .prov-spinner-wrap {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    box-shadow: var(--shadow-sm);
  }
  .prov-spinner {
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    position: relative;
  }
  .prov-spinner::before, .prov-spinner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    animation: provSpin 1.6s linear infinite;
  }
  .prov-spinner::before {
    border-top-color: #2BB6F7;
    border-right-color: #2C84E9;
  }
  .prov-spinner::after {
    inset: 12px;
    border-top-color: #2E38D4;
    border-left-color: #3000C4;
    animation-direction: reverse;
    animation-duration: 2s;
  }
  @keyframes provSpin {
    to { transform: rotate(360deg); }
  }

  .prov-status-text {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--ef-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .prov-status-sub {
    text-align: center;
    color: var(--ef-text-muted);
    margin-bottom: 32px;
    font-size: 14px;
  }

  .prov-checklist {
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .prov-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #FAFBFE;
    border-radius: var(--radius-md);
    border: 1px solid var(--ef-border);
    font-size: 14px;
    color: var(--ef-text-muted);
    transition: all 0.3s;
  }
  .prov-check-item.active {
    border-color: var(--ef-grad-3);
    background: var(--ef-blue-tint);
    color: var(--ef-primary);
    font-weight: 500;
  }
  .prov-check-item.done {
    background: #EDFAF4;
    border-color: #BBE5D2;
    color: #0F6E56;
  }
  .prov-check-mark {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ef-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .prov-check-item.active .prov-check-mark {
    background: white;
    border: 2px solid var(--ef-grad-3);
  }
  .prov-check-item.active .prov-check-mark::after {
    content: "";
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--ef-grad-3);
    animation: pulse 1s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  .prov-check-item.done .prov-check-mark {
    background: #22B07D;
    color: white;
    font-size: 13px;
    font-weight: 700;
  }
  .prov-check-item.done .prov-check-mark::after { content: "✓"; }

  /* STEP 3: Data import wizard */
  .prov-import-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
  }
  .prov-import-card {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
  }
  .prov-import-card:hover {
    border-color: var(--ef-grad-3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .prov-import-card.selected {
    border-color: var(--ef-primary);
    background: var(--ef-blue-tint);
    box-shadow: 0 0 0 3px rgba(32, 32, 96, 0.08);
  }
  .prov-import-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: var(--ef-blue-tint);
    color: var(--ef-grad-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
  }
  .prov-import-card.selected .prov-import-icon {
    background: var(--ef-gradient);
    color: white;
  }
  .prov-import-name {
    font-weight: 600;
    color: var(--ef-primary);
    font-size: 15px;
    margin-bottom: 4px;
  }
  .prov-import-desc {
    font-size: 12px;
    color: var(--ef-text-muted);
    line-height: 1.4;
  }

  /* AI agent panel */
  .prov-ai-panel {
    background: linear-gradient(135deg, #161645 0%, #2E38D4 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
  }
  .prov-ai-panel::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(43, 182, 247, 0.3), transparent 70%);
    pointer-events: none;
  }
  .prov-ai-inner { position: relative; z-index: 2; }
  .prov-ai-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
  }
  .prov-ai-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .prov-ai-avatar svg { width: 22px; height: 22px; }
  .prov-ai-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 2px;
  }
  .prov-ai-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
  }
  .prov-ai-msg {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
  }
  .prov-ai-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .prov-ai-chip {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
  }
  .prov-ai-chip:hover {
    background: rgba(255,255,255,0.22);
  }

  /* STEP 4: Training schedule */
  .prov-training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }
  .prov-training-panel {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
  }
  .prov-training-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }
  .prov-training-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ef-blue-tint);
    color: var(--ef-grad-3);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .prov-training-icon svg { width: 20px; height: 20px; }
  .prov-training-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ef-primary);
  }
  .prov-training-sub {
    font-size: 12px;
    color: var(--ef-text-muted);
  }

  .prov-session-item {
    padding: 14px 0;
    border-top: 1px solid var(--ef-border);
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .prov-session-item:first-of-type { border-top: none; padding-top: 4px; }
  .prov-session-day {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--ef-blue-tint);
    color: var(--ef-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
  }
  .prov-session-day .month {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .prov-session-day .day {
    font-size: 17px;
    font-weight: 700;
  }
  .prov-session-info { flex: 1; }
  .prov-session-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ef-primary);
    margin-bottom: 2px;
  }
  .prov-session-meta {
    font-size: 12px;
    color: var(--ef-text-muted);
  }
  .prov-session-tag {
    background: #EDFAF4;
    color: #0F6E56;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* STEP 5: In-app launch */
  .prov-launch-bar {
    background: linear-gradient(135deg, #161645 0%, #2E38D4 60%, #2C84E9 100%);
    color: white;
    padding: 32px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .prov-launch-bar::before {
    content: "";
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(43, 182, 247, 0.25), transparent 60%);
    pointer-events: none;
  }
  .prov-launch-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
  .prov-launch-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
  }
  .prov-launch-sub {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    margin-bottom: 22px;
  }
  .prov-launch-meta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
  }
  .prov-launch-meta strong { color: white; font-weight: 600; }
  .prov-launch-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
  }

  /* The Epicflow Pipeline mock */
  .ef-app {
    background: #F1F3F8;
    height: 720px;
    display: grid;
    grid-template-columns: 64px 1fr;
    position: relative;
  }
  .ef-sidebar {
    background: #2D3A5C;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .ef-sidebar-logo {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #2BB6F7, #3000C4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    margin-bottom: 12px;
  }
  .ef-sidebar-item {
    width: 48px;
    padding: 10px 4px;
    border-radius: 6px;
    text-align: center;
    color: rgba(255,255,255,0.65);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1.2;
    letter-spacing: 0.04em;
  }
  .ef-sidebar-item svg { width: 18px; height: 18px; display: block; margin: 0 auto 4px; }
  .ef-sidebar-item:hover { background: rgba(255,255,255,0.06); color: white; }
  .ef-sidebar-item.active { background: rgba(255,255,255,0.1); color: white; }

  .ef-main { display: flex; flex-direction: column; overflow: hidden; }
  .ef-toolbar {
    background: #F5F7FB;
    border-bottom: 1px solid #E0E4EE;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
  }
  .ef-tool-pill {
    background: white;
    border: 1px solid #D5D9E6;
    border-radius: 4px;
    padding: 5px 10px;
    color: #5A5F7A;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .ef-tool-pill.input { background: white; color: #8B90A8; }
  .ef-tool-spacer { flex: 1; }

  .ef-content { flex: 1; display: flex; flex-direction: column; overflow-y: auto; background: white; }

  .ef-section-header {
    padding: 14px 18px 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    border-bottom: 1px solid #EEF0F6;
    background: white;
  }
  .ef-section-title { font-weight: 600; color: #14143A; }
  .ef-section-create { color: #2C84E9; font-size: 12px; cursor: pointer; }

  .ef-timeline-header {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: white;
    border-bottom: 1px solid #EEF0F6;
    padding: 6px 0;
  }
  .ef-timeline-quarters {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 0 14px;
    font-size: 11px;
    color: #8B90A8;
    border-left: 1px solid #EEF0F6;
  }
  .ef-timeline-quarters > div { padding: 2px 6px; border-right: 1px dashed #E5E8F0; }
  .ef-timeline-year {
    grid-column: span 1;
    font-weight: 600;
    color: #5A5F7A;
    font-size: 11px;
    padding-left: 14px;
    border-right: 1px solid #EEF0F6;
    align-self: end;
  }

  .ef-project-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F4F5FA;
    font-size: 13px;
  }
  .ef-project-row:hover { background: #FBFCFE; }
  .ef-project-name {
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #14143A;
  }
  .ef-project-id {
    color: #22B07D;
    font-weight: 700;
    margin-right: 2px;
  }
  .ef-project-icon {
    width: 14px; height: 14px;
    color: #5A5F7A;
    flex-shrink: 0;
  }
  .ef-bar-track {
    position: relative;
    padding: 0 14px;
    height: 22px;
  }
  .ef-bar {
    position: absolute;
    height: 22px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: white;
    font-size: 11px;
    font-weight: 600;
  }
  .ef-bar.green { background: #4CC97B; }
  .ef-bar.yellow { background: #F2B647; }
  .ef-bar.blue { background: #5BA9F5; }
  .ef-bar::before, .ef-bar::after {
    content: "";
    position: absolute;
    width: 0; height: 0;
    border-style: solid;
    top: 5px;
  }
  .ef-bar::before {
    left: -6px;
    border-width: 6px 6px 6px 0;
    border-color: transparent #C5CCDB transparent transparent;
  }
  .ef-bar::after {
    right: -6px;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent currentColor;
    opacity: 0.7;
  }

  .ef-today-line {
    position: absolute;
    top: 0; bottom: 0;
    width: 2px;
    background: #2C84E9;
    z-index: 2;
  }
  .ef-today-line::before {
    content: "TODAY";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #2C84E9;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.05em;
  }

  .ef-tabs {
    display: flex;
    gap: 4px;
    padding: 14px 18px 0;
    border-bottom: 1px solid #EEF0F6;
    background: #FAFBFE;
  }
  .ef-tab {
    padding: 8px 16px;
    border-radius: 4px 4px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #5A5F7A;
    cursor: pointer;
    background: white;
    border: 1px solid #EEF0F6;
    border-bottom: none;
    position: relative;
    top: 1px;
  }
  .ef-tab.inactive { background: transparent; border-color: transparent; }

  /* Onboarding overlay */
  .ef-onboard-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 58, 0.55);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
  }
  .ef-onboard-card {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(20, 20, 58, 0.3);
    overflow: hidden;
  }
  .ef-onboard-header {
    background: linear-gradient(135deg, #2BB6F7 0%, #2E38D4 100%);
    color: white;
    padding: 22px 26px;
  }
  .ef-onboard-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 4px;
  }
  .ef-onboard-title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .ef-onboard-body { padding: 22px 26px 24px; }
  .ef-onboard-body p {
    color: var(--ef-text-muted);
    font-size: 14px;
    margin-bottom: 16px;
  }
  .ef-video-preview {
    background: #0A0A28;
    border-radius: var(--radius-md);
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }
  .ef-video-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(43, 182, 247, 0.3), transparent 60%);
  }
  .ef-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ef-video-play-btn {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ef-video-play-btn svg { width: 22px; height: 22px; fill: var(--ef-primary); margin-left: 3px; }
  .ef-video-label {
    position: absolute;
    bottom: 10px; left: 12px;
    color: white;
    font-size: 12px;
    font-weight: 500;
  }
  .ef-onboard-actions {
    display: flex;
    gap: 10px;
  }
  .ef-onboard-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
  }
  .ef-onboard-btn.primary {
    background: var(--ef-primary);
    color: white;
  }
  .ef-onboard-btn.secondary {
    background: white;
    color: var(--ef-text-muted);
    border: 1px solid var(--ef-border);
  }

  .prov-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
  }
  .prov-skip {
    background: transparent;
    border: none;
    color: var(--ef-text-muted);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .prov-skip:hover { color: var(--ef-primary); }

  /* ── Step 1: fixed data region ─────────────────────────────── */
  .prov-region-fixed {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-sm, 8px);
    background: var(--ef-bg);
    color: var(--ef-text-muted);
    font-size: 14px;
  }

  /* ── Step 2: agreements ────────────────────────────────────── */
  .agree-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .agree-card {
    background: var(--ef-surface);
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .agree-card:hover {
    border-color: var(--ef-accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
  }
  .agree-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--ef-blue-tint);
    color: var(--ef-primary);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .agree-icon svg { width: 22px; height: 22px; }
  .agree-name {
    font-weight: 600;
    color: var(--ef-primary);
    font-size: 15px;
  }
  .agree-desc {
    font-size: 13px;
    color: var(--ef-text-muted);
    line-height: 1.5;
  }
  .agree-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--ef-accent);
    margin-top: 2px;
  }
  .agree-check-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14.5px;
    color: var(--ef-text);
    line-height: 1.5;
  }
  .agree-check-row + .agree-check-row { border-top: 1px solid var(--ef-border); }
  .agree-check-row input[type="checkbox"] {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    flex: none;
    accent-color: var(--ef-primary);
    cursor: pointer;
  }
  .agree-inline-link {
    color: var(--ef-accent);
    font-weight: 600;
    text-decoration: underline;
  }

  /* ── Agreement viewer modal ────────────────────────────────── */
  .doc-card { max-width: 700px; }
  .doc-body {
    max-height: 52vh;
    overflow-y: auto;
    margin-top: 10px;
    padding: 18px 20px;
    border: 1px solid var(--ef-border);
    border-radius: var(--radius-md);
    background: var(--ef-bg);
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ef-text);
  }
  .doc-body p { margin: 0 0 12px; }
  .doc-body p:last-child { margin-bottom: 0; }

  /* ── Step 3: data choice ───────────────────────────────────── */
  .prov-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
  }
  .prov-data-grid .prov-import-card { position: relative; padding-bottom: 28px; }
  .prov-import-tag {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--ef-accent);
  }

  /* ── Step 5: confirmation ──────────────────────────────────── */
  .confirm-check {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--ef-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md, 0 6px 18px rgba(32,32,96,0.18));
  }
  .confirm-check svg { width: 30px; height: 30px; }
  .confirm-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 0;
  }
  .confirm-step + .confirm-step { border-top: 1px solid var(--ef-border); }
  .confirm-step-num {
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: var(--ef-blue-tint);
    color: var(--ef-primary);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .confirm-step-title {
    font-weight: 600;
    color: var(--ef-primary);
    font-size: 15px;
    margin-bottom: 2px;
  }
  .confirm-step-desc {
    font-size: 13.5px;
    color: var(--ef-text-muted);
    line-height: 1.55;
  }
  .confirm-note {
    text-align: center;
    font-size: 13.5px;
    color: var(--ef-text-muted);
    margin-top: 18px;
  }

  @media (max-width: 880px) {
    .prov-form-grid { grid-template-columns: 1fr; }
    .prov-import-grid { grid-template-columns: 1fr; }
    .prov-data-grid { grid-template-columns: 1fr; }
    .agree-grid { grid-template-columns: 1fr; }
    .prov-training-grid { grid-template-columns: 1fr; }
    .prov-h1 { font-size: 26px; }
    .ef-project-row { grid-template-columns: 200px 1fr; }
    .ef-timeline-header { grid-template-columns: 200px 1fr; }
  }
