/* License to Lead — "figma" theme, layered over shared/css/app.css.
   Figma's look, from the Figma Brand Reference design system (built from figma.com and the public
   Figma Brand Book): a white page, black buttons with 8px corners, flat surfaces, and colour in the
   brand book's dark-on-light pairs. Brandon asked for more colour (2026-10-25), so every stage has
   its own pair, carried through its heading band, panels, path dot and landing card:
     look lilac/black · sbii ice/plum · stair sand/maroon · grow lime/forest · stuck cyan/black · final violet/white.
   Inter stands in for Figma's own typefaces, which aren't licensed for reuse. Labels are sentence case
   (Brandon's rule), not Figma's uppercase mono. The wordmark is used unmodified, black on white. */
:root {
  --ink: #000000; --ink2: #333333; --mute: #5C5C5C; --line: #E2E2E2; --line2: #F2F2F2;
  --paper: #FFFFFF; --coconut: #F5F5F5; --sand: #FADCA2;
  --mint: #F3FFE3; --ice: #C7F8FB; --lilac: #E28CF8; --maroon: #721C1C; --forest: #0A5C35; --violet: #4D49FC; --plum: #5D4493; --lime: #E4FF97; --cyan: #33DFDF;
  --blue: #000000; --blue-d: #262626; --blue-l: #4D49FC;
  --crimson: #972121; --canopy: #333333; --gold: #FADCA2;
  --good: #0A5C35; --good-bg: #F3FFE3; --bad: #972121; --bad-bg: #FBEAEA;
  --accent: #000000;
  --display: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  --font: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  --r: 16px; --top: 64px;
  --shadow: none;
  --star: #000000; --star-ink: #FFFFFF;
  /* the stage's colour (band), the text on it, and a light tint for panels; set per stage below */
  --st: var(--mint); --st-ink: #000000; --tint: #F8FFEF;
  /* engine hooks: text on the action colour, the hotspot ring and pulse, the selection glow */
  --on-blue: #FFFFFF; --hs-ring: rgba(0, 0, 0, .85); --hs-pulse: rgba(77, 73, 252, .3); --sel-glow: rgba(77, 73, 252, .28);
}
body[data-mod="look"] { --st: var(--lilac); --st-ink: #000000; --tint: #F9E8FD; }
body[data-mod="sbii"] { --st: var(--ice); --st-ink: var(--plum); --tint: #EAFDFE; }
body[data-mod="stair"] { --st: var(--sand); --st-ink: var(--maroon); --tint: #FEF4E1; }
body[data-mod="grow"] { --st: var(--lime); --st-ink: var(--forest); --tint: #F7FFDE; }
body[data-mod="stuck"] { --st: var(--cyan); --st-ink: #000000; --tint: #DDFAFA; }
body[data-mod="final"] { --st: var(--violet); --st-ink: #FFFFFF; --tint: #ECECFF; }
body[data-theme="figma"] { background: var(--paper); }
[data-theme="figma"] h1, [data-theme="figma"] h2, [data-theme="figma"] h3, [data-theme="figma"] h4 { font-family: var(--display); font-stretch: 100%; font-weight: 600; letter-spacing: -.02em; }
[data-theme="figma"] p, [data-theme="figma"] .lede { text-wrap: pretty; }
/* Figma's focus: a 2px dashed outline in ink, offset 4px */
[data-theme="figma"] :focus-visible { outline: 2px dashed var(--ink); outline-offset: 4px; }
[data-theme="figma"] .hero :focus-visible { outline-color: #fff; }
[data-theme="figma"] ::selection { background: var(--ice); }

/* buttons: solid ink, 8px corners, never pills; ghost buttons outlined in ink */
[data-theme="figma"] .btn { border-radius: 8px; font-weight: 500; }
[data-theme="figma"] .btn:not(.sm):not(.big) { padding: 12px 22px; }
[data-theme="figma"] .btn.primary:hover, [data-theme="figma"] .btn.dark:hover { background: #262626; }
[data-theme="figma"] .btn.primary:disabled, [data-theme="figma"] .btn.dark:disabled { background: #E2E2E2; color: #595959; }
[data-theme="figma"] .btn.ghost { box-shadow: inset 0 0 0 1px #000; background: #fff; }
[data-theme="figma"] .btn.big { border-radius: 8px; padding: 16px 26px; }

/* top bar: white, a hairline under it; the wordmark, a rule, then the course */
[data-theme="figma"] .top { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); box-shadow: none; }
[data-theme="figma"] .brand .glyph { width: auto; height: 22px; padding-right: 16px; margin-right: 4px; border-right: 1px solid #000; }
[data-theme="figma"] .brand .glyph svg { width: 60px; height: 22px; }
[data-theme="figma"] .brand b { font: 600 16px/1.15 var(--display); letter-spacing: -.01em; }
[data-theme="figma"] .xp { border-radius: 9999px; background: var(--coconut); box-shadow: none; }
[data-theme="figma"] .xp .lv { border-radius: 9999px; background: var(--violet); color: #fff; }
[data-theme="figma"] .xp .track { background: var(--line); }
[data-theme="figma"] .xp .track i { background: var(--violet); }
[data-theme="figma"] .combo { background: var(--lime); color: #000; border-radius: 9999px; }

/* the welcome screen: a violet colour block with white type, the art on a black tile */
[data-theme="figma"] .hero { background: var(--violet); border-radius: 24px; color: #fff; overflow: hidden; }
[data-theme="figma"] .hero h1 { color: #fff; letter-spacing: -.035em; font-weight: 600; }
[data-theme="figma"] .hero .copy .kicker, [data-theme="figma"] .hero .lede, [data-theme="figma"] .hero .fine { color: #fff; }
[data-theme="figma"] .hero .chip { background: var(--lime); color: #000; border-radius: 9999px; }
[data-theme="figma"] .hero .namebox input { border-radius: 8px; background: #fff; color: #000; border-color: #fff; }
[data-theme="figma"] .hero .namebox input::placeholder { color: #595959; }
[data-theme="figma"] .hero .btn.primary { background: #000; color: #fff; }
[data-theme="figma"] .hero .art { background: #000; }
/* the stage cards on the welcome screen, each in its stage's colour */
[data-theme="figma"] .modcard { border-radius: 16px; box-shadow: none; }
[data-theme="figma"] .modcard small { color: var(--ink2); }
[data-theme="figma"] .modcard:hover { box-shadow: inset 0 0 0 2px #000; }
[data-theme="figma"] .mods .modcard:nth-child(1) { background: var(--lilac); }
[data-theme="figma"] .mods .modcard:nth-child(2) { background: var(--ice); }
[data-theme="figma"] .mods .modcard:nth-child(3) { background: var(--sand); }
[data-theme="figma"] .mods .modcard:nth-child(4) { background: var(--lime); }
[data-theme="figma"] .mods .modcard:nth-child(5) { background: var(--cyan); }
[data-theme="figma"] .mods .modcard:nth-child(6) { background: var(--violet); }
[data-theme="figma"] .mods .modcard:nth-child(6) b, [data-theme="figma"] .mods .modcard:nth-child(6) small { color: #fff; }

/* an activity: a white card whose heading sits on the stage's colour band */
[data-theme="figma"] .card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 0 32px 28px; overflow: hidden; }
[data-theme="figma"] .card:has(.hero) { border: 0; padding: 0; overflow: visible; }
[data-theme="figma"] .card .beathead { background: var(--st); color: var(--st-ink); margin: 0 -32px 24px; padding: 26px 32px 24px; }
[data-theme="figma"] .card .beathead h2, [data-theme="figma"] .card .beathead .lede, [data-theme="figma"] .card .beathead .eyebrow { color: var(--st-ink); }
[data-theme="figma"] .beathead .eyebrow i { background: var(--st-ink); }
[data-theme="figma"] .panel { background: var(--tint); }
[data-theme="figma"] .panel.white { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="figma"] .choice, [data-theme="figma"] .tok, [data-theme="figma"] .orow, [data-theme="figma"] .swcard { border-radius: 12px; }
[data-theme="figma"] .bin { background: var(--tint); }
[data-theme="figma"] .preview { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }

/* the path: every stage's dot in its own colour; the current stage on its tint */
[data-theme="figma"] .rail { background: #fff; border-right: 1px solid var(--line); }
[data-theme="figma"] .path li.cur > button { background: var(--tint); }
[data-theme="figma"] .path .dot { border-radius: 9999px; box-shadow: none; color: #000; }
[data-theme="figma"] .path li:nth-child(1) .dot { background: var(--mint); }
[data-theme="figma"] .path li:nth-child(2) .dot { background: var(--lilac); }
[data-theme="figma"] .path li:nth-child(3) .dot { background: var(--ice); color: var(--plum); }
[data-theme="figma"] .path li:nth-child(4) .dot { background: var(--sand); color: var(--maroon); }
[data-theme="figma"] .path li:nth-child(5) .dot { background: var(--lime); color: var(--forest); }
[data-theme="figma"] .path li:nth-child(6) .dot { background: var(--cyan); }
[data-theme="figma"] .path li:nth-child(7) .dot { background: var(--violet); color: #fff; }
[data-theme="figma"] .path li.cur .dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #000; }

/* the conversations: the rep's lines on the stage tint, yours in ink */
[data-theme="figma"] .msg .bub { border-radius: 16px; }
[data-theme="figma"] .msg:not(.me):not(.note) .bub { background: var(--tint); }
[data-theme="figma"] .msg.me .bub { background: #000; color: #fff; }
[data-theme="figma"] .msg.me .bub .who { color: #D9D9D9; }
[data-theme="figma"] .msg.note .bub { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="figma"] .meter .track i { background: var(--violet); }
[data-theme="figma"] .boss { background: var(--st); color: var(--st-ink); border-radius: 16px; }
[data-theme="figma"] .boss small { color: var(--st-ink); }

/* ---------- write it yourself ---------- */
.write .brief { background: var(--sand); border-radius: 16px; padding: 20px 24px; margin-bottom: 20px; }
.write .brief .bh { font-weight: 600; margin-bottom: 6px; }
.write .brief p { margin: 0; }
.write .wgrid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.write .wlab { display: block; font-weight: 600; margin-bottom: 8px; }
.ltl-box { width: 100%; font: 16px/1.5 var(--font); padding: 12px 16px; border: 0; border-radius: 8px; background: var(--coconut); box-shadow: inset 0 0 0 1px #8C8C8C; resize: vertical; color: var(--ink); }
.write.locked .wtext { opacity: .8; }
.ltl-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; }
.ltl-count { color: var(--mute); font-size: 14px; }
.write .wlive { background: var(--tint); border-radius: 16px; padding: 16px 18px; }
.write .wlive h4 { font-size: 16px; margin-bottom: 8px; }
.write .wlive ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.write .wlive li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); }
.write .wlive li i { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 9999px; box-shadow: inset 0 0 0 2px #8C8C8C; position: relative; }
.write .wlive li.on { color: var(--ink); }
.write .wlive li.on i { background: var(--forest); box-shadow: none; }
.write .wlive li.on i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.write .wcompare { margin-top: 24px; }
.write .wcols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.write .wcol { background: var(--coconut); border-radius: 16px; padding: 18px 20px; }
.write .wcol.model { background: var(--ice); }
.write .wcol h4 { font-size: 16px; margin-bottom: 8px; }
.write .wcol p, .write .wc-text { margin: 0; overflow-wrap: anywhere; }
.write .wself { margin-top: 18px; }
.write .wself h4 { font-size: 16px; }
.write .wself .whint { color: var(--mute); font-size: 14px; margin: 4px 0 10px; }
.write .wck { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.write .wck input { width: 20px; height: 20px; accent-color: #000; margin: 2px 0 0; flex: none; }
.draftfb { background: var(--tint); border-radius: 16px; padding: 20px 24px; font-size: 16px; line-height: 1.7; }

/* ---------- the planner ---------- */
.planner .pgroup { margin-bottom: 20px; }
.planner .pgroup h4 { font-size: 16px; margin-bottom: 8px; }
.planner .pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.planner .pl { display: block; }
.planner .pl span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }

@media (max-width: 720px) {
  .write .wgrid, .write .wcols, .planner .pgrid { grid-template-columns: 1fr; }
  [data-theme="figma"] .hero { border-radius: 16px; }
  [data-theme="figma"] .card { padding: 0 16px 20px; border-radius: 16px; }
  [data-theme="figma"] .card .beathead { margin: 0 -16px 20px; padding: 20px 16px 18px; }
  [data-theme="figma"] .card:has(.hero) { padding: 0; }
  [data-theme="figma"] .brand .glyph { padding-right: 10px; }
  [data-theme="figma"] .brand .glyph svg { width: 48px; height: 18px; }
  /* a long label wraps instead of running out of its card */
  [data-theme="figma"] .btn { white-space: normal; text-align: left; }
}

/* ---------- certificate (1650×1275) and one-on-one plan (1275×1650), drawn for the PDF ---------- */
/* html2canvas: no inset shadows, repeating gradients or shadows on rotated elements. Colours come
   from the tokens above, so the PDF and the screen can't drift apart. */
.lcert { width: 1650px; height: 1275px; position: relative; overflow: hidden; background: #fff; color: #000; font-family: var(--font); display: flex; }
.lcert .lband { width: 420px; flex: none; background: #000; position: relative; }
.lcert .shapes i { position: absolute; display: block; }
.lcert .shapes .s1 { left: 70px; top: 90px; width: 200px; height: 200px; border-radius: 50%; background: var(--cyan); }
.lcert .shapes .s2 { left: 170px; top: 360px; width: 180px; height: 180px; border-radius: 40px; background: var(--lilac); }
.lcert .shapes .s3 { left: 60px; top: 620px; width: 240px; height: 120px; border-radius: 60px; background: var(--lime); }
.lcert .shapes .s4 { left: 150px; top: 830px; width: 200px; height: 200px; background: var(--violet); border-radius: 0 100px 100px 100px; }
.lcert .lbody { flex: 1; padding: 96px 110px 0; display: flex; flex-direction: column; }
.lcert .lhead { display: flex; align-items: center; justify-content: space-between; }
.lcert .lhead .mk svg { width: 150px; height: 55px; display: block; }
.lcert .lhead .dt { font-size: 26px; color: #4D4D4D; }
.lcert .k { margin-top: 120px; font: 600 28px var(--font); color: #4D4D4D; }
.lcert .nm { margin-top: 18px; font: 600 104px/1.04 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.lcert .nm.long { font-size: 80px; } .lcert .nm.longer { font-size: 62px; }
.lcert .line { margin-top: 34px; font-size: 30px; line-height: 1.45; color: #1A1A1A; max-width: 1000px; }
.lcert .facts { margin-top: auto; display: flex; gap: 20px; }
.lcert .facts div { flex: 1; background: var(--lime); border-radius: 24px; padding: 26px 30px; }
.lcert .facts div:nth-child(2) { background: var(--ice); } .lcert .facts div:nth-child(3) { background: var(--sand); }
.lcert .facts small { display: block; font-size: 22px; color: #333; }
.lcert .facts b { display: block; font: 600 44px var(--display); letter-spacing: -.02em; margin-top: 6px; }
.lcert .fine { margin: 40px 0 70px; font-size: 18px; line-height: 1.4; color: #4D4D4D; }
.ltake { width: 1275px; height: 1650px; position: relative; overflow: hidden; background: #fff; color: #000; font-family: var(--font); padding: 80px 90px 0; display: flex; flex-direction: column; }
.ltake .lth { display: flex; align-items: center; gap: 28px; padding-bottom: 30px; border-bottom: 2px solid #000; }
.ltake .lth .mk svg { width: 120px; height: 44px; display: block; }
.ltake .lth > div:nth-child(2) { flex: 1; } .ltake .lth b { display: block; font: 600 44px var(--display); letter-spacing: -.02em; }
.ltake .lth span { font-size: 22px; color: #4D4D4D; }
.ltake .lth .who { text-align: right; font-size: 22px; color: #333; } .ltake .lth .who b { font-size: 26px; }
.ltake .tw { margin-top: 26px; font-size: 24px; line-height: 1.4; background: var(--coconut); border-radius: 20px; padding: 20px 26px; }
.ltake .tw.sand { background: var(--sand); }
.ltake .tw b { margin-right: 10px; }
.ltake .tcols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.ltake .tbox { border-radius: 24px; padding: 26px 28px; }
.ltake .tbox.mint { background: var(--lime); } .ltake .tbox.ice { background: var(--ice); }
.ltake .tbox h4 { font: 600 28px var(--display); margin-bottom: 14px; }
.ltake .tbox p { font-size: 21px; line-height: 1.4; margin: 0 0 14px; overflow-wrap: anywhere; }
.ltake .tbox p b { display: block; font-size: 18px; color: #333; }
.ltake em { color: #595959; }
.ltake.dense .tbox p { font-size: 18px; margin-bottom: 10px; } .ltake.dense .tw { font-size: 20px; padding: 16px 24px; } .ltake.dense .tbox { padding: 22px 26px; }
.ltake .borrow { margin-top: 24px; } .ltake .borrow h4 { font: 600 24px var(--display); margin-bottom: 12px; }
.ltake .borrow > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ltake .borrow p { margin: 0; background: var(--coconut); border-radius: 18px; padding: 16px 18px; font-size: 18px; line-height: 1.4; }
.ltake .borrow p b { display: block; font-size: 16px; color: #333; margin-bottom: 4px; }
.ltake .cheat { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 26px; border-top: 2px solid #000; }
.ltake .cheat h4 { font: 600 22px var(--display); margin-bottom: 8px; }
.ltake .cheat p { font-size: 18px; line-height: 1.45; margin: 0; color: #1A1A1A; }
.ltake .fine { margin: 30px 0 60px; font-size: 16px; line-height: 1.4; color: #4D4D4D; }
