/* ── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:         #0f172a;
  --cream:       #f8fafc;
  --warm-mid:    #e2e8f0;
  --warm-light:  #f1f5f9;
  --accent:      #2563eb;
  --accent-dark: #1d4ed8;
  --muted:       #64748b;
  --serif:       'DM Serif Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --shadow-sm:   0 2px 8px rgba(15,23,42,0.06);
  --shadow-md:   0 8px 32px rgba(15,23,42,0.10);
  --shadow-lg:   0 24px 80px rgba(15,23,42,0.13);
  --radius:      12px;
  --radius-lg:   20px;
  /* Dark-section surfaces (problem + CTA only) */
  --dark-section: #1e293b;
  --on-dark:      #f8fafc;
  --on-dark-muted: rgba(248,250,252,0.68);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Nav avatar circle */
.nav-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent, #c84b2f); color: #fff;
  font-size: 0.8rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  text-transform: uppercase; text-decoration: none;
  flex-shrink: 0; transition: opacity 0.2s;
}
.nav-avatar:hover { opacity: 0.85; }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
h1 { font-family: var(--serif); font-size: clamp(40px,6vw,80px); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-family: var(--serif); font-size: clamp(32px,4vw,54px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 16px; }
h3 { font-family: var(--serif); font-size: clamp(20px,2.5vw,26px); line-height: 1.2; margin-bottom: 10px; }
p  { line-height: 1.7; }

/* ── BUTTONS ─────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  padding: 12px 24px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-primary.btn-accent { background: var(--accent); }
.btn-primary.btn-accent:hover { background: var(--accent-dark); }
.btn-primary.btn-sm  { font-size: 13px; padding: 8px 16px; }
.btn-primary.btn-lg  { font-size: 16px; padding: 14px 28px; }
.btn-primary.btn-block { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 400;
  padding: 12px 24px; border-radius: 100px;
  text-decoration: none; border: 1.5px solid var(--warm-mid); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(37,99,235,0.04); }
.btn-outline.btn-sm { font-size: 13px; padding: 8px 16px; }
.btn-outline.btn-lg { font-size: 16px; padding: 13px 28px; }
.btn-outline.btn-block { width: 100%; justify-content: center; margin-top: 16px; }

/* Used on dark-bg sections (CTA) */
.btn-outline-light {
  display: inline-flex; align-items: center;
  background: transparent; color: #fff;
  font-family: var(--sans); font-size: 14px;
  padding: 12px 20px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.4); cursor: pointer;
  transition: border-color 0.2s, background 0.2s; white-space: nowrap;
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1); }

