/* =========================================================
   Risk Control Training Centre  LMS
   Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  /* Palette  Security-professional (NPSA-inspired) */
  --navy-950: #060f1f;
  --navy-900: #0a1628;
  --navy-800: #0f2140;
  --navy-700: #16305c;
  --navy-600: #1e447e;
  --navy-500: #2e5eaa;
  --navy-100: #dbe6f6;
  --navy-50: #eef4fc;

  --gold-600: #a1802e;
  --gold-500: #c9a24b;
  --gold-400: #d9b768;
  --gold-100: #f3e7c8;

  --ink-950: #0a0f1a;
  --ink-800: #1d2432;
  --ink-700: #2b3345;
  --ink-600: #4a5266;
  --ink-500: #6a7285;
  --ink-400: #9098a8;
  --ink-300: #c2c8d3;
  --ink-200: #dfe3eb;
  --ink-100: #eef1f5;
  --ink-50: #f6f8fb;
  --white: #ffffff;

  --green-600: #1f7a4c;
  --green-500: #2f9d67;
  --green-100: #daf1e3;

  --red-600: #b23a3a;
  --amber-500: #d9932a;

  /* Type */
  --font-sans: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Public Sans", ui-serif, Georgia, serif;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .06);
  --shadow-md: 0 4px 14px rgba(10, 22, 40, .08);
  --shadow-lg: 0 18px 40px rgba(10, 22, 40, .14);
  --shadow-focus: 0 0 0 4px rgba(46, 94, 170, .35);

  /* Layout */
  --page-max: 1280px;
  --page-pad: 40px;
}

/* =========================================================
   Base
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ink-50);
  color: var(--ink-950);
  font-family: var(--font-sans);
  font-size: 20px;
  /* USER REQUIREMENT: 20px base */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink-950);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 28px;
  font-weight: 700;
}

h4 {
  font-size: 22px;
  font-weight: 600;
}

p {
  margin: 0 0 1em 0;
  text-wrap: pretty;
}

.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.eyebrow.on-dark {
  color: var(--gold-400);
}

.serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

/* =========================================================
   Global chrome  top prototype tab bar
   ========================================================= */

.proto-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-950);
  color: var(--ink-100);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.proto-bar-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 10px var(--page-pad);
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.proto-bar-label {
  color: var(--ink-400);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
}

.proto-tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.proto-tab {
  background: transparent;
  color: var(--ink-300);
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}

.proto-tab:hover {
  color: white;
  background: rgba(255, 255, 255, .06);
}

.proto-tab.active {
  background: var(--gold-500);
  color: var(--navy-950);
}

/* =========================================================
   Site header (per-page)
   ========================================================= */

.site-header {
  background: var(--navy-900);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header.on-hero {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .12);
  color: white;
}

.site-header-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 18px var(--page-pad);
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-name {
  line-height: 1.15;
}

.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-300);
  letter-spacing: 0;
}

.nav-primary {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 17px;
  color: inherit;
  cursor: pointer;
}

.nav-link:hover {
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
}

.nav-link.current {
  color: white;
  background: rgba(255, 255, 255, .14);
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1024px) {
  .nav-primary,
  .nav-right {
    display: none !important;
  }
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: white;
  --btn-bd: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.btn.lg {
  padding: 18px 30px;
  font-size: 19px;
}

.btn.xl {
  padding: 22px 36px;
  font-size: 20px;
}

.btn.sm {
  padding: 10px 18px;
  font-size: 15px;
}

.btn.primary {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--navy-950);
  --btn-bd: var(--gold-500);
}

.btn.primary:hover {
  --btn-bg: var(--gold-400);
  --btn-bd: var(--gold-400);
}

.btn.dark {
  --btn-bg: var(--navy-900);
  --btn-fg: white;
  --btn-bd: var(--navy-900);
}

.btn.ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-950);
  --btn-bd: var(--ink-300);
}

.btn.ghost.on-dark {
  --btn-fg: white;
  --btn-bd: rgba(255, 255, 255, .4);
}

.btn.ghost.on-dark:hover {
  --btn-bg: rgba(255, 255, 255, .08);
}

.btn.link {
  --btn-bg: transparent;
  --btn-fg: var(--navy-700);
  --btn-bd: transparent;
  padding-left: 4px;
  padding-right: 4px;
}

