/* Course Fusion landing pages: editorial layout, brand fonts and gradient.
   Type scale is the golden ratio (1.618) from a 17px base:
   17 / 27.5 / 44.5 / 72 / 116.5. Layout splits are 61.8 / 38.2. */

:root {
  --ink: #0a0a0a;
  --paper: #fafaf8;
  --white: #ffffff;
  --grey-1: #f1f1ee;
  --grey-2: #dcdcd7;
  --grey-3: #8a8a85;
  --grey-4: #55554f;
  --rule: rgba(10, 10, 10, 0.14);
  --rule-inv: rgba(255, 255, 255, 0.16);

  --display: 'Bricolage Grotesque', 'Sora', -apple-system, sans-serif;
  --sans: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Course Fusion blue to violet. Text gradients are lighter on dark backgrounds. */
  --blue: #60a5fa;
  --violet: #6d28d9;
  --grad: linear-gradient(90deg, #60a5fa, #6d28d9);
  --grad-text: linear-gradient(90deg, #3b82f6, #7c3aed);

  --t0: 17px;
  --t1: 27.5px;
  --t2: 44.5px;
  --t3: 72px;
  --t4: 116.5px;

  --gutter: clamp(18px, 4.2vw, 56px);
  --max: 1400px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.lp-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); color: var(--white);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.lp-head.solid { background: rgba(250, 250, 248, .86); color: var(--ink); border-color: var(--rule);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.lp-head.solid .brand img { filter: none; }
.lp-head .brand img { filter: invert(1) grayscale(1); }
.lp-head.solid .brand img { filter: grayscale(1); }
.head-cta { display: flex; align-items: center; gap: 18px; font-size: 14.5px; }
.head-cta .link { text-decoration: none; opacity: .75; }
.head-cta .link:hover { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  font: 600 15.5px/1 var(--sans); letter-spacing: -.005em; text-decoration: none;
  padding: 17px 26px; border-radius: 999px; border: 1px solid currentColor;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-grad { background: var(--grad); color: var(--white); border: 0; padding: 18px 27px; }
.btn-grad:hover { filter: brightness(1.08); }
.btn-dark:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: wait; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 900px); background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.2) 0%, rgba(10,10,10,0) 28%, rgba(10,10,10,.55) 62%, rgba(10,10,10,.82) 100%); }
.hero-inner { padding: 112px var(--gutter) clamp(72px, 10vh, 120px); max-width: var(--max); margin: 0 auto; width: 100%; }
/* Rule: gradient fills never get a border (a border shows the gradient
   repeating as a thin stripe at the edge). Use box-shadow rings instead. */

