/* VisionOne Transformation Academy — design system
   Official VisionOne High Performance Group brand palette on the same RunmAi/Work
   chrome as vo-app-learning (Inter, green hero, pill nav) so the Academy reads as
   one product with the rest of the marketplace. Base tokens + chrome are kept
   identical to learning.css on purpose; Academy-only components start at
   "STOREFRONT" below. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root {
  --vo-green: #649954; --vo-green-deep: #4d7a40;
  --vo-blue: #0081B7;  --vo-blue-deep: #006591;
  --vo-purple: #74519A; --vo-yellow: #EBD417; --vo-red: #C73127;

  --brand: var(--vo-green); --brand2: var(--vo-green-deep);
  --bg: #f6f8fb; --surface: #ffffff; --panel: #f1f5f9;
  --line: #e5eaf1; --line2: #cbd5e1;
  --ink: #0f172a; --head: #1e293b; --text: #334155; --mut: #64748b; --dim: #94a3b8;
  --vo-gray: #D1D3D4;
  --ok: #649954; --warn: #b45309; --bad: #C73127;
  --radius: 16px; --radius-sm: 10px; --maxw: 1180px;
  --shadow: 0 1px 3px rgba(15,23,42,.05);
  --shadow-md: 0 4px 14px rgba(15,23,42,.08);
  --shadow-lg: 0 16px 38px rgba(15,23,42,.12);
  --f: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(820px 440px at 6% -12%, rgba(100,153,84,.07) 0%, transparent 58%),
    radial-gradient(820px 440px at 96% -10%, rgba(0,129,183,.07) 0%, transparent 58%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 14.5px/1.6 var(--f);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand2); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-family: var(--f); font-weight: 800; letter-spacing: -.02em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px 80px; }
.wrap.wide { max-width: 1400px; }
@view-transition { navigation: auto; }
.topbar { view-transition-name: voa-topbar; }
::view-transition-old(root) { animation: vtOut .18s ease both; }
::view-transition-new(root) { animation: vtIn .34s cubic-bezier(.22,1,.36,1) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
.brandmark { transition: opacity .15s ease; }
.brandmark:hover { opacity: .85; }
.muted { color: var(--mut); }
.dim { color: var(--dim); }

/* ── Icons ───────────────────────────────────────────────
   Monochrome inline SVG from js/icons.js. Sized by class, coloured by
   currentColor, so one icon works on a white card and a green hero alike. */