.btn.link:hover {
  text-decoration: underline;
  box-shadow: none;
  transform: none;
}

.btn.success {
  --btn-bg: var(--green-500);
  --btn-fg: white;
  --btn-bd: var(--green-500);
}

.btn .arrow {
  transition: transform .15s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* =========================================================
   Layout helpers
   ========================================================= */

.page {
  min-height: 100vh;
}

.page.dark-page {
  background: var(--navy-950);
  color: var(--ink-100);
}

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section {
  padding: 96px 0;
}

.section.tight {
  padding: 64px 0;
}

.section.hero {
  padding: 0;
}

/* =========================================================
   Landing hero
   ========================================================= */

.hero {
  position: relative;
  background: var(--navy-950);
  color: white;
  overflow: hidden;
  padding: 64px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: .72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 15, 31, .96) 0%, rgba(6, 15, 31, .75) 45%, rgba(6, 15, 31, .15) 100%),
    linear-gradient(180deg, rgba(6, 15, 31, .55) 0%, rgba(6, 15, 31, .15) 30%, rgba(6, 15, 31, .9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 6px var(--page-pad) 8px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 720px);
}

.hero h1 {
  color: white;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 8px;
}

.hero h1 .accent {
  color: var(--gold-400);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-200);
  max-width: 620px;
  margin-bottom: 10px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  position: relative;
  z-index: 2;
  padding: 0 var(--page-pad) 40px;
  max-width: var(--page-max);
  margin: 32px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  color: var(--ink-300);
  font-size: 15px;
  align-items: center;
}

.hero-badges strong {
  color: white;
  font-size: 17px;
  display: block;
}

.hero-badges .divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, .15);
}

/* =========================================================
   Section header
   ========================================================= */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section-head h2 {
  max-width: 720px;
}

.section-head .lead {
  font-size: 20px;
  color: var(--ink-600);
  max-width: 520px;
  margin: 12px 0 0 0;
}

/* =========================================================
   Value props
   ========================================================= */

.value-strip {
  background: white;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.value-item {
  padding: 44px 32px;
  border-right: 1px solid var(--ink-200);
}

.value-item:last-child {
  border-right: 0;
}

.value-item h4 {
  font-size: 21px;
  margin-bottom: 8px;
  color: var(--navy-800);
}

.value-item p {
  font-size: 17px;
  color: var(--ink-600);
  margin: 0;
  line-height: 1.5;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-50);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

/* =========================================================
   Course cards
   ========================================================= */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.course-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer;
  color: inherit;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-500);
  text-decoration: none;
}

.course-card-thumb {
  aspect-ratio: 16 / 10;
  background: var(--ink-100);
  background-size: cover;
  background-position: center;
  position: relative;
}

.course-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(6, 15, 31, .85);
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: blur(6px);
}

.course-card-badge.gold {
  background: var(--gold-500);
  color: var(--navy-950);
}

.course-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card-level {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy-600);
  margin-bottom: 10px;
}

.course-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1.15;
}

.course-card p {
  font-size: 17px;
  color: var(--ink-600);
  line-height: 1.5;
  margin-bottom: 20px;
}

.course-card-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--ink-500);
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--ink-100);
}

.course-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* =========================================================
   Certification path callout
   ========================================================= */

.cert-band {
  background: var(--navy-900);
  color: white;
  border-radius: var(--r-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cert-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, .35), transparent 70%);
}

.cert-band h2 {
  color: white;
  margin-bottom: 20px;
}

.cert-band p {
  font-size: 19px;
  color: var(--ink-200);
  line-height: 1.55;
}

.cert-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cert-step {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
}

.cert-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}

.cert-step h4 {
  color: white;
  font-size: 19px;
  margin-bottom: 4px;
}

.cert-step p {
  color: var(--ink-300);
  font-size: 16px;
  margin: 0;
}

/* =========================================================
   Testimonial
   ========================================================= */

.testimonial {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 64px;
  border: 1px solid var(--ink-200);
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.35;
  color: var(--navy-900);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-100);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--navy-700);
  font-size: 18px;
}

.testimonial-author-info {
  text-align: left;
}

.testimonial-author strong {
  font-size: 18px;
  display: block;
}

.testimonial-author small {
  font-size: 15px;
  color: var(--ink-500);
}

/* =========================================================
   Corporate CTA band
   ========================================================= */

