/* The existing Method page: a readable study journey, with no motion dependency. */
.bw-method{--method-bg:#f5f4f0;--method-ink:#191923;--method-muted:#43404f;--method-accent:#593a87;--method-line:#d6d2de;--method-well:#ece9f2;--ui-ink:var(--method-ink);--ui-muted:var(--method-muted);--ui-accent:var(--method-accent);background:var(--method-bg);color:var(--method-ink);padding:clamp(2.5rem,5vw,4.5rem) max(20px,calc((100% - 1120px)/2));margin:0;font:400 1rem/1.7 "Space Grotesk",system-ui,sans-serif;overflow-wrap:break-word}
@media(prefers-color-scheme:dark){html:not([data-bw-study-scheme="light"]) .bw-method{--method-bg:#10111b;--method-ink:#f5f3ed;--method-muted:#d6d1e2;--method-accent:#cdbcf7;--method-line:#454052;--method-well:#1a1b29}}
html[data-bw-study-scheme="dark"] .bw-method{--method-bg:#10111b;--method-ink:#f5f3ed;--method-muted:#d6d1e2;--method-accent:#cdbcf7;--method-line:#454052;--method-well:#1a1b29}
.bw-method *{box-sizing:border-box}
.bw-method :where(h1,h2,h3,p,ol){margin:0}
.bw-method h1{font:400 clamp(2.4rem,5vw,4rem)/1.1 Newsreader,Georgia,serif;letter-spacing:-.025em;color:var(--method-ink);max-width:48rem;margin:0 0 1rem;text-wrap:balance}
.bw-method h2{font:400 clamp(1.9rem,3vw,2.6rem)/1.16 Newsreader,Georgia,serif;letter-spacing:-.02em;color:var(--method-ink);margin:0 0 1rem;text-wrap:balance}
.bw-method h3{font:600 1.15rem/1.4 "Space Grotesk",system-ui,sans-serif;color:var(--method-ink);margin:0 0 .5rem}
.bw-method p{color:var(--method-muted);margin:0 0 1rem;max-width:48rem}
.bw-method .bw-method-kicker{font-size:.875rem;font-weight:600;letter-spacing:.03em;color:var(--method-accent);margin:0 0 .8rem}
.bw-method .bw-method-lede{font:400 clamp(1.5rem,3vw,2rem)/1.3 Newsreader,Georgia,serif;color:var(--method-ink);margin:0 0 1rem}
.bw-method a{color:var(--method-accent);text-decoration:underline;text-underline-offset:4px}
.bw-method a:focus-visible{outline:3px solid var(--method-accent);outline-offset:4px;border-radius:3px}
.bw-method-jumps{display:flex;flex-wrap:wrap;gap:.4rem 1.5rem;margin:1.3rem 0 0}
.bw-method-jumps a{display:inline-flex;align-items:center;min-height:44px;font-size:.94rem;font-weight:600}
.bw-method-section{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(1.5rem,5vw,5rem);padding-top:3rem;margin-top:3rem;border-top:1px solid var(--method-line);scroll-margin-top:110px}
.bw-method-steps{padding:0;list-style:none;counter-reset:method-step}
.bw-method-steps li{counter-increment:method-step;padding:0;margin:0 0 1.5rem;border-bottom:1px solid var(--method-line)}
.bw-method-step{display:block;position:relative;padding:0 0 1.5rem 2.6rem}
.bw-method .bw-method-step{text-decoration:none}
.bw-method-step-action{display:inline-block;color:var(--method-accent);text-decoration:underline;text-underline-offset:4px}
.bw-method-step::before{content:"0" counter(method-step);position:absolute;left:0;top:0;color:var(--method-accent);font-weight:600}
.bw-method-steps li:last-child{margin:0}
.bw-method-principles article{padding:0 0 1.8rem;margin:0 0 1.8rem;border-bottom:1px solid var(--method-line)}
.bw-method-principles article:last-child{margin:0}
.bw-method-where{background:var(--method-well);padding:.85rem 1rem}
.bw-method-principles a{font-size:.9rem;display:inline-block;line-height:1.6}
.bw-method-tools{display:grid}
.bw-method-tools>a{display:grid;gap:.35rem;padding:1.1rem .3rem;border-bottom:1px solid var(--method-line);text-decoration:none}
.bw-method-tools>a:first-child{padding-top:0}
.bw-method-tools strong{font-size:1.05rem;color:var(--method-ink)}
.bw-method-tools span{color:var(--method-muted)}
.bw-method-tools small{font-size:.9rem;font-weight:600;text-decoration:underline;text-underline-offset:4px;color:var(--method-accent)}
.bw-method-care{border-top:1px solid var(--method-line);margin-top:3rem;padding-top:2.5rem}
.bw-method .bw-method-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.7rem 1.25rem;background:var(--method-accent);color:var(--method-bg);border-radius:6px;font-weight:600;text-decoration:none;margin-top:.5rem}
.bw-method .bw-method-updated{font-size:.85rem;margin:2.5rem 0 0}
@media(hover:hover){.bw-method-step:hover h3{text-decoration:underline;text-underline-offset:4px}.bw-method-tools>a:hover strong{text-decoration:underline;text-underline-offset:4px}}
@media(max-width:760px){.bw-method-section{grid-template-columns:minmax(0,1fr);gap:1rem;padding-top:2rem;margin-top:2rem}.bw-method-step{padding-left:2.2rem}.bw-method-jumps{display:grid;gap:.2rem}.bw-method-jumps a{min-height:44px}}

/* Share's popup mounts outside main; both surfaces use this page's selected palette. */
body[data-bw-page="method"]{
  --method-well:#ece9f2;--method-ink:#191923;
  --method-line:#d6d2de;--method-accent:#593a87;
}
@media(prefers-color-scheme:dark){
  html:not([data-bw-study-scheme="light"]) body[data-bw-page="method"]{
    --method-well:#1a1b29;--method-ink:#f5f3ed;
    --method-line:#454052;--method-accent:#cdbcf7;
  }
}
html[data-bw-study-scheme="dark"] body[data-bw-page="method"]{
  --method-well:#1a1b29;--method-ink:#f5f3ed;
  --method-line:#454052;--method-accent:#cdbcf7;
}
body[data-bw-page="method"] :is(.bw-share,.bw-share-portal){
  --share-surface:var(--method-well);--share-ink:var(--method-ink);
  --share-line:var(--method-line);--share-accent:var(--method-accent);
}