.ico { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -3px; }
.ico-sm { width: 14px; height: 14px; vertical-align: -2px; }
.ico-lg { width: 24px; height: 24px; vertical-align: -5px; }
.ico-xl { width: 30px; height: 30px; vertical-align: -7px; }
.ico-2x { width: 38px; height: 38px; }
/* Icons inside pill/chip/button flow: no baseline nudge, gap handles spacing. */
.chip .ico, .btn .ico, .topnav .ico, .voa-acct-item .ico, .voa-cart .ico { vertical-align: 0; }
.chip .ico { width: 14px; height: 14px; }
.btn .ico { width: 16px; height: 16px; }
.btn.sm .ico { width: 14px; height: 14px; }
.btn.lg .ico { width: 18px; height: 18px; }
/* An icon used as a standalone feature glyph above a heading. */
.feat-ico { color: var(--brand2); margin-bottom: 10px; display: block; }
.feat-ico.blue { color: var(--vo-blue-deep); }
.feat-ico.purple { color: var(--vo-purple); }
.feat-ico.gold { color: #a8931f; }

/* ── Top bar ─────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 800;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.topbar .inner { max-width: 1560px; margin: 0 auto; padding: 8px 12px; display: flex; align-items: center; gap: 7px; }
.brandmark { flex: none; display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 15px; }
.brandmark .logo-mark { height: 30px; width: auto; flex: none; }
.brandmark .prod { padding-left: 11px; border-left: 1px solid var(--line2); font-weight: 800; color: var(--ink); font-size: 15px; letter-spacing: -.01em; }

.topnav { flex: 1 1 auto; min-width: 0; display: flex; gap: 1px; align-items: center; justify-content: center; flex-wrap: wrap; row-gap: 4px; }
.topnav a {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 8px; font-size: 11.5px; font-weight: 600; color: #64748b;
  cursor: pointer; border-radius: 8px; white-space: nowrap; line-height: 1; user-select: none;
  transition: color .18s ease, background .18s ease, transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s ease;
}
.topnav a + a::before { content: ''; position: absolute; left: -3px; top: 50%; width: 1px; height: 14px; transform: translateY(-50%); background: #cbd5e1; opacity: .45; transition: opacity .18s ease; }
.topnav a:hover {
  color: var(--brand2); background: color-mix(in srgb, var(--brand) 11%, transparent);
  transform: translateY(-2px); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--brand) 55%, transparent);
}
.topnav a:hover::before, .topnav a:hover + a::before { opacity: 0; }
.topnav a:active { transform: translateY(0); }
.topnav a.active { color: var(--brand2); background: color-mix(in srgb, var(--brand) 13%, transparent); }
.topnav a.active:hover { background: color-mix(in srgb, var(--brand) 17%, transparent); }
.topnav a.active::before, .topnav a.active + a::before { display: none; }

.voa-viewas { display: flex; align-items: center; gap: 5px; flex: none; }
.voa-viewas label { font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.voa-viewas select {
  border: 1px solid var(--line2); border-radius: 999px; padding: 5px 9px; font: inherit; font-size: 12px;
  font-weight: 650; color: var(--ink); background: var(--surface); cursor: pointer; box-shadow: var(--shadow);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.voa-viewas select:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }

.topacct { flex: none; display: flex; align-items: center; gap: 7px; position: relative; }
.voa-avatar {
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff;
  font-weight: 800; font-size: 12.5px; font-family: var(--f);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  transition: box-shadow .15s ease, transform .15s ease;
}
.voa-avatar:hover { transform: translateY(-1px); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.voa-acct-menu {
  position: absolute; top: calc(100% + 9px); right: 0; min-width: 236px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 900;
}
.voa-acct-top { padding: 6px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.voa-acct-name { font-weight: 800; color: var(--ink); font-size: 13.5px; }
.voa-acct-sub { font-size: 11.5px; color: var(--mut); margin-top: 2px; }
.voa-acct-label { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 6px 10px 3px; }
.voa-acct-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  text-align: left; padding: 8px 10px; border-radius: 8px; font: inherit; font-size: 13px;
  font-weight: 650; color: var(--ink); background: none; border: none; cursor: pointer; text-decoration: none;
}
.voa-acct-item:hover { background: var(--panel); }
.voa-acct-div { height: 1px; background: var(--line); margin: 6px 0; }

/* cart pill in the top bar */
.voa-cart {
  flex: none; position: relative; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line2); background: var(--surface); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; font-weight: 750; color: var(--ink);
  box-shadow: var(--shadow); cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.voa-cart:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.voa-cart .n {
  min-width: 17px; height: 17px; border-radius: 999px; background: var(--vo-red); color: #fff;
  font-size: 10.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.demo-pill { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--vo-purple); background: #f3edfa; border: 1px solid #e3d7f2; padding: 4px 11px; border-radius: 999px; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  margin: 20px 0 22px; padding: 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand2) 0%, var(--brand) 55%, #7bad63 100%);
  box-shadow: var(--shadow-md); color: #fff;
}
.hero.tall { padding: 40px 34px; }
.hero.blue { background: linear-gradient(135deg, var(--vo-blue-deep) 0%, var(--vo-blue) 60%, #3aa5d0 100%); }
.hero.purple { background: linear-gradient(135deg, #5b3f7d 0%, var(--vo-purple) 60%, #9070b8 100%); }
.hero::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, transparent 62%); pointer-events: none;
}
.kicker { position: relative; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,.82); }
.hero h1 { position: relative; color: #fff; font-size: 27px; line-height: 1.14; margin: 9px 0 8px; font-weight: 800; }
.hero.tall h1 { font-size: 34px; }
.hero p.lead { position: relative; color: rgba(255,255,255,.9); max-width: 760px; font-size: 15px; }
.hero .hero-cta { position: relative; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero .btn.onhero { background: #fff; color: var(--brand2); border-color: transparent; }
.hero .btn.onhero.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }

/* ── Cards & grid ────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.card.pad-lg { padding: 22px 24px; }
.card h3 { font-size: 16px; font-weight: 750; }
.card .ch { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-title { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin: 30px 0 12px; }
.section-title .r { float: right; text-transform: none; letter-spacing: 0; font-weight: 650; }

/* ── KPI tile ────────────────────────────────────────── */
.kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi .num { font-size: 30px; font-weight: 820; color: var(--ink); letter-spacing: -.02em; }
.kpi .lab { font-size: 13px; color: var(--mut); font-weight: 600; }
.kpi .delta { font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.delta.good { color: var(--ok); } .delta.bad { color: var(--bad); } .delta.flat { color: var(--dim); }

/* ── Bars ────────────────────────────────────────────── */
.bar { height: 9px; border-radius: 999px; background: var(--panel); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand2)); transition: width .5s cubic-bezier(.22,1,.36,1); }
.bar.blue > i { background: linear-gradient(90deg, var(--vo-blue), var(--vo-blue-deep)); }
.bar.warn > i { background: linear-gradient(90deg, #e0a93b, var(--warn)); }
.bar.bad > i  { background: linear-gradient(90deg, #e06a62, var(--bad)); }
.bar.thin { height: 6px; }
.barrow { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; margin: 10px 0; }
.barrow .name { font-weight: 650; color: var(--head); font-size: 14px; }
.barrow .val { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--mut); font-size: 13px; min-width: 78px; text-align: right; }
.barrow .bar { grid-column: 1 / -1; }

/* ── Chips / badges ──────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: var(--panel); color: var(--mut); border: 1px solid var(--line); }
.chip.ok { background: #eaf5ec; color: var(--vo-green-deep); border-color: #cbe3c5; }
.chip.warn { background: #fdf3e3; color: var(--warn); border-color: #f0dcb6; }
.chip.bad { background: #fdeceb; color: var(--bad); border-color: #f3cdca; }
.chip.blue { background: #e6f3f9; color: var(--vo-blue-deep); border-color: #c5e3f0; }
.chip.disc { background: #f3edfa; color: var(--vo-purple); border-color: #e3d7f2; }
.chip.gold { background: #fffbe6; color: #8a7300; border-color: #efe3a3; }
.chip.sm { font-size: 10.5px; padding: 3px 8px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2);
  background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 17px; font: inherit;
  font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, opacity .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-color: transparent; }
.btn.blue { background: linear-gradient(135deg, var(--vo-blue), var(--vo-blue-deep)); color: #fff; border-color: transparent; }
.btn.purple { background: linear-gradient(135deg, var(--vo-purple), #5b3f7d); color: #fff; border-color: transparent; }
.btn.sm { padding: 6px 13px; font-size: 13px; }
.btn.lg { padding: 12px 24px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; box-shadow: none; }

/* ── Forms ───────────────────────────────────────────── */
.inp, textarea.inp, select.inp {
  width: 100%; border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 10px 13px;
  font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); box-shadow: var(--shadow);
}
.inp:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
textarea.inp { min-height: 96px; resize: vertical; line-height: 1.6; }
.field { margin-bottom: 14px; }
.field > label { display: block; font-size: 12px; font-weight: 750; color: var(--head); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--mut); margin-top: 5px; }

/* ── Misc shared ─────────────────────────────────────── */
.why { border-left: 3px solid var(--vo-yellow); background: #fffdf2; padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13.5px; color: var(--head); }
.note { border-left: 3px solid var(--vo-blue); background: #f2f9fd; padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13.5px; color: var(--head); }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.list-clean { list-style: none; margin: 0; padding: 0; }
.list-clean li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.list-clean li:last-child { border-bottom: 0; }
.tag-live { font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--vo-green-deep); background: #eaf5ec; border: 1px solid #cbe3c5; padding: 2px 8px; border-radius: 6px; }
.tag-soon { font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); background: var(--panel); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }
.footer-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.empty { text-align: center; padding: 48px 20px; color: var(--mut); }
/* .ico here is the shared icon class, so give it a block wrapper + size rather
   than the old font-size (which did nothing once these became SVG). */
.empty > .ico, .empty .ico-2x { width: 34px; height: 34px; margin: 0 auto 12px; display: block; color: var(--dim); }
.spin { display: inline-block; width: 15px; height: 15px; border: 2px solid var(--line2); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Dictation mic */
.voa-mic { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: var(--surface);
  cursor: pointer; line-height: 1; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
  display: inline-flex; align-items: center; justify-content: center; color: var(--mut); padding: 0; }
.voa-mic .ico { width: 17px; height: 17px; vertical-align: 0; }
.voa-mic:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--brand2); }
.voa-mic.rec { background: var(--vo-red); border-color: var(--vo-red); color: #fff; animation: voa-pulse 1.2s infinite; }
@keyframes voa-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(199,49,39,.5); } 50% { box-shadow: 0 0 0 7px rgba(199,49,39,0); } }

/* ── Tabs ────────────────────────────────────────────── */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 0 20px; flex-wrap: wrap; }
.tabs button {
  border: none; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--mut);
  padding: 11px 16px; cursor: pointer; border-radius: var(--radius-sm) var(--radius-sm) 0 0; position: relative;
}
.tabs button:hover { color: var(--brand2); background: color-mix(in srgb, var(--brand) 7%, transparent); }
.tabs button.active { color: var(--brand2); }
.tabs button.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2.5px; background: var(--brand); border-radius: 2px; }
.tabpane { display: none; } .tabpane.active { display: block; }