.corp-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: white;
  border-radius: var(--r-xl);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.corp-band h3 {
  color: white;
  font-size: 32px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.corp-band p {
  font-size: 18px;
  color: var(--ink-200);
  margin: 0;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--ink-200);
}

.faq-item summary {
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-950);
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--ink-300);
  display: grid;
  place-items: center;
  color: var(--ink-600);
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--navy-800);
  color: white;
  border-color: var(--navy-800);
}

.faq-body {
  padding: 0 60px 32px 0;
  font-size: 18px;
  color: var(--ink-600);
  line-height: 1.6;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--navy-950);
  color: var(--ink-300);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer h5 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 20px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--ink-300);
  font-size: 16px;
}

.footer-links a:hover {
  color: white;
}

.footer .brand {
  color: white;
  margin-bottom: 20px;
}

.footer .brand small {
  color: var(--ink-400);
}

.footer-tag {
  font-size: 16px;
  color: var(--ink-400);
  max-width: 320px;
  line-height: 1.55;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: var(--ink-400);
  flex-wrap: wrap;
}

/* =========================================================
   Home / Catalog page
   ========================================================= */

.welcome-bar {
  background: var(--navy-900);
  color: white;
  padding: 40px 0 44px;
}

.welcome-bar .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.welcome-bar h1 {
  font-size: 42px;
  color: white;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.welcome-bar p {
  color: var(--ink-300);
  font-size: 18px;
  margin: 0;
}

.progress-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  padding: 20px 28px;
  min-width: 360px;
}

.progress-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.progress-card-title {
  font-weight: 600;
  font-size: 16px;
}

.progress-card-value {
  font-weight: 800;
  font-size: 22px;
  color: var(--gold-400);
}

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold-500);
  border-radius: 999px;
}

.progress-caption {
  font-size: 14px;
  color: var(--ink-400);
  margin-top: 10px;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.chip {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: white;
  border: 1px solid var(--ink-200);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: all .15s ease;
}

.chip:hover {
  border-color: var(--navy-500);
  color: var(--navy-700);
}

.chip.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: white;
}

.continue-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.continue-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  cursor: pointer;
  transition: all .15s ease;
}

.continue-card:hover {
  border-color: var(--navy-500);
  box-shadow: var(--shadow-md);
}

.continue-thumb {
  width: 96px;
  height: 96px;
  border-radius: var(--r-md);
  background-size: cover;
  background-position: center;
}

.continue-body h4 {
  font-size: 19px;
  margin-bottom: 4px;
}

.continue-body small {
  color: var(--ink-500);
  font-size: 15px;
}

.continue-body .progress-track {
  margin-top: 12px;
  height: 6px;
  background: var(--ink-100);
}

.continue-body .progress-fill {
  background: var(--green-500);
}

.continue-body .progress-caption {
  color: var(--ink-500);
  margin-top: 6px;
}

/* Learning paths */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.path-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  cursor: pointer;
  transition: all .15s ease;
}

.path-card:hover {
  border-color: var(--navy-500);
  box-shadow: var(--shadow-md);
}

.path-hex {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--navy-700);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 30px;
}

.path-card h4 {
  font-size: 22px;
  margin-bottom: 6px;
}

.path-card .path-meta {
  font-size: 15px;
  color: var(--ink-500);
  margin-bottom: 10px;
}

.path-card p {
  font-size: 17px;
  color: var(--ink-600);
  margin: 0;
}

/* =========================================================
   Course Outline page
   ========================================================= */

.course-hero {
  background: var(--navy-900);
  color: white;
  padding: 56px 0 72px;
  position: relative;
}

.course-hero .container {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 40px;
  align-items: flex-start;
}

.course-badge-hex {
  width: 120px;
  height: 120px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--gold-500);
  color: var(--navy-950);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
}

.course-hero .crumbs {
  color: var(--ink-300);
  font-size: 15px;
  margin-bottom: 12px;
}

.course-hero .crumbs a {
  color: var(--ink-300);
}

.course-hero .crumbs a:hover {
  color: white;
}

.course-hero h1 {
  color: white;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.course-hero .subtitle {
  font-size: 20px;
  color: var(--ink-300);
  margin-bottom: 20px;
}

.course-meta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--ink-200);
  font-size: 16px;
  align-items: center;
}

.course-meta-row .dot {
  color: var(--ink-500);
}

