/* for-affiliates: the affiliate's notebook. Layout, notebook pages and sticky-note illustrations only. Type, colour, buttons and cards come from landing-system.css. */
.bespoke-for-affiliates ol,.bespoke-for-affiliates ul{margin:0;padding:0;list-style:none}

/* links styled as buttons keep the system colours */
.bespoke-for-affiliates a.ls-btn,.bespoke-for-affiliates a.ls-btn:hover{color:#fff}
.bespoke-for-affiliates a.ls-btn--blue,.bespoke-for-affiliates a.ls-btn--blue:hover,.bespoke-for-affiliates a.ls-btn--ghost,.bespoke-for-affiliates a.ls-btn--ghost:hover,.bespoke-for-affiliates .ls-cta a.ls-btn,.bespoke-for-affiliates .ls-cta a.ls-btn:hover{color:var(--ls-ink)}
/* the build wraps every table in .table-wrap; let .ls-table-wrap do the framing */
.bespoke-for-affiliates .ls-table-wrap .table-wrap{margin:0;border:0;border-radius:0;background:none;overflow:visible}

/* hero */
.bespoke-for-affiliates .af-hero{padding-top:48px}
.bespoke-for-affiliates .af-note{margin:14px 0 0}

/* illustrations: flat, 2px ink outlines, pastel fills */
.bespoke-for-affiliates .af-illo{margin:0}
.bespoke-for-affiliates .af-illo svg{max-width:520px;margin:0 auto}
.bespoke-for-affiliates .af-illo figcaption{text-align:center;margin-top:12px}
.bespoke-for-affiliates .af-ink *{stroke:var(--ls-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none;vector-effect:non-scaling-stroke}
.bespoke-for-affiliates .af-ink .f-paper{fill:var(--ls-paper)}
.bespoke-for-affiliates .af-ink .f-cream{fill:var(--ls-cream)}
.bespoke-for-affiliates .af-ink .f-blue{fill:var(--ls-blue)}
.bespoke-for-affiliates .af-ink .f-peach-tint{fill:var(--ls-peach-tint)}
.bespoke-for-affiliates .af-ink .f-lavender{fill:var(--ls-lavender)}
.bespoke-for-affiliates .af-ink .f-mint{fill:var(--ls-mint)}
.bespoke-for-affiliates .af-ink .f-yellow{fill:var(--ls-yellow)}
.bespoke-for-affiliates .af-svgtext text{fill:var(--ls-ink);font-family:var(--ls-font)}
.bespoke-for-affiliates .af-svgtext .t-h{font-size:20px;font-weight:700}
.bespoke-for-affiliates .af-svgtext .t-big{font-size:34px;font-weight:800;letter-spacing:-.02em}
.bespoke-for-affiliates .af-svgtext .t-sm{font-size:18px;font-weight:500}
.bespoke-for-affiliates .af-svgtext .t-b{font-weight:800}
.bespoke-for-affiliates .af-underline{stroke:var(--ls-yellow);stroke-width:8;stroke-linecap:round;fill:none}

/* key stats and infographic sit on a ruled notebook page */
.bespoke-for-affiliates .af-stats{background:var(--ls-paper) repeating-linear-gradient(transparent 0 35px,var(--ls-blue-tint) 35px 36px)}
.bespoke-for-affiliates .af-stats .key-stats-box{margin:0 0 32px}
.bespoke-for-affiliates .af-stats .infographic-fig{margin:0 auto;max-width:900px}
.bespoke-for-affiliates .af-stats .infographic-fig img{border-radius:20px;border:1.5px solid var(--ls-line)}

/* page tabs */
.bespoke-for-affiliates .af-tabs .ls-wrap{display:flex;flex-wrap:wrap;gap:12px}
.bespoke-for-affiliates .af-tabs a{display:inline-flex;align-items:center;gap:10px;padding:10px 18px 10px 10px;border:2px solid var(--ls-ink);border-radius:999px;background:var(--ls-paper);color:var(--ls-ink);font-weight:700;font-size:16px;text-decoration:none;transition:transform .18s ease}
.bespoke-for-affiliates .af-tabs a:hover{transform:translateY(-2px);color:var(--ls-ink)}
.bespoke-for-affiliates .af-tabs a span{width:30px;height:30px;border-radius:50%;background:var(--ls-yellow);border:2px solid var(--ls-ink);display:grid;place-items:center;font-size:14px;font-weight:800}

/* section intros */
.bespoke-for-affiliates .ls-measure > .ls-tag,.bespoke-for-affiliates .af-plan .ls-tag{margin-bottom:16px}

/* charts and tables */
.bespoke-for-affiliates .af-chart{margin:32px 0 24px;padding:18px}
.bespoke-for-affiliates .af-chart img{display:block;width:100%;height:auto;border-radius:12px}
.bespoke-for-affiliates .af-chart figcaption{margin:12px 6px 0}
.bespoke-for-affiliates .af-table{margin-top:8px}
.bespoke-for-affiliates .af-table caption{caption-side:top;text-align:left;font-weight:700;font-size:16px;color:var(--ls-ink);padding:14px 16px 12px;background:var(--ls-paper)}
.bespoke-for-affiliates .af-table th{white-space:normal;letter-spacing:.02em;font-size:12px;vertical-align:bottom}
.bespoke-for-affiliates .af-table td:first-child{min-width:11em}
.bespoke-for-affiliates .af-table .ls-table td,.bespoke-for-affiliates .af-table .ls-table th{padding-left:12px;padding-right:12px}
.bespoke-for-affiliates .af-get td:first-child{min-width:16em}
.bespoke-for-affiliates .af-aff td:first-child{min-width:0}
.bespoke-for-affiliates .af-get td:last-child{font-size:14px}
.bespoke-for-affiliates .af-get code{white-space:nowrap}
.bespoke-for-affiliates .af-notes{margin-top:28px}
.bespoke-for-affiliates .af-notes h3{font-size:19px}

/* page 2 and 3: table beside a sticky note */
.bespoke-for-affiliates .af-row{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);align-items:start;margin-top:8px}
.bespoke-for-affiliates .af-email{transform:rotate(1.2deg)}
.bespoke-for-affiliates .af-email .ls-stat{margin-bottom:16px}
.bespoke-for-affiliates .af-sticky{display:grid;gap:14px}
.bespoke-for-affiliates .af-sticky li{display:flex;flex-direction:column;gap:6px;padding:20px 22px}
.bespoke-for-affiliates .af-sticky li:nth-child(1){transform:rotate(-1.2deg)}
.bespoke-for-affiliates .af-sticky li:nth-child(2){transform:rotate(.9deg)}
.bespoke-for-affiliates .af-sticky li:nth-child(3){transform:rotate(-.6deg)}
.bespoke-for-affiliates .af-sticky b{font-size:clamp(30px,3vw,40px);font-weight:800;letter-spacing:-.03em;line-height:1;color:var(--ls-ink)}
.bespoke-for-affiliates .af-sticky span{font-size:16px;line-height:1.45;color:var(--ls-text)}

/* run it */
.bespoke-for-affiliates .af-run{align-items:start}
.bespoke-for-affiliates .af-run blockquote.prompt{margin:20px 0 0}
.bespoke-for-affiliates .af-tools{background:var(--ls-paper);border:2px solid var(--ls-ink);border-radius:var(--ls-radius);padding:26px 26px 10px}
.bespoke-for-affiliates .af-tools h3{margin-bottom:14px}
.bespoke-for-affiliates .af-tools dt{margin:0 0 6px}
.bespoke-for-affiliates .af-tools dd{margin:0 0 18px;font-size:16px;line-height:1.5;color:var(--ls-text);padding-bottom:16px;border-bottom:1px dashed var(--ls-line)}
.bespoke-for-affiliates .af-tools dd:last-child{border-bottom:0}

/* objections */
.bespoke-for-affiliates .af-objections{margin-top:24px}
.bespoke-for-affiliates .af-objections h3{font-size:20px}
.bespoke-for-affiliates .af-objections p{font-size:16px}

/* page 4 */
.bespoke-for-affiliates .af-plan{align-items:start}
.bespoke-for-affiliates .af-shows .ls-source{margin-top:12px}

/* FAQ */
.bespoke-for-affiliates .af-faq{max-width:900px}

/* method */
.bespoke-for-affiliates .af-method-h{font-size:clamp(20px,1.8vw,24px);letter-spacing:-.01em}

@media (max-width:960px){
  .bespoke-for-affiliates .af-row{grid-template-columns:minmax(0,1fr)}
  .bespoke-for-affiliates .af-sticky{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:640px){
  .bespoke-for-affiliates .af-hero{padding-top:28px}
  .bespoke-for-affiliates .af-illo{padding:8px;border-radius:24px}
  .bespoke-for-affiliates .af-tabs .ls-wrap{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .bespoke-for-affiliates .af-tabs a{font-size:14px;padding:8px 12px 8px 8px;border-radius:18px}
  .bespoke-for-affiliates .af-chart{padding:10px}
  .bespoke-for-affiliates .af-sticky{grid-template-columns:1fr}
  .bespoke-for-affiliates .af-email,.bespoke-for-affiliates .af-sticky li{transform:none}
  .bespoke-for-affiliates .af-table td:first-child{min-width:9em}
  .bespoke-for-affiliates .af-get td:first-child{min-width:0}
  .bespoke-for-affiliates .af-get th:last-child,.bespoke-for-affiliates .af-get td:last-child{display:none}
  .bespoke-for-affiliates .af-tools{padding:20px 18px 6px}
  .bespoke-for-affiliates .af-table caption{position:sticky;left:0;max-width:calc(100vw - 36px);font-size:15px}
}
@media (prefers-reduced-motion:reduce){.bespoke-for-affiliates .af-tabs a{transition:none}}

@media(max-width:600px){.bespoke-for-affiliates .af-get th:nth-child(3),.bespoke-for-affiliates .af-get td:nth-child(3){display:none}}

/* Persona mascot in the hero (m-images, 26 Oct). Same block on every bespoke /for/ page; a candidate for landing-system.css.
   Desktop: the mascot sits on the top edge of the hero illustration card. Phones: it moves above the H1. */
main.bespoke .fp-stage{position:relative;padding-top:228px}
main.bespoke .fp-mascot{position:absolute;top:0;left:7%;z-index:2;width:auto;height:248px;max-width:none;transform:rotate(-3deg);transform-origin:50% 100%;pointer-events:auto;-webkit-user-drag:none;user-select:none}
main.bespoke .fp-stage>.ls-illo{position:relative;z-index:1}
@media(hover:hover) and (pointer:fine){main.bespoke .fp-mascot{transition:transform .35s cubic-bezier(.2,.8,.2,1)}main.bespoke .fp-stage:hover .fp-mascot{transform:rotate(-1deg) translateY(-8px)}}
@media(min-width:901px) and (max-width:1100px){main.bespoke .fp-stage{padding-top:196px}main.bespoke .fp-mascot{height:216px}}
@media(max-width:900px){
 main.bespoke .fp-stage{display:contents}
 main.bespoke .fp-mascot{position:static;order:-1;height:148px;justify-self:start;margin:0 0 -22px -4px;transform:rotate(-3deg)}
}
@media(max-width:380px){main.bespoke .fp-mascot{height:140px}}
@media(prefers-reduced-motion:reduce){main.bespoke .fp-mascot{transition:none!important}main.bespoke .fp-stage:hover .fp-mascot{transform:rotate(-3deg)}}

/* audit 2 Nov: drop the units column on phones so the commission column stays in view */
@media(max-width:600px){.bespoke-for-affiliates .hide-sm{display:none}}
