/* Skillzip Prototype — Design System v1.0 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400;1,9..40,500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --color-bg-base:      #FFFFFF;
  --color-bg-sidebar:   #F7F7F7;
  --color-bg-elevated:  #F0F0F0;
  --color-bg-overlay:   #FFFFFF;
  --color-border-subtle:  #E8E8E8;
  --color-border-default: #D4D4D4;
  --color-border-strong:  #A3A3A3;
  --color-text-primary:   #0A0A0A;
  --color-text-secondary: #6B6B6B;
  --color-text-tertiary:  #A3A3A3;
  --color-text-inverse:   #FFFFFF;
  --color-action-primary:     #000000;
  --color-action-hover:       #1A1A1A;
  --color-action-ghost-bg:    #F0F0F0;
  --color-action-ghost-hover: #E4E4E4;
  --color-accent-blue:   #0EA5E9;
  --color-accent-violet: #8B5CF6;
  --color-accent-green:  #22C55E;
  --color-accent-red:    #EF4444;
  --color-accent-orange: #F97316;
  --skillzip-brand-accent:   #0EA5E9;
  --skillzip-brand-accent-2: #8B5CF6;
  --skillzip-skill-tag-creator: #EFF6FF;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --text-2xl: 32px; --text-xl: 24px; --text-lg: 20px;
  --text-md: 16px; --text-sm: 14px; --text-xs: 12px; --text-2xs: 11px;
  --leading-tight: 1.2; --leading-snug: 1.3; --leading-normal: 1.4; --leading-relaxed: 1.5;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px;
  --radius-xl: 20px; --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-focus: 0 0 0 2px #000000;
  --transition-fast: 100ms ease;
  --transition-default: 150ms ease;
  --transition-slow: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --sidebar-width: 260px;
  --topbar-height: 48px;
  --page-padding: 32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-text-primary); background: var(--color-bg-base); -webkit-font-smoothing: antialiased; }
code { font-family: var(--font-mono); font-size: 0.88em; background: var(--color-bg-elevated); padding: 1px 5px; border-radius: 4px; }
button { font-family: var(--font-body); }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border-default); border-radius: 9999px; }
* { text-wrap: pretty; }

/* ── App Layout ─────────────────────────────────────────── */
.proto-app { display: flex; height: 100vh; overflow: hidden; }
.proto-sidebar { width: var(--sidebar-width); flex-shrink: 0; background: var(--color-bg-sidebar); border-right: 1px solid var(--color-border-subtle); display: flex; flex-direction: column; overflow: hidden; }
.proto-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.proto-topbar { height: var(--topbar-height); background: var(--color-bg-base); border-bottom: 1px solid var(--color-border-subtle); display: flex; align-items: center; padding: 0 20px; gap: 10px; flex-shrink: 0; }
.proto-content { flex: 1; overflow-y: auto; background: var(--color-bg-base); position: relative; }

/* ── Sidebar ────────────────────────────────────────────── */
.sb-logo { height: 52px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--color-border-subtle); flex-shrink: 0; }
.sb-logo-img { width: 24px; height: 24px; object-fit: contain; border-radius: 5px; }
.sb-logo-name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.sb-nav-top { padding: 6px 8px; border-bottom: 1px solid var(--color-border-subtle); flex-shrink: 0; }
.sb-scroll { flex: 1; overflow-y: auto; padding: 8px 8px 8px; }
.sb-group-label { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-tertiary); padding: 8px 10px 3px; }
.sb-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; cursor: pointer; font-size: 12.5px; color: var(--color-text-secondary); transition: all var(--transition-fast); user-select: none; }
.sb-item:hover { background: var(--color-bg-elevated); color: var(--color-text-primary); }
.sb-item.active { background: var(--color-bg-elevated); color: var(--color-text-primary); font-weight: 500; }
.sb-item-code { font-family: var(--font-mono); font-size: 9.5px; color: var(--color-text-tertiary); background: var(--color-border-subtle); padding: 1px 5px; border-radius: 3px; flex-shrink: 0; letter-spacing: 0.01em; }
.sb-footer { padding: 10px 8px; border-top: 1px solid var(--color-border-subtle); flex-shrink: 0; }