.xp-badge {
  padding: 8px 18px;
  background: rgba(201, 162, 75, .15);
  border: 1px solid rgba(201, 162, 75, .4);
  color: var(--gold-400);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  align-self: flex-start;
}

.course-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  padding: 64px 0 96px;
  align-items: start;
}

.at-a-glance {
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  margin-bottom: 40px;
}

.at-a-glance h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--navy-800);
  font-size: 24px;
  margin-bottom: 20px;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}

.glance-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.glance-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: white;
  color: var(--navy-700);
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-200);
  flex-shrink: 0;
}

.glance-item strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

.glance-item span {
  color: var(--navy-600);
  font-size: 17px;
  font-weight: 500;
}

.prose {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-800);
}

.prose h2 {
  font-size: 32px;
  margin: 40px 0 16px;
}

.prose h3 {
  font-size: 24px;
  margin: 32px 0 12px;
}

.prose ul {
  padding-left: 24px;
  margin: 16px 0;
}

.prose ul li {
  margin-bottom: 8px;
}

.prose a {
  color: var(--navy-600);
  font-weight: 600;
}

.prose a:hover {
  text-decoration: underline;
}

/* Modules list  Microsoft Learn style */
.modules-heading {
  font-size: 28px;
  font-weight: 700;
  margin: 48px 0 20px;
}

.module {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  margin-bottom: 16px;
  overflow: hidden;
}

.module-head {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 22px;
  align-items: center;
}

.module-hex {
  width: 60px;
  height: 60px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--navy-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
}

.module-title {
  font-size: 21px;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 6px;
  line-height: 1.25;
}

.module-meta {
  font-size: 15px;
  color: var(--ink-500);
}

.module-xp {
  background: var(--ink-100);
  color: var(--ink-700);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.module-body {
  padding: 0 28px 24px;
  color: var(--ink-700);
  font-size: 17px;
}

.module-desc {
  margin: 0 0 16px;
  padding-left: 82px;
  color: var(--ink-600);
  font-size: 17px;
  line-height: 1.55;
}

.module-actions {
  padding-left: 82px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.overview-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-700);
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.overview-toggle .chev {
  transition: transform .2s ease;
}

.overview-toggle.open .chev {
  transform: rotate(180deg);
}

.units {
  padding: 8px 28px 24px 110px;
  display: none;
  border-top: 1px dashed var(--ink-200);
  margin: 0 28px;
}

.units.open {
  display: block;
}

.unit {
  padding: 14px 0;
  border-left: 2px solid var(--ink-200);
  padding-left: 20px;
  margin-left: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.unit:hover {
  border-left-color: var(--navy-500);
}

.unit a {
  color: var(--navy-700);
  font-weight: 500;
  font-size: 17px;
}

.unit small {
  color: var(--ink-500);
  font-size: 14px;
}

/* Enroll sticky card */
.enroll-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 32px;
  position: sticky;
  top: 140px;
  box-shadow: var(--shadow-sm);
}

.enroll-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.enroll-price strong {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.enroll-price small {
  color: var(--ink-500);
  font-size: 16px;
}

.enroll-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-600);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}

.enroll-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enroll-list li {
  display: flex;
  gap: 10px;
  font-size: 16px;
  color: var(--ink-700);
  line-height: 1.4;
}

.enroll-list svg {
  flex-shrink: 0;
  color: var(--green-500);
  margin-top: 2px;
}

.enroll-card .btn {
  width: 100%;
  justify-content: center;
}

.enroll-card .btn+.btn {
  margin-top: 12px;
}

/* =========================================================
   Training / Player page
   ========================================================= */

.training-topbar {
  background: white;
  border-bottom: 1px solid var(--ink-200);
  padding: 14px 0;
  position: sticky;
  top: 44px;
  z-index: 40;
}

.training-topbar .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.training-topbar h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: var(--ink-800);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.training-topbar h4 span {
  color: var(--ink-500);
  font-weight: 400;
}

.training-topbar .exit {
  color: var(--ink-500);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.training-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.training-progress .progress-track {
  flex: 1;
  height: 6px;
  background: var(--ink-100);
}

.training-progress .progress-fill {
  background: var(--green-500);
}

.training-progress-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-700);
}

.training-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: calc(100vh - 100px);
}