/* Gradient words in headlines: wrap them in <em>. */
.display em, .h2 em, .statement em {
  font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero, .dark, .how { --grad-text: linear-gradient(90deg, #93c5fd, #a78bfa); }

.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .7; margin: 0 0 22px; }
.display {
  font-family: var(--display); font-weight: 600; letter-spacing: -.045em;
  font-size: clamp(44px, 7.2vw, 100px); line-height: .98; margin: 0; max-width: 12em;
}

.hero-grid { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(26px, 3.4vh, 36px); margin-top: clamp(24px, 3.4vh, 36px); }
.hero-sub { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; opacity: .82; max-width: 36em; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-note { font-size: 13.5px; opacity: .6; margin: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 46px; background: var(--rule-inv); overflow: hidden; }
.scroll-cue::after { content: ''; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: linear-gradient(180deg, #93c5fd, #a78bfa); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 46px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 13vw, 176px) 0; }
.section.tight { padding: clamp(56px, 8vw, 110px) 0; }
.section.dark { background: radial-gradient(55% 45% at 90% 0%, rgba(109,40,217,.16), transparent 70%), radial-gradient(45% 40% at 0% 100%, rgba(96,165,250,.10), transparent 70%), var(--ink); color: var(--white); }
.section.dark .muted { color: rgba(255,255,255,.62); }
.section.grey { background: var(--grey-1); }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.dark .rule { background: var(--rule-inv); }

.kicker { display: flex; align-items: baseline; gap: 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin: 0 0 clamp(28px, 4vw, 52px); }
.kicker .n { font-variant-numeric: tabular-nums; letter-spacing: .04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.02; margin: 0; }

.h3 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; margin: 0 0 10px; letter-spacing: -.02em; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; margin: 0; max-width: 32em; }
.muted { color: var(--grey-4); }
p { margin: 0 0 1em; }

.golden { display: grid; grid-template-columns: 38.2fr 61.8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.golden.rev { grid-template-columns: 61.8fr 38.2fr; }

/* Pull statement */
.statement { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.12; letter-spacing: -.03em; margin: 0; max-width: 20em; }
.statement .fade { color: var(--grey-3); }
.dark .statement .fade { color: rgba(255,255,255,.38); }

/* Feature list */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 72px); }
.feature { padding: 26px 0; border-top: 1px solid var(--rule); }
.dark .feature { border-color: var(--rule-inv); }
.feature h4 { font-size: 17px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.005em; }
.feature p { font-size: 15.5px; margin: 0; }

/* Numbers */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.figure .big { font-family: var(--display); font-weight: 600; font-size: clamp(52px, 6vw, 96px); line-height: .95; letter-spacing: -.045em; display: block; }
.figure .lbl { font-size: 14.5px; margin-top: 12px; display: block; }

/* Mock UI card */
.mock {
  background: var(--white); color: var(--ink); border-radius: 18px; border: 1px solid var(--grey-2);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 40px 80px -30px rgba(0,0,0,.28);
  overflow: hidden; font-size: 14px;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--grey-2); background: #fbfbf9; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-2); display: block; }
.mock-bar span { margin-left: 10px; font-size: 12.5px; color: var(--grey-3); }
.mock-body { padding: 22px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--grey-1); }
.mock-row:first-child { border-top: 0; }
.mock-row .who { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--grey-1); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--grey-4); }
.meter { height: 6px; width: 120px; background: var(--grey-1); border-radius: 6px; overflow: hidden; }
.meter b { display: block; height: 100%; background: var(--grad); border-radius: 6px; }
.pill { font-size: 11.5px; font-weight: 600; border: 1px solid var(--grey-2); padding: 3px 9px; border-radius: 999px; color: var(--grey-4); white-space: nowrap; }
.pill.on { background: var(--grad); color: var(--white); border: 0; padding: 4px 10px; }
.mock-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--grey-2); border: 1px solid var(--grey-2); border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.mock-stat div { background: var(--white); padding: 14px; }
.mock-stat b { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: 30px; display: block; line-height: 1.1; }
.mock-stat small { color: var(--grey-3); font-size: 12px; }
@keyframes blink { 50% { opacity: 0; } }

/* Calculator */
.calc { border: 1px solid var(--rule); border-radius: 22px; padding: clamp(22px, 3vw, 40px); background: var(--white); }
.dark .calc { background: transparent; border-color: var(--rule-inv); }
.calc-row { margin-bottom: 26px; }
.calc-row label { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; margin-bottom: 12px; }
.calc-row label output { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--grey-2); outline: none; margin: 10px 0; }
.dark input[type=range] { background: var(--rule-inv); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); cursor: grab; border: 0; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--ink); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); cursor: grab; border: 3px solid var(--white); }
.dark input[type=range]::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px rgba(167,139,250,.6); }
.calc-out { border-top: 1px solid var(--rule); padding-top: 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dark .calc-out { border-color: var(--rule-inv); }
.calc-out .big { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: -.045em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-note { font-size: 13px; margin: 14px 0 0; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 18px 14px 18px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.compare th { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--grey-3); border-top: 0; }
.compare td:first-child { font-weight: 600; width: 30%; }
.compare .hl { font-weight: 600; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 0 26px; max-width: 42em; color: var(--grey-4); }

/* Form */
.form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3.4vw, 48px); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--grey-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--grey-2); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #7c3aed; background: var(--white); box-shadow: 0 0 0 3px rgba(124,58,237,.14); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; background: #fdecec; color: #8b1a1a; }
.form-status.show { display: block; }
.form-done { display: none; padding: 20px 0; }
.form-done .h3 { font-size: 32px; }
.fine { font-size: 13px; color: var(--grey-3); margin: 14px 0 0; }