/* ── NAV ─────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--warm-mid);
}
.nav-logo {
  font-family: var(--serif); font-size: 20px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn-primary):not(.nav-avatar) {
  font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:not(.btn-primary):not(.nav-avatar):hover { color: var(--ink); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.nav-mobile { display: none; position: fixed; top: 65px; left: 0; right: 0; z-index: 199;
  background: var(--cream); border-bottom: 1px solid var(--warm-mid); padding: 24px 24px 28px;
  flex-direction: column; gap: 16px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 16px; color: var(--ink); text-decoration: none; }

/* ── LAYOUT ──────────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; }

section { padding: 100px 48px; }
.section-label { font-size: 11px; letter-spacing: 0.12em; font-weight: 500; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.section-sub { font-size: 18px; font-weight: 300; color: var(--muted); line-height: 1.7; max-width: 520px; margin-bottom: 0; }

/* ── HERO ─────────────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 48px 80px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 50% at 75% 35%, rgba(37,99,235,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 15% 75%, rgba(99,102,241,0.05) 0%, transparent 60%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #dbeafe; border: 1.5px solid #93c5fd;
  color: var(--accent); font-size: 15px; font-weight: 600;
  padding: 10px 20px; border-radius: 100px; margin-bottom: 36px; letter-spacing: 0.01em;
  animation: fadeUp 0.6s 0.1s both;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }

.hero h1 { margin-bottom: 24px; animation: fadeUp 0.7s 0.2s both; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: clamp(16px,1.8vw,19px); font-weight: 300; color: var(--muted); max-width: 540px; margin-bottom: 40px; animation: fadeUp 0.7s 0.35s both; }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; animation: fadeUp 0.7s 0.5s both; }
.hero-social-proof { display: flex; align-items: center; gap: 16px; animation: fadeUp 0.7s 0.65s both; }
.avatars { display: flex; }
.avatar { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--cream); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; color: var(--muted); }
.avatar:first-child { margin-left: 0; }
.social-text { font-size: 13px; color: var(--muted); }
.social-text strong { color: var(--ink); font-weight: 500; }

/* Hero floating card */
.hero-card {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
  width: 310px; background: #fff; border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: cardIn 0.9s 0.8s cubic-bezier(0.16,1,0.3,1) both; z-index: 2;
}
.hero-card--visual { padding: 18px; }
.hero-card--visual p { color: #64748b !important; }
.hcard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hcard-title { font-size: 13px; font-weight: 500; color: #0a1628; }
.tag-ai { font-size: 11px; padding: 3px 10px; border-radius: 100px; background: #dbeafe; color: #1d4ed8; font-weight: 500; }

.hcard-step { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.hcard-step:last-child { border-bottom: none; }
.hcard-step .step-num { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; background: #dbeafe; color: #1d4ed8; }
.step-info { flex: 1; }
.step-name { font-size: 13px; font-weight: 500; color: #0a1628; }
.step-meta { font-size: 11px; color: #64748b; margin-top: 2px; }
.step-badge { font-size: 10px; padding: 2px 8px; border-radius: 100px; font-weight: 500; white-space: nowrap; }
.step-badge.done { background: #dcfce7; color: #16a34a; }
.step-badge.next { background: #dbeafe; color: #1d4ed8; }
.step-badge.later { background: #f1f5f9; color: #64748b; }

/* ── PROBLEM SECTION ─────────────────────────────────────────────────────────── */
.problem { background: var(--dark-section); color: var(--on-dark); }
.problem h2 { color: var(--on-dark); }
.problem .section-label { color: rgba(248,250,252,0.55); }
.problem .section-sub { color: var(--on-dark-muted); margin-bottom: 60px; max-width: 600px; }

.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; border: 1px solid rgba(248,250,252,0.08); border-radius: 16px; overflow: hidden; margin-top: 60px; }
.stat-cell { padding: 36px 28px; background: rgba(248,250,252,0.04); transition: background 0.3s; }
.stat-cell:hover { background: rgba(248,250,252,0.07); }
.stat-num { font-family: var(--serif); font-size: clamp(40px,5vw,60px); color: #60a5fa; margin-bottom: 10px; line-height: 1; }
.stat-desc { font-size: 14px; color: var(--on-dark-muted); line-height: 1.5; }

.problem-quote { margin-top: 56px; padding: 36px; border-left: 2px solid #60a5fa; background: rgba(96,165,250,0.08); border-radius: 0 12px 12px 0; }
.problem-quote p { font-family: var(--serif); font-size: clamp(18px,2.5vw,24px); font-style: italic; color: var(--on-dark); line-height: 1.5; margin-bottom: 14px; }
.problem-quote cite { font-size: 13px; color: var(--on-dark-muted); }

/* ── HOW IT WORKS ─────────────────────────────────────────────────────────────── */
.how { background: var(--warm-light); }
.how h2 { color: var(--ink); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.step-card { padding: 36px 28px; background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; color: #0a1628; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.2); border-color: #93c5fd; }
.step-big-num { font-family: var(--serif); font-size: 90px; color: rgba(10,22,40,0.04); position: absolute; top: 10px; right: 20px; line-height: 1; pointer-events: none; }
.step-icon { width: 44px; height: 44px; border-radius: 12px; background: #dbeafe; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.step-icon svg { width: 22px; height: 22px; color: #2563eb; }
.step-card h3 { font-size: 22px; margin-bottom: 10px; color: #0a1628; }
.step-card p { font-size: 15px; color: #475569; line-height: 1.65; }
.how-cta { text-align: center; margin-top: 52px; }

/* White CTA buttons on blue section backgrounds */
.cta-section .btn-primary {
  background: #fff;
  color: var(--accent);
}
.cta-section .btn-primary:hover {
  background: #eff6ff;
  color: var(--accent-dark);
  transform: translateY(-1px);
}

/* ── CAREERS PREVIEW ─────────────────────────────────────────────────────────── */
.careers-preview { background: #fff; }
.careers-preview h2 { color: var(--ink); }
.careers-preview .section-sub { color: var(--muted); }
.careers-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.career-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; background: #fff; border: 1px solid #e2e8f0;
  border-radius: 100px; text-decoration: none; font-size: 15px; color: #0a1628;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.career-chip:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(37,99,235,0.2); transform: translateY(-2px); color: #2563eb; }

/* ── TESTIMONIALS ─────────────────────────────────────────────────────────────── */
.testimonials { background: var(--warm-light); }
.testimonials h2 { color: var(--ink); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.tcard { padding: 28px; border-radius: 16px; background: #fff; border: 1px solid #e2e8f0; transition: border-color 0.2s, transform 0.25s; color: #0a1628; }
.tcard:hover { border-color: #93c5fd; transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.tcard-stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 14px; }
.tcard-quote { font-size: 15px; color: #1e293b; line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; color: #475569; }
.tcard-name { font-size: 13px; font-weight: 500; color: #0a1628; }
.tcard-role { font-size: 12px; color: #64748b; }

/* ── CTA SECTION ─────────────────────────────────────────────────────────────── */
.cta-section { background: var(--accent); color: var(--on-dark); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(37,99,235,0.18) 0%, transparent 70%); pointer-events: none; }
.cta-section .container { position: relative; }
.cta-section h2 { color: var(--on-dark); margin-bottom: 16px; }
.cta-actions { margin-bottom: 32px; }
.cta-form { max-width: 440px; margin: 0 auto; }
.form-row { display: flex; gap: 10px; }
.cta-form input { flex: 1; padding: 13px 18px; border-radius: 100px; border: 1px solid rgba(232,240,251,0.15); background: rgba(232,240,251,0.07); color: var(--on-dark); font-size: 15px; font-family: var(--sans); outline: none; transition: border-color 0.2s; }
.cta-form input::placeholder { color: var(--on-dark-muted); }
.cta-form input:focus { border-color: rgba(37,99,235,0.6); }
.cta-note { font-size: 12px; color: var(--on-dark-muted); margin-top: 14px; }

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--warm-mid); padding: 40px 48px; background: var(--warm-light); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ── ONBOARDING ─────────────────────────────────────────────────────────────── */
.onboarding-wrap { min-height: 100vh; padding-top: 80px; background: var(--cream); }

.onboarding-progress { padding: 24px 48px; background: #fff; border-bottom: 1px solid var(--warm-mid); }
.progress-steps { display: flex; gap: 32px; margin-bottom: 12px; }
.p-step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.p-step span { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--warm-mid); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; color: var(--muted); }
.p-step.active { color: var(--ink); font-weight: 500; }
.p-step.active span { border-color: var(--accent); background: var(--accent); color: white; }
.p-step.done { color: var(--muted); }
.p-step.done span { border-color: #10b981; background: rgba(16,185,129,0.12); color: #059669; }
.progress-bar-track { height: 3px; background: rgba(232,240,251,0.1); border-radius: 100px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--accent); border-radius: 100px; transition: width 0.5s ease; }

.onboarding-content { max-width: 900px; margin: 0 auto; padding: 52px 48px 80px; }
.ob-header { margin-bottom: 44px; }
.ob-header h1 { font-size: clamp(30px,4vw,48px); margin-bottom: 12px; color: var(--ink); }
.ob-header p { font-size: 17px; color: var(--muted); }
.ob-path-badge { display: inline-block; padding: 6px 14px; background: #dbeafe; border-radius: 100px; font-size: 14px; font-weight: 500; margin-bottom: 16px; color: #1d4ed8; }

/* Career selection grid — 4 per row */
.careers-select-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.career-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 16px; background: #fff; border-radius: var(--radius);
  border: 1.5px solid #e2e8f0; text-decoration: none; color: #0a1628;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.career-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.career-icon { font-size: 28px; line-height: 1; }
.career-card h3 { font-size: 15px; margin: 0; color: #0a1628; }
.career-card p { font-size: 12px; color: #475569; line-height: 1.45; flex: 1; }
.career-stats { display: flex; gap: 12px; }
.cstat { font-size: 11px; color: #64748b; }
.cstat strong { color: #0a1628; }
.career-skills { display: flex; flex-wrap: wrap; gap: 5px; }
.skill-tag { font-size: 10px; padding: 2px 7px; background: #dbeafe; border-radius: 100px; color: #1d4ed8; }
.career-arrow { position: absolute; top: 16px; right: 16px; font-size: 16px; color: #cbd5e1; transition: color 0.2s, transform 0.2s; }
.career-card:hover .career-arrow { color: #2563eb; transform: translateX(3px); }

/* Form elements */
.ob-form { display: flex; flex-direction: column; gap: 36px; }
.form-section { display: flex; flex-direction: column; gap: 14px; }
.form-label { font-size: 15px; font-weight: 500; color: var(--ink); }
.form-optional { font-weight: 300; color: var(--muted); }

.radio-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.radio-grid-2 { grid-template-columns: repeat(2,1fr); }
.radio-card { cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.rc-inner { padding: 18px 16px; border: 1.5px solid #e2e8f0; border-radius: var(--radius); background: #fff; transition: border-color 0.15s, background 0.15s; text-align: center; }
.radio-card:hover .rc-inner { border-color: #93c5fd; }
.radio-card input:checked + .rc-inner { border-color: var(--accent); background: #eff6ff; }
.rc-icon { font-size: 28px; margin-bottom: 8px; }
.rc-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; color: #0a1628; }
.rc-desc { font-size: 12px; color: #64748b; line-height: 1.4; }

.form-textarea { width: 100%; padding: 14px 18px; font-family: var(--sans); font-size: 15px; border: 1.5px solid #e2e8f0; border-radius: var(--radius); background: #fff; resize: vertical; outline: none; transition: border-color 0.2s; color: #0a1628; }
.form-textarea:focus { border-color: var(--accent); }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }

.generating-btn .btn-loading { display: flex; align-items: center; gap: 8px; }
.spin { animation: spin 1s linear infinite; }

/* ── DASHBOARD ─────────────────────────────────────────────────────────────── */

/* Path hero — full-width banner replacing the sidebar */
.dash-hero {
  background: #fff; border-bottom: 1px solid var(--warm-mid);
  padding: 32px 48px 24px; display: flex; flex-direction: column; gap: 20px;
  padding-top: calc(65px + 32px);
}
.dash-hero__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.dash-hero__identity { display: flex; align-items: center; gap: 16px; }
.dash-hero__icon { font-size: 42px; line-height: 1; flex-shrink: 0; }
.dash-hero__title { font-family: var(--serif); font-size: clamp(22px,3vw,34px); line-height: 1.1; margin: 0 0 4px; color: var(--ink); }
.dash-hero__level { font-size: 13px; color: #1d4ed8; background: #dbeafe; padding: 3px 10px; border-radius: 100px; display: inline-block; }
.dash-hero__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Stats row */
.dash-hero__stats {
  display: flex; flex-wrap: wrap; gap: 0;
  background: var(--warm-light); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--warm-mid);
}
.dash-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 24px; flex: 1; min-width: 110px;
  border-right: 1px solid var(--warm-mid);
}
.dash-stat:last-child { border-right: none; }
.dash-stat__val { font-size: 16px; font-weight: 700; color: var(--ink); font-family: var(--serif); }
.dash-stat__lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Progress bar */
.dash-hero__prog-wrap { display: flex; flex-direction: column; gap: 6px; }
.dash-hero__prog-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink); }
.dash-hero__prog-label strong { color: var(--accent); }
.dash-hero__prog-track { height: 6px; background: var(--warm-mid); border-radius: 100px; overflow: hidden; }
.dash-hero__prog-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #60a5fa); border-radius: 100px; transition: width 0.5s ease; }
.dash-hero__prog-sub { font-size: 12px; color: var(--muted); }

/* Skills */
.dash-hero__skills { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash-hero__skills-lbl { font-size: 12px; color: var(--muted); white-space: nowrap; }
.skills-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-chip { font-size: 12px; padding: 4px 12px; background: #dbeafe; border-radius: 100px; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* Goal */
.dash-hero__goal { font-size: 13px; color: var(--muted); }
.dash-hero__goal-lbl { font-weight: 500; color: var(--ink); margin-right: 6px; }
.dash-hero__goal-txt { font-style: italic; }

/* Tab bar */
.dash-tabs-bar {
  background: #fff; border-bottom: 1px solid var(--warm-mid);
  padding: 0 48px;
}
.dash-tabs { display: flex; gap: 0; }
.dash-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 14px 20px; font-size: 0.88rem; font-weight: 600;
  border: none; background: none; cursor: pointer; color: var(--muted);
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.dash-tab:hover { color: var(--ink); }
.dash-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.dash-tab__count {
  font-size: 11px; font-weight: 700; background: var(--warm-light);
  color: var(--muted); border-radius: 100px; padding: 1px 7px;
  min-width: 22px; text-align: center;
}
.dash-tab.active .dash-tab__count { background: #dbeafe; color: #1d4ed8; }

/* Panels */
.dash-panels { padding: 32px 48px 0; background: var(--cream); }
.dash-panel { }

/* Course card v2 — vertical grid card matching mcard style */
.cv2 {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  padding: 20px; gap: 10px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.cv2:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-color: #93c5fd; }
.cv2--done { opacity: 0.6; }

.cv2__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cv2__badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.course-phase-badge { font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 100px; }
.phase-foundation { background: #e8f4ff; color: #1a5276; }
.phase-core       { background: #fef3e8; color: #935116; }
.phase-spec       { background: #f0ebf9; color: #6c3483; }
.phase-portfolio  { background: #e8f8ef; color: #1e8449; }
.cv2__step { font-size: 11px; color: var(--muted); }

.check-btn {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--warm-mid);
  background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: white;
  transition: background 0.2s, border-color 0.2s; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.check-btn.checked { background: #2d7a47; border-color: #2d7a47; }
.check-btn:hover:not(.checked) { border-color: #2d7a47; }

.cv2__title {
  font-size: 0.97rem; font-weight: 700; font-family: var(--sans);
  line-height: 1.35; margin: 0; color: #0a1628;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cv2__provider { font-size: 0.78rem; color: #64748b; }
.cv2__provider-name { font-weight: 600; color: #2563eb; }
.cv2__sep { margin: 0 4px; }
.cv2__instructor { }

.cv2__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.cv2__stat { font-size: 0.75rem; color: #64748b; background: #f1f5f9; border-radius: 4px; padding: 2px 6px; }
.cv2__stat--price { color: #2563eb; font-weight: 500; background: #dbeafe; }
.cv2__stat--level { }

.cv2__tags { display: flex; flex-wrap: wrap; gap: 4px; }

.cv2__why, .cv2__outcome {
  font-size: 0.78rem; color: #64748b; line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cv2__why strong, .cv2__outcome strong { color: #0a1628; }

.cv2__link {
  display: block; text-align: center; text-decoration: none;
  margin-top: auto; padding-top: 4px;
}

.dash-bottom-cta { padding: 32px 48px 48px; background: var(--cream); }
.dash-cta-inner { background: var(--accent); border: none; color: var(--on-dark); padding: 40px; border-radius: var(--radius-lg); text-align: center; }
.dash-cta-inner h3 { font-family: var(--serif); font-size: 26px; color: var(--on-dark); margin-bottom: 8px; }
.dash-cta-inner p { font-size: 15px; color: rgba(248,250,252,0.78); margin-bottom: 24px; }

/* ── ERROR PAGE ─────────────────────────────────────────────────────────────── */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 65px; background: var(--cream); }
.error-content { text-align: center; }
.error-num { font-family: var(--serif); font-size: 120px; color: rgba(15,23,42,0.06); line-height: 1; margin-bottom: 16px; }
.error-content h1 { margin-bottom: 12px; color: var(--ink); }
.error-content p { font-size: 17px; color: var(--muted); margin-bottom: 32px; }

/* ── ANIMATIONS ─────────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes cardIn { from { opacity:0; transform:translateY(-40%) translateX(20px); } to { opacity:1; transform:translateY(-50%) translateX(0); } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity:0; transform:translateY(18px); transition: opacity 0.65s, transform 0.65s; }
.reveal.visible { opacity:1; transform:translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { padding: 64px 32px 56px; }
  .careers-select-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-hero { padding: 28px 28px 20px; padding-top: calc(65px + 28px); }
  .dash-tabs-bar { padding: 0 28px; }
  .dash-panels { padding: 24px 28px 0; }
  .dash-bottom-cta { padding: 24px 28px 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 72px 24px; }
  .hero { padding: 56px 24px 48px; }
  .stat-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .onboarding-progress { padding: 18px 24px; }
  .onboarding-content { padding: 36px 24px 60px; }
  .careers-select-grid { grid-template-columns: repeat(2, 1fr); }
  .radio-grid { grid-template-columns: repeat(2,1fr); }
  .radio-grid-2 { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn-outline { width: 100%; justify-content: center; }
  .form-actions .btn-primary { width: 100%; justify-content: center; }
  .form-row { flex-direction: column; }
  .dash-hero { padding: 20px 20px 16px; padding-top: calc(65px + 20px); gap: 16px; }
  .dash-hero__top { flex-direction: column; align-items: flex-start; }
  .dash-hero__actions { width: 100%; }
  .dash-stat { padding: 12px 16px; }
  .dash-tabs-bar { padding: 0 20px; }
  .dash-tab { padding: 12px 14px; font-size: 0.82rem; }
  .dash-panels { padding: 20px 20px 0; }
  .dash-bottom-cta { padding: 20px 20px 36px; }
  .media-grid { grid-template-columns: 1fr; }
  .media-section { padding: 1.25rem; }
}

@media print {
  .nav, .dash-bottom-cta, .check-btn, .cv2__link, .dash-hero__actions { display: none !important; }
  .cv2 { break-inside: avoid; }
}

/* ── MEDIA RESOURCES — shared card + grid styles ────────────────────────────── */

/* Loading state */
.media-loading {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 2.5rem 0; color: var(--muted); font-size: 0.9rem;
}
.media-spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(37,99,235,0.2);
  border-top-color: var(--accent);
  animation: mediaSpinKf 0.8s linear infinite; flex-shrink: 0;
}
@keyframes mediaSpinKf { to { transform: rotate(360deg); } }

/* Error state */
.media-error {
  padding: 1.25rem; border-radius: var(--radius);
  background: #fff5f4; border: 1px solid #fecaca;
  color: #991b1b; font-size: 0.9rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Empty state */
.media-empty { color: var(--muted); font-size: 0.9rem; padding: 1rem 0; }

/* Grid layout — shared by courses, videos, podcasts */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  padding-bottom: 2rem;
}

/* Video / Podcast card */
.mcard {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  text-decoration: none; color: #0a1628 !important;
  overflow: hidden; transition: box-shadow 0.2s, transform 0.2s;
}
.mcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Thumbnail */
.mcard__img-wrap { position: relative; aspect-ratio: 16/9; background: #e2e8f0; overflow: hidden; }
.mcard__thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.mcard__thumb--placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f1f5f9; }
.mcard__play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; background: rgba(0,0,0,0.3); }
.mcard:hover .mcard__play-icon { opacity: 1; }

/* Podcast art */
.mcard__img-wrap--podcast { aspect-ratio: 1/1; max-height: 110px; }
.mcard__podcast-art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); }
.mcard__podcast-icon { font-size: 2.5rem; }

/* Card body */
.mcard__body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.mcard__meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: #64748b; margin-bottom: 0.4rem; flex-wrap: wrap; }
.mcard__source { font-weight: 600; color: #2563eb; }
.mcard__dur, .mcard__views, .mcard__platform { background: #f1f5f9; border-radius: 4px; padding: 1px 5px; font-size: 0.72rem; }
.mcard__title { font-size: 0.92rem; font-weight: 700; font-family: var(--sans); line-height: 1.35; margin: 0 0 0.4rem; color: #0a1628; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard__desc { font-size: 0.8rem; color: #475569; line-height: 1.5; margin-bottom: 0.6rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mcard__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.mcard__tag { font-size: 0.7rem; background: #dbeafe; color: #1d4ed8; border-radius: 4px; padding: 2px 6px; font-weight: 500; }