.training-sidebar {
  background: white;
  border-right: 1px solid var(--ink-200);
  padding: 24px 0;
  overflow-y: auto;
  max-height: calc(100vh - 100px);
  position: sticky;
  top: 100px;
}

.training-sidebar h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-500);
  font-weight: 700;
  margin: 0 0 16px 0;
  padding: 0 28px;
}

.sidebar-module {
  margin-bottom: 20px;
}

.sidebar-module-head {
  padding: 8px 28px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-800);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-module-head .num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.sidebar-units {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.sidebar-unit {
  padding: 10px 28px 10px 60px;
  font-size: 16px;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-left: 3px solid transparent;
  line-height: 1.35;
}

.sidebar-unit:hover {
  background: var(--ink-50);
}

.sidebar-unit.active {
  background: var(--navy-50);
  color: var(--navy-800);
  font-weight: 600;
  border-left-color: var(--gold-500);
}

.sidebar-unit .check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--ink-300);
  display: grid;
  place-items: center;
  color: white;
  background: transparent;
}

.sidebar-unit.done .check {
  background: var(--green-500);
  border-color: var(--green-500);
}

.sidebar-unit small {
  margin-left: auto;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 400;
}

.training-main {
  padding: 40px 56px 80px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}

.unit-eyebrow {
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.training-main h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.training-main .unit-meta {
  color: var(--ink-500);
  font-size: 16px;
  margin-bottom: 32px;
}

.format-toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--ink-100);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: 24px;
}

.format-toggle button {
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-600);
  cursor: pointer;
}

.format-toggle button.active {
  background: white;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--navy-950);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .6) 100%);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
  transition: transform .15s ease;
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}

.video-scrub {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, .25);
  border-radius: 999px;
  position: relative;
}

.video-scrub-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 24%;
  background: var(--gold-500);
  border-radius: 999px;
}

.video-scrub-fill::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -4px;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
}

.video-time {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.video-controls svg {
  cursor: pointer;
}

.note-box {
  background: #f6f0ff;
  border: 1px solid #e0d0f8;
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0;
  color: #3d2a5c;
  font-size: 17px;
  line-height: 1.5;
}

.note-box strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5c3fa5;
  font-weight: 700;
  margin-bottom: 6px;
}

.download-box {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.download-icon {
  width: 48px;
  height: 48px;
  background: var(--red-600);
  color: white;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.download-box strong {
  display: block;
  font-size: 17px;
  margin-bottom: 2px;
}

.download-box small {
  color: var(--ink-500);
  font-size: 14px;
}

.download-box .btn {
  margin-left: auto;
}

/* Quiz block */
.quiz-block {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 40px 0;
}

.quiz-block .quiz-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-800);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.quiz-block h3 {
  margin-bottom: 24px;
  font-size: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  background: white;
  border: 2px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 18px 22px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all .15s ease;
  font-family: inherit;
  text-align: left;
  width: 100%;
  color: var(--ink-800);
}

.quiz-option:hover {
  border-color: var(--navy-500);
}

.quiz-option.selected {
  border-color: var(--navy-800);
  background: white;
}

.quiz-option.correct {
  border-color: var(--green-500);
  background: var(--green-100);
}

.quiz-option.wrong {
  border-color: var(--red-600);
  background: #fbeaea;
}

.quiz-option-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-700);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.quiz-option.selected .quiz-option-letter {
  background: var(--navy-800);
  color: white;
}

.quiz-option.correct .quiz-option-letter {
  background: var(--green-500);
  color: white;
}

.quiz-option.wrong .quiz-option-letter {
  background: var(--red-600);
  color: white;
}

.quiz-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
}

.quiz-feedback {
  color: var(--green-600);
  font-weight: 600;
  font-size: 16px;
  display: none;
}

.quiz-feedback.show {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Unit footer / navigation */
.unit-nav {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-200);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.unit-nav-side {
  color: var(--ink-500);
  font-size: 15px;
}

.unit-nav-side.right {
  text-align: right;
}

.unit-nav-side strong {
  display: block;
  color: var(--ink-800);
  font-size: 18px;
  font-weight: 600;
  margin-top: 2px;
}

.next-unit-block {
  margin-top: 40px;
  padding: 28px;
  background: var(--navy-50);
  border-radius: var(--r-lg);
  border: 1px solid var(--navy-100);
}

.next-unit-block small {
  color: var(--navy-600);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.next-unit-block h4 {
  font-size: 22px;
  margin: 6px 0 20px;
}

/* =========================================================
   Learning Paths page
   ========================================================= */

.paths-hero {
  background: var(--navy-900);
  color: white;
  padding: 36px 0 44px;
  position: relative;
  overflow: hidden;
}

.paths-hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, .22), transparent 70%);
  pointer-events: none;
}