/* ═══════════════════════ STOREFRONT ═══════════════════════ */

/* Filter / search bar */
.filterbar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.filterbar .search { flex: 1 1 260px; min-width: 200px; position: relative; }
.filterbar .search input { width: 100%; border: 1px solid var(--line2); border-radius: 999px; padding: 9px 14px 9px 38px; font: inherit; font-size: 14px; }
/* Search glyph as an inline SVG data URI rather than an emoji — consistent
   weight with js/icons.js and it inherits no platform font. */
.filterbar .search::before {
  content: ''; position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; opacity: .5; pointer-events: none;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='10.6' cy='10.6' r='6.6'/%3E%3Cpath d='m20.4 20.4-5.1-5.1'/%3E%3C/svg%3E");
}
.filterbar select { border: 1px solid var(--line2); border-radius: 999px; padding: 8px 13px; font: inherit; font-size: 13px; font-weight: 650; color: var(--ink); background: var(--surface); cursor: pointer; }
.pillset { display: flex; gap: 6px; flex-wrap: wrap; }
.pillset button {
  border: 1px solid var(--line2); background: var(--surface); border-radius: 999px; padding: 6px 13px;
  font: inherit; font-size: 12.5px; font-weight: 700; color: var(--mut); cursor: pointer; transition: all .15s;
}
.pillset button:hover { border-color: var(--brand); color: var(--brand2); }
.pillset button.on { background: color-mix(in srgb, var(--brand) 13%, transparent); border-color: var(--brand); color: var(--brand2); }