/* Footer */
.lp-foot { padding: 36px 0 44px; font-size: 13.5px; color: var(--grey-3); border-top: 1px solid var(--rule); }
.lp-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lp-foot a { color: var(--grey-4); text-decoration: none; margin-left: 18px; }
.lp-foot a:hover { color: var(--ink); }

/* Sticky mobile CTA */
.mobile-cta { display: none; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

/* Marquee of words */
.marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 18px 0; }
.marquee .track { display: inline-block; animation: mq 40s linear infinite; font-family: var(--display); font-weight: 500; letter-spacing: -.02em; font-size: clamp(24px, 2.6vw, 36px); }
.marquee .track span { margin: 0 .55em; }
.marquee .track span.dot { font-style: normal; color: var(--grey-3); }
@keyframes mq { to { transform: translateX(-50%); } }

@media (max-width: 960px) {
  .golden, .golden.rev { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; gap: 36px; }
  .row2 { grid-template-columns: 1fr; }
  .head-cta .link { display: none; }
  .compare td:first-child { width: auto; }
}
@media (max-width: 380px) { .brand span { display: none; } }
@media (max-width: 640px) {
  .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; transform: translateY(140%); transition: transform .5s var(--ease); }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; justify-content: center; box-shadow: 0 0 0 1px rgba(255,255,255,.28), 0 16px 40px -12px rgba(0,0,0,.45); }
  .meter { width: 70px; }
  .lp-head { padding: 14px 16px; }
  .head-cta .btn { white-space: nowrap; padding: 10px 14px; font-size: 13px; }
  .brand span { font-size: 15px; }
  .compare { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee .track, .scroll-cue::after { animation: none; }
}

