/* SkillsPillar design system
   -------------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f6f6;
  --surface-3: #eaeced;
  --border: #e2e5e6;
  --border-strong: #cbd0d2;
  --text: #161c1e;
  --text-2: #3a4245;
  --muted: #667073;
  --primary: #0b5563;
  --primary-600: #08414c;
  --primary-50: #eef5f6;
  --primary-100: #d8e9eb;
  --on-primary: #ffffff;
  --accent: #0b5563;
  --ink: #0e2a30;
  --ink-2: #13363d;
  --gold: #0b5563;
  --gold-2: #8fc7cd;
  --gold-50: #eef5f6;
  --success: #16825a;
  --success-50: #e3f4ea;
  --danger: #c93a45;
  --danger-50: #fbe7e8;
  --award: #b7862c;
  --warning: #c77c08;
  --warning-50: #fcf0da;
  --info: #2466c9;
  --info-50: #e4eefb;
  --shadow-sm: 0 1px 2px rgba(14, 42, 48, .06);
  --shadow: 0 1px 2px rgba(14, 42, 48, .06), 0 4px 12px -6px rgba(14, 42, 48, .12);
  --shadow-lg: 0 2px 4px rgba(14, 42, 48, .06), 0 12px 28px -12px rgba(14, 42, 48, .2);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --container: 1220px;
  --nav-h: 72px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1315;
  --surface: #111c1f;
  --surface-2: #172529;
  --surface-3: #203238;
  --border: #203238;
  --border-strong: #30474e;
  --text: #edf2f3;
  --text-2: #c3cfd2;
  --muted: #8d9ea2;
  --primary: #7cc3cb;
  --primary-600: #a5dbe0;
  --primary-50: #11272b;
  --primary-100: #183840;
  --on-primary: #05181b;
  --accent: #7cc3cb;
  --ink: #071013;
  --ink-2: #0d1b1e;
  --gold: #7cc3cb;
  --gold-2: #a5dbe0;
  --gold-50: #11272b;
  --success: #3cc68a;
  --success-50: #11281e;
  --danger: #f06b73;
  --danger-50: #2e1518;
  --warning: #f2b441;
  --warning-50: #2c2211;
  --info: #5aa5ff;
  --info-50: #132337;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); letter-spacing: -.015em; }
h3, h4 { font-weight: 650; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.5rem 0; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
::selection { background: var(--primary-100); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 760px; }
.container-md { max-width: 960px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xs { font-size: .78rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack > * + * { margin-top: 16px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 650; color: var(--gold); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Buttons ------------------------------------------------------ */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text); --btn-bd: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 6px;
  font: 600 .92rem/1 var(--font); letter-spacing: -.005em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { color: var(--btn-fg); border-color: var(--text-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-primary { --btn-bg: var(--primary); --btn-fg: var(--on-primary); --btn-bd: var(--primary); }
.btn-primary:hover { --btn-bg: var(--primary-600); border-color: var(--primary-600); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
:root[data-theme="dark"] .btn-dark { --btn-bg: #f0eff6; --btn-fg: #0c0d13; --btn-bd: #f0eff6; }
.btn-gold { --btn-bg: var(--gold); --btn-fg: #1a1406; --btn-bd: var(--gold); }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; }
.btn-danger { --btn-bg: var(--danger-50); --btn-fg: var(--danger); --btn-bd: transparent; }
.btn-success { --btn-bg: var(--success); --btn-fg: #fff; --btn-bd: var(--success); }
.btn-sm { height: 34px; padding: 0 12px; font-size: .84rem; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; border-radius: 6px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; cursor: pointer; }

/* Forms --------------------------------------------------------- */
.field { display: block; margin-bottom: 18px; }
.field > label, .label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--text-2); }
.hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.input, .select, .textarea {
  width: 100%; height: 44px; padding: 0 14px;
  font: 400 .95rem var(--font); color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 6px;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.input-group { position: relative; }
.input-group .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-group .input { padding-left: 40px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .93rem; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.error-text { color: var(--danger); font-size: .82rem; margin-top: 5px; }

/* Cards, tags ----------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.card-head h3 { margin: 0; font-size: 1rem; }
.card-body { padding: 22px; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 4px; font-size: .74rem; font-weight: 600; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.tag-green { background: var(--success-50); color: var(--success); }
.tag-amber { background: var(--warning-50); color: var(--warning); }
.tag-red { background: var(--danger-50); color: var(--danger); }
.tag-blue { background: var(--info-50); color: var(--info); }
.tag-primary { background: var(--primary-50); color: var(--primary); }
.tag-gold { background: var(--gold-50); color: var(--gold); }
.tag .i { width: 13px; height: 13px; }

.avatar { display: inline-grid; place-items: center; border-radius: 50%; object-fit: cover; flex-shrink: 0; font-weight: 650; color: #fff; background: hsl(var(--h, 250) 55% 52%); }
.avatar-sm { width: 30px; height: 30px; font-size: .74rem; }
.avatar-md { width: 40px; height: 40px; font-size: .88rem; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.4rem; }

/* Alerts & toasts ------------------------------------------------ */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 6px; font-size: .92rem; margin-bottom: 16px; background: var(--info-50); color: var(--text); border: 1px solid color-mix(in srgb, var(--info) 25%, transparent); }
.alert .i { color: var(--info); margin-top: 3px; }
.alert-success { background: var(--success-50); border-color: color-mix(in srgb, var(--success) 25%, transparent); }
.alert-success .i { color: var(--success); }
.alert-error { background: var(--danger-50); border-color: color-mix(in srgb, var(--danger) 25%, transparent); }
.alert-error .i { color: var(--danger); }
.alert-warning { background: var(--warning-50); border-color: color-mix(in srgb, var(--warning) 25%, transparent); }
.alert-warning .i { color: var(--warning); }

.toasts { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; min-width: 240px; max-width: 360px; padding: 12px 16px; border-radius: 8px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: .9rem; animation: toast-in .35s cubic-bezier(.2, .9, .3, 1.2); }
:root[data-theme="dark"] .toast { background: var(--surface-3); }
.toast.out { animation: toast-out .3s ease forwards; }
.toast .toast-ic { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); flex-shrink: 0; }
.toast strong { display: block; font-size: .92rem; }
.toast span { opacity: .75; font-size: .82rem; }
.toast-xp .toast-ic { background: var(--gold); color: #1a1406; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }

/* Celebration modal */
.celebrate { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; background: rgba(8, 9, 16, .55); backdrop-filter: blur(6px); animation: fade .25s; padding: 20px; }
.celebrate-card { width: 100%; max-width: 400px; text-align: center; background: var(--surface); border-radius: 8px; padding: 36px 28px 28px; box-shadow: var(--shadow-lg); animation: pop .45s cubic-bezier(.2, .9, .3, 1.3); }
.celebrate-medal { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 45%), var(--c, var(--award)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--c, var(--award)) 18%, transparent), 0 16px 32px -10px var(--c, var(--award)); }
.celebrate-medal .i { width: 44px; height: 44px; }
.celebrate h2 { font-family: var(--font-display); margin-bottom: 6px; }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(10px); } }
@keyframes fade { from { opacity: 0; } }

/* Navbar ------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.nav .container { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.brand-mark svg { width: 20px; height: 20px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 9px; color: var(--text-2); font-weight: 550; font-size: .92rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-search { flex: 1; max-width: 340px; }
.nav-search .input { height: 40px; background: var(--surface); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 4px; background: var(--surface); border: 1px solid var(--border); font-weight: 650; font-size: .86rem; color: var(--text); }
.nav-pill .i { width: 17px; height: 17px; }
.nav-pill.streak .i { color: #f76b15; }
.nav-pill.xp .i { color: var(--gold); }
.nav-toggle { display: none; }

.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; border-radius: 4px; padding: 2px; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-lg); z-index: 60; animation: pop .18s ease; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 9px; color: var(--text-2); font: 500 .9rem var(--font); background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--surface-2); color: var(--text); }
.dropdown-menu .sep { height: 1px; background: var(--border); margin: 6px 4px; }
.dropdown-head { padding: 10px 12px 12px; display: flex; gap: 12px; align-items: center; }

/* Footer -------------------------------------------------------- */
.footer { margin-top: 90px; background: var(--ink); color: #b9b8c6; padding: 64px 0 32px; }
.footer a { color: #d9d8e3; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer h4 { color: #fff; font-size: .88rem; letter-spacing: .02em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .92rem; }
.footer .brand { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; font-size: .85rem; flex-wrap: wrap; }

/* Hero ---------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-lead { font-size: 1.14rem; color: var(--text-2); max-width: 540px; margin-bottom: 30px; }
.hero-search { display: flex; gap: 8px; padding: 7px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); max-width: 520px; }
.hero-search .input { border: 0; box-shadow: none; height: 46px; }
.hero-proof { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof strong { display: block; font-size: 1.5rem; font-family: var(--font-display); font-weight: 400; }
.hero-proof span { color: var(--muted); font-size: .86rem; }

.hero-visual { position: relative; }
.hv-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-lg); padding: 18px; }
.hv-main .hv-video { aspect-ratio: 16 / 9; border-radius: 6px; background: var(--ink); position: relative; overflow: hidden; display: grid; place-items: center; }
.hv-main .hv-video .play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; color: #4f46e5; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.hv-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: .86rem; animation: floaty 6s ease-in-out infinite; }
.hv-float .ic { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; }
.hv-float strong { display: block; }
.hv-f1 { left: -34px; bottom: 58px; }
.hv-f2 { right: -22px; top: -18px; animation-delay: -3s; }
.hv-f3 { right: 20px; bottom: -26px; animation-delay: -1.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Sections ------------------------------------------------------ */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-weight: 400; margin-bottom: 6px; }
.section-head p { color: var(--muted); margin: 0; max-width: 560px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cat-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); border-color: var(--border-strong); }
.cat-card .ic { width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.cat-card strong { display: block; font-size: .96rem; }
.cat-card span { font-size: .8rem; color: var(--muted); }

.feature { padding: 26px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); }
.feature .ic { width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

.cta-band { border-radius: 8px; padding: 56px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: #c9c8da; margin: 0; }

/* Course cards --------------------------------------------------- */
.course-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; color: var(--text); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); border-color: var(--border-strong); }
.course-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-card:hover .course-thumb img { transform: scale(1.04); }
.course-thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .92); background: linear-gradient(135deg, var(--c1, #0e2a30), var(--c2, #0e2a30)); }
.course-thumb .placeholder .i { width: 46px; height: 46px; opacity: .9; }
.course-thumb .tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.course-thumb .tags .tag { background: rgba(255, 255, 255, .94); color: #1a1a22; backdrop-filter: blur(6px); }
.course-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.course-cat { font-size: .74rem; font-weight: 650; color: var(--c, var(--primary)); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.course-title { font-size: 1.04rem; font-weight: 650; line-height: 1.35; margin: 0 0 6px; }
.course-sub { color: var(--muted); font-size: .87rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--muted); margin-top: auto; }
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-meta .i { width: 15px; height: 15px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.price { font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.price del { color: var(--muted); font-weight: 500; font-size: .84rem; margin-left: 6px; }
.price-free { color: var(--success); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; font-size: .85rem; }
.rating .i { color: #f5a524; fill: #f5a524; width: 15px; height: 15px; }

/* Catalog -------------------------------------------------------- */
.page-head { padding: 44px 0 28px; }
.page-head h1 { font-family: var(--font-display); font-weight: 400; }
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 20px); }
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.filter-list { display: grid; gap: 2px; }
.filter-list a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 9px; color: var(--text-2); font-size: .92rem; }
.filter-list a:hover { background: var(--surface-2); color: var(--text); }
.filter-list a.active { background: var(--primary-50); color: var(--primary); font-weight: 600; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font-size: .86rem; font-weight: 550; }
.chip:hover { border-color: var(--text-2); color: var(--text); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
:root[data-theme="dark"] .chip.active { background: #f0eff6; color: #0c0d13; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-weight: 600; }
.pagination a.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.empty .ic .i { width: 28px; height: 28px; }
.empty h3 { color: var(--text); }

/* Course detail --------------------------------------------------- */
.course-hero { background: var(--ink); color: #e6e5ef; padding: 56px 0 60px; position: relative; overflow: hidden; }
.course-hero .container { position: relative; }
.course-hero h1 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.025em; max-width: 760px; }
.course-hero .lead { font-size: 1.1rem; color: #bdbcd0; max-width: 700px; }
.course-hero .crumbs { font-size: .85rem; margin-bottom: 18px; color: #9e9cb4; }
.course-hero .crumbs a { color: #c9c7ff; }
.course-hero .meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: .9rem; color: #c8c7d8; margin-top: 18px; align-items: center; }
.course-hero .meta span { display: inline-flex; align-items: center; gap: 7px; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 40px; align-items: start; }
.course-aside { margin-top: -230px; position: sticky; top: calc(var(--nav-h) + 20px); z-index: 2; }
.buy-card { overflow: hidden; }
.buy-card .course-thumb { aspect-ratio: 16 / 10; }
.buy-card .card-body { padding: 24px; }
.buy-card .big-price { font-size: 2rem; font-weight: 750; letter-spacing: -.02em; }
.buy-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: .9rem; color: var(--text-2); }
.buy-card li { display: flex; gap: 10px; align-items: center; }
.buy-card li .i { color: var(--muted); }
.box { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--surface); margin-bottom: 28px; }
.box h2 { font-size: 1.3rem; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.outcomes li { display: flex; gap: 10px; font-size: .93rem; color: var(--text-2); }
.outcomes .i { color: var(--success); margin-top: 3px; }
.prose { color: var(--text-2); font-size: 1rem; line-height: 1.75; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose img { border-radius: 6px; margin: 1.2em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 20px; border-left: 3px solid var(--primary); color: var(--text); font-style: italic; }
.prose pre { background: var(--ink); color: #e8e7f2; padding: 18px; border-radius: 6px; overflow: auto; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.2em; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }

.curriculum details { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; background: var(--surface); overflow: hidden; }
.curriculum summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 15px 18px; font-weight: 600; background: var(--surface-2); }
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum summary .chev { transition: transform .2s; color: var(--muted); }
.curriculum details[open] summary .chev { transform: rotate(90deg); }
.curriculum summary .muted { margin-left: auto; font-weight: 500; font-size: .83rem; }
.curriculum .lesson-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--border); font-size: .92rem; color: var(--text-2); }
.curriculum .lesson-row .i { color: var(--muted); }
.curriculum .lesson-row .dur { margin-left: auto; font-size: .82rem; color: var(--muted); }

.instructor { display: flex; gap: 18px; align-items: flex-start; }
.review-item { padding: 18px 0; border-top: 1px solid var(--border); }
.review-item:first-child { border-top: 0; }
.stars { display: inline-flex; gap: 2px; }
.stars .i { width: 16px; height: 16px; color: var(--border-strong); }
.stars .i.on { color: #f5a524; fill: #f5a524; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: var(--border-strong); }
.star-input label .i { width: 26px; height: 26px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5a524; }
.star-input input:checked ~ label .i, .star-input label:hover .i, .star-input label:hover ~ label .i { fill: #f5a524; }

/* Auth pages ------------------------------------------------------ */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: 64px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; line-height: 1.12; }
.auth-side ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; color: #cfcde2; }
.auth-side li { display: flex; gap: 12px; align-items: center; }
.auth-side li .i { color: var(--gold); }
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; }

/* Dashboard ---------------------------------------------------- */
.dash-head { padding: 36px 0 8px; }
.dash-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 4px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 18px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.stat .ic { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; margin-bottom: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.stat strong { display: block; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.02em; }
.stat span { font-size: .82rem; color: var(--muted); }

.continue-card { display: grid; grid-template-columns: 260px 1fr; overflow: hidden; }
.continue-card .course-thumb { aspect-ratio: auto; height: 100%; min-height: 180px; }
.continue-card .body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.progress { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: var(--primary); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.progress.gold > span { background: var(--award); }
.progress-sm { height: 5px; }

.ring { --p: 0; --size: 120px; --thick: 10px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ring-c, var(--primary)) calc(var(--p) * 1%), var(--surface-3) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: var(--thick); border-radius: 50%; background: var(--surface); }
.ring > * { position: relative; text-align: center; line-height: 1.1; }
.ring strong { display: block; font-size: 1.5rem; }
.ring span { font-size: .72rem; color: var(--muted); }

.level-card { padding: 22px; text-align: center; }
.level-card .ring { margin: 4px auto 14px; }
.streak-week { display: flex; justify-content: space-between; gap: 6px; margin-top: 16px; }
.streak-day { flex: 1; text-align: center; font-size: .72rem; color: var(--muted); }
.streak-day .dot { width: 30px; height: 30px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.streak-day.on .dot { background: linear-gradient(145deg, #ff9a3c, #f5484d); color: #fff; }
.streak-day.today .dot { outline: 2px solid var(--primary); outline-offset: 2px; }
.streak-day .i { width: 15px; height: 15px; }

.heatmap { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 13px); grid-auto-columns: 13px; gap: 4px; overflow-x: auto; padding-bottom: 4px; justify-content: start; }
.heatmap i { width: 13px; height: 13px; border-radius: 3px; background: var(--surface-3); }
.heatmap i[data-l="1"] { background: color-mix(in srgb, var(--primary) 30%, var(--surface-3)); }
.heatmap i[data-l="2"] { background: color-mix(in srgb, var(--primary) 55%, var(--surface-3)); }
.heatmap i[data-l="3"] { background: color-mix(in srgb, var(--primary) 80%, var(--surface-3)); }
.heatmap i[data-l="4"] { background: var(--primary); }

.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px; }
.medal { text-align: center; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.medal .m { width: 56px; height: 56px; margin: 0 auto 7px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .4), transparent 45%), var(--c); box-shadow: 0 8px 18px -8px var(--c); }
.medal.locked .m { background: var(--surface-2); color: var(--border-strong); box-shadow: none; border: 2px dashed var(--border-strong); }
.medal strong { display: block; color: var(--text); font-size: .78rem; }

.my-course { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; padding: 14px; }
.my-course .course-thumb { border-radius: 6px; }
.my-course h3 { font-size: 1rem; margin-bottom: 4px; }

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.list-row:first-child { border-top: 0; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tabs a, .tabs button { padding: 11px 14px; border: 0; background: none; font: 600 .9rem var(--font); color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.tabs a.active, .tabs button.active { color: var(--text); border-bottom-color: var(--primary); }

/* Leaderboard ---------------------------------------------------- */
.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 16px; align-items: end; margin-bottom: 28px; }
.podium .p { text-align: center; padding: 22px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.podium .p1 { padding-top: 34px; background: linear-gradient(180deg, var(--gold-50), var(--surface)); border-color: color-mix(in srgb, var(--gold) 40%, var(--border)); }
.podium .avatar { margin: 0 auto 10px; }
.podium .place { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--gold); }
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table td { padding: 12px 14px; border-top: 1px solid var(--border); }
.lb-table tr.me td { background: var(--primary-50); }
.lb-rank { width: 50px; font-weight: 700; color: var(--muted); }

/* Tables (admin) --------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 650; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }

/* Certificate ------------------------------------------------------ */
.cert-page { padding: 40px 0; }
.certificate { position: relative; aspect-ratio: 1.414; max-width: 1000px; margin: 0 auto; background: #fffdf8; color: #1c1b22; border-radius: 8px; box-shadow: var(--shadow-lg); padding: 5.5%; overflow: hidden; }
.certificate::before { content: ""; position: absolute; inset: 2.2%; border: 2px solid #c9973f; border-radius: 4px; pointer-events: none; }
.certificate::after { content: ""; position: absolute; inset: 3.1%; border: 1px solid rgba(201, 151, 63, .45); border-radius: 2px; pointer-events: none; }
.cert-inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: space-between; }
.cert-orn { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 70, 229, .07), transparent); }
.cert-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; font-size: clamp(.8rem, 1.6vw, 1.05rem); }
.cert-title { font-family: var(--font-display); font-size: clamp(1.4rem, 4.4vw, 3.2rem); letter-spacing: .06em; text-transform: uppercase; font-weight: 400; color: #1c1b22; margin: 0; }
.cert-sub { text-transform: uppercase; letter-spacing: .3em; font-size: clamp(.55rem, 1.1vw, .8rem); color: #8a7440; }
.cert-name { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 5vw, 3.6rem); font-weight: 400; color: #0b5563; margin: .2em 0; border-bottom: 1px solid rgba(0, 0, 0, .15); padding: 0 .8em .15em; }
.cert-course { font-size: clamp(.9rem, 2vw, 1.4rem); font-weight: 650; max-width: 80%; color: #1c1b22; }
.cert-foot { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; font-size: clamp(.55rem, 1.05vw, .82rem); color: #4a4855; }
.cert-sign { border-top: 1px solid rgba(0, 0, 0, .3); padding-top: 6px; }
.cert-seal { width: clamp(64px, 11vw, 110px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .5), transparent 45%), #c9973f; box-shadow: 0 0 0 5px #fffdf8, 0 0 0 7px #c9973f; }
.cert-seal .i { width: 45%; height: 45%; }
.cert-qr { display: flex; gap: 10px; align-items: center; justify-content: flex-end; text-align: left; }
.cert-qr canvas, .cert-qr img, .cert-qr svg { width: clamp(48px, 8vw, 80px) !important; height: auto !important; }

/* Flashcard review ------------------------------------------------ */
.review-shell { max-width: 680px; margin: 0 auto; padding: 36px 0; }
.flip { perspective: 1400px; cursor: pointer; }
.flip-inner { position: relative; min-height: 320px; transition: transform .6s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: 1.3rem; font-weight: 550; line-height: 1.45; }
.flip-face.back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--surface), var(--primary-50)); }
.flip-face .lbl { position: absolute; top: 18px; left: 22px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 650; }
.grade-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.grade-row .btn { height: 58px; flex-direction: column; gap: 2px; }
.grade-row .btn small { font-weight: 500; opacity: .7; font-size: .72rem; }
.g-again { --btn-bg: var(--danger-50); --btn-fg: var(--danger); --btn-bd: transparent; }
.g-hard { --btn-bg: var(--warning-50); --btn-fg: var(--warning); --btn-bd: transparent; }
.g-good { --btn-bg: var(--success-50); --btn-fg: var(--success); --btn-bd: transparent; }
.g-easy { --btn-bg: var(--info-50); --btn-fg: var(--info); --btn-bd: transparent; }
kbd { font-family: var(--mono); font-size: .75em; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--border-strong); border-bottom-width: 2px; background: var(--surface); color: var(--text-2); }

/* Checkout --------------------------------------------------------- */
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.pay-methods span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); font-size: .8rem; font-weight: 600; color: var(--text-2); }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--primary); animation: spin .8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive ------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid, .course-layout, .dash-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .course-aside { margin-top: 0; position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-search { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); padding: 12px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .continue-card { grid-template-columns: 1fr; }
  .continue-card .course-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .outcomes { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .nav-pill.xp { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
  .hv-float { display: none; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .my-course { grid-template-columns: 90px 1fr; }
  .my-course > :last-child { grid-column: 1 / -1; }
  .podium { grid-template-columns: 1fr; }
  .grade-row { grid-template-columns: repeat(2, 1fr); }
  .toasts { left: 16px; right: 16px; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .nav, .footer, .no-print, .toasts { display: none !important; }
  body { background: #fff; }
}
@media (max-width: 1000px) { .p-hide-mobile { display: none !important; } }
.i.filled { fill: currentColor; }
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
body > .admin, body > .player { flex: 1 0 auto; width: 100%; }
.lb-rank { white-space: nowrap; }
.footer { margin-top: 90px; }

/* =====================================================================
   Refined premium layer (v1.1)
   ===================================================================== */
.btn-primary { box-shadow: none; }
:root[data-theme="dark"] .btn-primary { box-shadow: none; }
.btn-gold { --btn-bg: #fff; background: #fff; --btn-fg: var(--ink); --btn-bd: #fff; box-shadow: none; }
.btn-gold:hover { filter: brightness(1.04); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { --btn-bd: #fff; color: #fff; }
.nav-links a.active { background: transparent; color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav { background: color-mix(in srgb, var(--bg) 86%, transparent); }
.serif { font-family: var(--font-display); }
.gold { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--text-2); line-height: 1.65; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 480; letter-spacing: -.025em; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { margin: 0 auto; }
.rule-gold { width: 44px; height: 2px; background: var(--gold); border: 0; margin: 0 0 18px; }
.center .rule-gold { margin: 0 auto 18px; }

/* Hero */
.hx { position: relative; overflow: hidden; padding: 80px 0 96px; background: var(--bg); }
.hx-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hx h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 400; margin-bottom: 22px; }
.hx h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hx .lead { max-width: 540px; margin-bottom: 32px; }
.hx-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hx-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .88rem; }
.hx-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hx-trust .i { color: var(--gold); }

/* Audience */
.aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.aud a { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.aud a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 45%, var(--border)); color: var(--text); }
.aud .ic { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold); margin-bottom: 6px; }
.aud h3 { font-size: 1.05rem; margin: 0; }
.aud p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.aud .more { font-size: .85rem; font-weight: 600; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }

/* Method */
.method { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); }
.method > div { padding: 30px 24px; border-right: 1px solid var(--border); position: relative; }
.method > div:last-child { border-right: 0; }
.method .n { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--gold); font-weight: 400; margin-bottom: 18px; }
.method h3 { font-size: 1.05rem; margin-bottom: 6px; }
.method p { font-size: .88rem; color: var(--muted); margin: 0; }
.method .ic { position: absolute; top: 30px; right: 22px; color: var(--border-strong); }
.method .ic .i { width: 26px; height: 26px; }

/* Paths */
.path-card { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .25s, box-shadow .25s; }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.path-top { position: relative; padding: 26px 24px 22px; color: #fff; background: var(--ink); border-top: 4px solid var(--pc, var(--primary)); min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; }
.path-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.path-top > * { position: relative; }
.path-top .eyebrow { color: var(--gold-2); }
.path-top h3 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin: 6px 0 0; letter-spacing: -.02em; }
.path-body { padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.path-body p { color: var(--muted); font-size: .9rem; margin: 0; }
.path-steps { display: flex; gap: 6px; }
.path-steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); }
.path-steps i.on { background: var(--gold); }

/* Teams band */
.teams-band { background: var(--ink); color: #c9d6d9; border-radius: 8px; padding: 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.teams-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 460; }
.teams-band .eyebrow { color: var(--gold-2); }
.teams-band ul { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.teams-band li { display: flex; gap: 12px; align-items: flex-start; }
.teams-band li .i { color: var(--gold-2); margin-top: 3px; }
.tb-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; padding: 20px; backdrop-filter: blur(6px); }
.tb-card .row-between { color: #fff; }
.tb-row { display: grid; grid-template-columns: 32px 1fr 70px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.tb-row .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #0e2a30; }
.tb-row .bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-top: 5px; }
.tb-row .bar span { display: block; height: 100%; background: var(--gold-2); }
.tb-row .pct { text-align: right; color: #fff; font-weight: 600; }

/* Testimonials */
.quote-card { padding: 30px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 18px; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; color: var(--text); font-weight: 400; }
.quote-card blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--gold); margin-bottom: 10px; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-items: start; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--gold); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Final CTA */
.final-cta { text-align: center; padding: 88px 24px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.final-cta > * { position: relative; }
.final-cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 450; }
.final-cta h2 em { font-style: italic; color: var(--gold); }

.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--border); }
.stats-band div { padding: 26px 20px; text-align: center; border-right: 1px solid var(--border); }
.stats-band div:last-child { border-right: 0; }
.stats-band strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; color: var(--text); }
.stats-band span { color: var(--muted); font-size: .86rem; }

@media (max-width: 1080px) {
  .hx-grid, .teams-band { grid-template-columns: 1fr; }
  .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method > div { border-bottom: 1px solid var(--border); }
}
@media (max-width: 700px) {
  .hx { padding: 48px 0 64px; }
  .aud, .method, .faq { grid-template-columns: 1fr; }
  .method > div { border-right: 0; }
  .teams-band { padding: 36px 24px; }
  .section { padding: 64px 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band div:nth-child(2) { border-right: 0; }
}
.journey { list-style: none; padding: 0; margin: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 30px; width: 2px; background: var(--border); }
.journey li { position: relative; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.journey .step { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); background: var(--surface); border: 2px solid var(--border-strong); color: var(--text-2); }
.journey li.done .step { background: var(--success); border-color: var(--success); color: #fff; }
.journey li.next .step { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 5px var(--gold-50); }
.journey li.finish .step { background: var(--gold-50); border-color: var(--gold); color: var(--gold); }
.journey li.finish.done .step { background: var(--gold); color: #fff; }
.journey-card { flex: 1; display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: border-color .2s, box-shadow .2s; min-width: 0; }
a.journey-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); color: var(--text); }
@media (max-width: 600px) { .journey-card .thumb-sm { display: none; } .journey-card { flex-wrap: wrap; } }
.thumb-sm { width: 64px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.thumb-sm .course-thumb { aspect-ratio: 16/9; }
.thumb-sm .placeholder .i { width: 20px; height: 20px; }
.path-steps { display: flex; gap: 5px; }
.path-steps i { flex: 1; height: 5px; border-radius: 5px; background: var(--surface-3); }
.path-steps i.on { background: var(--gold); }
/* Course page v1.1 */
.course-hero { background: var(--ink); padding: 60px 0 64px; }
.course-hero .lead { color: #bfc3dc; }
.course-hero .crumbs a { color: var(--gold-2); }
.course-hero .crumbs span { color: #5f6590; margin: 0 4px; }
.course-tabs { position: sticky; top: var(--nav-h); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.course-tabs .container { display: flex; gap: 6px; overflow-x: auto; }
.course-tabs a { padding: 14px 12px; font-weight: 600; font-size: .9rem; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.course-tabs a:hover { color: var(--text); }
.course-tabs a.active { color: var(--text); border-bottom-color: var(--gold); }
@media (min-width: 1081px) { .course-tabs .container { padding-right: 430px; } }
#overview { scroll-margin-top: 140px; }
.course-aside { margin-top: -300px; top: calc(var(--nav-h) + 70px); }
.path-callout { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; background: var(--gold-50); border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--border)); color: var(--text); font-size: .93rem; }
.path-callout > .i:first-child { color: var(--gold); }
.path-callout > .i:last-child { margin-left: auto; color: var(--gold); }
.path-callout:hover { color: var(--text); border-color: var(--gold); }
.skill-chip { display: inline-flex; padding: 6px 12px; border-radius: 4px; background: var(--primary-50); color: var(--primary); font-size: .82rem; font-weight: 600; }
.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.includes div { padding: 18px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: grid; gap: 2px; }
.includes .i { color: var(--gold); width: 22px; height: 22px; margin-bottom: 6px; }
.includes strong { font-size: 1.3rem; font-family: var(--font-display); font-weight: 400; }
.includes span { font-size: .8rem; color: var(--muted); }
.rating-summary { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; padding: 18px 0 8px; }
.rating-summary .big { font-size: 3.2rem; line-height: 1; font-weight: 450; }
.rating-summary .bars { display: grid; gap: 6px; }
.rating-summary .bars .i { width: 13px; height: 13px; color: #f5a524; fill: #f5a524; }
.prose.clamp { max-height: 420px; overflow: hidden; position: relative; }
.prose.clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, var(--surface)); }
.prose.clamp.open { max-height: none; }
.prose.clamp.open::after { display: none; }
.preview-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.preview-thumb .course-thumb { aspect-ratio: 16 / 10; }
.preview-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(14, 42, 48, .7)); }
.pv-play { position: absolute; z-index: 1; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0e2a30; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.pv-play .i { fill: currentColor; margin-left: 3px; }
.preview-thumb:hover .pv-play { transform: translate(-50%, -50%) scale(1.08); }
.pv-lbl { position: absolute; z-index: 1; left: 0; right: 0; bottom: 14px; text-align: center; color: #fff; font-weight: 650; font-size: .9rem; }
.pv-modal { position: fixed; inset: 0; z-index: 1100; background: rgba(6, 8, 20, .75); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.pv-modal[hidden] { display: none; }
.pv-box { width: 100%; max-width: 900px; background: var(--surface); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); animation: pop .3s ease; }
.pv-frame { aspect-ratio: 16 / 9; background: #000; }
.pv-frame iframe, .pv-frame video { width: 100%; height: 100%; border: 0; display: block; }
.pv-list { display: grid; padding: 8px; max-height: 200px; overflow-y: auto; }
.pv-list button { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 6px; font: 500 .9rem var(--font); color: var(--text-2); cursor: pointer; }
.pv-list button:hover { background: var(--surface-2); }
.mobile-buy { display: none; }
@media (max-width: 1080px) {
  .course-aside { margin-top: 0; }
  .mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .2); }
  .mobile-buy form { margin: 0; }
  body:has(.mobile-buy) .footer { padding-bottom: 100px; }
}
@media (max-width: 600px) { .includes { grid-template-columns: repeat(2, 1fr); } .rating-summary { grid-template-columns: 1fr; } }
.course-thumb .placeholder { background: #0e2a30; }
.cover-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cover-icon { position: absolute; left: 16px; bottom: 14px; width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; color: #8fc7cd; background: rgba(14, 42, 48, .55); border: 1px solid rgba(143, 199, 205, .4); backdrop-filter: blur(4px); }
.cover-icon .i { width: 22px !important; height: 22px !important; opacity: 1 !important; }
.thumb-sm .cover-icon { display: none; }
.course-card:hover .cover-art { transform: scale(1.04); transition: transform .6s ease; }
.flash-wrap { position: fixed; top: calc(var(--nav-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 60; max-width: 640px; }
.flash-wrap .alert { box-shadow: var(--shadow-lg); animation: toast-in .35s ease; background: var(--surface); }
.course-aside { z-index: 35; margin-top: -330px; }
@media (max-width: 1080px) { .course-aside { margin-top: 0; z-index: 2; } }
[hidden] { display: none !important; }
.nav-mobile-only { display: none !important; }
@media (max-width: 860px) {
  .nav.open .nav-links .nav-mobile-only { display: block !important; }
}
@media (max-width: 600px) {
  .nav .container { gap: 10px; }
  .nav-right { gap: 6px; }
  .nav-hide-sm { display: none !important; }
  .brand { font-size: 1rem; }
  .nav-pill { padding: 0 9px; }
}
html, body { overflow-x: clip; }

/* SkillsPillar video player */
.vp { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #05070f; overflow: hidden; color: #fff; outline: none; user-select: none; -webkit-user-select: none; }
.vp-stage, .vp-stage > div, .vp-stage iframe, .vp-stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.vp-stage video { object-fit: contain; }
.vp-shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; background: transparent; }
.vp.is-paused .vp-shield { background: rgba(5, 7, 15, .35); }
.vp-poster { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: var(--ink); background-size: cover; background-position: center; }
.vp-title { position: absolute; left: 22px; bottom: 20px; right: 22px; font-family: var(--font-display); font-size: clamp(1rem, 2.4vw, 1.5rem); text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.vp-big { width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink); background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .12); transition: transform .2s; }
.vp-big:hover { transform: scale(1.06); }
.vp-big .i { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.vp-spinner { position: absolute; z-index: 3; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #8fc7cd; animation: spin .8s linear infinite; pointer-events: none; }
.vp-flash { position: absolute; z-index: 3; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; }
.vp-flash .i { width: 26px; height: 26px; }
.vp-flash.go { animation: vpflash .6s ease; }
@keyframes vpflash { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.3); } }
.vp-end { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center; background: rgba(7, 16, 19, .94); font-size: 1.15rem; }
.vp-end-ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(60, 198, 138, .15); color: #3cc68a; }
.vp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font: 600 .9rem var(--font); cursor: pointer; }
.vp-pill:hover { color: #fff; background: rgba(255, 255, 255, .15); }
.vp-pill.gold { background: #fff; color: var(--ink); border: 0; }
.vp-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; padding: 26px 14px 8px; background: linear-gradient(transparent, rgba(3, 5, 12, .85)); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.vp.is-started.vp-active .vp-bar, .vp.is-paused .vp-bar, .vp.is-started:focus-within .vp-bar { opacity: 1; transform: none; }
.vp:not(.is-started) .vp-bar { display: none; }
.vp.is-playing:not(.vp-active) { cursor: none; }
.vp-seek { position: relative; height: 16px; cursor: pointer; margin-bottom: 4px; touch-action: none; }
.vp-seek::before, .vp-buf, .vp-fill { content: ""; position: absolute; left: 0; top: 6px; height: 4px; border-radius: 4px; transition: height .15s, top .15s; }
.vp-seek::before { right: 0; background: rgba(255, 255, 255, .22); }
.vp-buf { background: rgba(255, 255, 255, .4); width: 0; }
.vp-fill { background: #d9ae5c; width: 0; }
.vp-seek:hover::before, .vp-seek:hover .vp-buf, .vp-seek:hover .vp-fill { top: 5px; height: 6px; }
.vp-knob { position: absolute; top: 2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #8fc7cd; box-shadow: 0 0 0 4px rgba(217, 174, 92, .3); transform: scale(0); transition: transform .15s; }
.vp-seek:hover .vp-knob { transform: scale(1); }
.vp-tip { position: absolute; bottom: 20px; transform: translateX(-50%); padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .8); font: 600 .72rem var(--mono); opacity: 0; pointer-events: none; }
.vp-seek:hover .vp-tip { opacity: 1; }
.vp-row { display: flex; align-items: center; gap: 4px; }
.vp-grow { flex: 1; }
.vp-btn { position: relative; height: 38px; min-width: 38px; padding: 0 8px; border: 0; border-radius: 9px; background: none; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 2px; font: 700 .82rem var(--font); }
.vp-btn:hover { background: rgba(255, 255, 255, .12); }
.vp-btn .i { width: 20px; height: 20px; }
.vp-btn[data-a=toggle] .i { fill: currentColor; }
.vp-btn small { position: absolute; font-size: .52rem; font-weight: 800; top: 50%; left: 50%; transform: translate(-50%, -38%); }
.vp-fwd .i { transform: scaleX(-1); }
.vp-time { font: 600 .82rem var(--mono); color: rgba(255, 255, 255, .88); margin-left: 6px; white-space: nowrap; }
.vp-vol { display: flex; align-items: center; }
.vp-vol input { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: #d9ae5c; }
.vp-vol:hover input, .vp-vol:focus-within input { width: 80px; opacity: 1; }
.vp-menu { position: relative; }
.vp-pop { position: absolute; bottom: 46px; right: 0; background: rgba(12, 16, 36, .96); border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; padding: 6px; display: grid; min-width: 90px; }
.vp-pop button { border: 0; background: none; color: #fff; padding: 8px 12px; border-radius: 8px; font: 600 .85rem var(--font); cursor: pointer; text-align: left; }
.vp-pop button:hover { background: rgba(255, 255, 255, .1); }
.vp-pop button.on { color: #8fc7cd; }
.vp:fullscreen { aspect-ratio: auto; width: 100vw; height: 100vh; }
.vp.vp-pseudo-fs { position: fixed; inset: 0; z-index: 2000; aspect-ratio: auto; }
@media (max-width: 600px) {
  .vp-vol, .vp-btn[data-a=back], .vp-btn[data-a=fwd] { display: none; }
  .vp-big { width: 62px; height: 62px; }
}
.cur-select { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: 5px 8px; font: 500 .8rem var(--font); }
.cur-select option { color: #000; }
.cc { display: inline-grid; place-items: center; min-width: 28px; height: 20px; padding: 0 5px; border-radius: 5px; background: var(--surface-3); font: 700 .68rem var(--mono); color: var(--text-2); }

/* Packages ----------------------------------------------------- */
.pkg-save { position: absolute !important; top: 16px; right: 16px; background: var(--gold); color: #fff; font-weight: 700; font-size: .78rem; padding: 5px 10px; border-radius: 4px; letter-spacing: .01em; }
.pkg-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.pkg-price .price { font-size: 1.25rem; }
.pkg-list { display: flex; flex-direction: column; gap: 12px; }
.pkg-sum { padding: 16px 18px; border-radius: 8px; background: var(--gold-50); border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--border)); display: flex; flex-direction: column; gap: 6px; }
.pkg-callout { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--border)); background: var(--gold-50); color: var(--text); margin-bottom: 24px; }
.pkg-callout:hover { color: var(--text); box-shadow: var(--shadow); }
.pkg-callout .ic { width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); flex-shrink: 0; }

/* Content pages ------------------------------------------------ */
.page-hero { padding: 64px 0 52px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0 0 12px; }
.page-hero .lead { max-width: 640px; margin: 0; }
.page-body { padding-top: 40px; padding-bottom: 48px; }
.page-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; margin-bottom: 32px; box-shadow: var(--shadow); }
.page-prose { font-size: 1.05rem; }
.page-prose h2 { margin-top: 1.6em; }
.page-prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.page-cta { gap: 16px; flex-wrap: wrap; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
a.contact-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow); color: var(--text); }
.contact-item .ic { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold); flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 600; word-break: break-word; }
.contact-map { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); height: 360px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } .contact-map { height: 280px; } }
.page-prose > :first-child { margin-top: 0; }

/* Reading callouts (used by course library lessons) ----------------- */
.prose .note { margin: 1.5em 0; padding: 16px 20px 16px 52px; border-radius: 8px; position: relative; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); line-height: 1.65; }
.prose .note > :first-child { margin-top: 0; }
.prose .note > :last-child { margin-bottom: 0; }
.prose .note::before { position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font: 700 .8rem/1 var(--font); color: #fff; }
.prose .note .note-title { display: block; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.prose .note-example { background: color-mix(in srgb, var(--info) 7%, var(--surface)); border-color: color-mix(in srgb, var(--info) 22%, var(--border)); }
.prose .note-example::before { content: "E"; background: var(--info); }
.prose .note-example .note-title { color: var(--info); }
.prose .note-tip { background: color-mix(in srgb, var(--success) 7%, var(--surface)); border-color: color-mix(in srgb, var(--success) 22%, var(--border)); }
.prose .note-tip::before { content: "\2713"; background: var(--success); }
.prose .note-tip .note-title { color: var(--success); }
.prose .note-warning { background: color-mix(in srgb, var(--danger) 6%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 22%, var(--border)); }
.prose .note-warning::before { content: "!"; background: var(--danger); }
.prose .note-warning .note-title { color: var(--danger); }
.prose .note-ghana { background: var(--gold-50); border-color: color-mix(in srgb, var(--gold) 35%, var(--border)); }
.prose .note-ghana::before { content: "GH"; background: var(--gold); font-size: .62rem; }
.prose .note-ghana .note-title { color: var(--gold); }
.prose .note-key { background: color-mix(in srgb, var(--primary) 6%, var(--surface)); border-color: color-mix(in srgb, var(--primary) 22%, var(--border)); }
.prose .note-key::before { content: "\2605"; background: var(--primary); }
.prose .note-key .note-title { color: var(--primary); }
.prose .note-try { background: color-mix(in srgb, #8e4ec6 6%, var(--surface)); border-color: color-mix(in srgb, #8e4ec6 22%, var(--border)); }
.prose .note-try::before { content: "?"; background: #8e4ec6; }
.prose .note-try .note-title { color: #8e4ec6; }
.prose table { font-size: .93rem; }
.prose thead th { background: var(--surface-2); color: var(--text); font-weight: 650; }

/* Youth Enterprise LaunchPad ----------------------------------- */
.yel { --yel: #16825a; }
.yel-hero { position: relative; overflow: hidden; padding: 72px 0 0; color: #fff; background: var(--ink); }
.yel-hero > .container { position: relative; z-index: 1; }
.yel-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-bottom: 56px; }
.yel-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 4px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .8rem; font-weight: 600; color: #8fc7cd; }
.yel-name { margin-top: 18px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: color-mix(in srgb, var(--yel) 45%, #fff); }
.yel-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 10px 0 18px; }
.yel-hero .lead { color: #c9d6d9; max-width: 560px; }
.yel-btn { background: var(--yel) !important; border-color: var(--yel) !important; color: #fff !important; }
.yel-btn:hover { filter: brightness(1.08); color: #fff; }
.yel-btn-ghost { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.3) !important; color: #fff !important; }
.yel-btn-ghost:hover { background: rgba(255,255,255,.16) !important; }
.yel-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .9rem; color: #c9d6d9; }
.yel-facts span { display: inline-flex; align-items: center; gap: 8px; }
.yel-facts .i { color: #8fc7cd; }
.yel-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 22px; backdrop-filter: blur(6px); }
.yel-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 650; margin-bottom: 14px; }
.yel-pill { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; background: var(--yel); color: #fff; white-space: nowrap; }
.yel-step { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 8px; background: rgba(255,255,255,.06); margin-bottom: 8px; }
.yel-step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #8fc7cd; color: #0e2a30; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.yel-step div { flex: 1; min-width: 0; }
.yel-step strong { display: block; font-size: .95rem; }
.yel-step span:not(.n) { font-size: .8rem; color: #b9bfdd; }
.yel-step > .i { color: #9fe0c4; }
.yel-card-foot { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 12px; font-size: .85rem; color: #8fc7cd; font-weight: 600; }
.yel-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
.yel-partners .lbl { color: #9fb5b9; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.yel-partners .p strong { color: #fff; }
.yel-partners .p em { color: #9fb5b9; font-style: normal; margin-left: 8px; font-size: .8rem; }
.yel-eyebrow { color: var(--yel) !important; }
.yel-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.yel-split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.yel-who { padding: 26px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); }
.yel .outcomes .i { color: var(--yel); }
.yel-stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.yel-stages li { position: relative; padding: 22px 20px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.yel-stages li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -17px; width: 18px; height: 2px; background: color-mix(in srgb, var(--yel) 50%, var(--border)); }
.yel-stages .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.yel-stages .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--yel); color: #fff; font-weight: 700; }
.yel-stages .ic { color: var(--yel); }
.yel-stages .ic .i { width: 24px; height: 24px; }
.yel-stages .stage { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yel); }
.yel-stages h3 { font-size: 1.05rem; margin: 4px 0 8px; }
.yel-stages p { font-size: .88rem; color: var(--muted); margin: 0 0 14px; flex: 1; }
.yel-stages .proof { font-size: .82rem; padding: 10px 12px; border-radius: 6px; background: var(--gold-50); color: var(--text); line-height: 1.4; }
.yel-stages .proof span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.yel-join { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); }
.yel-price { padding: 36px; color: #fff; background: var(--ink); }
.yel-price .amount { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.1; margin: 8px 0; }
.yel-price p { color: #c9d6d9; }
.yel-sponsored { display: flex; gap: 12px; padding: 14px 16px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); margin: 18px 0; }
.yel-sponsored .i { color: #9fe0c4; margin-top: 3px; flex-shrink: 0; }
.yel-sponsored strong { display: block; }
.yel-sponsored span { font-size: .85rem; color: #c9d6d9; }
.yel-code label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.yel-code .input { background: rgba(255,255,255,.95); }
.yel-form { padding: 36px; }
.yel-stages.yel-stages-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yel-stages.yel-stages-6 li:nth-child(3n)::after { display: none; }
.yel-roles .ic { width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; background: color-mix(in srgb, var(--yel) 12%, transparent); color: var(--yel); margin-bottom: 12px; }
.yel-roles h3 { font-size: 1.05rem; margin-bottom: 6px; }
@media (max-width: 1000px) { .yel-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yel-stages li::after { display: none; } }
@media (max-width: 860px) { .yel-hero-grid, .yel-split, .yel-join { grid-template-columns: 1fr; gap: 28px; } .yel-hero { padding-top: 44px; } .yel-price, .yel-form { padding: 24px; } }
@media (max-width: 560px) { .yel-stages { grid-template-columns: 1fr; } }
.yel-banner { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 8px; color: #fff; background: var(--ink); border-left: 4px solid var(--yel, #16825a); }
.yel-banner:hover { color: #fff; box-shadow: var(--shadow-lg); }
.yel-banner .ic { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: var(--yel, #16825a); flex-shrink: 0; }
.yel-banner strong { display: block; font-size: 1.05rem; }
.yel-banner span.t { color: #c9d6d9; font-size: .9rem; }
.yel-banner .go { margin-left: auto; white-space: nowrap; font-weight: 600; color: #8fc7cd; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 600px) { .yel-banner { flex-wrap: wrap; } .yel-banner .go { margin-left: 64px; } }

/* Paths menu with programmes as a sub-menu */
.nav-dd > summary { padding: 8px 10px 8px 12px; border-radius: 9px; color: var(--text-2); font-weight: 550; font-size: .92rem; gap: 4px; }
.nav-dd > summary:hover, .nav-dd[open] > summary { color: var(--text); background: var(--surface-2); }
.nav-dd > summary.active { color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-dd > summary .i { width: 15px; height: 15px; transition: transform .15s; }
.nav-dd[open] > summary .i { transform: rotate(180deg); }
.nav-dd .dropdown-menu { left: 0; right: auto; min-width: 270px; }
.nav-dd .dropdown-menu a { box-shadow: none; white-space: nowrap; }
.nav-dd .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; margin: 0 3px; }
@media (max-width: 860px) {
  .nav.open .nav-dd > summary { padding: 8px 12px; justify-content: space-between; box-shadow: none; }
  .nav.open .nav-dd .dropdown-menu { position: static; border: 0; box-shadow: none; padding: 0 0 4px 12px; min-width: 0; background: transparent; }
  .nav.open .nav-dd .dropdown-menu .sep { display: none; }
  .nav.open .nav-dd .dropdown-menu a { white-space: normal; }
}

/* ===== LaunchPad workspace (participants, mentors, centres, sponsors) ===== */
.yw { --yel: #16825a; }
.yw-hero { background: var(--ink); color: #fff; padding: 40px 0 36px; }
.yw-hero h1 { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 6px 0 8px; }
.yw-hero .lead { color: #c9d6d9; max-width: 560px; }
.yw-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.yw-facts { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: #c9d6d9; margin-top: 14px; }
.yw-facts strong { color: #fff; }
.yw-team { display: grid; gap: 10px; }
.yw-person { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.yw-person .ic { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; background: color-mix(in srgb, var(--yel) 35%, transparent); color: #b6f0d5; flex-shrink: 0; }
.yw-person > div { display: flex; flex-direction: column; min-width: 0; }
.yw-person .xs { color: #aab0d3; }
.yw-person a.xs { color: #8fc7cd; }
.yw-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.yw-stages li a { display: flex; flex-direction: column; height: 100%; padding: 18px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: inherit; transition: border-color .15s, transform .15s; }
.yw-stages li a:hover { border-color: var(--yel); transform: translateY(-2px); }
.yw-stages li.here a { border-color: var(--yel); box-shadow: 0 10px 30px -18px var(--yel); }
.yw-stages .top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.yw-stages .num, .yw-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text); font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.yw-stages li.here .num { background: var(--yel); color: #fff; }
.yw-stages li.st-approved .num, .st-approved .yw-num { background: var(--success); color: #fff; }
.yw-stages .num .i, .yw-num .i { width: 16px; height: 16px; }
.yw-stages .stage { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yel); }
.yw-stages h3 { font-size: 1rem; margin: 0 0 12px; }
.yw-line { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.yw-line .i { width: 15px; height: 15px; flex-shrink: 0; }
.yw-stages .mt-1 { margin-top: auto !important; padding-top: 8px; }
.yw-how { padding-left: 20px; margin: 0 0 12px; font-size: .92rem; }
.yw-how li { margin-bottom: 6px; }
.yw-head { display: flex; align-items: center; gap: 16px; margin: 18px 0 22px; flex-wrap: wrap; }
.yw-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 2px 0 0; }
.yw-head .eyebrow { color: var(--yel); }
.yw-ic { width: 56px; height: 56px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--yel) 14%, transparent); color: var(--yel); flex-shrink: 0; }
.yw-ic .i { width: 26px; height: 26px; }
.yw-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.yw-pager { display: flex; gap: 6px; }
.yw-pager a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.yw-pager a.on { background: var(--yel); color: #fff; border-color: var(--yel); }
.yw-pager a.st-approved:not(.on) { background: var(--success-50); color: var(--success); }
.yw-pager .i { width: 14px; height: 14px; }
.yw-cdot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); flex-shrink: 0; }
.yw-cdot.done { background: var(--success-50); color: var(--success); }
.yw-cdot .i { width: 14px; height: 14px; }
.yw-sub { font-size: 1.05rem; margin: 26px 0 14px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.yw-rate { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.yw-rate label { cursor: pointer; }
.yw-rate input { position: absolute; opacity: 0; pointer-events: none; }
.yw-rate label span { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; border: 1px solid var(--border); font-weight: 700; background: var(--surface); }
.yw-rate label input:checked + span { background: var(--yel); border-color: var(--yel); color: #fff; }
.yw-rate input:focus-visible + span { outline: 2px solid var(--yel); outline-offset: 2px; }
.yw-support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.yw-files { display: flex; flex-wrap: wrap; gap: 8px; }
.yw-file { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface-2); font-size: .85rem; color: var(--text); }
.yw-file .truncate { max-width: 220px; }
.yw-answers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 0; }
.yw-answers dt { font-size: .8rem; font-weight: 650; color: var(--muted); margin-top: 10px; }
.yw-answers dd { margin: 0; font-size: .95rem; }
.yw-feedback { padding: 14px 16px; border-radius: 6px; background: var(--surface-2); }
.yw-stars { display: flex; gap: 2px; margin-bottom: 6px; color: var(--surface-3); }
.yw-stars .i { width: 18px; height: 18px; }
.yw-stars .i.on { color: #e2a93b; fill: #e2a93b; }
.yw-thread { display: flex; flex-direction: column; gap: 10px; }
.yw-msg { padding: 10px 12px; border-radius: 6px; background: var(--surface-2); }
.yw-msg.mine { background: color-mix(in srgb, var(--yel) 9%, var(--surface)); }
.yw-msg.kind-approved, .yw-msg.kind-returned, .yw-msg.kind-submitted { background: transparent; padding: 2px 0; }
.yw-msg-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; margin-bottom: 4px; }
.yw-msg-body { font-size: .92rem; }
.yw-event { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-2); flex-wrap: wrap; }
.kind-approved .yw-event .i { color: var(--success); }
.kind-returned .yw-event .i { color: var(--danger); }
.yw-reply { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; margin-top: 4px; }
.yw-reply .textarea { width: 100%; }
.yw-kpis .stat { color: inherit; transition: border-color .15s; }
.yw-kpis .stat:hover { border-color: var(--c); }
.yw-funnel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.yw-funnel > div { display: flex; flex-direction: column; gap: 6px; }
.yw-funnel .bar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.yw-funnel .bar span { display: block; height: 100%; background: var(--yel); border-radius: inherit; }
.yw-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.yw-filters .input { max-width: 280px; }
.yw-filters .select { width: auto; }
.yw-dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.yw-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); }
.yw-dots i.on { background: var(--success); }
.yw-dots i.cur { background: var(--yel); box-shadow: 0 0 0 2px color-mix(in srgb, var(--yel) 30%, transparent); }
.yw-score { text-align: center; padding: 10px 18px; border-radius: 8px; background: color-mix(in srgb, var(--yel) 10%, var(--surface)); }
.yw-score strong { display: block; font-size: 1.6rem; color: var(--yel); }
.yw-score span { font-size: .78rem; color: var(--muted); }
.yw-stagecard summary { list-style: none; cursor: pointer; }
.yw-stagecard summary::-webkit-details-marker { display: none; }
.yw-stagecard details:not([open]) summary { border-bottom: 0; }
.yw-stagecard.st-submitted { border-color: color-mix(in srgb, var(--warning) 50%, var(--border)); }
.yw-courses { display: flex; flex-direction: column; gap: 8px; }
.yw-courses .i { width: 15px; height: 15px; vertical-align: -3px; color: var(--muted); }
.yw-review { margin-top: 18px; padding: 16px; border-radius: 8px; background: color-mix(in srgb, var(--warning) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warning) 30%, var(--border)); }
.yw-sup { padding: 12px 0; border-top: 1px solid var(--border); }
.yw-sup:first-of-type { border-top: 0; }
.yw-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .88rem; }
.yw-dl dt { color: var(--muted); }
.yw-dl dd { margin: 0; }
@media (max-width: 1000px) {
  .yw-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yw-grid, .yw-hero-grid { grid-template-columns: 1fr; }
  .yw-funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .yw-stages, .yw-support { grid-template-columns: 1fr; }
  .yw-pager { display: none; }
}

.yw-join { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yw-join-opt { padding: 18px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); display: flex; flex-direction: column; align-items: flex-start; }
.yw-join-opt strong { display: flex; align-items: center; gap: 8px; }
.yw-join-opt .btn { margin-top: auto; }
@media (max-width: 640px) { .yw-join { grid-template-columns: 1fr; } }
.yw-score-pill { display: inline-block; padding: 2px 10px; border-radius: 4px; background: var(--yel); color: #fff; font-weight: 700; font-size: .82rem; }
.yw-stars { align-items: center; gap: 8px; color: inherit; }

/* ===== Narrated slides (video lessons without a recorded video) ===== */
.ns { --nsg: #0b5563; --nsgl: #8fc7cd; --nsn: #13363d; --nsi: #0e2a30; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 50px -34px rgba(14,42,48,.55); outline: none; color: #17182b; }
.ns-stage { position: relative; aspect-ratio: 16 / 9; background: #fbf8f2; overflow: hidden; }
.ns:fullscreen { display: flex; flex-direction: column; border-radius: 0; }
.ns:fullscreen .ns-stage { flex: 1; aspect-ratio: auto; }
.ns-slide { position: absolute; inset: 0; display: flex; align-items: center; padding: clamp(18px, 4.2vw, 52px); opacity: 0; transform: translateX(28px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.ns-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.ns-slide.dark { background: var(--nsi); color: #fff; }
.ns-in { width: 100%; max-width: 860px; margin: 0 auto; }
.ns-k { font-size: clamp(.6rem, 1.3vw, .76rem); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--nsg); margin-bottom: 10px; }
.dark .ns-k { color: var(--nsgl); }
.ns-h { font-family: var(--font-display, Georgia, serif); font-weight: 560; font-size: clamp(1.2rem, 3.6vw, 2.45rem); line-height: 1.12; margin: 0 0 14px; color: inherit; letter-spacing: -.01em; }
.ns-h-sm { font-size: clamp(1.05rem, 2.8vw, 1.8rem); }
.ns-sub { font-size: clamp(.85rem, 2vw, 1.2rem); opacity: .85; margin: 6px 0 0; }
.dark .ns-sub, .dark .ns-line { color: #d3d7ee; }
.ns-line { font-size: clamp(.85rem, 2vw, 1.15rem); margin: 8px 0 0; }
.ns .r { opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.ns .r.in { opacity: 1; transform: none; }
.ns-cover { display: grid; grid-template-columns: 1fr auto; gap: clamp(14px, 4vw, 40px); align-items: center; }
.ns-badge { width: clamp(64px, 13vw, 140px); height: clamp(64px, 13vw, 140px); border-radius: 30%; display: grid; place-items: center; background: rgba(240,205,140,.14); border: 1px solid rgba(240,205,140,.35); color: var(--nsgl); }
.ns-slide:not(.dark) .ns-badge { background: #f4ecd9; border-color: #e7d5ab; color: var(--nsg); }
.ns-badge .i { width: 45%; height: 45%; }
.ns-bubble { display: inline-block; margin-top: 14px; background: #fff; color: #17182b; padding: clamp(9px, 1.8vw, 15px) clamp(13px, 2.2vw, 20px); border-radius: 8px 16px 16px 4px; font-size: clamp(.82rem, 2vw, 1.12rem); max-width: 560px; box-shadow: 0 10px 28px -18px rgba(0,0,0,.6); }
.ns-quote { font-family: var(--font-display, Georgia, serif); font-size: clamp(1.15rem, 3.4vw, 2.2rem); line-height: 1.25; margin: 0; padding-left: clamp(14px, 2.5vw, 26px); border-left: 4px solid var(--nsgl); }
.ns-quote::before { content: "\201C"; }
.ns-quote::after { content: "\201D"; }
.ns-by { margin-top: 12px; font-weight: 600; color: var(--nsgl); font-size: clamp(.8rem, 1.8vw, 1rem); }
.ns-row { display: flex; gap: clamp(12px, 2.5vw, 24px); align-items: flex-start; }
.ns-num { width: clamp(36px, 6vw, 56px); height: clamp(36px, 6vw, 56px); border-radius: 50%; display: grid; place-items: center; background: var(--nsg); color: #fff; font-weight: 800; font-size: clamp(1rem, 2.8vw, 1.6rem); flex-shrink: 0; }
.ns-list { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(6px, 1.2vw, 12px); }
.ns-list li { display: flex; gap: 10px; align-items: flex-start; font-size: clamp(.82rem, 2vw, 1.15rem); line-height: 1.4; }
.ns-list .i { width: 1.1em; height: 1.1em; flex-shrink: 0; margin-top: .18em; color: var(--success, #16825a); }
.dark .ns-list .i { color: #7fd8b0; }
.ns-note { margin: 14px 0 0; font-weight: 700; font-size: clamp(.82rem, 2vw, 1.1rem); }
.ns-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(6px, 1.2vw, 12px); counter-reset: s; }
.ns-steps li { display: flex; gap: 12px; align-items: center; padding: clamp(7px, 1.4vw, 12px) clamp(10px, 1.8vw, 16px); border-radius: 8px; background: #fff; border: 1px solid #ebe5d6; font-size: clamp(.8rem, 1.9vw, 1.08rem); }
.dark .ns-steps li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.ns-steps li > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--nsn); color: #fff; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.dark .ns-steps li > span { background: var(--nsg); }
.ns-fig { width: 100%; max-width: 640px; border-collapse: collapse; font-size: clamp(.78rem, 1.9vw, 1.08rem); }
.ns-fig td { padding: clamp(4px, 1vw, 9px) 4px; border-bottom: 1px dashed #e2dccb; }
.dark .ns-fig td { border-color: rgba(255,255,255,.18); }
.ns-fig td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 14px; }
.ns-fig tr.total td { border-bottom: 0; border-top: 2px solid currentColor; font-size: 1.1em; }
.ns-result { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 12px; padding: 8px 16px; border-radius: 6px; background: var(--nsn); color: #fff; font-weight: 700; font-size: clamp(.88rem, 2.2vw, 1.25rem); }
.ns-result b { color: var(--nsgl); font-size: 1.25em; }
.dark .ns-result { background: var(--nsg); }
.dark .ns-result b { color: #fff; }
.ns-stats { display: flex; gap: clamp(10px, 2.5vw, 24px); flex-wrap: wrap; }
.ns-stat { flex: 1; min-width: 120px; border-radius: 8px; padding: clamp(12px, 2.4vw, 24px); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); text-align: center; }
.ns-slide:not(.dark) .ns-stat { background: #fff; border-color: #ebe5d6; }
.ns-stat .lbl { font-size: clamp(.62rem, 1.5vw, .82rem); text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.ns-stat .val { font-size: clamp(1.4rem, 5.2vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.ns-stat.tone-good .val { color: #4fc48d; }
.ns-stat.tone-bad .val { color: #ff8a93; }
.ns-slide:not(.dark) .ns-stat.tone-good .val { color: #16825a; }
.ns-slide:not(.dark) .ns-stat.tone-bad .val { color: #c93a45; }
.ns-callout { margin: 16px 0 0; text-align: center; font-weight: 800; font-size: clamp(.95rem, 2.6vw, 1.5rem); }
.ns-callout.tone-bad { color: #ff8a93; }
.ns-callout.tone-good { color: #4fc48d; }
.ns-slide:not(.dark) .ns-callout.tone-bad { color: #c93a45; }
.ns-slide:not(.dark) .ns-callout.tone-good { color: #16825a; }
.ns-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 18px); }
.ns-col { border-radius: 8px; padding: clamp(10px, 2vw, 18px); background: #fff; border: 1px solid #ebe5d6; }
.dark .ns-col { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); }
.ns-col.tone-good { border-color: rgba(22,130,90,.55); background: #eef8f2; }
.ns-col.tone-bad { border-color: rgba(201,58,69,.5); background: #fdf0f1; }
.dark .ns-col.tone-good { background: rgba(22,130,90,.22); }
.dark .ns-col.tone-bad { background: rgba(201,58,69,.2); }
.ns-col .lbl { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: clamp(.82rem, 1.9vw, 1.05rem); margin-bottom: 6px; }
.ns-col.tone-good .lbl .i { color: #16825a; }
.ns-col.tone-bad .lbl .i { color: #c93a45; }
.ns-col ul { margin: 0; padding-left: 18px; font-size: clamp(.76rem, 1.8vw, 1rem); display: grid; gap: 4px; }
.ns-rule { font-family: var(--font-display, Georgia, serif); font-size: clamp(1.35rem, 4.6vw, 3rem); line-height: 1.15; font-weight: 560; margin: 0; }
.ns-term { max-width: 720px; }
.ns-term .w { font-family: var(--font-display, Georgia, serif); font-size: clamp(1.4rem, 4.4vw, 2.8rem); font-weight: 600; color: var(--nsn); }
.dark .ns-term .w { color: #fff; }
.ns-term .m { font-size: clamp(.9rem, 2.2vw, 1.25rem); margin-top: 10px; padding-top: 10px; border-top: 3px solid var(--nsg); }
.ns-term .x { margin-top: 14px; padding: 10px 14px; border-radius: 6px; background: #f4ecd9; font-size: clamp(.8rem, 1.9vw, 1.02rem); }
.dark .ns-term .x { background: rgba(255,255,255,.08); }
.ns-term .x span { display: block; font-size: .72em; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--nsg); margin-bottom: 2px; }
.ns-task { display: flex; gap: 14px; align-items: flex-start; padding: clamp(12px, 2.4vw, 22px); border-radius: 8px; background: var(--nsn); color: #fff; font-size: clamp(.85rem, 2.1vw, 1.15rem); max-width: 720px; }
.ns-task .i { width: 1.4em; height: 1.4em; flex-shrink: 0; color: var(--nsgl); }
.dark .ns-task { background: rgba(255,255,255,.1); }
.ns-start { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; text-align: center; padding: 20px; background: rgba(14, 42, 48, .96); color: #fff; }
.ns.started .ns-start { display: none; }
.ns-start .ns-k { color: var(--nsgl); }
.ns-start-title { font-family: var(--font-display, Georgia, serif); font-size: clamp(1.25rem, 3.6vw, 2.3rem); max-width: 720px; margin: 0 auto; line-height: 1.15; }
.ns-start-sub { margin-top: 10px; color: #c9d6d9; font-size: clamp(.8rem, 1.8vw, .95rem); }
.ns-go { width: clamp(64px, 10vw, 86px); height: clamp(64px, 10vw, 86px); border-radius: 50%; border: 0; margin-top: 18px; background: var(--nsgl); color: var(--nsi); cursor: pointer; display: inline-grid; place-items: center; box-shadow: 0 0 0 10px rgba(143,199,205,.16); transition: transform .15s; }
.ns-go:hover { transform: scale(1.06); }
.ns-go .i { width: 40%; height: 40%; margin-left: 6%; fill: currentColor; }
.ns-cap { background: var(--nsi); color: #fff; padding: 12px 18px; min-height: 3.9em; display: flex; align-items: center; font-size: clamp(.86rem, 2vw, 1.04rem); line-height: 1.5; }
.ns.no-cc .ns-cap { display: none; }
.ns-bar { display: flex; gap: 4px; padding: 10px 14px 0; }
.ns-bar i { flex: 1; height: 5px; border-radius: 4px; background: #e3e5ef; overflow: hidden; cursor: pointer; }
.ns-bar i span { display: block; height: 100%; width: 0; background: var(--nsg); }
.ns-ctrl { display: flex; align-items: center; gap: 8px; padding: 10px 14px 12px; flex-wrap: wrap; }
.ns-btn { border: 1px solid #e3e5ef; background: #fff; border-radius: 6px; height: 36px; min-width: 36px; padding: 0 10px; font: 650 .82rem var(--font, Inter, sans-serif); cursor: pointer; color: #0e2a30; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ns-btn .i { width: 16px; height: 16px; }
.ns-btn.main { background: var(--nsn); color: #fff; border-color: var(--nsn); min-width: 44px; }
.ns-btn .ic-pause, .ns.playing .ns-btn .ic-play { display: none; }
.ns.playing .ns-btn .ic-pause { display: inline-block; }
.ns-btn[aria-pressed="false"] { opacity: .55; }
.ns-count { font-size: .8rem; color: #6b6e85; font-variant-numeric: tabular-nums; }
.ns-soon { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 650; color: #8a6418; background: #fbf1da; border-radius: 4px; padding: 4px 10px; }
.ns-soon .i { width: 13px; height: 13px; }
.ns-ctrl .grow { flex: 1; }
@media (max-width: 640px) {
  .ns-stage { aspect-ratio: auto; height: 440px; }
  .ns-cover, .ns-cmp { grid-template-columns: 1fr; }
  .ns-badge { display: none; }
  .ns-soon, .ns-btn[data-ns-full] { display: none; }
}

/* Accents on dark bands use the light teal so they stay readable */
.auth-side .eyebrow, .auth-side li .i, .cta-band .eyebrow, .course-hero .eyebrow, .yel-banner .eyebrow, .final-cta.dark .eyebrow { color: var(--gold-2); }

/* Tints: soft colour washes that lift tiles and sections.
   Mixed with --surface so they adapt to dark mode on their own. */
:root {
  --t-teal: #0b5563; --t-sand: #b08a45; --t-sage: #3d7d5a; --t-mist: #4b6584;
  --tint-teal: color-mix(in srgb, var(--t-teal) 8%, var(--surface));
  --tint-sand: color-mix(in srgb, var(--t-sand) 11%, var(--surface));
  --tint-sage: color-mix(in srgb, var(--t-sage) 9%, var(--surface));
  --tint-mist: color-mix(in srgb, var(--t-mist) 9%, var(--surface));
  --tint-page: color-mix(in srgb, var(--t-teal) 4%, var(--surface));
}
:root[data-theme="dark"] { --t-teal: #4fb3bf; --t-sand: #d2a95c; --t-sage: #6cc193; --t-mist: #87a6cc; }

/* Section rhythm */
.hx { background: var(--tint-page); border-bottom: 1px solid var(--border); }
.section-alt { background: var(--tint-page); }

/* Audience tiles: one tint each */
.aud a { --tc: var(--t-teal); background: color-mix(in srgb, var(--tc) 7%, var(--surface)); border-color: color-mix(in srgb, var(--tc) 18%, var(--border)); border-top: 3px solid var(--tc); }
.aud a:nth-child(2) { --tc: var(--t-sand); }
.aud a:nth-child(3) { --tc: var(--t-sage); }
.aud a:nth-child(4) { --tc: var(--t-mist); }
.aud a:hover { border-color: color-mix(in srgb, var(--tc) 40%, var(--border)); border-top-color: var(--tc); }
.aud .ic { background: color-mix(in srgb, var(--tc) 16%, var(--surface)); color: var(--tc); }
.aud .more { color: var(--tc); }

/* Stats band */
.stats-band { background: var(--tint-teal); border: 1px solid color-mix(in srgb, var(--t-teal) 16%, var(--border)); border-radius: 8px; }
.stats-band strong { color: var(--primary); }

/* Method steps */
.method > div:nth-child(odd) { background: var(--tint-teal); }
.method .ic { color: color-mix(in srgb, var(--t-teal) 45%, var(--surface)); }

/* Paths and packages: light tinted header in the item's own colour (dark when it has a photo) */
.path-top:not(:has(img)) { background: color-mix(in srgb, var(--pc, var(--primary)) 13%, var(--surface)); color: var(--text); border-top: 4px solid var(--pc, var(--primary)); }
.path-top:not(:has(img)) h3 { color: var(--text); }
.path-top:not(:has(img)) .eyebrow { color: color-mix(in srgb, var(--pc, var(--primary)) 80%, var(--text)); }
.path-top:not(:has(img)) .pkg-save { background: var(--pc, var(--primary)); color: #fff; }

/* Topic tiles and stat cards take a wash of their own colour */
.cat-card, .stat { background: color-mix(in srgb, var(--c, var(--t-teal)) 6%, var(--surface)); border-color: color-mix(in srgb, var(--c, var(--t-teal)) 16%, var(--border)); }
.cat-card:hover { border-color: color-mix(in srgb, var(--c, var(--t-teal)) 40%, var(--border)); }

/* Course page "includes" row */
.includes div { background: var(--tint-teal); border-color: color-mix(in srgb, var(--t-teal) 14%, var(--border)); }
.includes div:nth-child(2) { background: var(--tint-sand); border-color: color-mix(in srgb, var(--t-sand) 18%, var(--border)); }
.includes div:nth-child(2) .i { color: var(--t-sand); }
.includes div:nth-child(3) { background: var(--tint-sage); border-color: color-mix(in srgb, var(--t-sage) 16%, var(--border)); }
.includes div:nth-child(3) .i { color: var(--t-sage); }
.includes div:nth-child(4) { background: var(--tint-mist); border-color: color-mix(in srgb, var(--t-mist) 16%, var(--border)); }
.includes div:nth-child(4) .i { color: var(--t-mist); }

/* Quotes and the closing call to action */
.quote-card { background: var(--tint-sand); border-color: color-mix(in srgb, var(--t-sand) 20%, var(--border)); }
.quote-card blockquote::before { color: var(--t-sand); }
.final-cta { background: var(--tint-teal); border-color: color-mix(in srgb, var(--t-teal) 18%, var(--border)); }

/* Photo hero */
@media (min-width: 1081px) { .hx { padding: 72px 0 88px; } .hx-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.hx-photo { position: relative; padding: 0 0 24px 24px; }
.hx-photo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; background: var(--primary); border-radius: 8px; }
.hx-photo figure { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: 8px; overflow: hidden; background: var(--surface-3); }
.hx-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 30px -14px rgba(14, 42, 48, .35); max-width: 290px; }
.hx-badge .ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 6px; display: grid; place-items: center; background: var(--tint-teal); color: var(--primary); }
.hx-badge strong { display: block; font-size: .86rem; line-height: 1.3; }
.hx-badge span:not(.ic) { display: block; font-size: .76rem; color: var(--muted); }
.hx-badge-a { left: -28px; bottom: 120px; }
.hx-badge-b { right: 24px; bottom: -6px; }
.hx-badge-b .ic { background: var(--tint-sand); color: var(--t-sand); }

/* Partner strip */
.partners-strip { border-bottom: 1px solid var(--border); background: var(--surface); }
.partners-strip .container { display: flex; align-items: center; gap: 18px 40px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.ps-label { font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ps-logos { display: flex; align-items: center; gap: 18px 44px; flex-wrap: wrap; }
.ps-logos img { height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.ps-logos img:hover { filter: none; opacity: 1; }
.ps-name { font-family: var(--font-display); font-size: 1.12rem; color: var(--text-2); }

@media (max-width: 1080px) {
  .hx-photo { max-width: 620px; margin: 8px auto 0; width: 100%; }
}
@media (max-width: 700px) {
  .hx-badge { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 12px 0 0; max-width: none; box-shadow: none; }
  .hx-photo { padding: 0 0 0 0; }
  .hx-photo::before { display: none; }
  .partners-strip .container { justify-content: center; text-align: center; }
}

/* Gentle reveal on scroll (only when JavaScript runs, and never for reduced-motion users) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hx h1, .hx .lead, .hx-ctas, .hx-trust, .hx-photo { animation: hx-in .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hx .lead { animation-delay: .08s; } .hx-ctas { animation-delay: .16s; } .hx-trust { animation-delay: .22s; } .hx-photo { animation-delay: .12s; }
  .hx-badge-a { animation: hx-in .6s .5s both; } .hx-badge-b { animation: hx-in .6s .65s both; }
}
@keyframes hx-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* LaunchPad sponsors */
.yel-sup-lbl { margin-left: 8px; }
.yel-sup { display: inline-flex; align-items: center; height: 44px; padding: 6px 12px; background: #fff; border-radius: 6px; }
.yel-sup img { max-height: 32px; max-width: 150px; object-fit: contain; }
.yel-sup strong { color: var(--ink); font-size: .88rem; }
.sp-tier { margin-top: 30px; }
.sp-tier-lbl { text-align: center; font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sp-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.sp-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: var(--text); text-align: center; transition: border-color .2s, box-shadow .2s; }
a.sp-card:hover { border-color: color-mix(in srgb, var(--yel, var(--primary)) 45%, var(--border)); box-shadow: var(--shadow); color: var(--text); }
.sp-logo { display: grid; place-items: center; }
.sp-logo img { object-fit: contain; }
.sp-name { font-family: var(--font-display); font-size: 1.2rem; }
.sp-meta { display: grid; gap: 2px; font-size: .82rem; }
.sp-meta span { color: var(--muted); }
.sp-lead .sp-card { width: 340px; padding: 30px; }
.sp-lead .sp-logo { height: 96px; } .sp-lead .sp-logo img { max-height: 96px; max-width: 260px; }
.sp-cohort .sp-card { width: 250px; }
.sp-cohort .sp-logo { height: 64px; } .sp-cohort .sp-logo img { max-height: 64px; max-width: 190px; }
.sp-supporter .sp-card { padding: 14px 20px; min-width: 150px; }
.sp-supporter .sp-logo { height: 40px; } .sp-supporter .sp-logo img { max-height: 40px; max-width: 130px; } .sp-supporter .sp-name { font-size: 1rem; }
:root[data-theme="dark"] .sp-logo img, :root[data-theme="dark"] .yel-cert-sp img { background: #fff; padding: 6px 10px; border-radius: 4px; }
@media (max-width: 600px) { .sp-lead .sp-card, .sp-cohort .sp-card { width: 100%; } }

/* "Your place is sponsored by" on the participant's LaunchPad page */
.yel-sp-banner { display: flex; align-items: center; gap: 18px; padding: 16px 20px; margin-bottom: 20px; border-radius: 8px; background: var(--tint-sand); border: 1px solid color-mix(in srgb, var(--t-sand) 22%, var(--border)); }
.yel-sp-banner .lg { width: 120px; height: 56px; flex-shrink: 0; display: grid; place-items: center; background: #fff; border-radius: 6px; padding: 6px; }
.yel-sp-banner .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.yel-sp-banner .lg .i { color: var(--t-sand); }
.yel-sp-banner strong { display: block; }
.yel-sp-banner p { margin: 2px 0 0; font-size: .88rem; color: var(--text-2); }
@media (max-width: 600px) { .yel-sp-banner { flex-direction: column; align-items: flex-start; } }
.yel-banner-sp { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 6px 10px; background: #fff; border-radius: 6px; color: var(--muted); white-space: nowrap; }
.yel-banner-sp img { max-height: 30px; max-width: 120px; object-fit: contain; }
.yel-banner-sp strong { color: var(--ink); font-size: .85rem; }
.yel-banner-sp + .go { margin-left: 16px; }
@media (max-width: 700px) { .yel-banner-sp { display: none; } }
.cert-backers { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 30ch; text-align: center; }
.yel-cert-sp { display: grid; place-items: center; height: clamp(34px, 6vw, 60px); }
.yel-cert-sp img { max-height: 100%; max-width: clamp(90px, 16vw, 170px); object-fit: contain; }
.yel-cert-sp strong { font-family: var(--font-display); font-size: 1.25em; color: #1c1b22; }

/* LaunchPad in the menu */
.nav-links a.nav-lp { display: inline-flex; align-items: center; gap: 6px; color: var(--yel); font-weight: 650; }
.nav-links a.nav-lp .i { width: 16px; height: 16px; }
.nav-links a.nav-lp:hover { background: color-mix(in srgb, var(--yel) 10%, var(--surface)); color: var(--yel); }
.nav-links a.nav-lp.active { box-shadow: inset 0 -2px 0 var(--yel); background: transparent; }
:root[data-theme="dark"] .nav-links a.nav-lp { color: color-mix(in srgb, var(--yel) 55%, #fff); }

/* Site-wide announcement bar */
.announce { background: var(--ink); color: #dfe9eb; font-size: .86rem; }
.announce .container { display: flex; align-items: center; gap: 12px; min-height: 42px; }
.announce a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; color: inherit; padding: 9px 0; text-align: center; flex-wrap: wrap; }
.announce a:hover { color: #fff; }
.announce .ann-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yel); box-shadow: 0 0 0 4px color-mix(in srgb, var(--yel) 30%, transparent); flex-shrink: 0; }
.announce .ann-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 650; color: #fff; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--yel) 80%, #fff); text-underline-offset: 3px; white-space: nowrap; }
.announce .ann-link .i { width: 14px; height: 14px; }
.announce .ann-x { background: none; border: 0; color: #9fb5b9; cursor: pointer; padding: 6px; display: grid; place-items: center; border-radius: 4px; }
.announce .ann-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.announce .ann-x .i { width: 16px; height: 16px; }
@media (max-width: 700px) { .announce { font-size: .8rem; } .announce a { justify-content: flex-start; text-align: left; } .announce .ann-dot { display: none; } }
@media (prefers-reduced-motion: no-preference) { .announce .ann-dot { animation: ann-pulse 2.4s ease-in-out infinite; } }
@keyframes ann-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--yel) 10%, transparent); } }
.announce .ann-short { display: none; }
@media (max-width: 700px) { .announce .ann-text { display: none; } .announce .ann-short { display: inline; } .announce a { gap: 4px 10px; } }

/* LaunchPad: benefits of sponsorship */
.sp-ben-title { text-align: center; font-size: 1rem; font-family: var(--font); font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 8px 0 18px; }
.sp-ben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 56px; }
.sp-ben-card { --bc: var(--yel, var(--t-sage)); padding: 26px; border-radius: 8px; background: color-mix(in srgb, var(--bc) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--bc) 20%, var(--border)); border-top: 3px solid var(--bc); }
.sp-ben-2 { --bc: var(--t-sand); }
.sp-ben-3 { --bc: var(--primary); }
.sp-ben-card .ic { width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; background: color-mix(in srgb, var(--bc) 16%, var(--surface)); color: var(--bc); margin-bottom: 14px; }
.sp-ben-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.sp-ben-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sp-ben-card li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-2); line-height: 1.5; }
.sp-ben-card li .i { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--bc); }
@media (max-width: 980px) { .sp-ben { grid-template-columns: 1fr; } }

/* LaunchPad demand figures */
.dm { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 34px; border-radius: 8px; background: color-mix(in srgb, var(--yel) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--yel) 22%, var(--border)); }
.dm h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.dm-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 18px; }
.dm-stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; line-height: 1.1; color: var(--yel); }
.dm-stats span { font-size: .85rem; color: var(--muted); }
.dm-bars { display: grid; gap: 10px; }
.dm-bar { display: grid; grid-template-columns: 130px 1fr 92px; gap: 12px; align-items: center; font-size: .88rem; }
.dm-bar .bar { height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--yel) 12%, var(--surface)); overflow: hidden; }
.dm-bar .bar i { display: block; height: 100%; background: var(--yel); border-radius: 5px; }
.dm-bar .n { text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .dm { grid-template-columns: 1fr; padding: 22px; } .dm-bar { grid-template-columns: 100px 1fr 80px; } }

.mentor-band { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 8px; background: var(--tint-sand); border: 1px solid color-mix(in srgb, var(--t-sand) 25%, var(--border)); color: var(--text); }
.mentor-band:hover { color: var(--text); border-color: var(--t-sand); }
.mentor-band .ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 6px; display: grid; place-items: center; background: color-mix(in srgb, var(--t-sand) 18%, var(--surface)); color: var(--t-sand); }
.mentor-band strong { display: block; font-size: 1.05rem; }
.mentor-band .t { display: block; font-size: .9rem; color: var(--text-2); }
.mentor-band .go { margin-left: auto; white-space: nowrap; font-weight: 650; color: var(--t-sand); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 700px) { .mentor-band { flex-wrap: wrap; } .mentor-band .go { margin-left: 64px; } }
.dm-stats-dark { margin-top: 26px; } .dm-stats-dark strong { color: #fff; } .dm-stats-dark span { color: #9fb5b9; }
.dm-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.dm-filter .select { width: auto; min-width: 190px; }
.dm-table { overflow: hidden; }
.dm-row { display: grid; grid-template-columns: 1fr 120px 170px; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.dm-th { font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.dm-region > summary { cursor: pointer; list-style: none; background: var(--surface); }
.dm-region > summary::-webkit-details-marker { display: none; }
.dm-region > summary .i { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; vertical-align: -2px; }
.dm-region[open] > summary .i { transform: rotate(180deg); }
.dm-row .n { font-variant-numeric: tabular-nums; }
.dm-row > :last-child { justify-self: end; }
.dm-sub { background: color-mix(in srgb, var(--yel) 4%, var(--surface)); padding-left: 34px; font-size: .92rem; }
.dm-cons { display: block; margin-top: 2px; }
@media (max-width: 700px) { .dm-row { grid-template-columns: 1fr 70px; } .dm-row > :last-child { grid-column: 1 / -1; justify-self: start; } }

/* LaunchPad: waiting for a sponsor */
.yw-wait { display: flex; align-items: center; gap: 18px; padding: 18px 22px; margin-bottom: 20px; border-radius: 8px; background: color-mix(in srgb, var(--yel) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--yel) 28%, var(--border)); }
.yw-wait .ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 6px; display: grid; place-items: center; background: color-mix(in srgb, var(--yel) 16%, var(--surface)); color: var(--yel); }
.yw-wait strong { display: block; font-size: 1.02rem; }
.yw-wait p { margin: 3px 0 0; font-size: .9rem; color: var(--text-2); }
@media (max-width: 700px) { .yw-wait { flex-wrap: wrap; } }
.yw-stages li.locked a { opacity: .6; cursor: default; }
.yw-stages li.locked a:hover { transform: none; box-shadow: none; }
@media (max-width: 900px) { .yel-join .yel-form { order: -1; } }