/* ── Topbar ─────────────────────────────────────────────── */
.tb-crumb { display: flex; align-items: center; gap: 5px; flex: 1; font-size: 13px; overflow: hidden; }
.tb-crumb-sep { color: var(--color-text-tertiary); font-size: 11px; }
.tb-crumb-dim { color: var(--color-text-tertiary); white-space: nowrap; }
.tb-crumb-active { color: var(--color-text-primary); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-actions { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.tb-btn { display: flex; align-items: center; gap: 5px; padding: 5px 9px; background: transparent; border: none; cursor: pointer; border-radius: 7px; font-size: 12.5px; color: var(--color-text-secondary); transition: all var(--transition-fast); }
.tb-btn:hover { background: var(--color-bg-elevated); color: var(--color-text-primary); }
.tb-btn:disabled { opacity: 0.35; cursor: default; }
.tb-btn:disabled:hover { background: transparent; }
.tb-counter { font-size: 11.5px; color: var(--color-text-tertiary); min-width: 38px; text-align: center; }
.tb-sep { width: 1px; height: 18px; background: var(--color-border-subtle); margin: 0 3px; }
.tb-avatar { width: 28px; height: 28px; border-radius: 50%; background: #4F46E5; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10.5px; font-weight: 600; flex-shrink: 0; }

/* ── Screen Wrapper ─────────────────────────────────────── */
.screen-wrap { max-width: 980px; margin: 0 auto; padding: 32px 32px 24px; }
.screen-enter { animation: screenIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

/* ── Stepper ────────────────────────────────────────────── */
.stepper { display: flex; align-items: center; margin-bottom: 28px; overflow-x: auto; padding-bottom: 2px; gap: 0; }
.step-node { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.step-dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 600; flex-shrink: 0; }
.step-dot.done { background: var(--color-action-primary); color: #fff; }
.step-dot.active { background: var(--color-action-primary); color: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,0.1); }
.step-dot.future { background: var(--color-bg-elevated); color: var(--color-text-tertiary); border: 1.5px solid var(--color-border-default); }
.step-lbl { font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.step-lbl.done { color: var(--color-text-tertiary); }
.step-lbl.active { color: var(--color-text-primary); }
.step-lbl.future { color: var(--color-text-tertiary); }
.step-line { height: 1px; min-width: 14px; max-width: 36px; flex: 1; background: var(--color-border-default); margin: 0 5px; flex-shrink: 0; }
.step-line.done { background: var(--color-action-primary); }

/* ── Page Header ────────────────────────────────────────── */
.page-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-tertiary); margin-bottom: 5px; }
.page-title { font-size: 26px; font-weight: 600; color: var(--color-text-primary); line-height: 1.2; margin-bottom: 6px; letter-spacing: -0.02em; }
.page-sub { font-size: 14px; color: var(--color-text-secondary); line-height: 1.55; margin-bottom: 28px; max-width: 680px; }

/* ── Cards ──────────────────────────────────────────────── */
.card { background: var(--color-bg-base); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition-default), border-color var(--transition-default); }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-default); }
.card.no-hover:hover { box-shadow: var(--shadow-sm); border-color: var(--color-border-subtle); }
.card.tinted { background: var(--color-bg-sidebar); }
.card.flat { box-shadow: none; }
.card-title { font-size: 13.5px; font-weight: 600; color: var(--color-text-primary); display: flex; align-items: center; gap: 7px; }
.card-sub { font-size: 13px; color: var(--color-text-secondary); line-height: 1.5; margin-top: 3px; }

