/* The Money Magnet Workbook: opt-in, thank-you, offer pages and the workbook app. Scorecard brand. */
:root {
  color-scheme: light;
  --paper: #f3eee6;
  --paper-2: #eae4da;
  --card: #fff;
  --ink: #141412;
  --ink-2: #2d2c2a;
  --muted: #5e5d59;
  --line: #dad6ce;
  --o10: #f8eae4;
  --o20: #edcebe;
  --o60: #c2541d;
  --o70: #9e4418;
  --font:
    "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 14px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  overflow-x: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: var(--o60);
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 16px;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900;
}
h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
}
p {
  margin: 0 0 14px;
}
.eyebrow {
  font: 500 12px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--o60);
  margin-bottom: 12px;
}
.lede {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 60ch;
}
.small {
  font-size: 14px;
  color: var(--muted);
}
.top {
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}
.mark {
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.tag {
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot {
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.foot .wrap {
  display: flex;
  gap: 18px;
  padding-block: 20px;
  font-size: 13px;
  color: var(--muted);
}
.foot a {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 800;
  font-size: 16px;
  background: var(--o60);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.15s,
    background 0.15s;
  text-align: center;
}
.btn:hover {
  background: var(--o70);
  transform: translateY(-1px);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover {
  background: var(--paper-2);
}
.btn.wide {
  width: 100%;
}
.btn.big {
  font-size: 19px;
  padding: 20px 34px;
}
.link {
  font-weight: 700;
  color: var(--ink);
}
.card {
  background: var(--card);
  border-radius: var(--r);
  padding: 24px;
  border: 1px solid var(--line);
}
.card.dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.card.dark .small {
  color: #bdb8ae;
}

/* Opt-in */
.optin {
  display: grid;
  gap: 32px;
  padding-block: 40px;
}
@media (min-width: 900px) {
  .optin {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    padding-block: 72px;
  }
}
.gets {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.gets li {
  padding-left: 26px;
  position: relative;
}
.gets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--o60);
}
.proof {
  font-weight: 700;
}
.form h2 {
  font-size: 26px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 14px;
}
.field input,
.field textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  font-weight: 400;
  font-size: 16px;
  background: var(--paper);
}
.field input:focus,
.field textarea:focus,
.wb textarea:focus,
.wb input:focus {
  outline: 2px solid var(--o60);
  outline-offset: 1px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
legend {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  padding: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  background: var(--paper);
  transition: background 0.12s;
}
.chip input:checked + span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--o60);
  outline-offset: 2px;
}
.consent {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
}
.err {
  background: var(--o10);
  border: 1px solid var(--o20);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

/* Thank-you + offers */
.thanks,
.offer {
  padding-block: 32px;
  display: grid;
  gap: 40px;
}
.ready {
  padding: 32px 24px;
}
.ready h1 {
  margin-bottom: 22px;
}
.ready .small {
  margin: 14px 0 0;
}
.vsl {
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink);
  margin: 20px 0;
  max-width: 820px;
}
.vsl.empty {
  display: grid;
  place-items: center;
  color: #bdb8ae;
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px dashed #5e5d59;
}
.vsl iframe,
.vsl video {
  width: 100%;
  height: 100%;
  border: 0;
}
.guarantee {
  background: var(--o10);
  border-left: 4px solid var(--o60);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  max-width: 820px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
.soon-note {
  font-size: 14px;
  color: var(--muted);
}
.cards {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.edu-card {
  display: grid;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
}
.edu-card .thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: var(--paper-2);
  margin-bottom: 8px;
}
.edu-card small {
  color: var(--muted);
}
.cols {
  display: grid;
  gap: 16px;
}
@media (min-width: 800px) {
  .cols {
    grid-template-columns: 1fr 1fr;
  }
}
.cols h2 {
  font-size: 22px;
}
.todo {
  font: 500 12px var(--mono);
  color: var(--o70);
  border: 1px dashed var(--o60);
  padding: 6px 8px;
  border-radius: 6px;
}
.promise {
  padding: 32px 24px;
}
.big-line {
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  max-width: 30ch;
}
.price {
  font: 500 14px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdb8ae;
}

/* Workbook app */
.wb-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 230, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.wb-bar .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
}
.wb-bar .title {
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.wb-bar .save {
  font: 500 11px var(--mono);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wb-bar .btn {
  padding: 9px 14px;
  font-size: 13px;
}
.prog {
  height: 4px;
  background: var(--paper-2);
}
.prog i {
  display: block;
  height: 100%;
  background: var(--o60);
  width: 0;
  transition: width 0.3s;
}
.wb {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 120px;
}
.wb .intro {
  font-size: 18px;
  color: var(--ink-2);
  white-space: pre-line;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.note p {
  margin: 0;
  flex: 1;
}
.note button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
}
.toc {
  margin: 28px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}
.toc a {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.toc b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--o60);
  min-width: 28px;
}
.toc span.n {
  margin-left: auto;
  font: 500 12px var(--mono);
  color: var(--muted);
  white-space: nowrap;
}
.divider {
  background: var(--ink);
  color: var(--paper);
  margin: 64px -16px 28px;
  padding: 40px 24px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0;
}
@media (min-width: 800px) {
  .divider {
    margin-inline: -80px;
    border-radius: var(--r);
    padding: 48px;
  }
}
.divider .num {
  font-weight: 900;
  font-size: clamp(88px, 18vw, 160px);
  line-height: 0.85;
  color: var(--o60);
  letter-spacing: -0.04em;
}
.divider h2 {
  font-size: clamp(28px, 5vw, 44px);
  margin: 24px 0 0;
}
.sec-intro {
  font-size: 17px;
  white-space: pre-line;
}
.example {
  background: var(--paper-2);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 15px;
  white-space: pre-line;
  margin: 18px 0;
}
.example b,
.label {
  font: 500 11px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--o60);
  display: block;
  margin-bottom: 6px;
}
.q {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 18px;
  margin: 18px 0;
  scroll-margin-top: 80px;
}
.q.done {
  border-color: var(--o20);
}
.q h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.q h3 .qn {
  font: 500 12px var(--mono);
  color: var(--o60);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}
.q .why {
  color: var(--muted);
  font-size: 15px;
}
.q .refs {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--o20);
  font-size: 14px;
  color: var(--ink);
}
.q .refs p { margin: 0; }
.q .refs p + p { margin-top: 6px; }
.q .refs a { font-weight: 600; color: inherit; margin-right: 4px; }
.q .refs i { color: var(--ink-2); }
.q .ex {
  font-size: 14px;
  border-left: 3px solid var(--o20);
  padding-left: 12px;
  margin: 12px 0 16px;
  color: var(--ink-2);
}
.q textarea,
.q input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--paper);
  font-size: 16px;
}
.q textarea {
  min-height: 120px;
  resize: vertical;
}
.q input.num {
  max-width: 320px;
}
.q .opts {
  display: grid;
  gap: 8px;
}
.q .opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  font-size: 15px;
}
.q .opt input {
  margin-top: 4px;
  accent-color: var(--o60);
  width: 18px;
  height: 18px;
  flex: none;
}
.q .other {
  margin-top: 8px;
}
.q details {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.q details summary {
  cursor: pointer;
  font-weight: 700;
}
.q details ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.tbl {
  overflow-x: auto;
  margin: 0 -4px;
}
.tbl table {
  border-collapse: collapse;
  width: 100%;
  min-width: 420px;
}
.tbl th {
  background: var(--ink);
  color: var(--paper);
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
}
.tbl th:first-child {
  border-radius: 8px 0 0 0;
}
.tbl th:last-child {
  border-radius: 0 8px 0 0;
}
.tbl td {
  padding: 0;
  border: 1px solid var(--line);
}
.tbl td input {
  width: 100%;
  border: 0;
  padding: 10px;
  background: var(--card);
  font-size: 15px;
  min-width: 110px;
}
.addrow {
  margin-top: 8px;
  background: none;
  border: 0;
  color: var(--o60);
  font-weight: 700;
  padding: 4px 0;
}
.done-when {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 20px;
  margin: 28px 0;
}
.done-when ul {
  margin: 0;
  padding-left: 20px;
}
.mention {
  background: var(--o10);
  border: 1px solid var(--o20);
  border-radius: var(--r);
  padding: 22px 20px;
  margin: 36px 0;
}
.mention p:last-child {
  margin: 0;
}
.finish {
  text-align: center;
  padding: 48px 0 0;
}

/* Workbook top: greeting, the two ways to do it, then the folded intro */
.wb-bar .btn .sm { display: none; }
.wb-bar .pdfbtn { flex-direction: column; gap: 0; line-height: 1.15; padding-block: 6px; }
.wb-bar .pdfbtn b { font-weight: 800; }
.wb-bar .pdfbtn small { font-weight: 500; font-size: 10.5px; color: var(--muted); }
.palback { background: none; border: 0; padding: 4px 2px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.palback u { color: var(--ink); text-underline-offset: 2px; }
.palback:hover u { color: var(--o60); }
@media (max-width: 699px) {
  .wb-bar .wrap { flex-wrap: wrap; height: auto; min-height: 56px; padding-block: 8px; row-gap: 6px; }
  .wb-bar .title { display: none; }
  .wb-bar .save { margin-right: auto; }
  .wb-bar .btn { padding: 8px 12px; }
  .wb-bar .btn .lg, .wb-bar .pdfbtn small { display: none; }
  .wb-bar .btn .sm { display: inline; }
}
.wb .note { margin: 4px 0 22px; }
.wb-meet { display: flex; align-items: flex-end; gap: 10px; margin: 8px 0 18px; }
.wb-meet img { height: 96px; width: auto; image-rendering: pixelated; flex: none; }
.wb-meet .bubble { margin: 0 0 40px; max-width: 42ch; background: var(--ink); color: var(--paper); font-size: 15px; line-height: 1.45; padding: 12px 14px; border-radius: 14px 14px 14px 2px; }
.ways { display: grid; gap: 12px; }
@media (min-width: 700px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.way h2 { font-size: 21px; font-weight: 900; margin: 0 0 6px; }
.way p { margin: 0 0 16px; color: var(--ink-2); flex: 1; }
.way .btn { padding: 12px 18px; font-size: 15px; }
.way-tools { display: flex; flex-wrap: wrap; gap: 8px; }
#toolMsg { margin: 12px 0 0; }
details.first { margin: 18px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
details.first summary { font-weight: 800; cursor: pointer; }
details.first .intro { font-size: 16px; margin-top: 12px; }
.wb #total { margin-top: 26px; }

/* COMPANION: beside the question in play. Wide: in the right gutter, level with the box. Narrow: inside the card. */
.companion { position: absolute; top: 0; left: 0; z-index: 15; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }
.companion.jump { transition: none; }
.companion .pal-fig { position: relative; display: block; pointer-events: auto; }
.companion img { display: block; height: 100px; width: auto; image-rendering: pixelated; }
.companion .bubble { margin: 0; max-width: 100%; background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1.4; padding: 10px 12px; border-radius: 12px 12px 12px 2px; pointer-events: auto; }
.companion .bubble .about { display: block; font: 500 10.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--o20); margin-bottom: 3px; }
.pal-x { position: absolute; top: -6px; right: -10px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 15px; line-height: 1; padding: 0; display: grid; place-items: center; opacity: 0; transition: opacity 0.15s; }
.companion:hover .pal-x, .companion:focus-within .pal-x { opacity: 1; }
.pal-x:hover { background: var(--o60); border-color: var(--o60); color: #fff; }
@media (hover: none) { .pal-x { opacity: 0.85; } }
.companion.inline { position: static; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start; gap: 10px; margin-top: 12px; transform: none; transition: none; }
.companion.inline img { height: 64px; }
.companion.inline .bubble { flex: 0 1 46ch; align-self: center; border-radius: 2px 12px 12px 12px; }
@media (max-width: 600px) { .companion.inline img { height: 48px; } .companion.inline .bubble { font-size: 13px; } .wb-meet img { height: 72px; } .wb-meet .bubble { font-size: 14px; margin-bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { .companion { transition: none; } }
@media print {
  .wb-bar,
  .companion,
  .wb-meet,
  .ways,
  .tools,
  .note,
  .mention {
    display: none !important;
  }
}

/* Mastermind sales page */
.stack { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: st; }
.stack li { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.stack li p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.stack li.bonus { background: var(--o10); border-color: var(--o20); }
.stack .val { font: 500 12px var(--mono); white-space: nowrap; color: var(--ink-2); }
@media (max-width: 560px) { .stack li { flex-direction: column; gap: 8px; } }
.stack-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 14px; font-weight: 700; }
.gets.not li::before { background: var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.buy { text-align: center; display: grid; justify-items: center; gap: 12px; }
.buy .small { max-width: 50ch; margin: 0; }
.wb, .mention, .example { overflow-wrap: anywhere; }
.wb .intro, .sec-intro, .example { white-space: normal; }
.wb .intro ul, .sec-intro ul, .example ul { margin: 0 0 14px; padding-left: 20px; }
.example p:last-child, .example ul:last-child { margin-bottom: 0; }
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark img { border-radius: 7px; }

/* Opt-in hero: the scorecard's hero (full-bleed video, dark fade, music button over the title), a little shallower.
   The video is a placeholder until the real visuals are made. */
.wb-hero {
  position: relative;
  min-height: min(52vh, 480px);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: var(--ink) url(/workbook/hero-poster.webp) center / cover no-repeat;
}
.wb-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 18, 0.15) 0%, rgba(20, 20, 18, 0.35) 45%, rgba(20, 20, 18, 0.88) 100%);
}
.wb-hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 40px 44px;
}
.wb-hero .eyebrow {
  color: #e3b198;
  margin: 18px 0 8px;
}
.wb-hero h1 {
  font: 900 clamp(32px, 5.6vw, 64px)/0.98 "Archivo", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
  color: var(--paper);
}
.wb-hero .sub {
  max-width: 52ch;
  color: rgba(243, 238, 230, 0.86);
  margin: 14px 0 0;
  font-size: 17px;
}
.music {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(243, 238, 230, 0.12);
  color: var(--paper);
  border: 1px solid rgba(243, 238, 230, 0.35);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  font: 600 14px "Archivo", sans-serif;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.music .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.music svg {
  width: 12px;
  height: 12px;
}
.optin .mock {
  display: block;
}
.optin .mock img {
  display: block;
  width: 100%;
  height: auto;
}
body.has-hero .optin {
  padding-block: 20px 40px;
  gap: 20px;
  grid-template-areas: "mock" "form" "pitch";
}
.optin .mock { grid-area: mock; }
.optin .pitch { grid-area: pitch; }
.optin .form { grid-area: form; }
@media (min-width: 900px) {
  body.has-hero .optin {
    grid-template-areas: "mock form" "pitch form";
    grid-template-rows: auto 1fr;
    padding-block: 32px 56px;
    column-gap: 40px;
  }
  .optin .pitch .lede { margin-top: 4px; }
}
@media (max-width: 899px) {
  .wb-hero { min-height: min(40vh, 320px); }
  .wb-hero .wrap { padding-block: 24px 22px; }
  .wb-hero .sub { font-size: 15px; }
  .optin .mock { max-width: 320px; width: 100%; margin: -6px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-hero video { display: none; }
}

.pitch-h { font: 900 clamp(24px, 2.6vw, 32px)/1.1 "Archivo", sans-serif; letter-spacing: -0.01em; margin: 0 0 12px; text-wrap: balance; }
@media (min-width: 900px) { body.has-hero .optin { grid-template-rows: auto 1fr; align-items: start; } .optin .mock { margin-top: -8px; } }

#bubble .about { display: block; font: 600 11px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }

.q h3 .star { color: var(--o60); text-decoration: none; margin-left: 4px; }
.q .apx-note { font-size: 13px; color: var(--ink-2); margin: -4px 0 12px; }
.q .apx-note a { color: inherit; }
.appendix .btn { margin: 8px 0 14px; }
.apx-prompt { white-space: pre-wrap; font: 13px/1.55 var(--mono); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; max-height: 420px; overflow: auto; }

.paste { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 12px 0 20px; }
.paste h3 { margin: 0 0 6px; }
.paste p { margin: 0 0 10px; }
.conn-url { display: block; font: 500 13px var(--mono); background: var(--paper2, #faf7f2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; word-break: break-all; }
.paste textarea { width: 100%; font: 13px/1.5 var(--mono); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 10px; }

.conn-url { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 4px 0 10px; }
.conn-url code { font: 13px var(--mono); background: var(--paper, #f3eee6); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; word-break: break-all; flex: 1 1 260px; }
.paste ol { margin: 0 0 8px 18px; padding: 0; }

.sec-outcomes { margin: 22px 0 8px; }
.sec-outcomes h3 { font-size: 18px; margin: 0 0 10px; }
.sec-outcomes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sec-outcomes li { display: grid; grid-template-columns: 30px minmax(0, 11em) 1fr; gap: 4px 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.sec-outcomes li:last-child { border-bottom: 1px solid var(--line); }
.sec-outcomes .n { font: 12px var(--mono); color: var(--o60); padding-top: 2px; }
.sec-outcomes .o { color: var(--ink-2); }
@media (max-width: 560px) { .sec-outcomes li { grid-template-columns: 30px 1fr; } .sec-outcomes .o { grid-column: 2; } }
/* page test wb-outcomes-pos: the outcomes list takes the bullets' place */
html.wbo-swap .pitch .gets { display: none; }
html.wbo-swap .sec-outcomes { margin-top: 12px; }

/* Mastermind checkout + welcome */
.co-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.co-hero-in { display: grid; gap: 28px; padding-block: 36px 0; }
.co-hero h1 { font-size: clamp(34px, 6vw, 58px); }
.co-copy .actions { margin: 22px 0 10px; }
.co-copy .btn { width: 100%; }
.co-photo { display: block; align-self: end; }
.co-photo img { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; border-radius: var(--r) var(--r) 0 0; }
@media (min-width: 880px) {
  .co-hero-in { grid-template-columns: 1.25fr 1fr; align-items: center; padding-top: 56px; }
  .co-copy { padding-bottom: 56px; }
  .co-copy .btn { width: auto; }
}
.co-proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 40px 0; }
.co-proof div { background: var(--card); padding: 18px 16px; display: grid; gap: 4px; }
.co-proof b { font-size: clamp(26px, 4vw, 34px); font-weight: 900; letter-spacing: -0.02em; color: var(--o60); line-height: 1; }
.co-proof span { font-size: 14px; color: var(--muted); }
.co-proof p { grid-column: 1 / -1; background: var(--card); margin: 0; padding: 16px; font-weight: 700; }
@media (min-width: 720px) { .co-proof { grid-template-columns: repeat(4, 1fr); } }
.co-gets { margin: 56px 0 32px; }
.co-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.co-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.co-list .n { font: 500 13px var(--mono); color: var(--o60); padding-top: 3px; }
.co-list b { font-size: 18px; }
.co-list p { margin: 4px 0 0; color: var(--ink-2); }
.co-for { margin: 32px 0; }
.co-for p { margin: 0; max-width: 60ch; }
.co-guarantee { margin: 32px 0; }
.co-guarantee p:last-child { margin: 0; color: #d6d1c7; max-width: 60ch; }
.co-buy { padding-block: 36px; }
.co-price { font-size: clamp(44px, 8vw, 64px); font-weight: 900; letter-spacing: -0.03em; margin: 0; line-height: 1; }
.co-price span { display: block; font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 480px) { .co .btn.big { font-size: 17px; padding: 18px 16px; } }

/* ===================================================================================
   Funnel pages, calm version (2 Oct 2026): /community, /mastermind, /mastermind/apply (+ thanks),
   /mastermind/welcome, /workbook/thanks/*. One column, one primary button per screen, one card style.
   Type scale: 40/32 headline, 22 section, 18 sub, 16 body, 14 small, 12 eyebrow.
   =================================================================================== */
.f {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 24px;
  display: grid;
  gap: 56px;
}
.f.wide {
  max-width: 1040px;
}
.f h1,
.f .f-h {
  font-size: clamp(32px, 5.2vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  max-width: 22ch;
  text-wrap: balance;
}
.f h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.f p {
  max-width: 60ch;
}
.f-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 28px;
}
.f-under {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}
.f .eyebrow {
  margin-bottom: 14px;
}
.f-hero {
  display: grid;
  gap: 32px;
  align-items: center;
}
.f-hero .btn {
  min-width: 260px;
}
@media (max-width: 520px) {
  .f-hero .btn,
  .f-end .btn {
    width: 100%;
    min-width: 0;
  }
}
/* Media placeholders (Lewis, 2 Oct): flat shapes until real photos and videos exist.
   Swap real media in from MEDIA in workbook.js (or VSL_EMBEDS on the scorecard). */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #c5ccd4;
  margin: 0;
}
.ph svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ph-land {
  aspect-ratio: 16 / 9;
}
.ph-person {
  background: #e4e6e9;
  aspect-ratio: 4 / 5;
}
.ph-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
}
.ph-play svg {
  width: 22px;
  height: 22px;
  margin-left: 4px;
}
.f-media {
  margin: 0 0 28px;
}
.f-media.vsl {
  max-width: none;
  aspect-ratio: auto;
  background: none;
}
.f-by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
}
.f-by .ph {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  aspect-ratio: 1;
  flex: none;
}
.f-by b {
  color: var(--ink);
  display: block;
  font-size: 15px;
}
@media (min-width: 900px) {
  .f.wide .f-hero {
    grid-template-columns: 1.35fr 1fr;
    gap: 64px;
  }
  .f-hero .f-by {
    display: none;
  }
}
@media (max-width: 899px) {
  .f-hero > .ph-person {
    display: none;
  }
}
.f.wide > section:not(.f-hero):not(.f-end) {
  max-width: 720px;
}
.f-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
@media (max-width: 520px) {
  .f {
    padding-top: 28px;
    gap: 44px;
  }
  .f-card {
    padding: 22px 20px;
  }
}
.f-card.quiet {
  background: var(--paper-2);
  border-color: transparent;
}
.f-card > :last-child,
.f-card p:last-child {
  margin-bottom: 0;
}
.f-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.f-list li {
  position: relative;
  padding-left: 30px;
}
.f-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--o60)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/16px no-repeat;
}
.f-list.not li::before {
  background: var(--line);
}
.f-list b {
  display: block;
}
.f-list p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.f-two {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .f-two {
    grid-template-columns: 1fr 1fr;
  }
}
.f-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  counter-reset: fs;
}
.f-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  counter-increment: fs;
}
.f-steps li::before {
  content: counter(fs);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--o10);
  color: var(--o70);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.f-steps b {
  display: block;
  margin-top: 6px;
}
.f-steps p {
  margin: 4px 0 0;
  color: var(--muted);
}
.f-guarantee {
  border-left: 3px solid var(--o60);
  padding: 4px 0 4px 18px;
}
.f-guarantee p {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}
.f-faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.f-faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.f-faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.f-faq summary::-webkit-details-marker {
  display: none;
}
.f-faq summary::after {
  content: "+";
  color: var(--o60);
  font-weight: 800;
}
.f-faq details[open] summary::after {
  content: "\2013";
}
.f-faq p {
  margin: 10px 0 0;
  color: var(--ink-2);
}
.f-end {
  text-align: center;
  justify-items: center;
  display: grid;
  padding: 8px 0 16px;
}
.f-end h2 {
  font-size: clamp(24px, 4vw, 30px);
  max-width: 24ch;
}
.f-end .f-under,
.f-end p {
  margin-inline: auto;
}
.f .link {
  font-weight: 700;
  color: var(--ink);
  text-underline-offset: 3px;
}
.f-unlocked {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}
.f-unlocked h1 {
  font-size: clamp(26px, 4vw, 32px);
  margin: 0 0 4px;
}
.f-unlocked p {
  margin: 0;
}
.btn.ink {
  background: var(--ink);
}
.btn.ink:hover {
  background: var(--ink-2);
}
.f-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* The stepped application */
.f-apply {
  padding: 28px;
}
.f-prog {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.f-prog b {
  color: var(--ink);
  font-weight: 500;
}
.f-bar {
  height: 4px;
  border-radius: 4px;
  background: var(--paper-2);
  overflow: hidden;
  margin-bottom: 28px;
}
.f-bar i {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--o60);
  transition: width 0.3s ease;
}
.f-step h2 {
  font-size: 22px;
  margin-bottom: 20px;
}
.f-step:focus {
  outline: none;
}
.f-apply.stepped .f-step:not(.on) {
  display: none;
}
.f-apply:not(.stepped) .f-prog,
.f-apply:not(.stepped) .f-bar,
.f-apply:not(.stepped) .f-nav-js {
  display: none;
}
.f-apply.stepped .f-nojs {
  display: none;
}
.f-apply .field,
.f-apply fieldset {
  margin-bottom: 22px;
}
.f-apply .field > span:first-child,
.f-apply legend {
  font-size: 15px;
}
.f-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.f-nav .back {
  background: none;
  border: 0;
  padding: 12px 4px;
  font-weight: 700;
  color: var(--muted);
}
.f-nav .back[disabled] {
  visibility: hidden;
}
.f-nav .btn {
  margin-left: auto;
  min-width: 160px;
}
.f-step .err {
  margin-bottom: 18px;
}
.f-apply .opt {
  font-weight: 400;
  color: var(--muted);
}

/* Who it's for / not for on the opt-in: full width under the form and pitch. */
.optin .fit-row { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.optin .fit-card { margin: 0; }
.optin .fit-card h2 { font-size: 18px; margin: 0 0 6px; }
.optin .fit-card p { margin: 0; }
@media (max-width: 899px) { .optin .fit-row { grid-template-columns: 1fr; } }

.f-why { margin: 0 0 8px; font-weight: 600; color: var(--o60); max-width: 60ch; }

/* ===================================================================================
   Funnel design pass (2 Oct 2026): proof strip, icon timeline, confirmation hero, the
   two-column application with its sticky panel. Same tokens and card style as above.
   =================================================================================== */
.f-proof { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.f.wide > .f-proof { max-width: none; }
.f-proof div { background: var(--card); padding: 18px 16px; display: grid; gap: 4px; align-content: start; }
.f-proof b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.f-proof span { font-size: 13px; color: var(--muted); line-height: 1.35; }
@media (max-width: 899px) { .f-proof { grid-template-columns: 1fr 1fr; } .f-proof div:last-child { grid-column: 1 / -1; } }
.f-isteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.f-isteps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.f-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--o10); color: var(--o60); display: grid; place-items: center; font-weight: 800; }
.f-ico svg { width: 22px; height: 22px; }
.f-isteps b { display: block; font-size: 16px; margin: 2px 0 2px; }
.f-isteps p { margin: 0; color: var(--muted); }
.f-isteps.small li { grid-template-columns: 30px 1fr; gap: 10px; }
.f-isteps.small .f-ico { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; }
.f-isteps.small b { font-size: 15px; }
.f-isteps.small p { font-size: 14px; }
.f-confirm .f-tick { width: 48px; height: 48px; border-radius: 50%; background: var(--o60); color: #fff; display: grid; place-items: center; margin: 0 0 18px; }
.f-confirm .f-tick svg { width: 26px; height: 26px; }
.f-confirm .f-media { margin: 0; }
@media (min-width: 900px) { .f.wide .f-confirm { grid-template-columns: 1fr 1.1fr; } }
.f-wait p { margin: 0; color: var(--muted); }
/* The application: form left, a sticky panel right; stacked on phones with the panel under the form. */
.mm-apply .f-hero-apply h1 { max-width: 26ch; }
.f-applygrid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) {
  .f-applygrid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; }
  .f-panel { position: sticky; top: 24px; }
}
.f-panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 16px; }
.f-panel .f-panel-photo { width: 100%; aspect-ratio: 16 / 10; }
.f-panel-by { margin: -4px 0 0; font-size: 14px; color: var(--muted); }
.f-panel-by b { display: block; color: var(--ink); font-size: 15px; }
.f-panel-g { border-left: 3px solid var(--o60); padding: 2px 0 2px 14px; }
.f-panel-g .eyebrow { margin: 0 0 4px; }
.f-panel-g p:last-child { margin: 0; font-weight: 700; }
.f-panel h3 { font-size: 16px; margin: 4px 0 0; }
.f-panel .f-proof { grid-template-columns: 1fr 1fr; }
.f-panel .f-proof div:last-child { grid-column: 1 / -1; }
.f-panel .f-proof b { font-size: 19px; }
.mm-apply .f-applygrid .f-apply { margin: 0; }

/* Video-led hero (7 Oct): headline, the VSL big and centred, then the button. */
.f.wide .f-hero.f-vh, .f-hero.f-vh { display: block; max-width: 860px; margin-inline: auto; text-align: center; }
.f-vh h1, .f-vh .f-h { max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.f-vh .f-sub, .f-vh .f-why, .f-vh .f-under { max-width: 60ch; margin-inline: auto; }
.f-vh .f-media { margin: 28px 0 24px; text-align: left; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(20, 20, 18, .18); }
.f-vh .f-tick { margin-inline: auto; }
.f-vh .btn { margin-inline: auto; }

/* Offer-page photos (7 Oct). */
.f-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: 0 16px 44px rgba(20, 20, 18, .14); }
.f-two > .f-photo { grid-column: 1 / -1; }
.f-card > .f-photo { margin-top: 22px; }
.f-end > .f-photo { margin: 0 auto 28px; max-width: 760px; }

/* Funnel pages follow /build (Lewis, 7 Oct): no top bar, no label over the headline, everything centred,
   videos the same width as /build's, lists left-aligned inside centred blocks. */
body.mm-c > header.top { display: none; }
.mm-c .f-hero .eyebrow, .mm-c .f-end > .eyebrow { display: none; }
.mm-c main.f { max-width: 960px; }
.mm-c main.f > * { text-align: center; }
.mm-c main.f > section:not(.f-hero):not(.f-end) { max-width: 760px; margin-inline: auto; width: 100%; }
.mm-c .f-hero.f-vh { max-width: 880px; width: 100%; }
.mm-c .f-vh .f-media { width: 100%; margin-inline: auto; }
.mm-c .f-card, .mm-c .f-two > * { text-align: center; }
.mm-c .f-list, .mm-c .f-isteps, .mm-c .f-faq details { display: inline-block; text-align: left; max-width: 100%; }
.mm-c .f-faq details { display: block; }
.mm-c .f-two { justify-items: stretch; }
.mm-c .btn { margin-inline: auto; }
.mm-c .f-guarantee { text-align: center; }
.mm-c .f-photo { margin-inline: auto; }
.mm-c .f-guarantee { border-left: 0; padding-left: 0; }
.mm-c .f-why { display: none; }
.mm-c .f-unlocked { justify-content: center; text-align: center; flex-direction: column; }
body[data-page="thanks"] .f-proof, body[data-page^="mastermind_"] .f-proof { display: none; }
.mm-c .f-unlocked .eyebrow { display: none; }
/* Headline and the line under it run the full width of the video (Lewis, 7 Oct), on every page. */
.f-vh h1, .f-vh .f-h, .f-vh .f-sub { max-width: none; text-wrap: wrap; }

/* /select pass (Lewis, 7 Oct), for every offer and thank-you page. */
.mm-c .f-two > .f-card:only-of-type { grid-column: 1 / -1; }
.mm-c .f-isteps { display: grid; text-align: center; }
.mm-c .f-isteps li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mm-c .f-faq summary { justify-content: center; text-align: center; }
.mm-c .f-faq p { text-align: center; }
.mm-c .f-end { width: 100%; max-width: 760px; margin-inline: auto; }
.mm-c .f-end h2 { max-width: none; text-wrap: wrap; }
/* The guarantee, made a big deal of: its own bordered card with a seal. */
.mm-c .f-guarantee { position: relative; background: #fff; border: 2px solid var(--o60); border-radius: 22px; padding: 46px 28px 30px; margin-top: 18px; box-shadow: 0 18px 44px rgba(194, 84, 29, .14); }
.mm-c .f-guarantee::before { content: "\2713"; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--o60); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 900; box-shadow: 0 6px 16px rgba(194, 84, 29, .35); }
.mm-c .f-guarantee .eyebrow { display: block; font-size: 13px; letter-spacing: .14em; margin: 0 auto 10px; max-width: none; text-align: center; padding-left: .14em; }
.mm-c .f-guarantee p:not(.eyebrow) { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; line-height: 1.3; }

/* Thank-you pages pass (Lewis, 7 Oct). */
/* Plain bullet lists on funnel pages: every line centred, the tick sitting just before the first word. */
.mm-c .f-list:not(:has(p)) { display: grid; justify-items: stretch; text-align: center; }
.mm-c .f-list:not(:has(p)) li { padding-left: 0; text-align: center; }
.mm-c .f-list:not(:has(p)) li::before { position: static; display: inline-block; vertical-align: -3px; margin-right: 10px; }
.f-unlocked { position: relative; }
.mm-c .f-unlocked { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 26px 22px; }
.f-lock { width: 56px; height: 56px; border-radius: 16px; background: var(--o10); color: var(--o60); display: grid; place-items: center; }
.f-lock svg { width: 30px; height: 30px; }
.f-unl-mock img { width: 200px; height: auto; display: block; }
@media (min-width: 760px) {
  .mm-c .f-unlocked { grid-template-columns: 120px 1fr 160px; align-items: center; gap: 18px; }
  .f-unl-mock img { width: 160px; }
}
.f-promo { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 30px 24px; border: 2px solid var(--o60); }
.f-promo-img img { width: min(420px, 100%); height: auto; display: block; margin: -6px auto 4px; }
.f-promo h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.f-promo p { margin: 0; max-width: 46ch; }
.mm-c .f-guarantee p { margin-inline: auto; }

/* The application page follows the same rules (Lewis, 7 Oct): no label, centred, full-width headline,
   and Lewis's photo by his name. */
.mm-c .f-hero-apply { display: block; max-width: 880px; margin-inline: auto; text-align: center; }
.mm-c .f-hero-apply h1, .mm-c .f-hero-apply .f-h, .mm-c .f-hero-apply .f-sub { max-width: none; margin-inline: auto; text-wrap: wrap; }
.mm-c .f-hero-apply .f-by { display: inline-flex; text-align: left; margin: 0 auto 18px; }
.mm-c .f-hero-apply .f-by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; flex: none; }
.mm-c .f-panel-photo { width: 132px; height: 132px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; }
.mm-c .f-panel-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-c .f-applygrid .f-guarantee, .mm-c .f-applygrid [class*="guarantee"] { border-left: 0; padding-left: 0; text-align: center; }
.mm-c .f-panel-g { border-left: 0; padding-left: 0; text-align: center; }