/* ---------- How it works: three large statements ---------- */
.how {
  position: relative; color: var(--white); padding: clamp(84px, 11vw, 150px) 0;
  background:
    radial-gradient(50% 55% at 85% 10%, rgba(109,40,217,.2), transparent 70%),
    radial-gradient(40% 45% at 5% 95%, rgba(96,165,250,.12), transparent 70%),
    var(--ink);
}
.how-kicker { margin-bottom: clamp(36px, 5vw, 64px); }
.how-list { list-style: none; margin: 0; padding: 0; }
.how-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 320px); gap: clamp(20px, 3vw, 48px);
  align-items: end; padding: clamp(28px, 4vw, 52px) 0; border-top: 1px solid #222226;
}
.how-row:last-child { border-bottom: 1px solid #222226; }
.how-num {
  align-self: start; padding-top: .6em; font: 600 15px/1 var(--sans); letter-spacing: .04em;
  color: #4a4a52; transition: color .6s var(--ease);
}
.how-row.done .how-num { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how-title {
  margin: 0; font: 600 clamp(40px, 6.4vw, 104px)/.98 var(--display); letter-spacing: -.05em;
  /* A soft-edged wipe from grey to white, driven by --fill from lp.js. */
  background: linear-gradient(90deg, #fff 0, #fff calc(var(--fill, 0%) - 6%), #2c2c33 calc(var(--fill, 0%) + 6%), #2c2c33 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.how-line { margin: 0 0 .5em; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.38); transition: color .6s var(--ease); }
.how-row.done .how-line { color: rgba(255,255,255,.7); }
@media (max-width: 860px) {
  .how-row { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .how-num { padding-top: 0; }
  .how-line { margin: 4px 0 0; }
}

/* ---------- Hero with the orb (Build your course, orb.js) ---------- */
.hero-orb { background: #000; }
.hero-orb::after { display: none; }
.hero-orb .hero-copy { max-width: min(700px, 52%); }
.hero-orb .display { font-size: clamp(36px, 4.3vw, 72px); }
.orb-said {
  position: absolute; left: var(--cx, 70%); top: var(--cy, 70%); transform: translateX(-50%); margin: 0;
  display: flex; align-items: center; gap: 10px; white-space: nowrap; pointer-events: none;
  font-size: 14px; color: rgba(205,222,255,.62);
}
.orb-dot { width: 8px; height: 8px; border-radius: 50%; background: #7fa8ff; animation: listen 1.6s ease-out infinite; }
@keyframes listen { 0% { box-shadow: 0 0 0 0 rgba(127,168,255,.6); } 100% { box-shadow: 0 0 0 10px rgba(127,168,255,0); } }
.hero-orb:not(.orb-wide) { min-height: 0; justify-content: flex-start; }
.hero-orb:not(.orb-wide) .orb-canvas { height: 420px; bottom: auto; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hero-orb:not(.orb-wide) .hero-inner { padding-top: 432px; padding-bottom: 48px; }
.hero-orb:not(.orb-wide) .hero-copy { max-width: none; }
@media (prefers-reduced-motion: reduce) { .orb-dot { animation: none; } }

/* ---------- Interview chat (From call to course) ---------- */
.chat { background: var(--white); border: 1px solid #e4e4df; border-radius: 24px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid #ececE7; font-size: 13.5px; }
.chat-head b { font-weight: 600; }
.chat-time { margin-left: auto; color: var(--grey-3); font-variant-numeric: tabular-nums; }
.chat-live { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 100% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } }
.chat-body { height: 440px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px; overflow: hidden; }
.msg { display: none; max-width: 80%; margin: 0; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.45; }
.msg.show { display: block; animation: msg-in .45s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.msg.ai { align-self: flex-start; background: #f1f1ee; color: var(--ink); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.msg.note { align-self: center; max-width: none; padding: 6px 14px; margin-top: 6px; border-radius: 999px; background: #f4f0ff; color: #6d28d9; font-size: 12.5px; font-weight: 600; }
@media (max-width: 640px) { .chat-body { height: 400px; padding: 16px; } .msg { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .msg.show, .chat-live { animation: none; } }

/* ---------- What you get: cards with product mock-ups ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.bento-card { background: var(--white); border: 1px solid #e4e4df; border-radius: 24px; padding: 12px 12px 26px; }
.bento-card h4 { font: 600 19px/1.25 var(--display); letter-spacing: -.02em; margin: 22px 14px 4px; }
.bento-card p { font-size: 14.5px; line-height: 1.5; color: var(--grey-4); margin: 0 14px; }
.bento-vis { position: relative; height: 230px; border-radius: 16px; overflow: hidden; background: #f4f4f1; }

.mk { position: absolute; inset: 0; font-size: 12px; color: var(--ink); }
.mk img { display: block; object-fit: cover; }

/* outline: one module opened up, its lessons, then its recap quiz */
.mk-outline { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mk-course { display: flex; align-items: center; gap: 10px; }
.mk-course img { width: 40px; height: 40px; border-radius: 10px; }
.mk-course b { display: block; font: 600 13.5px/1.25 var(--display); letter-spacing: -.01em; }
.mk-course small { color: var(--grey-3); font-size: 11.5px; }
.mk-lessons { background: var(--white); border: 1px solid #e8e8e3; border-radius: 12px; padding: 4px 12px; }
.mk-les { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid #f0f0ec; font-weight: 500; }
.mk-les:first-child { border-top: 0; }
.mk-les .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-dot { width: 14px; height: 14px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #cfcfca; }
.mk-dot.done { background: var(--grad); box-shadow: none; }
.mk-les.quiz { color: #6d28d9; }
.mk-les.quiz small { margin-left: auto; color: var(--grey-3); font-weight: 400; }

/* images: a loose stack of real lesson illustrations */
.mk-images img { position: absolute; width: 58%; aspect-ratio: 4 / 3; border-radius: 12px; border: 4px solid #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.3); backface-visibility: hidden; }
.mk-images .i1 { left: 6%; top: 18%; transform: rotate(-7deg); }
.mk-images .i2 { left: 36%; top: 8%; transform: rotate(5deg); }
.mk-images .i3 { left: 22%; top: 34%; transform: rotate(-1deg); z-index: 2; }

/* storefront: brand profile with a cover, avatar and description */
.mk-store { padding: 12px; }
.mk-profile { height: 100%; background: var(--white); border: 1px solid #e8e8e3; border-radius: 14px; overflow: hidden; }
.mk-cover { height: 84px; width: 100%; }
.mk-cover img { width: 100%; height: 100%; }
.mk-pbody { position: relative; padding: 0 14px; }
.mk-avatar { position: relative; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; font: 600 17px var(--display); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--white); }
.mk-pbody b { display: block; margin-top: 8px; font: 600 14px/1.2 var(--display); letter-spacing: -.01em; }
.mk-pbody p { margin: 4px 0 0; font-size: 11px; line-height: 1.45; color: var(--grey-4); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-pmeta { display: flex; gap: 6px; margin-top: 8px; }
.mk-pmeta span { font-size: 10.5px; color: var(--grey-4); background: #f1f1ee; border-radius: 999px; padding: 2px 8px; }

/* checkout: the real offer cards */
.mk-checkout { padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.mk-offer { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--white); border: 1px solid #e8e8e3; border-radius: 14px; padding: 14px; }
.mk-offer b { display: block; font: 600 13.5px var(--display); letter-spacing: -.01em; }
.mk-offer small { font-size: 11px; color: var(--grey-3); }
.mk-offer .r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mk-offer .r b { font-size: 16px; }
.mk-btn { font-size: 11px; font-weight: 600; color: #fff; background: var(--grad); border-radius: 999px; padding: 5px 12px; }
.mk-offer.voice { background: var(--grad); border: 0; padding: 15px; color: #fff; }
.mk-offer.voice small { color: rgba(255,255,255,.8); }
.mk-offer.voice .mk-btn { background: #fff; color: #6d28d9; }

/* marketplace */
.mk-market { padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mk-tile { position: relative; min-height: 0; border-radius: 10px; overflow: hidden; filter: saturate(.75); opacity: .8; }
.mk-tile img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-tile.yours { opacity: 1; filter: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #7c3aed; }
.mk-tile span { position: absolute; left: 6px; bottom: 6px; font-size: 10px; font-weight: 600; color: #fff; background: var(--grad); border-radius: 999px; padding: 2px 8px; }

/* editor */
.mk-editor { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mk-toolbar { display: flex; align-items: center; gap: 4px; background: var(--white); border: 1px solid #e8e8e3; border-radius: 10px; padding: 5px; }
.mk-toolbar span { font-size: 11px; color: var(--grey-4); padding: 4px 8px; border-radius: 6px; }
.mk-toolbar span:first-child { background: #f1f1ee; color: var(--ink); font-weight: 600; }
.mk-toolbar .sep { width: 1px; height: 14px; padding: 0; background: #e4e4df; }
.mk-toolbar .mk-save { margin-left: auto; color: #059669; font-weight: 600; }
.mk-doc { flex: 1; background: var(--white); border: 1px solid #e8e8e3; border-radius: 12px; padding: 14px; }
.mk-doc b { display: block; font: 600 14px/1.25 var(--display); letter-spacing: -.015em; margin-bottom: 6px; }
.mk-doc p { margin: 0 0 10px; font-size: 11.5px; line-height: 1.55; color: var(--grey-4); }
.mk-doc .sel { background: rgba(124,58,237,.16); color: var(--ink); border-radius: 3px; }
.mk-doc .caret { display: inline-block; width: 1.5px; height: 13px; background: #7c3aed; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.mk-quote { font-size: 11.5px; font-style: italic; color: var(--ink); background: #f4f4f1; border-radius: 8px; padding: 8px 10px; }

/* shared panel pieces for the mock-ups below */
.mk-pad { padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mk-panel { background: var(--white); border: 1px solid #e8e8e3; border-radius: 14px; padding: 12px 14px; }
.mk-ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 9px; margin-bottom: 6px; border-bottom: 1px solid #f0f0ec; }
.mk-ph b { font: 600 13px/1.25 var(--display); letter-spacing: -.01em; }
.mk-ph small, .mk-label { font-size: 11px; color: var(--grey-3); }
.mk-tick { position: relative; display: inline-block; width: 15px; height: 15px; flex: none; border-radius: 50%; background: var(--grad); }
.mk-tick::after { content: ''; position: absolute; left: 5px; top: 3px; width: 3.5px; height: 6.5px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.mk-tick.ok { background: #10b981; }
.mk-gen { flex: none; font-size: 11px; font-weight: 600; color: #fff; background: var(--grad); border-radius: 999px; padding: 4px 11px; }
.mk-gen.wide { display: block; text-align: center; margin-top: 10px; padding: 8px; }

/* studio */
.mk-srow { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-weight: 500; }
.mk-srow .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-st { font-size: 10.5px; color: #059669; font-weight: 600; }

/* quality review: the 8 checks from the course audit */
.mk-score { font-size: 11px; font-weight: 700; color: #fff; background: var(--grad); border-radius: 999px; padding: 2px 9px; }
.mk-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; padding-top: 4px; }
.mk-checks span { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }

/* incoming mentor call */
.mk-callcard { background: #111114; color: #fff; border-radius: 18px; padding: 14px; }
.mk-callrow { display: flex; align-items: center; gap: 11px; }
.mk-callrow b { display: block; font: 600 13.5px/1.25 var(--display); letter-spacing: -.01em; }
.mk-callrow small { font-size: 11.5px; color: rgba(255,255,255,.6); }
.mk-cav { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.mk-callbtns { display: flex; gap: 8px; margin-top: 14px; }
.mk-callbtns span { flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; padding: 8px; border-radius: 999px; }
.mk-callbtns .no { background: #2c2c32; }
.mk-callbtns .yes { background: #10b981; }
.mk-callnote { margin: 4px 0 0; text-align: center; font-size: 11.5px; color: var(--grey-4); }

/* payout */
.mk-amt { display: block; margin: 2px 0 8px; font: 600 32px/1.05 var(--display); letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-sale { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid #f0f0ec; font-size: 11.5px; }
.mk-sale span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-sale span:last-child { flex: none; color: #059669; font-weight: 600; }

/* company course (onboarding): same outline as a course, with a company mark */
.mk-co { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--grad); color: #fff; font: 600 16px var(--display); display: grid; place-items: center; }

/* role-play chat */
.mk-chat { padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mk-chat .b { margin: 0; max-width: 86%; padding: 9px 12px; border-radius: 15px; font-size: 12px; line-height: 1.4; }
.mk-chat .b.ai { align-self: flex-start; background: var(--white); border: 1px solid #e8e8e3; border-bottom-left-radius: 5px; }
.mk-chat .b.me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }

/* recap email */
.mk-li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 12px; font-weight: 500; }
.mk-li:first-of-type { margin-top: 4px; }

/* quiz */
.mk-q { display: block; margin: 4px 0 4px; font: 600 13px/1.3 var(--display); letter-spacing: -.01em; }
.mk-opt { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 7px 10px; border-radius: 9px; background: #f6f6f3; font-size: 11.5px; }
.mk-opt.right { background: #ecfdf5; color: #047857; font-weight: 600; }

/* progress */
.mk-big { margin: 4px 0 8px; font: 600 30px/1 var(--display); letter-spacing: -.04em; }
.mk-big small { font: 500 12px var(--sans); letter-spacing: 0; color: var(--grey-3); }
.mk-bar { display: block; height: 7px; border-radius: 7px; background: #eeeeea; overflow: hidden; }
.mk-bar i { display: block; height: 100%; border-radius: 7px; background: var(--grad); }
.mk-team { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 10px; margin-top: 9px; font-size: 11.5px; }

@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }
