/* Ledgermint — site-wide fixes & components (loaded after output.css on every page).
 * 1. Utility classes used in the markup but missing from main.css/output.css
 *    (Tailwind 2 does not generate "/opacity" or "[arbitrary]" classes).
 * 2. Small components for policies, FAQs, blog articles and server-rendered pages.
 */

:root {
  --lm-navy: #05426E;
  --lm-navy-light: #45708B;
  --lm-accent: #0CD8B1;
  --lm-accent-hover: #0AB998;
  --lm-muted: #45708B;
  --lm-border: rgba(5, 66, 110, 0.12);
}

/* ---------- 1. Missing utilities ---------- */
.bg-black\/20 { background-color: rgba(0,0,0,.2); }
.bg-black\/50 { background-color: rgba(0,0,0,.5); }
.hover\:bg-black\/40:hover { background-color: rgba(0,0,0,.4); }
.bg-white\/10 { background-color: rgba(255,255,255,.1); }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,.2); }
.border-white\/20 { border-color: rgba(255,255,255,.2); }
.text-white\/40 { color: rgba(255,255,255,.4); }
.bg-brand-accentHover { background-color: var(--lm-accent-hover); }
.bg-brand-navyLight { background-color: var(--lm-navy-light); }
.bg-brand-accent\/5 { background-color: rgba(12,216,177,.05); }
.bg-brand-accent\/20 { background-color: rgba(12,216,177,.2); }
.bg-brand-navy\/10 { background-color: rgba(5,66,110,.1); }
.hover\:bg-brand-navy\/10:hover { background-color: rgba(5,66,110,.1); }
.bg-brand-bgLight\/50 { background-color: rgba(248,250,252,.5); }
.hover\:bg-brand-bgLight:hover { background-color: #f8fafc; }
.bg-brand-emerald { background-color: #10b981; }
.bg-brand-emerald\/10 { background-color: rgba(16,185,129,.1); }
.text-brand-emerald { color: #059669; }
.bg-emerald-500\/10 { background-color: rgba(16,185,129,.1); }
.text-emerald-500 { color: #10b981; }
.border-brand-accent\/20 { border-color: rgba(12,216,177,.2); }
.border-brand-accent\/40 { border-color: rgba(12,216,177,.4); }
.border-brand-border { border-color: var(--lm-border); }
.border-brand-border\/30 { border-color: rgba(5,66,110,.04); }
.border-t-brand-accent { border-top-color: var(--lm-accent); }
.border-t-transparent { border-top-color: transparent; }
.border-slate-100 { border-color: #f1f5f9; }
.hover\:border-brand-navy:hover { border-color: var(--lm-navy); }
.focus\:border-brand-navy:focus { border-color: var(--lm-navy); }
.focus\:ring-brand-navy:focus, .focus\:ring-brand-navy\/20:focus { box-shadow: 0 0 0 3px rgba(5,66,110,.2); }
.accent-brand-navy { accent-color: var(--lm-navy); }
.text-brand-accent\/20 { color: rgba(12,216,177,.2); }
.text-brand-navy\/20 { color: rgba(5,66,110,.2); }
.text-brand-navy\/40 { color: rgba(5,66,110,.4); }
.text-brand-textDark\/80 { color: rgba(5,66,110,.8); }
.text-gray-600 { color: #4b5563; }
.hover\:text-gray-600:hover { color: #4b5563; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.hover\:text-brand-navy:hover { color: var(--lm-navy); }
.hover\:text-brand-textDark:hover { color: var(--lm-navy); }
.group:hover .group-hover\:text-brand-accent { color: var(--lm-accent); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.hover\:opacity-85:hover { opacity: .85; }
.shadow-brand-navy\/20 { box-shadow: 0 10px 15px -3px rgba(5,66,110,.2); }
.shrink-0 { flex-shrink: 0; }
.h-fit { height: fit-content; }
.min-h-\[500px\] { min-height: 500px; }
.h-\[450px\] { height: 450px; }
.max-h-\[calc\(100vh-64px\)\] { max-height: calc(100vh - 64px); }
.text-\[120px\] { font-size: 120px; line-height: 1; }
.-left-\[31px\] { left: -31px; }
.z-\[100\] { z-index: 100; }
.user-select-none { user-select: none; }
.animate-fadeIn { animation: lmFadeIn .35s ease-out both; }
@keyframes lmFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 2. Components ---------- */
.lm-skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--lm-navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; font-size: 14px; }
.lm-skip-link:focus { left: 0; }
.lm-drawer { max-height: calc(100vh - 64px); overflow-y: auto; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--lm-accent); outline-offset: 2px;
}

/* Hero stat tiles */
.lm-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lm-stat { padding: 16px; border-radius: 16px; background: #f8fafc; border: 1px solid var(--lm-border); text-align: center; }
.lm-stat-value { display: block; font-size: 1.6rem; line-height: 1.15; font-weight: 900; color: var(--lm-navy); }
.lm-stat-label { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; color: var(--lm-muted); }

/* Form status messages */
.lm-form-msg { font-size: 13px; margin-top: 10px; min-height: 1em; }
.lm-form-msg.lm-ok { color: #047857; }
.lm-form-msg.lm-err { color: #b91c1c; }
.lm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Long-form text: policies, blog articles, course overviews */
.lm-prose { color: #334155; font-size: 16px; line-height: 1.75; }
.lm-prose > * + * { margin-top: 1em; }
.lm-prose h2 { font-size: 1.45rem; line-height: 1.3; font-weight: 900; color: var(--lm-navy); margin-top: 2em; }
.lm-prose h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 800; color: var(--lm-navy); margin-top: 1.6em; }
.lm-prose ul, .lm-prose ol { padding-left: 1.4em; }
.lm-prose ul { list-style: disc; }
.lm-prose ol { list-style: decimal; }
.lm-prose li + li { margin-top: .4em; }
.lm-prose a { color: var(--lm-navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.lm-prose a:hover { color: var(--lm-accent-hover); }
.lm-prose strong { color: var(--lm-navy); }
.lm-prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lm-prose th, .lm-prose td { border: 1px solid var(--lm-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.lm-prose th { background: #f8fafc; color: var(--lm-navy); font-weight: 800; }
.lm-prose .lm-note { background: #f0fdfa; border: 1px solid rgba(12,216,177,.35); border-radius: 12px; padding: 14px 16px; font-size: 14px; }

/* "Quick answer" summary box used for answer engines (AEO) */
.lm-answer { background: #f0fdfa; border: 1px solid rgba(12,216,177,.35); border-left: 4px solid var(--lm-accent); border-radius: 14px; padding: 16px 18px; color: #0f3d5c; font-size: 15px; line-height: 1.65; }
.lm-answer strong { color: var(--lm-navy); }

/* Key facts table */
.lm-facts { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--lm-border); }
.lm-facts th, .lm-facts td { padding: 12px 16px; border-bottom: 1px solid var(--lm-border); text-align: left; }
.lm-facts tr:last-child th, .lm-facts tr:last-child td { border-bottom: 0; }
.lm-facts th { width: 40%; color: var(--lm-muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; background: #f8fafc; }
.lm-facts td { color: var(--lm-navy); font-weight: 700; }

/* FAQ accordions (native <details>, works without JS and is crawlable) */
.lm-faq { border: 1px solid var(--lm-border); border-radius: 16px; background: #fff; overflow: hidden; }
.lm-faq + .lm-faq { margin-top: 12px; }
.lm-faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; color: var(--lm-navy); display: flex; justify-content: space-between; gap: 16px; align-items: center; background: #f8fafc; }
.lm-faq summary::-webkit-details-marker { display: none; }
.lm-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--lm-muted); flex-shrink: 0; }
.lm-faq[open] summary::after { content: "–"; }
.lm-faq .lm-faq-a { padding: 16px 22px 20px; color: #475569; font-size: 15px; line-height: 1.7; }
.lm-faq .lm-faq-a a { color: var(--lm-navy); text-decoration: underline; }

/* Syllabus accordions */
.lm-chapter { border: 1px solid var(--lm-border); border-radius: 16px; background: #fff; overflow: hidden; }
.lm-chapter + .lm-chapter { margin-top: 10px; }
.lm-chapter summary { cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: center; padding: 16px 18px; }
.lm-chapter summary::-webkit-details-marker { display: none; }
.lm-chapter .lm-num { width: 36px; height: 36px; border-radius: 10px; background: rgba(5,66,110,.08); color: var(--lm-navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.lm-chapter .lm-ch-title { font-weight: 800; color: var(--lm-navy); font-size: 15px; flex: 1; }
.lm-chapter .lm-ch-meta { font-size: 11px; color: var(--lm-muted); font-weight: 700; white-space: nowrap; }
.lm-chapter[open] summary { border-bottom: 1px solid var(--lm-border); background: #f8fafc; }
.lm-chapter .lm-ch-body { padding: 14px 18px 18px 68px; }
.lm-chapter .lm-ch-body h4 { font-size: 13px; font-weight: 800; color: var(--lm-navy); margin: 10px 0 4px; }
.lm-chapter .lm-ch-body ul { list-style: disc; padding-left: 18px; color: #475569; font-size: 13px; line-height: 1.6; }
@media (max-width: 640px) { .lm-chapter .lm-ch-body { padding-left: 18px; } .lm-chapter .lm-ch-meta { display: none; } }

/* Chips & badges */
.lm-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--lm-muted); background: #f8fafc; border: 1px solid var(--lm-border); padding: 4px 10px; border-radius: 8px; }
.lm-badge { display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--lm-navy); background: var(--lm-accent); padding: 4px 10px; border-radius: 6px; }

/* Breadcrumbs */
.lm-crumbs { font-size: 12px; color: var(--lm-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lm-crumbs a { color: var(--lm-muted); }
.lm-crumbs a:hover { color: var(--lm-navy); text-decoration: underline; }
.lm-crumbs span[aria-hidden] { opacity: .5; }

/* Generic buttons for server-rendered pages */
.lm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 14px; padding: 14px 22px; border-radius: 12px; transition: background-color .2s, transform .2s; cursor: pointer; border: 0; text-align: center; }
.lm-btn-accent { background: var(--lm-accent); color: var(--lm-navy); }
.lm-btn-accent:hover { background: var(--lm-accent-hover); }
.lm-btn-navy { background: var(--lm-navy); color: #fff; }
.lm-btn-navy:hover { background: var(--lm-navy-light); }
.lm-btn-ghost { background: transparent; color: var(--lm-navy); border: 1px solid rgba(5,66,110,.3); }
.lm-btn-ghost:hover { background: rgba(5,66,110,.05); }
.lm-btn[disabled] { opacity: .6; cursor: wait; }

/* Course cards (catalog + related courses) */
.lm-course-card { background: #fff; border: 1px solid var(--lm-border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: box-shadow .25s, transform .25s; }
.lm-course-card:hover { box-shadow: 0 20px 25px -5px rgba(5,66,110,.12); transform: translateY(-2px); }
.lm-course-card .lm-thumb { position: relative; height: 176px; background: var(--lm-navy); }
.lm-course-card .lm-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.lm-course-card .lm-thumb .lm-badge { position: absolute; top: 14px; left: 14px; }
.lm-course-card .lm-thumb .lm-hours { position: absolute; bottom: 14px; right: 14px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 6px; }
.lm-course-card h3 { font-size: 1.2rem; font-weight: 900; color: var(--lm-navy); line-height: 1.3; }
.lm-course-card h3 a::after { content: ""; position: absolute; inset: 0; }
.lm-course-card .lm-desc { font-size: 13px; color: var(--lm-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lm-course-card .lm-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--lm-muted); }
.lm-course-card .lm-price { font-size: 1.15rem; font-weight: 900; color: var(--lm-navy); }
.lm-course-card .lm-price s { font-size: 11px; font-weight: 400; color: #9ca3af; margin-left: 6px; }
.lm-course-card .lm-actions { position: relative; z-index: 2; display: flex; gap: 8px; }
.lm-course-card .lm-body { position: relative; }

/* Popup offer (admin → Popup Poster) */
.lm-popup-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(3, 25, 44, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lm-popup { background: #fff; border-radius: 24px; max-width: 480px; width: 100%; overflow: hidden; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,.45); max-height: calc(100vh - 32px); overflow-y: auto; }
.lm-popup-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--lm-navy); border: 1px solid var(--lm-border); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; z-index: 2; }
.lm-popup-close:hover { background: #fff; }
.lm-popup img { width: 100%; max-height: 300px; object-fit: cover; display: block; }
.lm-popup-body { padding: 26px 26px 28px; }
.lm-popup-body h2 { font-size: 1.5rem; font-weight: 900; color: var(--lm-navy); line-height: 1.25; padding-right: 30px; }
.lm-popup-body p { margin-top: 10px; color: #475569; line-height: 1.65; font-size: 15px; }
.lm-popup-body .lm-btn { margin-top: 20px; width: 100%; }

/* Article cards */
.lm-post-card { display: flex; flex-direction: column; justify-content: space-between; background: #fff; border: 1px solid var(--lm-border); border-radius: 18px; padding: 26px; transition: box-shadow .25s; position: relative; }
.lm-post-card:hover { box-shadow: 0 20px 25px -5px rgba(5,66,110,.1); }
.lm-post-card h2, .lm-post-card h3 { font-size: 1.2rem; font-weight: 900; color: var(--lm-navy); line-height: 1.35; }
.lm-post-card a.lm-cover::after { content: ""; position: absolute; inset: 0; }
.lm-post-card p { margin-top: 10px; color: var(--lm-muted); font-size: 14px; line-height: 1.6; }
.lm-post-card .lm-post-meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--lm-border); display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lm-muted); }

/* Responsive grid helper for server-rendered pages */
.lm-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .lm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.lm-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .lm-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; } .lm-sticky { position: sticky; top: 100px; } }

/* Visually hidden (for accessible labels) */
.lm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Success Stories links appear only once real stories/testimonials exist (set by dynamic-loader.js) */
[data-nav="success-stories"]:not(.lm-show) { display: none !important; }

/* Wide tables scroll inside their box on small screens (no page-level horizontal scroll) */
@media (max-width: 640px) { .lm-prose table { display: block; overflow-x: auto; white-space: nowrap; } }

/* Header account area (js/header-auth.js) */
.lm-hbtn { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; padding: 9px 14px; border-radius: 10px; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .2s; }
.lm-hbtn-accent { background: var(--lm-accent); color: var(--lm-navy); }
.lm-hbtn-accent:hover { background: var(--lm-accent-hover); }
.lm-hbtn-navy { background: var(--lm-navy); color: #fff; }
.lm-hbtn-navy:hover { background: var(--lm-navy-light); }
.lm-avatar { width: 38px; height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--lm-navy), var(--lm-navy-light)); box-shadow: 0 4px 12px rgba(5,66,110,.25); flex-shrink: 0; }
.lm-avatar:hover { box-shadow: 0 0 0 3px rgba(12,216,177,.45); }
.lm-dd { position: relative; }
.lm-dd-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--lm-border); border-radius: 12px; box-shadow: 0 16px 40px rgba(5,66,110,.15); padding: 6px; z-index: 60; }
.lm-dd.open .lm-dd-menu { display: block; }
.lm-dd-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--lm-navy); }
.lm-dd-menu a:hover { background: #f1f5f9; }

/* Auth & account pages */
.lm-auth-card { background: #fff; border: 1px solid var(--lm-border); border-radius: 24px; box-shadow: 0 20px 50px -20px rgba(5,66,110,.25); padding: 28px; }
.lm-field { display: block; margin-bottom: 14px; }
.lm-field > span { display: block; font-size: 12px; font-weight: 800; color: var(--lm-navy); margin-bottom: 6px; letter-spacing: .02em; }
.lm-field input, .lm-field select, .lm-field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(5,66,110,.18); font: inherit; font-size: 15px; color: #0f2d44; background: #fff; transition: border-color .15s, box-shadow .15s; }
.lm-field input:focus, .lm-field select:focus, .lm-field textarea:focus { outline: none; border-color: var(--lm-navy); box-shadow: 0 0 0 3px rgba(5,66,110,.12); }
.lm-divider { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 12px; font-weight: 700; margin: 18px 0; text-transform: uppercase; letter-spacing: .08em; }
.lm-divider::before, .lm-divider::after { content: ''; flex: 1; height: 1px; background: rgba(5,66,110,.12); }
.lm-google { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid rgba(5,66,110,.18); background: #fff; font-weight: 800; color: #0f2d44; cursor: pointer; font-size: 14px; }
.lm-google:hover { background: #f8fafc; }
.lm-alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
.lm-alert.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.lm-alert.ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.lm-alert.info { background: #f0f9ff; color: #075985; border: 1px solid #bae6fd; }
.lm-stars-input { display: inline-flex; gap: 4px; }
.lm-stars-input button { font-size: 30px; line-height: 1; color: #cbd5e1; background: none; border: 0; cursor: pointer; padding: 0 2px; }
.lm-stars-input button.on { color: #f59e0b; }
.lm-stars-input button:focus-visible { outline: 3px solid var(--lm-accent); border-radius: 6px; }
.lm-portal-frame { width: 100%; border: 0; display: block; height: calc(100vh - 64px); min-height: 560px; background: #f8fafc; }
@media (min-width: 768px) { .lm-portal-frame { height: calc(100vh - 80px); } }
.lm-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #f1f5f9; padding: 4px; border-radius: 12px; }
.lm-tabs a { padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 800; color: var(--lm-muted); }
.lm-tabs a[aria-current="page"] { background: #fff; color: var(--lm-navy); box-shadow: 0 2px 6px rgba(5,66,110,.12); }

/* Wide-screen header (main.css marks .hidden as !important, so breakpoints need !important too) */
@media (min-width: 1280px) { .xl\:flex { display: flex !important; } .xl\:hidden { display: none !important; } }

.lm-tabs a { white-space: nowrap; }
.lm-tabs a i { margin-right: 4px; font-size: 12px; }
@media (min-width: 768px) { .lm-tabs { flex-wrap: nowrap; flex-shrink: 0; } }

/* ======================================================================
 * 3. Design system — colour, logo arrow, motion (js/motion.js)
 *
 *  Brand: Ledger navy + Mint (from the logo) and the navy→mint gradient of the round logo.
 *  Each course track has its own colour (set with data-category="…"):
 *    accounting = mint · tax = saffron · reporting = azure · finance = violet · career = coral · tech = pink
 *  Arrow: the rising arrow from the "g" of the logo (images/lm-arrow.svg, images/lm-arrow-curl.svg).
 *  All motion is switched on by html.lm-motion (header.js) and is off for reduced-motion visitors.
 * ====================================================================== */
:root {
  --lm-ease: cubic-bezier(.2,.75,.2,1);
  --lm-ink: #04263F;
  --lm-mint-deep: #07A387;
  --lm-mist: #F1F7FA;
  --lm-rule: rgba(5,66,110,.075);
  --lm-grad: linear-gradient(120deg, #05426E 0%, #0A7F8F 55%, #0CD8B1 100%);
  --c: #0CD8B1; --c-tint: #DCFAF3; --c-ink: #036B57; --c-deep: #07A387;
}
[data-category="accounting"] { --c: #0CD8B1; --c-tint: #DCFAF3; --c-ink: #036B57; --c-deep: #07A387; }
[data-category="tax"]        { --c: #FFB224; --c-tint: #FFF1D6; --c-ink: #7A4800; --c-deep: #D98E0B; }
[data-category="reporting"]  { --c: #3D7BFF; --c-tint: #E3ECFF; --c-ink: #1D4DC4; --c-deep: #2759D6; }
[data-category="finance"]    { --c: #7B61FF; --c-tint: #ECE8FF; --c-ink: #4A30C6; --c-deep: #5B41E0; }
[data-category="career"]     { --c: #FF6B57; --c-tint: #FFE6E1; --c-ink: #A8301A; --c-deep: #E04C37; }
[data-category="tech"]       { --c: #F0529C; --c-tint: #FFE3F0; --c-ink: #9E1A57; --c-deep: #CF3580; }
[data-category="bundle"]     { --c: #05426E; --c-tint: #E3EEF6; --c-ink: #05426E; --c-deep: #032C4A; }

/* ---- The logo arrow ---- */
.lm-arr { display: inline-block; width: 1.05em; height: 1.05em; flex-shrink: 0; vertical-align: -.15em; background: currentColor;
  -webkit-mask: url(/images/lm-arrow.svg) center / contain no-repeat; mask: url(/images/lm-arrow.svg) center / contain no-repeat;
  transition: transform .35s var(--lm-ease); }
a:hover > .lm-arr, button:hover > .lm-arr, a:focus-visible > .lm-arr, .lm-tile:hover .lm-arr { transform: translate(3px, -3px); }
/* Every Font Awesome right-arrow on the site becomes the logo arrow */
.fa-solid.fa-arrow-right::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; background: currentColor;
  -webkit-mask: url(/images/lm-arrow.svg) center / contain no-repeat; mask: url(/images/lm-arrow.svg) center / contain no-repeat; }
.fa-arrow-right { transition: transform .35s var(--lm-ease); }
a:hover .fa-arrow-right, button:hover .fa-arrow-right { transform: translate(3px, -3px); }

/* ---- Chunky buttons (press down when clicked) ---- */
.lm-b { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-weight: 800; font-size: 16px; line-height: 1.2; padding: 16px 26px; border-radius: 16px; border: 0; cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .18s var(--lm-ease), box-shadow .18s var(--lm-ease), background-color .2s; }
.lm-b:hover { transform: translateY(-2px); }
.lm-b:active { transform: translateY(3px); }
.lm-b-sm { font-size: 14px; padding: 12px 18px; border-radius: 13px; }
.lm-b-mint { background: var(--lm-accent); color: var(--lm-navy); box-shadow: 0 5px 0 var(--lm-mint-deep); }
.lm-b-mint:hover { box-shadow: 0 7px 0 var(--lm-mint-deep), 0 18px 30px -12px rgba(12,216,177,.6); }
.lm-b-mint:active { box-shadow: 0 1px 0 var(--lm-mint-deep); }
.lm-b-navy { background: var(--lm-navy); color: #fff; box-shadow: 0 5px 0 #022B49; }
.lm-b-navy:hover { box-shadow: 0 7px 0 #022B49, 0 18px 30px -14px rgba(5,66,110,.6); }
.lm-b-navy:active { box-shadow: 0 1px 0 #022B49; }
.lm-b-line { background: #fff; color: var(--lm-navy); box-shadow: inset 0 0 0 2px rgba(5,66,110,.16), 0 5px 0 rgba(5,66,110,.12); }
.lm-b-line:hover { box-shadow: inset 0 0 0 2px var(--lm-navy), 0 7px 0 rgba(5,66,110,.18); }
.lm-b-line:active { box-shadow: inset 0 0 0 2px var(--lm-navy), 0 1px 0 rgba(5,66,110,.18); }
.lm-b-line .fa-circle-play { color: var(--lm-accent-hover); font-size: 1.15em; }
.lm-b-glass { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), 0 5px 0 rgba(0,0,0,.18); }
.lm-b-glass:hover { background: rgba(255,255,255,.2); }
/* Existing buttons used across pages get the same press */
.lm-btn { border-radius: 13px; transition: background-color .2s, transform .18s var(--lm-ease), box-shadow .18s var(--lm-ease); }
.lm-btn:hover { transform: translateY(-1px); }
.lm-btn:active { transform: translateY(2px); }
.lm-btn-accent { box-shadow: 0 4px 0 var(--lm-mint-deep); }
.lm-btn-navy { box-shadow: 0 4px 0 #022B49; }
.lm-btn-ghost { background: #fff; box-shadow: 0 3px 0 rgba(5,66,110,.12); }
.lm-btn-accent:active, .lm-btn-navy:active, .lm-btn-ghost:active { box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.lm-input { padding: 14px 16px; border-radius: 14px; border: 2px solid rgba(5,66,110,.14); font: inherit; font-size: 15px; background: #fff; color: var(--lm-navy); transition: border-color .2s, box-shadow .2s; }
.lm-input:focus { outline: none; border-color: var(--lm-navy); box-shadow: 0 0 0 4px rgba(12,216,177,.25); }

/* ---- Ledger ruling (page headers) ---- */
.lm-ruled { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.lm-ruled::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, var(--lm-rule) 35px 36px);
  -webkit-mask-image: radial-gradient(110% 95% at 78% 10%, #000 25%, transparent 78%); mask-image: radial-gradient(110% 95% at 78% 10%, #000 25%, transparent 78%); }
.lm-ruled::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: -1; pointer-events: none; width: 5px;
  left: max(14px, calc(50% - 664px)); border-left: 1px solid rgba(12,216,177,.6); border-right: 1px solid rgba(12,216,177,.6);
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); transform-origin: top; }
.lm-ruled-center::before { -webkit-mask-image: radial-gradient(70% 120% at 50% 0%, #000 20%, transparent 80%); mask-image: radial-gradient(70% 120% at 50% 0%, #000 20%, transparent 80%); }
.lm-ruled-center::after { display: none; }
.lm-ruled-dark { --lm-rule: rgba(255,255,255,.07); }
/* Page headers get a colour wash from the brand gradient */
.lm-ruled-center:not(.lm-ruled-dark) { background:
  radial-gradient(40% 70% at 88% 0%, rgba(12,216,177,.20), transparent 70%),
  radial-gradient(35% 60% at 8% 100%, rgba(61,123,255,.13), transparent 70%),
  radial-gradient(25% 50% at 30% 0%, rgba(255,178,36,.14), transparent 70%), #fff !important; }
@media (max-width: 767px) { .lm-ruled::after { display: none; } .lm-ruled { --lm-rule: rgba(5,66,110,.045); } .lm-ruled-dark { --lm-rule: rgba(255,255,255,.05); } }
html.lm-motion .lm-ruled::before { animation: lmRule 1.4s var(--lm-ease) both; }
html.lm-motion .lm-ruled::after { animation: lmMargin 1.1s .15s var(--lm-ease) both; }
@keyframes lmRule { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lmMargin { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---- Page-load rise ---- */
html.lm-motion .lm-rise { animation: lmRise .9s var(--lm-ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
html.lm-motion .lm-ruled-center > div > * { animation: lmRise .8s var(--lm-ease) both; }
html.lm-motion .lm-ruled-center > div > :nth-child(2) { animation-delay: .08s; }
html.lm-motion .lm-ruled-center > div > :nth-child(3) { animation-delay: .18s; }
html.lm-motion .lm-ruled-center > div > :nth-child(n+4) { animation-delay: .28s; }
@keyframes lmRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---- Scroll reveal ---- */
html.lm-motion [data-reveal] { transition: opacity .8s var(--lm-ease), transform .8s var(--lm-ease); transition-delay: calc(var(--i, 0) * 80ms); }
html.lm-motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* ---- Header ---- */
.lm-header { box-shadow: none !important; transition: box-shadow .3s, border-color .3s; border-bottom-color: transparent !important; }
.lm-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(5,66,110,.35) !important; border-bottom-color: rgba(5,66,110,.08) !important; }
.lm-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.lm-progress span { display: block; height: 100%; background: var(--lm-grad); transform-origin: left; transform: scaleX(var(--p, 0)); border-radius: 0 3px 3px 0; }
.lm-header.has-progress.is-scrolled .lm-progress { opacity: 1; }
header nav[aria-label="Main"] > a:not([aria-label]) { position: relative; }
header nav[aria-label="Main"] > a:not([aria-label])::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--lm-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--lm-ease); }
header nav[aria-label="Main"] > a:not([aria-label]):hover::after, header nav[aria-label="Main"] > a.nav-active::after { transform: scaleX(1); }
header nav[aria-label="Main"] > a.nav-active { color: var(--lm-navy) !important; }
#lm-auth > a[href^="/login"] { box-shadow: 0 4px 0 var(--lm-mint-deep) !important; border-radius: 12px; transition: transform .18s var(--lm-ease), box-shadow .18s; }
#lm-auth > a[href^="/login"]:hover { transform: translateY(-1px); }
#lm-auth > a[href^="/login"]:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lm-mint-deep) !important; }

/* ---- Small responses ---- */
.lm-faq summary::after { transition: transform .3s var(--lm-ease), background-color .3s, color .3s; }
html.lm-motion .whatsapp-float { animation: lmNudge 1.6s 7s var(--lm-ease) 2; }
@keyframes lmNudge { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---- Typography helpers ---- */
.lm-h2 { text-wrap: balance; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 900; color: var(--lm-navy); }
.lm-sub { color: #46657d; font-size: 17px; line-height: 1.6; max-width: 36em; }
.lm-band-mist { background: var(--lm-mist); }

/* ======================================================================
 * Home
 * ====================================================================== */
.lm-hero { padding: 56px 0 88px; }
@media (min-width: 1024px) { .lm-hero { padding: 84px 0 112px; } }
.lm-hero-wash { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(38% 55% at 82% 38%, rgba(12,216,177,.22), transparent 70%),
  radial-gradient(30% 45% at 98% 88%, rgba(123,97,255,.16), transparent 70%),
  radial-gradient(28% 40% at 58% 4%, rgba(255,178,36,.18), transparent 70%),
  radial-gradient(30% 50% at 2% 100%, rgba(61,123,255,.12), transparent 70%); }
.lm-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--lm-navy); background: #fff; padding: 8px 14px 8px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(5,66,110,.12), 0 6px 18px -10px rgba(5,66,110,.35); }
.lm-kicker-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--lm-accent); box-shadow: 0 0 0 4px rgba(12,216,177,.25); }
html.lm-motion .lm-kicker-dot { animation: lmPulse 2.4s ease-in-out infinite; }
@keyframes lmPulse { 50% { box-shadow: 0 0 0 8px rgba(12,216,177,0); } }
.lm-hero h1 { text-wrap: balance; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.04em; font-weight: 900; color: var(--lm-navy); }
.lm-mark { position: relative; white-space: nowrap; padding: 0 .12em; margin: 0 -.06em; background: linear-gradient(transparent 58%, rgba(12,216,177,.55) 58%, rgba(12,216,177,.55) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; }
html.lm-motion .lm-mark { animation: lmMark 1s .75s var(--lm-ease) both; }
@keyframes lmMark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.lm-hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: #3f5f78; max-width: 34em; }
.lm-hero .lm-b { font-size: 17px; }
.lm-hero-facts { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.lm-hero-facts .lm-stat { padding: 8px 14px 8px 10px; background: var(--c-tint); border: 0; border-radius: 999px; text-align: left; display: inline-flex; align-items: center; gap: 8px; }
.lm-hero-facts .lm-stat-value { font-size: 1.05rem; color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: #fff; }
.lm-hero-facts .lm-stat-value i { font-size: .9rem; color: var(--c-ink); }
.lm-hero-facts .lm-stat-label { margin: 0; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 800; color: var(--c-ink); }
@media (max-width: 1023px) { .lm-hero-facts { justify-content: center; } }

.lm-hero-art { position: relative; padding: 34px 10px; }
.lm-ring { position: absolute; z-index: 0; width: min(560px, 110%); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .9; pointer-events: none; }
html.lm-motion .lm-ring { animation: lmSpin 60s linear infinite; }
@keyframes lmSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.lm-sticker { position: absolute; z-index: 3; font-weight: 900; font-size: 15px; color: var(--c-ink); background: var(--c-tint); padding: 9px 14px; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--c), 0 10px 24px -12px rgba(5,66,110,.45); transform: translate(var(--px, 0), var(--py, 0)) rotate(var(--r, 0deg)); transition: transform .5s var(--lm-ease); white-space: nowrap; }
html.lm-motion .lm-sticker { animation: lmBob 6s ease-in-out infinite; }
.lm-sticker:nth-of-type(2) { animation-delay: -1.5s !important; } .lm-sticker:nth-of-type(3) { animation-delay: -3s !important; } .lm-sticker:nth-of-type(4) { animation-delay: -4.5s !important; }
@keyframes lmBob { 50% { translate: 0 -8px; } }
@media (max-width: 640px) { .lm-sticker { font-size: 12px; padding: 6px 10px; } .lm-ring { width: 120%; } }
.lm-note { position: absolute; z-index: 3; right: 6%; bottom: -26px; font-family: 'Caveat', cursive; font-weight: 700; font-size: 28px; color: #E04C37; transform: rotate(-6deg); display: none; pointer-events: none; }
.lm-note-arrow { position: absolute; width: 58px; height: 58px; left: -62px; top: -40px; transform: rotate(-8deg); fill: none; stroke: #E04C37; stroke-width: 2.4; stroke-linecap: round; }
.lm-note-arrow .lm-note-head { fill: #E04C37; stroke-width: 1; }
html.lm-motion .lm-note-arrow path:first-child { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lmDraw 1s 2.6s var(--lm-ease) forwards; }
html.lm-motion .lm-note-arrow .lm-note-head, html.lm-motion .lm-note > span { opacity: 0; animation: lmFade .3s 3.4s forwards; }
html.lm-motion .lm-note { opacity: 0; animation: lmFade .5s 2.4s forwards; }
@keyframes lmDraw { to { stroke-dashoffset: 0; } }
@keyframes lmFade { to { opacity: 1; } }
@media (min-width: 1180px) { .lm-note { display: block; } }

/* The live journal entry */
.lm-ledger-wrap { position: relative; z-index: 2; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .6s var(--lm-ease); }
.lm-ledger-wrap::before { content: ""; position: absolute; inset: 16px -14px -14px 14px; border-radius: 26px; background: var(--lm-grad); z-index: -1; opacity: .9; }
.lm-ledger { position: relative; background: #fff; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(5,66,110,.45), inset 0 0 0 1px rgba(5,66,110,.1); padding: 22px 22px 18px; font-variant-numeric: tabular-nums; }
.lm-ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lm-ledger-title { font-weight: 900; color: var(--lm-navy); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.lm-ledger-title i { color: var(--lm-accent-hover); }
.lm-ledger-tabs { display: inline-flex; background: #eef3f7; border-radius: 12px; padding: 4px; gap: 2px; }
.lm-ledger-tabs button { border: 0; background: transparent; font: inherit; font-size: 12.5px; font-weight: 800; color: #5b7790; padding: 7px 11px; border-radius: 9px; cursor: pointer; position: relative; overflow: hidden; transition: color .2s, background-color .2s; }
.lm-ledger-tabs button[data-k="gst"] { --c: #FFB224; } .lm-ledger-tabs button[data-k="tds"] { --c: #7B61FF; } .lm-ledger-tabs button[data-k="pf"] { --c: #3D7BFF; }
.lm-ledger-tabs button[aria-selected="true"] { background: #fff; color: var(--lm-navy); box-shadow: 0 1px 4px rgba(5,66,110,.14); }
.lm-ledger-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--c); transform-origin: left; transform: scaleX(var(--t, 1)); }
.lm-ledger-narr { margin: 14px 0 10px; font-size: 13px; color: #5b7790; line-height: 1.5; min-height: 2.9em; }
.lm-ledger table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lm-ledger th { font-size: 11px; font-weight: 800; color: #7a93a8; text-align: left; padding: 8px 0; border-bottom: 1px solid var(--lm-border); }
.lm-ledger th:not(:first-child), .lm-ledger td:not(:first-child) { text-align: right; width: 26%; }
.lm-ledger td { padding: 9px 0; border-bottom: 1px dashed rgba(5,66,110,.1); color: #0b2f4a; font-weight: 600; white-space: nowrap; }
.lm-ledger td:first-child { white-space: normal; padding-right: 8px; }
.lm-ledger tr.is-cr td:first-child { padding-left: 22px; color: #3f5f78; }
.lm-ledger td.lm-amt-dr, .lm-ledger td.lm-amt-cr { font-weight: 800; color: var(--lm-navy); }
.lm-ledger tr.is-dr td.lm-amt-dr { color: #1D4DC4; } .lm-ledger tr.is-cr td.lm-amt-cr { color: #036B57; }
.lm-ledger tfoot td, .lm-ledger tfoot th { border-bottom: 0; padding-top: 10px; font-size: 14px; color: var(--lm-navy); font-weight: 900; }
.lm-ledger tfoot th { font-size: 12px; }
.lm-total { position: relative; display: inline-block; padding-bottom: 5px; }
.lm-total::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-top: 1.5px solid var(--lm-navy); border-bottom: 1.5px solid var(--lm-navy); transform-origin: right; transform: scaleX(var(--u, 1)); transition: transform .5s var(--lm-ease); }
.lm-ledger-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lm-border); font-size: 12px; }
.lm-balanced { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; color: #036B57; background: #DCFAF3; border-radius: 999px; padding: 5px 10px 5px 6px; transition: opacity .3s, transform .45s var(--lm-ease); }
.lm-balanced i { width: 18px; height: 18px; border-radius: 999px; background: var(--lm-accent); color: var(--lm-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.lm-ledger:not(.is-balanced) .lm-balanced { opacity: 0; transform: scale(.85); }
.lm-ledger-foot a { margin-left: auto; text-align: right; font-weight: 800; color: var(--lm-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(5,66,110,.3); }
.lm-ledger-foot a:hover { text-decoration-color: var(--lm-accent); }
.lm-ledger tr.is-pending { visibility: hidden; }
.lm-ledger tr.lm-spacer td { border-bottom-color: transparent; }
.lm-ledger tr.lm-row-in { animation: lmRow .55s var(--lm-ease) both; }
@keyframes lmRow { from { opacity: 0; transform: translateX(-10px); background: rgba(12,216,177,.12); } to { opacity: 1; transform: none; background: transparent; } }
html.lm-motion .lm-ledger:not(.is-live) tbody, html.lm-motion .lm-ledger:not(.is-live) tfoot td { visibility: hidden; }
@media (max-width: 480px) { .lm-ledger { padding: 18px 14px 14px; } .lm-ledger table { font-size: 13px; } .lm-ledger tr.is-cr td:first-child { padding-left: 14px; } .lm-ledger-wrap::before { inset: 12px -8px -8px 8px; } }

/* Forms band */
.lm-forms { padding: 56px 0 60px; background: var(--lm-ink); color: #fff; position: relative; overflow: hidden; }
.lm-forms::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 120% at 100% 0%, rgba(12,216,177,.22), transparent 70%), radial-gradient(35% 120% at 0% 100%, rgba(123,97,255,.22), transparent 70%); pointer-events: none; }
.lm-forms-head { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.lm-forms-title { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 900; letter-spacing: -.02em; color: #fff; }
.lm-forms-link { font-weight: 800; color: var(--lm-accent); display: inline-flex; align-items: center; gap: 8px; }
.lm-forms-link:hover { color: #fff; }
.lm-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lm-marquee + .lm-marquee { margin-top: 14px; }
.lm-marquee-track { display: flex; width: max-content; gap: 14px; padding: 4px 0; }
.lm-marquee-track li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font-weight: 800; font-size: 16px; color: #fff; white-space: nowrap; }
.lm-marquee-track li i { width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--c); color: var(--lm-ink); font-size: 14px; }
.lm-marquee-track li small { font-weight: 600; font-size: 13px; color: rgba(255,255,255,.6); }
html.lm-motion .lm-marquee.is-ready .lm-marquee-track { animation: lmMarquee var(--dur, 60s) linear infinite; }
html.lm-motion .lm-marquee.is-reverse.is-ready .lm-marquee-track { animation-direction: reverse; }
.lm-marquee:hover .lm-marquee-track, .lm-marquee:focus-within .lm-marquee-track { animation-play-state: paused !important; }
@keyframes lmMarquee { to { transform: translateX(-50%); } }
html:not(.lm-motion) .lm-marquee { -webkit-mask-image: none; mask-image: none; }
html:not(.lm-motion) .lm-marquee-track { flex-wrap: wrap; justify-content: center; width: auto; max-width: 80rem; margin: 0 auto; padding: 0 16px; }

/* Track tiles (bento) */
.lm-bento { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .lm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lm-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lm-tile-wide, .lm-tile-all { grid-column: span 2; } }
.lm-tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 10px; min-height: 210px; padding: 26px 26px 76px; border-radius: 28px; background: var(--c-tint); color: var(--c-ink); transition: transform .45s var(--lm-ease), box-shadow .45s var(--lm-ease); }
.lm-tile:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 26px 40px -24px var(--c-deep); }
.lm-tile-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 5px 0 var(--c-deep); }
[data-category="tax"] .lm-tile-icon, .lm-tile[data-category="tax"] .lm-tile-icon { color: #4a2c00; }
.lm-tile-name { font-size: 1.45rem; line-height: 1.15; font-weight: 900; letter-spacing: -.02em; color: var(--c-ink); margin-top: 6px; }
.lm-tile-text { font-size: 15px; line-height: 1.55; color: var(--c-ink); opacity: .85; max-width: 24em; }
.lm-tile-go { position: absolute; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 999px; background: #fff; color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; transition: background-color .3s, color .3s, transform .45s var(--lm-ease); }
.lm-tile:hover .lm-tile-go { background: var(--c-ink); color: #fff; transform: scale(1.08); }
.lm-tile-bg { position: absolute; right: -18px; bottom: -26px; font-size: 150px; color: var(--c); opacity: .16; z-index: -1; transform: rotate(-12deg); transition: transform .8s var(--lm-ease); }
.lm-tile:hover .lm-tile-bg { transform: rotate(0deg) scale(1.06); }
.lm-tile-wide { background: linear-gradient(160deg, #FFE7B8 0%, var(--c-tint) 55%); }
@media (min-width: 1024px) { .lm-tile-wide .lm-tile-name { font-size: 2.1rem; } .lm-tile-wide .lm-tile-bg { font-size: 220px; } }
.lm-tile-all { background: var(--lm-grad); color: #fff; justify-content: center; min-height: 180px; }
.lm-tile-all .lm-tile-name { color: #fff; font-size: 1.9rem; }
.lm-tile-all .lm-tile-text { color: rgba(255,255,255,.85); }
.lm-tile-all::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(255,255,255,.09) 35px 36px); }
.lm-tile-all .lm-tile-go { color: var(--lm-navy); background: var(--lm-accent); }
.lm-tile-all:hover .lm-tile-go { background: #fff; color: var(--lm-navy); }

/* Steps path */
.lm-steps { position: relative; display: grid; grid-template-columns: 1fr; gap: 18px; }
.lm-step { position: relative; padding: 24px 22px 24px 86px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px rgba(5,66,110,.08); }
.lm-step-node { position: absolute; left: 20px; top: 22px; width: 50px; height: 50px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px rgba(5,66,110,.16); color: var(--lm-navy); display: flex; align-items: center; justify-content: center; font-size: 19px; z-index: 1; transition: background-color .5s, box-shadow .5s, color .5s, transform .5s var(--lm-ease); }
.lm-steps.is-in .lm-step-node { background: var(--c); box-shadow: 0 5px 0 var(--c-deep); color: #fff; transition-delay: calc(var(--i, 0) * 260ms + 200ms); }
.lm-step[data-category="tax"] .lm-step-node { color: #4a2c00 !important; }
.lm-step h3 { font-size: 1.2rem; font-weight: 900; color: var(--lm-navy); }
.lm-step h3 span { color: var(--c-deep); margin-right: 8px; font-variant-numeric: tabular-nums; }
.lm-step p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: #4f6c83; max-width: 30em; }
.lm-steps::before, .lm-steps::after { content: ""; position: absolute; left: 44px; top: 30px; bottom: 30px; width: 3px; border-radius: 3px; background: rgba(5,66,110,.1); z-index: 0; }
.lm-steps::after { background: linear-gradient(#0CD8B1, #3D7BFF, #FFB224, #7B61FF); transform-origin: top; transform: scaleY(0); transition: transform 1.3s var(--lm-ease) .15s; }
.lm-steps.is-in::after { transform: scaleY(1); }
.lm-step { z-index: 1; }
@media (min-width: 1024px) {
  .lm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .lm-step { padding: 92px 24px 28px; }
  .lm-step-node { left: 24px; top: 24px; }
  .lm-steps::before, .lm-steps::after { left: 48px; right: 48px; top: 48px; bottom: auto; width: auto; height: 3px; }
  .lm-steps::after { background: linear-gradient(90deg, #0CD8B1, #3D7BFF, #FFB224, #7B61FF); transform-origin: left; transform: scaleX(0); }
  .lm-steps.is-in::after { transform: scaleX(1); }
  .lm-step { background: transparent; box-shadow: none; }
  .lm-step::before { content: ""; position: absolute; inset: 0; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px rgba(5,66,110,.08); z-index: -2; }
  .lm-steps { isolation: isolate; }
  .lm-steps::before, .lm-steps::after { z-index: -1; }
}
html:not(.lm-motion) .lm-step-node { background: var(--c); box-shadow: 0 5px 0 var(--c-deep); color: #fff; }
html:not(.lm-motion) .lm-steps::after { transform: none; }
html.lm-motion .lm-step { transition: opacity .7s var(--lm-ease), transform .7s var(--lm-ease); transition-delay: calc(var(--i, 0) * 260ms + 150ms); }
html.lm-motion .lm-steps:not(.is-in) .lm-step { opacity: 0; transform: translateY(14px); }

/* Course cards: coloured by track */
.lm-course-card { border: 0; box-shadow: inset 0 0 0 1px rgba(5,66,110,.1); border-radius: 24px; transition: box-shadow .35s var(--lm-ease), transform .35s var(--lm-ease); }
.lm-course-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 2px var(--c), 0 26px 40px -26px var(--c-deep); }
.lm-course-card .lm-thumb { overflow: hidden; height: 184px; background: var(--c); }
.lm-course-card .lm-thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--c); }
.lm-course-card .lm-thumb img { opacity: 1; transition: transform .9s var(--lm-ease); }
.lm-course-card:hover .lm-thumb img { transform: scale(1.05); }
.lm-course-card .lm-thumb .lm-hours { background: rgba(4,38,63,.78); backdrop-filter: blur(6px); border-radius: 999px; padding: 4px 11px; font-weight: 700; }
.lm-course-card .lm-thumb .lm-badge { background: var(--lm-accent); border-radius: 999px; }
.lm-course-card .lm-meta { align-items: center; gap: 8px; }
.lm-course-card .lm-meta > span:first-child:not(.lm-cat) i { color: var(--c-deep) !important; }
.lm-cat, .lm-course-card .lm-meta > span:last-child:not(:first-child) { font-weight: 800; }
.lm-cat { display: inline-flex; align-items: center; gap: 6px; background: var(--c-tint); color: var(--c-ink); padding: 4px 10px; border-radius: 999px; font-size: 11.5px; }
.lm-cat::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--c); }
.lm-course-card .lm-meta > span:last-child:not(:first-child):not(.lm-cat) { color: var(--c-ink); background: var(--c-tint); padding: 4px 10px; border-radius: 999px; font-size: 11.5px; }
.lm-course-card h3 a { background-image: linear-gradient(var(--c), var(--c)); background-size: 0 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .45s var(--lm-ease); }
.lm-course-card:hover h3 a { background-size: 100% 3px; }
.lm-course-card .lm-price { color: var(--lm-navy); }
.lm-post-card { border: 0; box-shadow: inset 0 0 0 1px rgba(5,66,110,.1); border-radius: 24px; transition: box-shadow .35s var(--lm-ease), transform .35s var(--lm-ease); }
.lm-post-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--lm-accent), 0 24px 40px -26px rgba(5,66,110,.5); }
.lm-grid > .lm-post-card:nth-child(6n+1) { --c: #0CD8B1; } .lm-grid > .lm-post-card:nth-child(6n+2) { --c: #3D7BFF; } .lm-grid > .lm-post-card:nth-child(6n+3) { --c: #FFB224; }
.lm-grid > .lm-post-card:nth-child(6n+4) { --c: #7B61FF; } .lm-grid > .lm-post-card:nth-child(6n+5) { --c: #FF6B57; } .lm-grid > .lm-post-card:nth-child(6n) { --c: #F0529C; }
.lm-post-card { border-top: 6px solid var(--c); }

/* Category chips on /courses */
nav[aria-label="Course categories"] .lm-chip { font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 0; background: var(--c-tint, #f1f5f9); color: var(--c-ink, var(--lm-navy)); font-weight: 800; transition: transform .2s var(--lm-ease), box-shadow .2s; }
nav[aria-label="Course categories"] .lm-chip:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--c, rgba(5,66,110,.2)); }

nav[aria-label="Course categories"] .lm-chip[aria-current] { background: var(--c); color: #fff; box-shadow: 0 4px 0 var(--c-deep); }
nav[aria-label="Course categories"] .lm-chip[data-category="tax"][aria-current] { color: #4a2c00; }

/* Course page (functions/lib/pages.js → coursePage), tinted by the course's track colour.
 * Layout: header band + content on the left, the fee card on the right (sticky on desktop).
 * Signature: the fee is set out like a ledger calculation with a double-underlined total. */
.lm-answer { border-radius: 18px; }
.lm-cp { position: relative; isolation: isolate; overflow-x: clip; }
.lm-cp-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "aside" "main"; column-gap: 56px; }
@media (min-width: 1024px) {
  .lm-cp-grid { grid-template-columns: minmax(0, 1fr) 372px; grid-template-areas: "hero aside" "main aside"; }
  .lm-cp-aside { padding-top: 92px; }
  .lm-cp-card { position: sticky; top: 104px; }
}
@media (min-width: 1280px) { .lm-cp-grid { column-gap: 72px; } }

/* Header band: ledger paper with the track colour, running the full width behind the fee card */
.lm-cp-hero { grid-area: hero; position: relative; padding: 28px 0 40px; }
@media (min-width: 1024px) { .lm-cp-hero { padding: 32px 0 56px; } }
.lm-cp-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: -100vw; right: -100vw; z-index: -1; pointer-events: none;
  border-bottom: 1px solid rgba(5,66,110,.08);
  background:
    repeating-linear-gradient(to bottom, transparent 0 35px, var(--lm-rule) 35px 36px),
    radial-gradient(45% 120% at 72% 0%, color-mix(in srgb, var(--c-tint) 90%, transparent), transparent 70%),
    linear-gradient(180deg, #fff, var(--lm-mist)); }
.lm-cp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; font-size: 14px; font-weight: 700; color: #46657d; }
.lm-cp-track { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 10px; border-radius: 999px; background: var(--c-tint); color: var(--c-ink); font-weight: 800; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); }
.lm-cp-track::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--c); }
.lm-cp-track:hover { background: #fff; }
.lm-cp-level i { color: var(--c-deep); margin-right: 4px; }
.lm-cp-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--lm-navy); }
.lm-cp-rating span:last-child { color: #46657d; font-weight: 600; }
.lm-cp-rating:hover strong { text-decoration: underline; }
.lm-cp-stars { color: #F5A524; letter-spacing: 1px; } .lm-cp-stars span { color: #cfdbe5; }
.lm-cp-hero h1 { margin-top: 16px; max-width: 15em; text-wrap: balance; font-size: clamp(2.15rem, 4.6vw, 3.6rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 900; color: var(--lm-navy); }
.lm-cp-lead { margin-top: 18px; max-width: 38em; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.65; font-weight: 500; color: #3f5f78; }
.lm-cp-stats { display: flex; flex-wrap: wrap; margin-top: 26px; gap: 10px 0; }
.lm-cp-stats li { display: inline-flex; align-items: center; gap: 9px; padding: 0 20px; font-size: 15px; font-weight: 600; color: #3f5f78; border-left: 1px solid rgba(5,66,110,.14); }
.lm-cp-stats li:first-child { padding-left: 0; border-left: 0; }
.lm-cp-stats i { color: var(--c-deep); font-size: 15px; }
.lm-cp-stats strong { font-weight: 900; color: var(--lm-navy); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .lm-cp-stats { gap: 10px 20px; } .lm-cp-stats li { padding: 0; border-left: 0; font-size: 14.5px; } }

/* Fee card */
.lm-cp-aside { grid-area: aside; position: relative; z-index: 2; }
.lm-cp-card { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -32px rgba(5,66,110,.5), 0 0 0 1px rgba(5,66,110,.08); }
.lm-cp-thumb { position: relative; height: 150px; background: var(--c); }
@media (max-width: 1023px) { .lm-cp-thumb { display: none; } }
.lm-cp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-cp-thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--c); }
.lm-cp-card-body { padding: 22px 24px 20px; }
.lm-cp-fee { font-variant-numeric: tabular-nums; }
.lm-cp-fee > div { display: flex; align-items: baseline; gap: 12px; padding: 5px 0; font-size: 14px; color: #3f5f78; }
.lm-cp-fee dt { display: flex; align-items: baseline; gap: 8px; flex: 1; min-width: 0; }
.lm-cp-fee dt::after { content: ""; flex: 1; min-width: 12px; border-bottom: 1.5px dotted rgba(5,66,110,.28); transform: translateY(-4px); }
.lm-cp-fee dd { font-weight: 700; color: var(--lm-navy); white-space: nowrap; }
.lm-cp-fee .is-save, .lm-cp-fee .is-save dd { color: #036B57; }
.lm-cp-fee-total { align-items: center !important; margin-top: 6px; padding-top: 12px !important; border-top: 1.5px solid var(--lm-navy); }
.lm-cp-fee > .lm-cp-fee-total:first-child { margin-top: 0; padding-top: 0 !important; border-top: 0; }
.lm-cp-fee-total dt { font-size: 15px; font-weight: 900; color: var(--lm-navy); }
.lm-cp-fee-total dt::after { display: none; }
.lm-cp-fee-total dd { font-size: 2.1rem; line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.lm-cp-fee-total .lm-total { padding-bottom: 7px; }
.lm-cp-fee-total .lm-total::after { height: 5px; border-top-width: 2px; border-bottom-width: 2px; }
html.lm-motion .lm-cp-fee-total .lm-total::after { animation: lmCpUnder .7s .45s var(--lm-ease) both; }
@keyframes lmCpUnder { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lm-cp-fee-note { margin-top: 8px; font-size: 13px; color: #5b7790; text-align: right; }
.lm-cp-actions { display: grid; gap: 12px; margin-top: 18px; }
.lm-cp-actions .lm-btn { padding: 15px 18px; font-size: 15px; }
.lm-cp-ask { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border-top: 1px solid var(--lm-border); }
.lm-cp-ask a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 6px 3px; font-size: 13.5px; font-weight: 800; color: var(--lm-navy); }
.lm-cp-ask a + a { border-left: 1px solid var(--lm-border); }
.lm-cp-ask a:hover { color: var(--lm-mint-deep); }
.lm-cp-ask .fa-whatsapp { color: #1fae55; font-size: 16px; }
.lm-cp-small { margin-top: 14px; font-size: 12px; line-height: 1.5; color: #5b7790; text-align: center; }
.lm-cp-small a { text-decoration: underline; text-underline-offset: 2px; }

/* Content column */
.lm-cp-main { grid-area: main; min-width: 0; padding-bottom: 72px; }
.lm-cp-nav { position: sticky; top: 64px; z-index: 5; display: flex; gap: 4px; margin: 0 -4px; padding: 10px 4px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--lm-border); overflow-x: auto; scrollbar-width: none; }
.lm-cp-nav::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .lm-cp-nav { top: 80px; } }
.lm-cp-nav a { position: relative; padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 800; color: #5b7790; white-space: nowrap; transition: color .2s, background-color .2s; }
.lm-cp-nav a:hover { color: var(--lm-navy); background: var(--lm-mist); }
.lm-cp-nav a[aria-current] { color: var(--lm-navy); }
.lm-cp-nav a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -11px; height: 3px; border-radius: 3px 3px 0 0; background: var(--c); }
.lm-cp-section { padding-top: 56px; scroll-margin-top: 130px; }
@media (min-width: 768px) { .lm-cp-section { scroll-margin-top: 150px; } }
.lm-cp-section h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 900; color: var(--lm-navy); text-wrap: balance; }
.lm-cp-section h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 900; color: var(--lm-navy); }
.lm-cp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.lm-cp-head p { margin-top: 6px; font-size: 15px; color: #5b7790; font-weight: 600; }

/* What you will learn */
.lm-cp-learn { display: grid; grid-template-columns: 1fr; gap: 0 32px; margin-top: 20px; }
@media (min-width: 768px) { .lm-cp-learn { grid-template-columns: 1fr 1fr; } }
.lm-cp-learn li { position: relative; padding: 13px 0 13px 36px; border-bottom: 1px solid var(--lm-border); font-size: 15.5px; line-height: 1.5; font-weight: 700; color: var(--lm-navy); }
.lm-cp-learn li::before { content: ""; position: absolute; left: 0; top: 13px; width: 24px; height: 24px; border-radius: 999px; background: var(--c-tint); }
.lm-cp-learn li::after { content: ""; position: absolute; left: 8px; top: 18px; width: 8px; height: 12px; border: solid var(--c-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* How the course works: a four-step sequence */
.lm-cp-steps { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 36px; counter-reset: cpstep; }
@media (min-width: 640px) { .lm-cp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lm-cp-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: start; padding: 16px; border-radius: 18px; background: var(--lm-mist); counter-increment: cpstep; }
.lm-cp-steps i { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--c-ink); font-size: 16px; box-shadow: 0 3px 0 rgba(5,66,110,.1); }
.lm-cp-steps strong { font-size: 15px; font-weight: 900; color: var(--lm-navy); line-height: 1.3; }
.lm-cp-steps strong::before { content: counter(cpstep) ". "; color: var(--c-deep); font-variant-numeric: tabular-nums; }
.lm-cp-section > h2 + .lm-cp-steps { margin-top: 20px; }
.lm-cp-steps span { margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: #5b7790; }

/* About + who it's for */
.lm-cp-about { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
@media (min-width: 900px) { .lm-cp-about { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.lm-cp-about .lm-prose h3 { margin-top: 0; font-size: 1.2rem; font-weight: 900; }
.lm-cp-about .lm-prose { max-width: 40em; }
.lm-cp-for { padding: 22px 22px 20px; border-radius: 20px; background: var(--c-tint); color: var(--c-ink); }
.lm-cp-for h3 { color: var(--c-ink); font-size: 1.05rem; }
.lm-cp-for ul { margin-top: 12px; }
.lm-cp-for li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; font-weight: 600; }
.lm-cp-for li + li { margin-top: 10px; }
.lm-cp-for li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 999px; background: var(--c); }

/* At a glance: a ledger of facts with dotted leaders */
.lm-cp-glance { margin-top: 44px; }
.lm-cp-glance dl { display: grid; grid-template-columns: 1fr; column-gap: 40px; margin-top: 14px; border-top: 1.5px solid var(--lm-navy); }
@media (min-width: 768px) { .lm-cp-glance dl { grid-template-columns: 1fr 1fr; } }
.lm-cp-glance dl > div { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--lm-border); font-size: 15px; }
.lm-cp-glance dt { display: flex; align-items: baseline; gap: 10px; flex: 1 0 auto; color: #5b7790; font-weight: 600; }
.lm-cp-glance dt::after { content: ""; flex: 1; min-width: 16px; border-bottom: 1.5px dotted rgba(5,66,110,.22); transform: translateY(-4px); }
.lm-cp-glance dd { max-width: 70%; text-align: right; font-weight: 800; color: var(--lm-navy); }
.lm-cp-glance dd s { font-weight: 500 !important; }

/* Syllabus: chapters written on ledger paper, numbered in the margin */
.lm-cp-expand { flex-shrink: 0; padding: 9px 14px; border-radius: 10px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(5,66,110,.18); font: inherit; font-size: 13.5px; font-weight: 800; color: var(--lm-navy); cursor: pointer; transition: box-shadow .2s; }
.lm-cp-expand:hover { box-shadow: inset 0 0 0 1.5px var(--lm-navy); }
.lm-cp-syllabus { position: relative; margin-top: 20px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px rgba(5,66,110,.12); overflow: hidden; }
.lm-cp-syllabus::before { content: ""; position: absolute; top: 0; bottom: 0; left: 62px; width: 4px; border-left: 1.5px solid color-mix(in srgb, var(--c) 55%, transparent); border-right: 1.5px solid color-mix(in srgb, var(--c) 55%, transparent); pointer-events: none; z-index: 1; }
.lm-cp-syllabus > p { padding: 22px 24px; font-size: 15px; color: #46657d; }
.lm-cp-syllabus:has(> p)::before { display: none; }
.lm-cp-syllabus > p a { font-weight: 800; color: var(--lm-navy); text-decoration: underline; text-underline-offset: 3px; }
.lm-cp-syllabus .lm-chapter { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.lm-cp-syllabus .lm-chapter + .lm-chapter { margin-top: 0; border-top: 1px solid var(--lm-border); }
.lm-cp-syllabus .lm-chapter summary { gap: 0; padding: 18px 20px 18px 0; transition: background-color .2s; }
.lm-cp-syllabus .lm-chapter summary:hover { background: var(--lm-mist); }
.lm-cp-syllabus .lm-chapter[open] summary { background: transparent; border-bottom: 0; }
.lm-cp-syllabus .lm-chapter .lm-num { width: 62px; height: auto; border-radius: 0; background: none; color: var(--c-ink); font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; justify-content: center; }
.lm-cp-syllabus .lm-chapter .lm-ch-title { padding-left: 24px; font-size: 16.5px; line-height: 1.35; }
.lm-cp-syllabus .lm-chapter .lm-ch-meta { margin-left: 12px; font-size: 12.5px; color: #5b7790; }
.lm-cp-syllabus .lm-chapter summary::after { content: ""; flex-shrink: 0; width: 9px; height: 9px; margin: 0 4px 4px 16px; border: solid var(--lm-navy); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s var(--lm-ease); }
.lm-cp-syllabus .lm-chapter[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.lm-cp-syllabus .lm-chapter .lm-ch-body { padding: 0 24px 22px 86px; }
@media (min-width: 768px) { .lm-cp-syllabus .lm-ch-body { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; } .lm-cp-syllabus .lm-ch-body > .lm-ch-link, .lm-cp-syllabus .lm-ch-body > .lm-ch-list, .lm-cp-syllabus .lm-ch-body > .lm-ch-empty { grid-column: 1 / -1; } }
.lm-cp-syllabus .lm-sec h4 { margin: 4px 0 6px; font-size: 14px; font-weight: 800; color: var(--lm-navy); }
.lm-cp-syllabus .lm-chapter .lm-ch-body ul { list-style: none; padding: 0; margin: 0; }
.lm-cp-syllabus .lm-sec li, .lm-cp-syllabus .lm-ch-list li { position: relative; padding: 4px 0 4px 16px; font-size: 14px; line-height: 1.5; color: #46657d; }
.lm-cp-syllabus .lm-sec li::before, .lm-cp-syllabus .lm-ch-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 7px; height: 1.5px; background: var(--c-deep); }
.lm-cp-syllabus .lm-ch-list { columns: 2 220px; column-gap: 32px; }
.lm-cp-syllabus .lm-ch-link { margin-top: 8px; font-size: 14px; }
.lm-cp-syllabus .lm-ch-link a { font-weight: 800; color: var(--lm-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c); }
.lm-cp-syllabus .lm-ch-empty { font-size: 13.5px; color: #5b7790; }
@media (max-width: 640px) {
  .lm-cp-syllabus::before { left: 46px; }
  .lm-cp-syllabus .lm-chapter .lm-num { width: 46px; font-size: 13px; }
  .lm-cp-syllabus .lm-chapter .lm-ch-title { padding-left: 18px; font-size: 15.5px; }
  .lm-cp-syllabus .lm-chapter .lm-ch-body { padding: 0 18px 20px 68px; }
  .lm-cp-syllabus .lm-chapter .lm-ch-meta { display: none; }
}

/* Reviews */
.lm-cp-score { display: inline-flex; align-items: center; gap: 10px; margin: 0 !important; }
.lm-cp-score strong { font-size: 2rem; line-height: 1; font-weight: 900; color: var(--lm-navy); font-variant-numeric: tabular-nums; }
.lm-cp-score .lm-cp-stars { font-size: 18px; }
.lm-cp-score > span:last-child { font-size: 14px; }
.lm-cp-reviews { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
@media (min-width: 768px) { .lm-cp-reviews { grid-template-columns: 1fr 1fr; } }
.lm-cp-reviews figure { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(5,66,110,.1); }
.lm-cp-reviews blockquote { flex: 1; font-size: 15.5px; line-height: 1.65; color: #24445c; }
.lm-cp-reviews figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; font-weight: 800; color: var(--lm-navy); }
.lm-cp-reviews figcaption span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #036B57; }
.lm-cp-reviews figcaption i { color: var(--lm-accent-hover); }
.lm-cp-note { margin-top: 16px; font-size: 14px; color: #5b7790; }
.lm-cp-note a { font-weight: 800; color: var(--lm-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c); }

/* FAQ: a divided list rather than separate boxes */
.lm-cp-faq > div { margin-top: 14px; border-top: 1.5px solid var(--lm-navy); }
.lm-cp-faq .lm-faq { border-radius: 0; background: transparent; box-shadow: none; border-bottom: 1px solid var(--lm-border); }
.lm-cp-faq .lm-faq + .lm-faq { margin-top: 0; }
.lm-cp-faq .lm-faq[open] { box-shadow: none; }
.lm-cp-faq .lm-faq summary { padding: 18px 0; font-size: 16px; line-height: 1.45; }
.lm-cp-faq .lm-faq summary:hover { background: transparent; color: var(--c-ink); }
.lm-cp-faq .lm-faq summary::after { width: 30px; height: 30px; font-size: 18px; }
.lm-cp-faq .lm-faq[open] summary::after { background: var(--c); color: var(--lm-navy); }
[data-category="bundle"] .lm-cp-faq .lm-faq[open] summary::after { background: var(--lm-accent); }
.lm-cp-faq .lm-faq .lm-faq-a { padding: 0 48px 20px 0; max-width: 46em; }

/* Related courses */
.lm-cp-related { padding: 56px 0 72px; background: var(--lm-mist); border-top: 1px solid rgba(5,66,110,.06); }
.lm-cp-related .lm-cp-head { margin-bottom: 24px; align-items: center; }
.lm-cp-related h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); letter-spacing: -.025em; font-weight: 900; color: var(--lm-navy); }
.lm-cp-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--lm-navy); }
.lm-cp-all:hover { color: var(--lm-mint-deep); }

/* Small screens: fee bar once the fee card has scrolled away */
.lm-cp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -10px 30px -16px rgba(5,66,110,.4); border-top: 1px solid var(--lm-border); transform: translateY(110%); transition: transform .35s var(--lm-ease); }
.lm-cp-bar.is-on { transform: none; }
.lm-cp-bar > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; line-height: 1.15; }
.lm-cp-bar span { flex-basis: 100%; font-size: 12px; font-weight: 700; color: #5b7790; }
.lm-cp-bar strong { font-size: 1.35rem; font-weight: 900; color: var(--lm-navy); font-variant-numeric: tabular-nums; }
.lm-cp-bar s { font-size: 13px; color: #94a3b8; }
.lm-cp-bar .lm-btn { padding: 12px 16px; font-size: 14px; }
html.lm-cp-bar-on .whatsapp-float { bottom: 92px; }
@media (min-width: 1024px) { .lm-cp-bar { display: none; } html.lm-cp-bar-on .whatsapp-float { bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .lm-cp-bar { transition: none; } }

/* HTML sitemap */
.lm-sitemap { columns: 1; column-gap: 22px; }
@media (min-width: 768px) { .lm-sitemap { columns: 2; } }
@media (min-width: 1100px) { .lm-sitemap { columns: 3; } }
.lm-sm-block { break-inside: avoid; margin-bottom: 22px; padding: 24px; border-radius: 24px; background: var(--c-tint); color: var(--c-ink); }
.lm-sm-block h2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1.2rem; font-weight: 900; color: var(--c-ink); margin-bottom: 12px; }
.lm-sm-block h2 span { font-size: 12px; background: #fff; border-radius: 999px; padding: 3px 10px; }
.lm-sm-block li + li { margin-top: 8px; }
.lm-sm-block li a { font-size: 15px; font-weight: 600; color: var(--lm-navy); display: inline-flex; gap: 8px; }
.lm-sm-block li a::before { content: ""; width: 8px; height: 8px; margin-top: 7px; border-radius: 999px; background: var(--c); flex-shrink: 0; }
.lm-sm-block li a:hover { text-decoration: underline; text-decoration-color: var(--c); text-underline-offset: 3px; }
.lm-sm-block[data-category="bundle"] li a::before { background: var(--lm-accent); }

/* Testimonial */
.lm-quote { position: relative; background: #fff; border-radius: 32px; padding: 44px 36px 32px; box-shadow: inset 0 0 0 1px rgba(5,66,110,.08), 0 30px 60px -40px rgba(5,66,110,.5); overflow: hidden; }
.lm-quote::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 8px; background: var(--lm-grad); }
.lm-quote-mark { position: absolute; right: 24px; top: -18px; font-size: 180px; line-height: 1; font-weight: 900; color: rgba(12,216,177,.25); }
.lm-quote-avatar { width: 56px; height: 56px; border-radius: 999px; background: var(--lm-grad); color: #fff; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* FAQ */
.lm-faq { border: 0; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(5,66,110,.1); transition: box-shadow .3s; }
.lm-faq + .lm-faq { margin-top: 14px; }
.lm-faq summary { background: transparent; padding: 20px 22px; font-size: 16.5px; }
.lm-faq summary::after { content: "+"; width: 34px; height: 34px; border-radius: 999px; background: #eef3f7; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--lm-navy); }
.lm-faq[open] { box-shadow: inset 0 0 0 2px var(--lm-accent), 0 20px 40px -30px rgba(12,216,177,.8); }
.lm-faq[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--lm-accent); }
.lm-faq summary:hover { background: #f7fafc; }
.lm-faq .lm-faq-a { padding-top: 0; }
.lm-help { background: var(--c-tint); color: var(--c-ink); border-radius: 26px; padding: 26px; position: relative; overflow: hidden; }
.lm-help::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; background: var(--c); opacity: .25; border-radius: 999px; }
.lm-help-title { font-size: 1.3rem; font-weight: 900; }
.lm-help-text { margin-top: 6px; font-size: 15px; line-height: 1.55; }

/* Call to action panel */
.lm-cta-panel { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 6vw, 72px); background: var(--lm-grad); color: #fff; }
.lm-cta-panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(255,255,255,.08) 35px 36px); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); mask-image: linear-gradient(90deg, transparent 20%, #000 80%); }
.lm-cta-arrow { position: absolute; right: -2%; bottom: -14%; width: min(46%, 440px); height: auto; fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .32; }
.lm-cta-arrow .lm-note-head { fill: rgba(255,255,255,.9); stroke: none; }
html.lm-motion .lm-cta-arrow path:first-child { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--lm-ease) .2s; }
html.lm-motion .lm-cta-arrow .lm-note-head { opacity: 0; transition: opacity .4s 1.6s; }
html.lm-motion .lm-cta-panel.is-in .lm-cta-arrow path:first-child { stroke-dashoffset: 0; }
html.lm-motion .lm-cta-panel.is-in .lm-cta-arrow .lm-note-head { opacity: 1; }
@media (max-width: 767px) { .lm-cta-arrow { width: 70%; bottom: -8%; opacity: .2; } }

/* Newsletter card */
.lm-news { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; padding: 30px; border-radius: 28px; background: var(--c-tint); }
@media (min-width: 768px) { .lm-news { grid-template-columns: 1fr 1.1fr; padding: 36px 40px; } }

/* Footer */
.lm-footer { border-radius: 40px 40px 0 0; background: var(--lm-ink) !important; position: relative; overflow: hidden; }
.lm-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #0CD8B1, #3D7BFF, #7B61FF, #F0529C, #FF6B57, #FFB224); }
.lm-footer h2 { color: var(--lm-accent) !important; }
.lm-footer ul a { position: relative; transition: color .2s, padding-left .3s var(--lm-ease); }
.lm-footer ul a:hover { padding-left: 6px; color: #fff; }
.lm-footer-word { display: block; font-weight: 900; letter-spacing: -.05em; line-height: .8; font-size: clamp(64px, 15vw, 210px); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); text-align: center; user-select: none; margin-top: 8px; white-space: nowrap; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