/* Product card — course / bundle / tool / resource
   The card is a <div>, NOT an <a>. The title carries the link and stretches an
   invisible ::after overlay across the whole card, so the card is clickable
   without nesting an <a>/<button> inside an <a> — which is invalid HTML and makes
   the browser auto-close the outer anchor, spilling the card's contents out of it. */
.pcard {
  position: relative;
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s ease; height: 100%;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard-link { color: var(--ink); text-decoration: none; }
.pcard-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.pcard:hover .pcard-link { color: var(--brand2); }
.pcard-link:focus-visible { outline: none; }
.pcard:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent), var(--shadow-md); }
/* Anything interactive must sit above the stretched overlay. */
.pcard .foot, .pcard .foot .btn { position: relative; z-index: 2; }
.pcard .thumb {
  height: 92px; flex: none; position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand2), var(--brand) 70%, #7bad63);
  color: #fff; overflow: hidden;
}
.pcard .thumb .ico-2x { opacity: .95; }
.pcard .thumb.blue { background: linear-gradient(135deg, var(--vo-blue-deep), var(--vo-blue) 70%, #46acd4); }
.pcard .thumb.purple { background: linear-gradient(135deg, #5b3f7d, var(--vo-purple) 70%, #9070b8); }
.pcard .thumb.gold { background: linear-gradient(135deg, #a8931f, #d4bc2c 70%, #e6d34f); }
.pcard .thumb::after { content: ''; position: absolute; right: -30px; top: -40px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(255,255,255,.2) 0%, transparent 62%); }
.pcard .thumb .tl { position: absolute; top: 8px; left: 10px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.9); color: var(--ink); padding: 3px 8px; border-radius: 5px; }
.pcard .body { padding: 14px 16px 0; flex: 1 1 auto; }
.pcard .cat { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--vo-blue); }
.pcard h3 { font-size: 15.5px; margin: 5px 0 7px; line-height: 1.3; font-weight: 780; }
.pcard .sum { font-size: 13px; color: var(--mut); line-height: 1.55; }
.pcard .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 11px; font-size: 12px; color: var(--dim); font-weight: 600; }
/* min-width:0 + wrap stops a long price or CTA label from pushing its sibling
   out of the card on narrow columns. */
.pcard .foot {
  padding: 13px 16px 15px; margin-top: 13px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.pcard .foot > * { min-width: 0; }
.price { font-size: 18px; font-weight: 850; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.price .per { font-size: 12px; font-weight: 650; color: var(--mut); letter-spacing: 0; }
.price .was { font-size: 13px; font-weight: 650; color: var(--dim); text-decoration: line-through; margin-right: 6px; }
.price.incl { font-size: 13.5px; font-weight: 800; color: var(--vo-green-deep); }

/* Progress ring. position:relative is required — without it the ::before hole
   positions against the nearest positioned ancestor and lands anywhere. */
.ring { --p: 0; position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--panel) 0);
  font-size: 10.5px; font-weight: 850; color: var(--ink); }
.ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.ring > span { position: relative; }

/* ── Course sales page ───────────────────────────────── */
.salesgrid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .salesgrid { grid-template-columns: 1fr; } }
.buybox { position: sticky; top: 74px; }
.buybox .price { font-size: 30px; }
.outcome-list { list-style: none; margin: 0; padding: 0; }
.outcome-list li { position: relative; padding: 7px 0 7px 28px; font-size: 14px; color: var(--head); }
/* Tick as SVG, not a ✓ glyph — matches the icon set's stroke weight and is
   immune to whatever the platform substitutes for a dingbat. */
.outcome-list li::before {
  content: ''; position: absolute; left: 3px; top: 10px; width: 15px; height: 15px;
  background: no-repeat center/15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23649954' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5 10-10.5'/%3E%3C/svg%3E");
}
.modlist { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.modlist li { counter-increment: m; display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.modlist li:last-child { border-bottom: 0; }
.modlist li::before { content: counter(m); flex: none; width: 25px; height: 25px; border-radius: 50%; background: var(--panel); color: var(--mut); font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.modlist .mt { font-weight: 700; color: var(--ink); font-size: 14px; }
.modlist .mm { font-size: 12.5px; color: var(--mut); margin-top: 2px; }

/* ── Player ──────────────────────────────────────────── */
.playgrid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
@media (max-width: 1080px) { .playgrid { grid-template-columns: 1fr; } }
.playrail { position: sticky; top: 74px; display: flex; flex-direction: column; gap: 14px; }
.stepper { list-style: none; margin: 0; padding: 0; }
.stepper li { display: flex; gap: 11px; align-items: center; padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: 13.5px; color: var(--text); font-weight: 620; }
.stepper li:hover { background: var(--panel); }
.stepper li.on { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand2); font-weight: 750; }
.stepper li .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--dim); }
.stepper li .dot .ico { width: 11px; height: 11px; vertical-align: 0; }
.stepper li.done .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.stepper li.on .dot { border-color: var(--brand); color: var(--brand2); }
.stepper li.locked { opacity: .45; cursor: not-allowed; }

.lesson { line-height: 1.72; font-size: 15px; color: var(--text); }
.lesson h2 { font-size: 22px; margin: 0 0 4px; }
.lesson h3 { font-size: 16.5px; margin: 26px 0 8px; }
.lesson p { margin: 13px 0; }
.lesson ul, .lesson ol { margin: 13px 0; padding-left: 24px; }
.lesson li { margin: 6px 0; }
.lesson strong { color: var(--ink); font-weight: 750; }
.lesson blockquote { margin: 16px 0; padding: 12px 18px; border-left: 3px solid var(--brand); background: #f7faf6; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14.5px; }
.lesson .ctx { background: #fffdf2; border: 1px dashed #e6d98a; border-radius: var(--radius-sm); padding: 3px 7px; font-weight: 700; color: #7a6600; }

/* Knowledge check */
.kc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--panel); margin: 22px 0; }
.kc .q { font-weight: 780; color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.kc .opts { display: flex; flex-direction: column; gap: 8px; }
.kc .opt {
  display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px;
  transition: border-color .15s, background .15s;
}
.kc .opt:hover { border-color: var(--brand); }
.kc .opt input { margin-top: 3px; accent-color: var(--brand); }
.kc .opt.right { border-color: var(--brand); background: #f2f8f0; }
.kc .opt.wrong { border-color: var(--bad); background: #fdf2f1; }
.kc .fb { margin-top: 13px; font-size: 13.5px; padding: 11px 14px; border-radius: var(--radius-sm); }
.kc .fb.right { background: #eaf5ec; color: var(--vo-green-deep); border: 1px solid #cbe3c5; }
.kc .fb.wrong { background: #fdeceb; color: var(--bad); border: 1px solid #f3cdca; }

/* ── AI chat (coach / simulator) ──────────────────────── */
.chat { display: flex; flex-direction: column; height: 100%; }
.chat .log { flex: 1 1 auto; overflow-y: auto; padding: 4px; display: flex; flex-direction: column; gap: 12px; }
.chat .log.tall { max-height: 460px; min-height: 300px; }
.msg { display: flex; gap: 9px; align-items: flex-start; max-width: 92%; }
.msg .av { flex: none; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand2)); }
.msg .bub { background: var(--panel); border-radius: 3px 13px 13px 13px; padding: 10px 14px; font-size: 14px; line-height: 1.62; color: var(--text); }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg.me .av { background: linear-gradient(135deg, var(--vo-blue), var(--vo-blue-deep)); }
.msg.me .bub { background: color-mix(in srgb, var(--vo-blue) 12%, transparent); border-radius: 13px 3px 13px 13px; }
.msg .cite { display: block; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--vo-blue-deep); }
.msg .bub p { margin: 8px 0; } .msg .bub p:first-child { margin-top: 0; } .msg .bub p:last-child { margin-bottom: 0; }
.chat .composer { display: flex; gap: 8px; align-items: flex-end; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.chat .composer textarea { flex: 1 1 auto; min-height: 44px; max-height: 150px; resize: none; border: 1px solid var(--line2); border-radius: var(--radius-sm); padding: 11px 13px; font: inherit; font-size: 14px; }
.chat .composer .btn { flex: none; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: tdot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; } .typing i:nth-child(3) { animation-delay: .36s; }
@keyframes tdot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ── Rubric scoring ──────────────────────────────────── */
.scorehead { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bigscore { width: 96px; height: 96px; flex: none; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--brand) calc(var(--p, 0) * 1%), var(--panel) 0); }
.bigscore::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }
.bigscore .v { position: relative; font-size: 26px; font-weight: 850; color: var(--ink); letter-spacing: -.03em; }
.bigscore .v small { font-size: 12px; font-weight: 700; color: var(--mut); }
.rubric { list-style: none; margin: 16px 0 0; padding: 0; }
.rubric li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.rubric li:last-child { border-bottom: 0; }
.rubric .rh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.rubric .rn { font-weight: 750; color: var(--ink); font-size: 14px; }
.rubric .rv { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rubric .rc { font-size: 13px; color: var(--mut); margin-top: 7px; line-height: 1.6; }

/* ── Dropzone (application coach) ────────────────────── */
.dropzone {
  border: 2px dashed var(--line2); border-radius: var(--radius); padding: 34px 22px; text-align: center;
  background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.over { border-color: var(--brand); background: #f7faf6; }
.dropzone .ico-2x { margin: 0 auto 10px; display: block; color: var(--brand2); }
.dropzone .t { font-weight: 780; color: var(--ink); font-size: 15px; }
.dropzone .s { font-size: 13px; color: var(--mut); margin-top: 5px; }
.filepill { display: inline-flex; align-items: center; gap: 9px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 13px; font-size: 13px; font-weight: 650; }
.filepill button { border: none; background: none; cursor: pointer; color: var(--mut); font-size: 15px; line-height: 1; padding: 0 4px; }
.thumbprev { max-width: 100%; max-height: 260px; border-radius: var(--radius-sm); border: 1px solid var(--line); margin-top: 12px; }

/* ── Pricing plans ───────────────────────────────────── */
/* padding-top gives the featured plan's "Most popular" badge room to sit above
   the card edge instead of being clipped by the grid. */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; padding-top: 13px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; gap: 26px; } }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.plan.feat { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan.feat::before { content: 'Most popular'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; font-size: 10.5px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; padding: 4px 13px; border-radius: 999px; white-space: nowrap; }
.plan .pn { font-size: 17px; font-weight: 820; color: var(--ink); }
.plan .pd { font-size: 13px; color: var(--mut); margin-top: 5px; min-height: 38px; }
.plan .pp { font-size: 34px; font-weight: 860; color: var(--ink); letter-spacing: -.03em; margin: 14px 0 2px; line-height: 1.1; }
.plan .pp small { font-size: 13px; font-weight: 650; color: var(--mut); letter-spacing: 0; }
.plan .pfeat { list-style: none; margin: 18px 0; padding: 0; flex: 1 1 auto; }
.plan .pfeat li { position: relative; padding: 7px 0 7px 26px; font-size: 13.5px; color: var(--head); }
.plan .pfeat li::before {
  content: ''; position: absolute; left: 2px; top: 10px; width: 14px; height: 14px;
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23649954' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5 10-10.5'/%3E%3C/svg%3E");
}
.plan .pfeat li.no { color: var(--dim); }
.plan .pfeat li.no::before {
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.billtoggle { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.billtoggle button { border: none; background: none; font: inherit; font-size: 13px; font-weight: 750; color: var(--mut); padding: 7px 17px; border-radius: 999px; cursor: pointer; }
.billtoggle button.on { background: var(--surface); color: var(--brand2); box-shadow: var(--shadow); }

/* ── Cart / checkout ─────────────────────────────────── */
.cartrow { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cartrow:last-child { border-bottom: 0; }
.cartrow .ci { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; }
.cartrow .ci .ico-lg { width: 21px; height: 21px; vertical-align: 0; }
.cartrow .cn { font-weight: 730; color: var(--ink); font-size: 14.5px; }
.cartrow .cs { font-size: 12.5px; color: var(--mut); margin-top: 2px; }
.cartrow .rm { border: none; background: none; cursor: pointer; color: var(--dim); font-size: 17px; }
.cartrow .rm:hover { color: var(--bad); }
.totals { margin-top: 6px; }
.totals .tr { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--text); }
.totals .tr.grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 13px; font-size: 18px; font-weight: 850; color: var(--ink); }

/* ── Table ───────────────────────────────────────────── */
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--dim); padding: 9px 10px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
table.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: #fafbfd; }

/* ── Certificate ─────────────────────────────────────── */
.cert { background: #fff; border: 12px solid var(--brand2); border-radius: 6px; padding: 46px 54px; text-align: center; box-shadow: var(--shadow-lg); position: relative; }
.cert::after { content: ''; position: absolute; inset: 9px; border: 1.5px solid var(--vo-yellow); border-radius: 3px; pointer-events: none; }
.cert .ck { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; font-weight: 800; color: var(--mut); }
.cert h1 { font-size: 31px; margin: 20px 0 8px; }
.cert .who { font-size: 25px; font-weight: 850; color: var(--brand2); margin: 24px 0 6px; }
.cert .meta { font-size: 13px; color: var(--mut); margin-top: 26px; }
@media print {
  .topbar, .no-print, .footer-note { display: none !important; }
  body { background: #fff; } .wrap { padding: 0; }
}

/* ── Accessibility & responsive ──────────────────────── */
:focus-visible { outline: 2px solid var(--brand, #0081B7); outline-offset: 2px; border-radius: 4px; }
a, button, select, input, textarea, [tabindex] { outline-color: var(--brand, #0081B7); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 1024px) and (min-width: 641px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) {
  .twocol { grid-template-columns: 1fr; }
  .wrap { padding-left: 15px; padding-right: 15px; }
  .hero h1, h1 { font-size: 26px; line-height: 1.2; }
  .hero.tall h1 { font-size: 28px; }
  .hero .lead, .lead { font-size: 15px; }
  .ch { flex-wrap: wrap; gap: 8px; }
  .card.pad-lg { padding: 18px 16px; }
  .cartrow { grid-template-columns: 36px 1fr auto; }
  table.tbl { font-size: 12.5px; }
  .card table { display: block; overflow-x: auto; white-space: nowrap; }
}