/* ── Grid / Layout helpers ──────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-a-edit { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 10px; align-items: center; }
.spacer { flex: 1; }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-md); font-size: 13.5px; font-weight: 500; font-family: var(--font-body); cursor: pointer; transition: all var(--transition-fast); border: none; user-select: none; }
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 5.5px 12px; font-size: 12.5px; }
.btn-lg { padding: 11px 22px; font-size: 15px; }
.btn-primary { background: #000; color: #fff; }
.btn-primary:hover { background: #1A1A1A; }
.btn-ghost { background: transparent; color: var(--color-text-primary); border: 1px solid var(--color-border-default); }
.btn-ghost:hover { background: var(--color-action-ghost-hover); }
.btn-muted { background: var(--color-bg-elevated); color: var(--color-text-secondary); }
.btn-muted:hover { background: var(--color-action-ghost-hover); color: var(--color-text-primary); }
.btn-accent { background: var(--color-accent-blue); color: #fff; }
.btn-accent:hover { background: #0284C7; }
.btn-danger { background: var(--color-accent-red); color: #fff; }
.btn-publish { background: var(--color-accent-blue); color: #fff; font-size: 14px; font-weight: 600; padding: 9px 22px; gap: 7px; }
.btn-publish:hover { background: #0284C7; box-shadow: 0 4px 14px rgba(14,165,233,0.35); }

/* ── Form Fields ────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--color-text-primary); }
.field .hint { font-size: 11.5px; color: var(--color-text-tertiary); line-height: 1.4; }
.input, .select, .textarea { width: 100%; padding: 8px 11px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); font-size: 13.5px; font-family: var(--font-body); color: var(--color-text-primary); background: var(--color-bg-base); transition: border-color var(--transition-default); outline: none; }
.textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.textarea.mono { font-family: var(--font-mono); font-size: 12.5px; }
.input:focus, .select:focus, .textarea:focus { border-color: #000; box-shadow: var(--shadow-focus); }

/* ── Dropzone ───────────────────────────────────────────── */
.dropzone { border: 2px dashed var(--color-border-default); border-radius: var(--radius-lg); padding: 48px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--color-bg-sidebar); text-align: center; cursor: pointer; transition: all var(--transition-default); }
.dropzone:hover { border-color: #000; background: var(--color-bg-elevated); }
.dz-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--color-bg-base); border: 1px solid var(--color-border-default); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; box-shadow: var(--shadow-sm); }
.dz-title { font-size: 15px; font-weight: 600; color: var(--color-text-primary); }
.dz-sub { font-size: 13px; color: var(--color-text-secondary); }
.dz-link { color: var(--color-accent-blue); }