.paths-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.paths-hero h1 {
  color: white;
  font-size: clamp(40px, 4.6vw, 64px);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.paths-hero h1 .accent {
  color: var(--gold-400);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
}

.paths-hero p {
  font-size: 21px;
  color: var(--ink-200);
  line-height: 1.55;
  max-width: 700px;
  margin-bottom: 0;
}

.paths-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.path-detail {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr;
}

.path-detail-hero {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: white;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.path-detail-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, .35), transparent 70%);
  pointer-events: none;
}

.path-hex-lg {
  width: 96px;
  height: 96px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--gold-500);
  color: var(--navy-950);
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.path-detail-hero h3 {
  color: white;
  font-size: 26px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

.path-detail-hero p {
  color: var(--ink-300);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  position: relative;
  z-index: 2;
}

.path-detail-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  position: relative;
  z-index: 2;
}

.path-detail-stats strong {
  display: block;
  color: white;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.path-detail-stats small {
  color: var(--ink-400);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

.path-detail-body {
  padding: 40px 44px;
}

.path-detail-body h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-500);
  font-weight: 700;
  margin: 0 0 24px 0;
}

.path-course-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  position: relative;
}

.path-course-list::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--ink-300) 0 4px, transparent 4px 10px);
}

.path-course-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 12px 0;
  position: relative;
}

.path-course-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--ink-200);
  color: var(--ink-600);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 17px;
  position: relative;
  z-index: 1;
}

.path-course-item.done .path-course-num {
  background: var(--green-500);
  border-color: var(--green-500);
  color: white;
}

.path-course-item.current .path-course-num {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: white;
}

.path-course-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.25;
}

.path-course-meta {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 2px;
}

.path-course-status {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.path-course-status.done {
  background: var(--green-100);
  color: var(--green-600);
}

.path-course-status.current {
  background: var(--gold-100);
  color: var(--gold-600);
}

.path-course-status.next {
  background: var(--ink-100);
  color: var(--ink-600);
}

.path-detail-actions {
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-200);
  align-items: center;
}

.path-detail-actions .cert-note {
  margin-left: auto;
  color: var(--ink-500);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* =========================================================
   Dashboard page
   ========================================================= */

.dash-topbar {
  background: var(--navy-950);
  color: white;
  padding: 48px 0 96px;
  position: relative;
  overflow: hidden;
}

.dash-topbar::before {
  content: "";
  position: absolute;
  left: 40%;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 94, 170, .28), transparent 70%);
  pointer-events: none;
}

.dash-topbar .container {
  position: relative;
  z-index: 1;
}

.dash-hello {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.dash-hello h1 {
  color: white;
  font-size: 44px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 6px;
}

.dash-hello p {
  color: var(--ink-300);
  font-size: 18px;
  margin: 0;
}

.dash-hello .today {
  color: var(--ink-400);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  backdrop-filter: blur(6px);
}

.stat-card small {
  font-size: 13px;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.stat-card strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  display: block;
  line-height: 1;
}

.stat-card .stat-caption {
  font-size: 14px;
  color: var(--ink-300);
  margin-top: 8px;
}

.stat-card.gold strong {
  color: var(--gold-400);
}

.dash-body {
  padding: 40px 0 96px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}

.dash-card {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  gap: 20px;
}

.dash-card-head h3 {
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}

.dash-card-head a {
  color: var(--navy-600);
  font-size: 15px;
  font-weight: 600;
}

/* enrolled course row */
.enrolled-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.enrolled-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  padding: 16px;
  border-radius: var(--r-md);
  align-items: center;
  cursor: pointer;
  transition: background .12s ease;
}

.enrolled-row:hover {
  background: var(--ink-50);
}

.enrolled-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--r-sm);
  background-size: cover;
  background-position: center;
}

.enrolled-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
  line-height: 1.2;
}

.enrolled-sub {
  font-size: 15px;
  color: var(--ink-500);
  margin-bottom: 10px;
}

.enrolled-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-600);
}