/* Guarantee terms link, small, under every guarantee box. */
.f-terms { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-underline-offset: 3px; }
.terms-page .f-card p { max-width: 62ch; margin-inline: auto; }

/* Checkout pages (pay.js): the offer beside the card form, same paper, ink and orange as the funnel. */
.pay { max-width: 1040px; }
.pay .pay-head { text-align: center; padding: 40px 0 8px; }
.pay .pay-head h1 { margin: 0 auto 10px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.pay .pay-head .f-sub { margin: 0 auto; }
.pay-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; margin: 12px 0 48px; }
.pay-sum, .pay-form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.pay-sum img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 12px; }
.pay-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px 0 12px; font-size: 18px; }
.pay-line span { font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; }
.pay-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
.pay-points li { padding-left: 26px; position: relative; text-align: left; }
.pay-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--o60) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pay-g { margin: 0; padding: 14px 16px; background: var(--o10); border: 1.5px solid var(--o20); border-radius: 12px; font-size: 15px; line-height: 1.5; text-align: left; }
.pay-g b { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--o70); margin-bottom: 4px; }
.pay-form h2 { margin: 0 0 16px; font-size: 22px; text-align: left; }
.pay-form label { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: 15px; color: var(--ink-2); text-align: left; }
.pay-form input { font: inherit; font-weight: 400; font-size: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.pay-form input:focus { outline: none; border-color: var(--o60); box-shadow: 0 0 0 3px var(--o10); }
.pay-form .btn.big { width: 100%; margin-top: 8px; }
.pay-form .btn:disabled { opacity: 0.6; cursor: default; }
#pay-element { margin-bottom: 8px; min-height: 120px; }
.pay-who { margin: -8px 0 16px; color: var(--muted); font-size: 14px; text-align: left; }
.pay-err { margin: 12px 0 0; color: #b3261e; font-size: 15px; }
.pay-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.pay-safe svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 820px) {
  .pay-grid { grid-template-columns: 1fr; }
  .pay-form { order: -1; }
  .pay .pay-head { padding-top: 24px; }
}
.pay-line b { text-align: left; }
.pay #pay-element { width: 100%; }
/* The headline spans both boxes (Lewis, 7 Oct); a row of creators getting results under the form. */
.pay .pay-head h1, .pay .pay-head .f-sub { max-width: none; width: 100%; }
.pay .pay-head h1 { font-size: clamp(32px, 5.2vw, 60px); text-wrap: balance; }
.pay-wins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 56px; }
.pay-wins img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
@media (max-width: 820px) { .pay-wins { grid-template-columns: 1fr 1fr; } .pay-wins img:nth-child(3) { display: none; } }
.pay .pay-head { max-width: none; width: 100%; }
.mm-c main.f.pay > section.pay-head, .mm-c main.f.pay > section.pay-wins { max-width: none; }
/* Summary v2 (Lewis, 7 Oct): a creator getting the result up top, Lewis beside his guarantee, bigger photos below. */
.pay .pay-head h1 { font-size: clamp(32px, 5.4vw, 68px); text-wrap: wrap; }
.pay-sum img.pay-hero { aspect-ratio: 4 / 3; object-position: 50% 40%; }
.pay-g { display: flex; gap: 14px; align-items: flex-start; }
.pay-g img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--o20); }
.pay-g p { margin: 0; }
.pay-g p span { display: block; margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
.pay-wins { grid-template-columns: 1fr 1fr; gap: 24px; }
.pay-wins img { border-radius: 18px; }
@media (max-width: 820px) { .pay-wins { grid-template-columns: 1fr; } .pay-wins img:nth-child(3) { display: block; } }
/* v3 (Lewis, 7 Oct): guarantee under the payment box, photos as a full-width band above the footer. */
.pay-right { display: grid; gap: 16px; align-content: start; }
.pay-right .pay-g { background: var(--o10); }
.mm-c main.f.pay > section.pay-wins { width: 100vw; max-width: none; margin: 8px 0 0 calc(50% - 50vw); gap: 0; grid-template-columns: 1fr 1fr; }
.pay-wins img { border-radius: 0; aspect-ratio: 16 / 9; height: 100%; }
body:has(main.pay) .foot { margin-top: 0; }
@media (max-width: 820px) { .mm-c main.f.pay > section.pay-wins { grid-template-columns: 1fr 1fr; } .pay-wins img { aspect-ratio: 4 / 5; } }
body:has(main.pay) { overflow-x: clip; }
/* Phone-style notifications over the photo band (Lewis, 7 Oct): payments and bookings landing. */
.pay-wins figure { position: relative; margin: 0; overflow: hidden; }
.pay-wins figure img { width: 100%; height: 100%; }
.pay-notes { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(360px, 86%); display: grid; gap: 10px; }
.pay-note { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(255, 253, 249, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px rgba(20, 20, 18, 0.18); color: var(--ink); text-align: left; }
.pay-note + .pay-note { opacity: 0.92; transform: scale(0.96); }
.pay-note-i { width: 38px; height: 38px; border-radius: 10px; background: var(--o60); display: grid; place-items: center; }
.pay-note-i svg { width: 22px; height: 22px; }
.pay-note-t { display: grid; font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.pay-note-t b { font-size: 15px; color: var(--ink); }
.pay-note time { align-self: start; font-size: 12px; color: var(--muted); }
@media (max-width: 820px) {
  .pay-notes { width: 92%; gap: 6px; }
  .pay-note { grid-template-columns: 28px 1fr; padding: 8px 10px; gap: 8px; border-radius: 12px; }
  .pay-note time, .pay-note + .pay-note { display: none; }
  .pay-note-i { width: 28px; height: 28px; border-radius: 8px; }
  .pay-note-i svg { width: 16px; height: 16px; }
  .pay-note-t { font-size: 11px; } .pay-note-t b { font-size: 12px; }
}
.pay-notes { top: auto; bottom: 8%; left: 5%; transform: none; }
.pay-wins figure:nth-child(2) .pay-notes { left: auto; right: 5%; }
@media (max-width: 820px) { .pay-notes { left: 4%; right: 4%; width: auto; bottom: 6%; } .pay-wins figure:nth-child(2) .pay-notes { left: 4%; right: 4%; } }

/* Members' edition (/members/workbook/<key>, member.js): the entry form and Lewis's section video pop-up. */
.mem-in { max-width: 520px; margin: 40px auto 64px; }
.mem-hero { display: block; width: 100%; height: auto; border-radius: var(--r); margin: 0 0 16px; box-shadow: 0 12px 30px rgba(20, 20, 18, .18); }
.mem-in h1 { font-size: clamp(28px, 6vw, 40px); margin: 6px 0 10px; }
.mv-again { display: inline-flex; align-items: center; gap: 8px; margin: -12px 0 20px; }
.mv-play { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
body.mv-open { overflow: hidden; }
.mv { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 20, 18, 0.82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.mv-box { width: min(960px, 100%, calc((100vh - 120px) * 16 / 9)); background: var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.mv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; color: var(--paper); font-weight: 700; font-size: 15px; }
.mv-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; }
.mv-x:hover, .mv-x:focus-visible { background: var(--o60); }
.mv-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.mv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* The course card at the top of a workbook that goes with a course */
.course-card { display: flex; align-items: center; gap: 14px; margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; background: var(--paper2, #faf7f2); }
.course-card:hover { border-color: var(--accent, #c2541d); }
.course-card .cc-play { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent, #c2541d); color: #fff; display: grid; place-items: center; }
.course-card .cc-play svg { width: 20px; height: 20px; margin-left: 3px; }
.course-card .cc-text { display: grid; gap: 2px; min-width: 0; }
.course-card small { font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.course-card b { font-size: 16px; line-height: 1.25; }
.course-card .cc-text > span { font-size: 13px; opacity: 0.75; }

/* Jackson Select lockup: the name in Cinzel */
.j-lockup { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 6px; color: var(--ink, #141412); }
.j-lockup .j-name { font-family: "Cinzel", Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; padding-top: 2px; }
.f-end .j-lockup { justify-content: center; }