/* ── Badges ─────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--radius-full); font-size: 11px; font-weight: 500; letter-spacing: 0.01em; border: 1px solid transparent; flex-shrink: 0; }
.badge-ok      { background: #F0FDF4; color: #16A34A; border-color: #BBF7D0; }
.badge-warn    { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
.badge-bad     { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }
.badge-req     { background: #EFF6FF; color: #2563EB; border-color: #BFDBFE; }
.badge-opt     { background: var(--color-bg-elevated); color: var(--color-text-tertiary); border-color: var(--color-border-default); }
.badge-draft   { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
.badge-neutral { background: var(--color-bg-elevated); color: var(--color-text-secondary); border-color: var(--color-border-default); }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--radius-full); font-size: 12px; font-weight: 500; background: var(--color-bg-elevated); color: var(--color-text-secondary); border: 1px solid var(--color-border-subtle); }

/* ── File Rows ──────────────────────────────────────────── */
.filelist { display: flex; flex-direction: column; }
.filerow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--color-border-subtle); }
.filerow:last-child { border-bottom: none; }
.fr-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--color-bg-elevated); border: 1px solid var(--color-border-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fr-name { flex: 1; font-size: 13px; font-weight: 500; font-family: var(--font-mono); color: var(--color-text-primary); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-meta { font-size: 11.5px; color: var(--color-text-tertiary); flex-shrink: 0; }

/* ── Verdict Banner ─────────────────────────────────────── */
.verdict { display: flex; align-items: flex-start; gap: 16px; padding: 18px 22px; border-radius: var(--radius-lg); border: 1px solid; margin-bottom: 20px; }
.verdict.pass { background: #F0FDF4; border-color: #BBF7D0; }
.verdict.warn { background: #FFFBEB; border-color: #FDE68A; }
.verdict.fail { background: #FEF2F2; border-color: #FECACA; }
.verdict-ico { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.verdict.pass .verdict-ico { background: #22C55E; }
.verdict.warn .verdict-ico { background: #F59E0B; }
.verdict.fail .verdict-ico { background: #EF4444; }
.verdict-body { flex: 1; }
.verdict-title { font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.verdict.pass .verdict-title { color: #15803D; }
.verdict.warn .verdict-title { color: #92400E; }
.verdict.fail .verdict-title { color: #991B1B; }
.verdict-sub { font-size: 13px; color: var(--color-text-secondary); line-height: 1.5; }
.verdict-score { text-align: right; flex-shrink: 0; }
.verdict-num { font-size: 30px; font-weight: 700; font-family: var(--font-mono); line-height: 1; }
.verdict.pass .verdict-num { color: #16A34A; }
.verdict.warn .verdict-num { color: #B45309; }
.verdict.fail .verdict-num { color: #DC2626; }
.verdict-score-label { font-size: 10.5px; color: var(--color-text-tertiary); margin-top: 4px; }

/* ── Issue Rows ─────────────────────────────────────────── */
.issue { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-border-subtle); }
.issue:last-child { border-bottom: none; }
.issue-pin { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.issue-pin.warn { background: #F59E0B; }
.issue-pin.bad  { background: #EF4444; }
.issue-title { font-size: 13px; font-weight: 500; color: var(--color-text-primary); margin-bottom: 2px; }
.issue-desc  { font-size: 13px; color: var(--color-text-secondary); line-height: 1.5; }
.issue-meta  { font-size: 11px; color: var(--color-text-tertiary); margin-top: 4px; font-family: var(--font-mono); }

/* ── Code Block ─────────────────────────────────────────── */
.codeblock { background: var(--color-bg-sidebar); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); padding: 14px 16px 14px 16px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: var(--color-text-primary); position: relative; white-space: pre-wrap; word-break: break-word; }
.copy-btn { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 5px; background: var(--color-bg-base); border: 1px solid var(--color-border-default); font-size: 10.5px; font-weight: 600; font-family: var(--font-body); color: var(--color-text-secondary); cursor: pointer; transition: all var(--transition-fast); letter-spacing: 0.04em; }
.copy-btn:hover { background: var(--color-border-default); color: var(--color-text-primary); }
.copy-btn.copied { background: #F0FDF4; color: #16A34A; border-color: #BBF7D0; }

/* ── Checklist ──────────────────────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: 9px; }
.chk { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-text-secondary); }
.chk.done { color: var(--color-text-primary); }
.chk-box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--color-border-default); background: transparent; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.chk.done .chk-box { background: var(--color-action-primary); border-color: var(--color-action-primary); }

/* ── Steps List (Path B) ────────────────────────────────── */
.steps-list { display: flex; flex-direction: column; }
.step-row { display: flex; gap: 14px; padding: 12px 0; position: relative; }
.step-row:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 46px; bottom: 0; width: 1.5px; background: var(--color-border-subtle); }
.step-row.s-done:not(:last-child)::after { background: var(--color-border-default); }
.step-num { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; border: 1.5px solid var(--color-border-default); color: var(--color-text-tertiary); background: var(--color-bg-base); position: relative; z-index: 1; }
.step-row.s-done .step-num { background: var(--color-action-primary); border-color: var(--color-action-primary); color: #fff; }
.step-row.s-active .step-num { border-color: var(--color-action-primary); color: var(--color-action-primary); font-weight: 700; }
.step-content { flex: 1; padding-top: 5px; }
.step-row-title { font-size: 13.5px; font-weight: 500; color: var(--color-text-primary); margin-bottom: 2px; }
.step-row-desc  { font-size: 12.5px; color: var(--color-text-secondary); line-height: 1.5; }
.step-row-cta   { margin-top: 8px; }

/* ── Segment Control ────────────────────────────────────── */
.segment { display: inline-flex; background: var(--color-bg-elevated); border-radius: 9px; padding: 2px; gap: 0; }
.seg-btn { padding: 5px 13px; border-radius: 7px; font-size: 12.5px; font-weight: 500; cursor: pointer; color: var(--color-text-secondary); transition: all var(--transition-fast); user-select: none; font-family: var(--font-body); }
.seg-btn.active { background: var(--color-bg-base); color: var(--color-text-primary); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }

/* ── Tabs ───────────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 1px solid var(--color-border-subtle); gap: 0; }
.tab { padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--color-text-secondary); cursor: pointer; border-bottom: 2px solid transparent; transition: all var(--transition-default); margin-bottom: -1px; }
.tab.active { color: var(--color-text-primary); border-bottom-color: var(--color-text-primary); }

/* ── Preview Strip ──────────────────────────────────────── */
.preview-strip { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: var(--radius-md); font-size: 13px; color: #1E40AF; margin-bottom: 20px; }

/* ── Folder Tree ────────────────────────────────────────── */
.tree { font-family: var(--font-mono); font-size: 12.5px; color: var(--color-text-primary); line-height: 1.9; background: var(--color-bg-sidebar); padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--color-border-subtle); white-space: pre; }

/* ── Markdown Preview ───────────────────────────────────── */
.md-preview { font-size: 13.5px; line-height: 1.7; color: var(--color-text-primary); }
.md-preview h1 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.md-preview h2 { font-size: 14px; font-weight: 600; margin: 16px 0 6px; color: var(--color-text-primary); }
.md-preview p  { margin-bottom: 10px; color: var(--color-text-secondary); }
.md-preview ul, .md-preview ol { padding-left: 18px; margin-bottom: 10px; }
.md-preview li { margin-bottom: 3px; color: var(--color-text-secondary); }
.md-preview code { font-size: 11.5px; }
.md-preview em { color: var(--color-text-secondary); }

/* ── Footer Bar ─────────────────────────────────────────── */
.foot-bar { position: sticky; bottom: 0; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-top: 1px solid var(--color-border-subtle); padding: 11px 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 20; }
.foot-left  { display: flex; align-items: center; gap: 10px; }
.foot-meta  { font-size: 11.5px; color: var(--color-text-tertiary); }
.foot-right { display: flex; align-items: center; gap: 8px; }

/* ── Path Cards (S1) ────────────────────────────────────── */
.path-card { background: var(--color-bg-base); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: all var(--transition-default); box-shadow: var(--shadow-sm); }
.path-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-default); transform: translateY(-2px); }
.path-card-top { height: 120px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.path-card-top-a { background: linear-gradient(140deg, #EFF6FF 0%, #DBEAFE 100%); }
.path-card-top-b { background: linear-gradient(140deg, #F5F3FF 0%, #EDE9FE 100%); }
.path-card-body { padding: 20px 22px 22px; }
.path-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 8px; }
.path-tag.a { color: var(--color-accent-blue); }
.path-tag.b { color: var(--color-accent-violet); }
.path-card-title { font-size: 17px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 8px; line-height: 1.3; }
.path-card-desc { font-size: 13px; color: var(--color-text-secondary); line-height: 1.55; margin-bottom: 14px; }
.path-card-list { list-style: none; display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; }
.path-card-list li { font-size: 12.5px; color: var(--color-text-secondary); display: flex; align-items: flex-start; gap: 7px; }
.path-card-list li::before { content: '·'; color: var(--color-text-tertiary); flex-shrink: 0; }
.path-cta { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.path-cta.a { color: var(--color-accent-blue); }
.path-cta.b { color: var(--color-accent-violet); }

/* ── Listing Preview (A9) ───────────────────────────────── */
.listing-split { display: grid; grid-template-columns: 1fr 310px; gap: 20px; align-items: start; }

/* ── Inline helper banner ───────────────────────────────── */
.helper-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; background: var(--color-bg-sidebar); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); }
.helper-title { font-size: 13.5px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 2px; }
.helper-sub   { font-size: 12.5px; color: var(--color-text-secondary); }

/* ── Lifecycle Sidebar Nav ───────────────────────────────── */
.sb-lifecycle-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 8px;
  cursor: pointer; font-size: 13px; font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  user-select: none; margin-bottom: 1px;
}
.sb-lifecycle-item:hover { background: var(--color-bg-elevated); color: var(--color-text-primary); }
.sb-lifecycle-item.active { background: var(--color-bg-elevated); color: var(--color-text-primary); font-weight: 600; }
.sb-lifecycle-item.cs-item { color: var(--color-text-tertiary); }
.sb-lifecycle-item.cs-item:hover { background: var(--color-bg-elevated); color: var(--color-text-secondary); }
.sb-soon-badge {
  font-size: 9px; font-weight: 600; letter-spacing: 0.05em;
  padding: 2px 7px; border-radius: var(--radius-full);
  background: var(--color-bg-base);
  color: var(--color-text-tertiary);
  border: 1px solid var(--color-border-subtle);
  flex-shrink: 0; text-transform: uppercase;
}
.sb-subnav { padding: 0 0 10px 4px; }
.sb-cs-divider { height: 1px; background: var(--color-border-subtle); margin: 6px 10px 8px; }

/* ──────────────────────────────────────────────────────────────
   B1 — Create from expertise (v3)
   Shared helpers used by both Variant A (linear) and Variant B (zones).
   ────────────────────────────────────────────────────────────── */

/* Variant toggle pill */
.b1-vt-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 20px;
  padding: 7px 9px 7px 14px;
  background: var(--color-bg-sidebar);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
}
.b1-vt-label { font-size: 11.5px; color: var(--color-text-tertiary); letter-spacing: 0.04em; }
.b1-vt-label strong { color: var(--color-text-secondary); font-weight: 500; }

/* ── Variant A — Hero CTA (polished) ─────────────────────── */
.b1a-hero {
  position: relative;
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 24px 22px 24px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #F5F3FF 0%, #FAF5FF 70%, #FDFCFF 100%);
  border: 1px solid #E9D5FF;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.b1a-hero::after {
  content: ''; position: absolute; right: -40px; top: -30px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.b1a-hero.b1a-hero-slim { padding: 18px 22px 20px; }
.b1a-hero-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.7); border: 1px solid #E9D5FF;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(139,92,246,0.08);
}
.b1a-hero-body { flex: 1; position: relative; z-index: 1; }
.b1a-hero-eyebrow {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-violet); margin-bottom: 6px;
}
.b1a-hero-title {
  font-size: 17px; font-weight: 600; color: var(--color-text-primary);
  letter-spacing: -0.01em; margin-bottom: 5px;
}
.b1a-hero-desc {
  font-size: 13.5px; color: var(--color-text-secondary); line-height: 1.55;
  margin-bottom: 14px;
}

/* Copy "Copied to clipboard" tooltip */
.b1a-tooltip {
  position: absolute;
  bottom: calc(100% + 6px); right: -4px;
  padding: 5px 9px;
  background: var(--color-text-primary);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  pointer-events: none;
  animation: b1a-tt-in 140ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.b1a-tooltip::after {
  content: ''; position: absolute; top: 100%; right: 12px;
  border: 4px solid transparent; border-top-color: var(--color-text-primary);
}
@keyframes b1a-tt-in {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Video embed card */
.b1a-video {
  margin-top: 22px;
  background: var(--color-bg-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-default);
}
.b1a-video:hover { box-shadow: var(--shadow-sm); }
.b1a-video-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast);
}
.b1a-video-head:hover { background: var(--color-bg-sidebar); }
.b1a-video-icon {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1F2937 0%, #0F172A 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.b1a-video-title { font-size: 13px; font-weight: 600; color: var(--color-text-primary); }
.b1a-video-meta  { font-size: 11.5px; color: var(--color-text-tertiary); }
.b1a-video-frame {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-top: 1px solid var(--color-border-subtle);
  background: #000;
  animation: b1a-video-in 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.b1a-video-frame iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}
@keyframes b1a-video-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Variant A — Numbered step list (polished) ───────────── */
.b1a-section-label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text-tertiary);
  margin-bottom: 12px;
}
.b1a-steps { display: flex; flex-direction: column; }
.b1a-step {
  display: flex; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}
.b1a-step:last-child { border-bottom: none; padding-bottom: 4px; }
.b1a-step-num {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--color-border-default);
  background: var(--color-bg-base);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 600; color: var(--color-text-tertiary);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.b1a-step:hover .b1a-step-num {
  border-color: var(--color-text-primary); color: var(--color-text-primary);
}
.b1a-step-body { flex: 1; min-width: 0; padding-top: 4px; }
.b1a-step-title { font-size: 14px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 4px; letter-spacing: -0.005em; }
.b1a-step-desc  { font-size: 13px; color: var(--color-text-secondary); line-height: 1.55; }

.b1a-inline-action { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.b1a-inline-need {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: var(--radius-sm);
  background: var(--color-bg-sidebar); border: 1px solid var(--color-border-subtle);
  font-size: 12px; color: var(--color-text-secondary);
}

/* ── Variant A — Tutorial CTA row ────────────────────────── */
.b1a-tut-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 13px 16px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-bg-base);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.b1a-tut-row:hover {
  border-color: var(--color-border-default);
  background: var(--color-bg-sidebar);
}
.b1a-tut-thumb {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1F2937 0%, #0F172A 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.b1a-tut-text { flex: 1; min-width: 0; }
.b1a-tut-title { font-size: 13px; font-weight: 600; color: var(--color-text-primary); }
.b1a-tut-meta  { font-size: 11.5px; color: var(--color-text-tertiary); }

/* ──────────────────────────────────────────────────────────────
   Variant B — 3-zone journey ("Skillzip → Claude → Skillzip")
   ────────────────────────────────────────────────────────────── */

.b1b-journey {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 14px; margin-bottom: 24px;
  position: relative;
}
.b1b-zone {
  position: relative;
  background: var(--color-bg-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 18px 18px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-default);
}
.b1b-zone:hover {
  border-color: var(--color-border-default);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.b1b-zone-head {
  display: flex; align-items: center; justify-content: space-between;
}
.b1b-zone-loc {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text-tertiary);
}
.b1b-zone-loc .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.b1b-zone.skillzip .b1b-zone-loc { color: var(--color-accent-blue); }
.b1b-zone.claude   .b1b-zone-loc { color: var(--color-accent-violet); }
.b1b-zone-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-bg-elevated); color: var(--color-text-tertiary);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; font-family: var(--font-mono);
}
.b1b-zone-icon {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.b1b-zone.skillzip .b1b-zone-icon { background: #EFF6FF; border: 1px solid #BFDBFE; }
.b1b-zone.claude   .b1b-zone-icon { background: #F5F3FF; border: 1px solid #E9D5FF; }

.b1b-zone-title { font-size: 14.5px; font-weight: 600; color: var(--color-text-primary); letter-spacing: -0.01em; }
.b1b-zone-desc  { font-size: 12.5px; color: var(--color-text-secondary); line-height: 1.55; flex: 1; min-height: 36px; }
.b1b-zone-action { margin-top: 6px; }

/* Connector arrows between zones */
.b1b-conn {
  position: absolute; top: 38px; z-index: 1;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-tertiary);
  background: var(--color-bg-base);
  border-radius: 50%;
  border: 1px solid var(--color-border-subtle);
  pointer-events: none;
}

/* Prompt accordion under zone 2 */
.b1b-prompt-strip {
  margin-top: 12px;
  border-top: 1px dashed var(--color-border-subtle);
  padding-top: 11px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  cursor: pointer;
  user-select: none;
}
.b1b-prompt-strip-label {
  font-size: 12px; color: var(--color-accent-violet); font-weight: 500;
  display: flex; align-items: center; gap: 5px;
}
.b1b-prompt-strip:hover .b1b-prompt-strip-label { text-decoration: underline; }

.b1b-prompt-expanded {
  margin-top: -10px; margin-bottom: 22px;
  border: 1px solid #E9D5FF;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FAF5FF;
  animation: b1b-prompt-in 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes b1b-prompt-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.b1b-prompt-expanded-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px;
  background: rgba(139,92,246,0.06);
  border-bottom: 1px solid #E9D5FF;
  font-size: 11.5px; color: var(--color-accent-violet); font-weight: 600;
  letter-spacing: 0.03em;
}
.b1b-prompt-expanded-body {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px; line-height: 1.7;
  color: var(--color-text-primary);
  white-space: pre-wrap;
}

/* Outcome — folder tree */
.b1b-outcome {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px;
}
.b1b-outcome-card {
  background: var(--color-bg-sidebar);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.b1b-outcome-eyebrow {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text-tertiary);
  margin-bottom: 6px;
}
.b1b-outcome-title { font-size: 14px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 10px; }
.b1b-outcome-desc  { font-size: 12.5px; color: var(--color-text-secondary); line-height: 1.55; margin-bottom: 12px; }

.b1b-tree {
  font-family: var(--font-mono); font-size: 12px; line-height: 1.9;
  color: var(--color-text-secondary);
  background: var(--color-bg-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  white-space: pre;
}
.b1b-tree .f { color: var(--color-text-primary); font-weight: 500; }
.b1b-tree .m { color: var(--color-text-tertiary); }

@media (max-width: 880px) {
  .b1b-journey { grid-template-columns: 1fr; }
  .b1b-conn { display: none; }
  .b1b-outcome { grid-template-columns: 1fr; }
}

.tb-waitlist-btn {
  border-color: var(--color-border-default);
  color: var(--color-text-primary);
  font-weight: 500;
}

.waitlist-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
}

.waitlist-modal {
  position: relative;
  width: min(440px, 100%);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  background: var(--color-bg-base);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.waitlist-modal h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.waitlist-modal p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.waitlist-kicker {
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.waitlist-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  background: var(--color-bg-base);
  color: var(--color-text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.waitlist-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.waitlist-success {
  text-align: center;
}

.waitlist-success-icon {
  width: 52px;
  height: 52px;
  margin: 4px auto 16px;
  border: 1px solid #BBF7D0;
  border-radius: 50%;
  background: #F0FDF4;
  display: grid;
  place-items: center;
}

.form-error {
  margin-top: 10px;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-sm);
  background: #FEF2F2;
  color: #B91C1C;
  padding: 8px 10px;
  font-size: 12.5px;
}