.enrolled-progress .progress-track {
  flex: 1;
  height: 6px;
  background: var(--ink-100);
}

.enrolled-progress .progress-fill {
  background: var(--green-500);
}

.enrolled-progress strong {
  font-weight: 700;
  color: var(--ink-800);
  min-width: 40px;
  text-align: right;
}

.enrolled-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.enrolled-status {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--gold-100);
  color: var(--gold-600);
}

.enrolled-status.done {
  background: var(--green-100);
  color: var(--green-600);
}

.enrolled-status.not {
  background: var(--ink-100);
  color: var(--ink-600);
}

/* Certificates */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cert-tile {
  padding: 20px;
  background: linear-gradient(135deg, #fdf8ed, #f8ecc9);
  border: 1px solid var(--gold-100);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}

.cert-tile.locked {
  background: var(--ink-50);
  border-color: var(--ink-200);
}

.cert-tile-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--gold-600);
}

.cert-tile.locked .cert-tile-ribbon {
  color: var(--ink-400);
}

.cert-tile h4 {
  font-size: 17px;
  margin: 0 0 6px 0;
  padding-right: 40px;
  line-height: 1.25;
  color: var(--navy-900);
}

.cert-tile.locked h4 {
  color: var(--ink-500);
}

.cert-tile small {
  font-size: 13px;
  color: var(--ink-600);
  display: block;
  margin-bottom: 14px;
}

.cert-tile .cert-action {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cert-tile.locked .cert-action {
  color: var(--ink-500);
}

/* activity feed */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activity-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-100);
  font-size: 15px;
}

.activity-row:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
}

.activity-icon.complete {
  background: var(--green-500);
}

.activity-icon.quiz {
  background: var(--navy-700);
}

.activity-icon.cert {
  background: var(--gold-500);
  color: var(--navy-950);
}

.activity-icon.start {
  background: var(--ink-500);
}

.activity-body strong {
  color: var(--ink-900);
  font-weight: 600;
}

.activity-body .activity-detail {
  color: var(--ink-600);
}

.activity-time {
  color: var(--ink-500);
  font-size: 13px;
  white-space: nowrap;
}

/* streak / weekly card */
.streak-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: white;
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.streak-card h3 {
  color: white;
}

.streak-num {
  font-size: 68px;
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 12px 0 4px;
}

.streak-label {
  color: var(--ink-300);
  font-size: 15px;
  margin-bottom: 24px;
}

.week-dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.week-dot {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-400);
  border: 1px solid rgba(255, 255, 255, .06);
}

.week-dot.hit {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
}

.week-dot.today {
  background: rgba(255, 255, 255, .15);
  color: white;
  border: 2px solid var(--gold-400);
}

.streak-card .streak-note {
  font-size: 15px;
  color: var(--ink-300);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

/* Recommended card */
.reco-thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
}

.reco-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--navy-700);
  background: var(--navy-50);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.reco-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.reco-card p {
  color: var(--ink-600);
  font-size: 15px;
  margin-bottom: 16px;
}

/* =========================================================
   Utility
   ========================================================= */
.text-muted {
  color: var(--ink-500);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: 12px;
}

.mb-4 {
  margin-bottom: 32px;
}

.mt-6 {
  margin-top: 48px;
}

.hidden {
  display: none !important;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-body {
    grid-template-columns: 1fr;
  }

  .cert-band {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

  .training-layout {
    grid-template-columns: 1fr;
  }

  .training-sidebar {
    position: static;
    max-height: none;
  }

  .path-detail {
    grid-template-columns: 1fr;
  }

  .path-detail-hero {
    min-height: 220px;
  }

  .dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 20px;
  }

  .course-grid,
  .course-grid.two,
  .paths-grid,
  .continue-rail {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    border-right: 0;
    border-bottom: 1px solid var(--ink-200);
  }

  .welcome-bar .container {
    grid-template-columns: 1fr;
  }

  .progress-card {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-hero .container {
    grid-template-columns: 1fr;
  }

  .corp-band {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .training-main {
    padding: 32px 20px 60px;
  }

  .glance-grid {
    grid-template-columns: 1fr;
  }

  .dash-stats {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .enrolled-row {
    grid-template-columns: 60px 1fr;
  }

  .enrolled-thumb {
    width: 60px;
    height: 60px;
  }

  .enrolled-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .path-detail-body {
    padding: 32px 24px;
  }
}