/* Off Script Parenting — Ghost theme · OSP design system */
:root{
  --navy:#0F3157; --navy-mid:#2E4A6E; --plum:#7E4E5E; --moss:#4E6A4D;
  --stone:#E7E7DD; --soft-stone:#F4F0EA; --charcoal:#2A1F22; --paper:#FBFAF7;
  --maxw:720px; --wide:1100px;
  --sans:"Wix Madefor Text","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --display:"Wix Madefor Display","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:var(--sans);color:var(--charcoal);background:var(--paper);
  line-height:1.65;font-size:18px;-webkit-font-smoothing:antialiased;}
a{color:var(--plum);}
img{max-width:100%;height:auto;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
.wrap-wide{max-width:var(--wide);margin:0 auto;padding:0 24px;}

/* Header / nav */
.site-header{background:var(--navy);color:#fff;position:sticky;top:0;z-index:20;}
.site-header .bar{max-width:var(--wide);margin:0 auto;padding:16px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.brand{display:flex;align-items:center;gap:11px;font-family:var(--display);font-weight:700;
  letter-spacing:.02em;color:#fff;text-decoration:none;font-size:18px;}
.brand .mark{width:24px;height:24px;border-radius:50%;
  background:linear-gradient(90deg,var(--navy) 50%,#fff 50%);border:2px solid #fff;flex:none;}
.brand-logo{height:30px;width:auto;display:block;}
.nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap;}
.nav a{color:#fff;text-decoration:none;font-size:15px;opacity:.85;}
.nav a:hover{opacity:1;text-decoration:underline;text-underline-offset:4px;}
.nav .btn-sm{background:var(--plum);opacity:1;padding:8px 16px;border-radius:999px;font-weight:600;}
.nav .btn-sm:hover{background:#8d5a6a;text-decoration:none;}

/* Hero / page headers */
.hero{background:var(--stone);padding:64px 0 52px;}
.eyebrow{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--navy-mid);
  font-weight:700;margin:0 0 12px;}
h1,.h1{font-family:var(--display);color:var(--navy);font-size:clamp(32px,5.5vw,50px);
  line-height:1.1;margin:0 0 10px;letter-spacing:-.01em;}
.standfirst{font-size:clamp(18px,2.3vw,22px);color:var(--navy-mid);margin:0;max-width:560px;}

/* Content */
.content{padding:44px 0 64px;}
.content h2{font-family:var(--display);color:var(--navy);font-size:clamp(24px,3.4vw,30px);
  line-height:1.2;margin:38px 0 14px;letter-spacing:-.01em;}
.content h3{font-family:var(--display);color:var(--navy);font-size:21px;margin:30px 0 10px;}
.content p{margin:0 0 18px;}
.content ul,.content ol{margin:0 0 18px;padding-left:22px;}
.content li{margin:0 0 8px;}
.content blockquote{border-left:4px solid var(--moss);background:var(--soft-stone);
  margin:24px 0;padding:18px 22px;border-radius:10px;color:var(--charcoal);}
.content a{color:var(--plum);}
.content img{border-radius:12px;}
.lead{font-size:20px;color:var(--navy-mid);}

/* Module / post meta */
.post-hero{background:var(--charcoal);color:#fff;padding:60px 0;}
.post-hero .eyebrow{color:#cdb9c1;}
.post-hero h1{color:#fff;}
.post-hero .readtime{color:#cfc9c6;font-size:15px;margin-top:14px;}

/* Library cards */
.section-title{font-family:var(--display);color:var(--navy);font-size:28px;margin:0 0 6px;}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px;
  padding:36px 0 64px;}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid rgba(15,49,87,.12);
  border-radius:16px;padding:24px;text-decoration:none;color:inherit;transition:transform .15s,box-shadow .15s;}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(15,49,87,.10);}
.card .tag{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--moss);font-weight:700;}
.card h3{font-family:var(--display);color:var(--navy);font-size:21px;margin:8px 0 8px;line-height:1.2;}
.card p{color:var(--charcoal);font-size:15px;margin:0;flex:1;}
.card .lock{margin-top:14px;font-size:13px;color:var(--plum);font-weight:600;}

/* Paywall / gated teaser */
.gate{margin:32px 0 0;padding:30px 26px;background:var(--soft-stone);
  border:1px solid rgba(126,78,94,.25);border-radius:16px;text-align:center;}
.gate h3{font-family:var(--display);color:var(--navy);margin:0 0 8px;font-size:22px;}
.gate p{margin:0 0 18px;color:var(--navy-mid);}

/* Buttons */
.btn{display:inline-block;padding:13px 26px;border-radius:999px;text-decoration:none;
  font-weight:700;font-size:16px;cursor:pointer;border:none;font-family:var(--sans);}
.btn.primary{background:var(--plum);color:#fff;}
.btn.primary:hover{background:#8d5a6a;}
.btn.ghost{background:transparent;color:var(--navy);border:1.5px solid rgba(15,49,87,.4);}
.btn.ghost:hover{border-color:var(--navy);}
.cta-row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* CTA band */
.cta-band{background:var(--navy);color:#fff;padding:54px 0;text-align:center;}
.cta-band h2{font-family:var(--display);color:#fff;font-size:28px;margin:0 0 18px;}
.cta-band .btn.ghost{color:#fff;border-color:rgba(255,255,255,.55);}
.cta-band .btn.ghost:hover{border-color:#fff;}

/* Inline newsletter signup */
.signup{background:var(--stone);border-radius:16px;padding:28px;margin:36px 0;text-align:center;}
.signup h3{font-family:var(--display);color:var(--navy);margin:0 0 8px;font-size:22px;}
.signup p{margin:0 0 16px;color:var(--navy-mid);font-size:16px;}
.signup form{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.signup input[type=email]{padding:13px 16px;border:1px solid rgba(15,49,87,.3);border-radius:999px;
  font-size:16px;min-width:240px;font-family:var(--sans);}

/* Footer */
.site-footer{background:var(--charcoal);color:#cdc7c4;padding:40px 0;font-size:14px;}
.site-footer .wrap-wide{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;align-items:center;}
.site-footer a{color:#e7dfe2;text-decoration:none;margin-left:18px;}
.site-footer .links{display:flex;flex-wrap:wrap;gap:0 4px;}
@media(max-width:560px){.site-footer .wrap-wide{flex-direction:column;align-items:flex-start;}
  .site-footer a{margin-left:0;margin-right:18px;}}

/* Koenig editor card widths (required by Ghost/gscan; used if native editor images are added) */
.kg-width-wide{max-width:1100px;margin-left:auto;margin-right:auto;}
.kg-width-full{max-width:100%;width:100%;}
figure.kg-card{margin:24px 0;}
.kg-card img{max-width:100%;height:auto;}

/* ===== Module body styling — canonical render CSS, scoped under .osp-module =====
   Source of truth: _build/render_modules.py CSS. Each module post is wrapped in
   <div class="osp-module"> and carries NO inline <style>. Fonts: see default.hbs head. */
.osp-module{--navy:#0F3157;--midnavy:#2E4A6E;--plum:#7E4E5E;--moss:#4E6A4D;--stone:#E7E7DD;--softstone:#F4F0EA;--charcoal:#2A1F22;--white:#fff;--maxw:760px}
.osp-module *{box-sizing:border-box}
.osp-module{margin:0;background:var(--stone);color:var(--charcoal);font-family:'Atkinson Hyperlegible','Inter',system-ui,sans-serif;font-size:18px;line-height:1.65}
.osp-module h1,.osp-module h2,.osp-module h3,.osp-module summary{font-weight:700;line-height:1.25}
.osp-module .wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.osp-module header.hero{background:var(--navy);color:#fff;padding:30px 0 34px}
.osp-module header.hero .kicker{color:var(--stone);opacity:.85;text-transform:uppercase;letter-spacing:.08em;font-size:13px;margin:0 0 8px}
.osp-module header.hero h1{font-size:31px;margin:0 0 10px;color:#fff}
.osp-module header.hero .read{font-size:14px;opacity:.85}
.osp-module .shortcard{background:var(--softstone);border-left:6px solid var(--plum);border-radius:0 12px 12px 0;padding:18px 22px;margin:26px 0}
.osp-module .shortcard h2{font-size:18px;margin:0 0 10px;color:var(--plum)}
.osp-module .shortcard ol{margin:10px 0 0;padding-left:20px}
.osp-module .shortcard li{margin:0 0 10px;font-size:16.5px}
.osp-module .shortcard p{margin:12px 0}
.osp-module details.sec{background:var(--white);border:1px solid #dcdcd2;border-radius:12px;margin:14px 0;overflow:hidden}
.osp-module details.sec>summary{list-style:none;cursor:pointer;padding:17px 20px;display:flex;align-items:center;gap:12px;font-size:19px;color:var(--navy)}
.osp-module details.sec>summary::-webkit-details-marker{display:none}
.osp-module details.sec>summary .chev{margin-left:auto;transition:transform .2s;color:var(--midnavy)}
.osp-module details.sec[open]>summary .chev{transform:rotate(90deg)}
.osp-module details.sec>summary .audiochip{font-size:12px;font-weight:600;color:var(--moss);border:1px solid var(--moss);border-radius:20px;padding:3px 10px;white-space:nowrap}
.osp-module .secbody{padding:2px 20px 20px;border-top:1px solid #eee}
.osp-module .secbody p{margin:14px 0}
.osp-module .secbody h3{font-size:18px;margin:20px 0 6px;color:var(--navy)}
.osp-module .secbody ul,.osp-module .secbody ol{margin:12px 0;padding-left:22px}
.osp-module .secbody li{margin:0 0 8px}
.osp-module details.sec.helps>summary{color:var(--moss)}
.osp-module .help-item{margin:20px 0;padding-top:6px}
.osp-module .help-item h3{font-size:18px;margin:0 0 8px;color:var(--moss)}
.osp-module .lbl{font-weight:700;color:var(--navy)}
.osp-module details.deeper{margin:16px 0;border:1px dashed var(--midnavy);border-radius:10px;background:#fbfaf6}
.osp-module details.deeper>summary{cursor:pointer;padding:12px 16px;font-size:15px;color:var(--midnavy);list-style:none;font-weight:700}
.osp-module details.deeper>summary::-webkit-details-marker{display:none}
.osp-module details.deeper>summary::before{content:"＋ "}
.osp-module details.deeper[open]>summary::before{content:"− "}
.osp-module details.deeper .dbody{padding:0 16px 14px;font-size:15.5px}
.osp-module .details .dbody p{margin:12px 0}
.osp-module .picker{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px}
.osp-module .picker button{font:inherit;font-size:14px;font-weight:700;border:1px solid var(--midnavy);background:#fff;color:var(--midnavy);border-radius:22px;padding:8px 14px;cursor:pointer}
.osp-module .picker button[aria-selected="true"]{background:var(--midnavy);color:#fff}
.osp-module .stream{display:none}
.osp-module .stream.on{display:block}
.osp-module .safe{background:#fff;border:2px solid var(--plum);border-radius:12px;padding:18px 20px;margin:22px 0}
.osp-module .safe h2{color:var(--plum);margin:0 0 8px;font-size:18px}
.osp-module .safe p{margin:0;font-size:15.5px}
.osp-module .takehome{background:var(--moss);color:#fff;border-radius:14px;padding:22px 24px;margin:24px 0}
.osp-module .takehome h2{color:#fff;font-size:18px;margin:0 0 8px}
.osp-module .takehome p{margin:10px 0;color:#fff}
.osp-module .pocketcues{background:var(--softstone);border-radius:14px;padding:22px 24px 26px;margin:26px 0}
.osp-module .pocketcues h2{color:var(--navy);font-size:20px;margin:0 0 4px}
.osp-module .pc-intro{margin:0 0 16px;font-size:15px;color:var(--charcoal)}
.osp-module .pc-grid{display:flex;flex-wrap:wrap;gap:18px}
.osp-module .pc-card{margin:0}
.osp-module .pc-card img{display:block;width:300px;max-width:100%;height:auto;border-radius:14px;box-shadow:0 6px 22px rgba(15,49,87,.16)}
.osp-module .pc-fallback{flex:1;min-width:240px;border-left:4px solid var(--moss);background:#fff;border-radius:0 10px 10px 0;padding:12px 16px}
.osp-module .pc-fallback.pc-seen{border-left-color:var(--plum)}
.osp-module .pc-fallback b{color:var(--navy)}
.osp-module .freecta-top{background:var(--softstone);border:1px solid #e0d9d0;border-left:4px solid var(--plum);border-radius:8px;padding:12px 16px;margin:18px 0 0;font-size:15px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:space-between}
.osp-module .freecta-top a{color:var(--plum);font-weight:700;text-decoration:none;white-space:nowrap;cursor:pointer}
.osp-module .freecta-bottom{background:var(--navy);color:#fff;border-radius:14px;padding:24px 26px;margin:28px 0 10px}
.osp-module .freecta-bottom h3{color:#fff;margin:0 0 8px;font-size:19px}
.osp-module .freecta-bottom p{margin:0 0 16px;color:#cdd8e4}
.osp-module .fcrow{display:flex;gap:10px;flex-wrap:wrap}
.osp-module .fcbtn{display:inline-block;border-radius:999px;padding:10px 18px;font-weight:700;font-size:14px;text-decoration:none;cursor:pointer;border:2px solid rgba(255,255,255,.55);color:#fff;background:transparent}
.osp-module .fcbtn.primary{background:var(--moss);border-color:var(--moss);color:#fff}
.osp-module figure.modimg{margin:22px auto;border:1px solid #C99AA5;border-radius:10px;overflow:hidden;background:#fff}
.osp-module figure.modimg img{display:block;width:100%;height:auto}
.osp-module figure.modimg figcaption{font-size:13.5px;color:#2E4A6E;font-style:italic;padding:9px 16px;background:#F4F0EA}
.osp-module figure.modimg.hero-img{margin:0;border:none;border-radius:0;border-bottom:3px solid #4E6A4D}
.osp-module figure.modimg.hero-img figcaption{text-align:center;max-width:760px;margin:0 auto}
.osp-module .note{border-left:4px solid var(--midnavy);background:#f4f6f9;border-radius:0 8px 8px 0;padding:12px 18px;margin:18px 0;font-size:16px}
.osp-module .note p{margin:8px 0}
.osp-module .note p:first-child{margin-top:0}
.osp-module .note p:last-child{margin-bottom:0}
.osp-module header.hero .standfirst{color:#dfe7f1;font-size:17px;line-height:1.5;margin:0 0 12px;max-width:60ch}
.osp-module .check{background:#fff;border:2px dashed var(--moss);border-radius:14px;padding:20px 24px;margin:28px 0}
.osp-module .check h2{color:var(--moss);font-size:18px;margin:0 0 10px}
.osp-module .check .q{font-weight:700;color:var(--navy);font-size:18px;margin:0 0 14px;line-height:1.4}
.osp-module .check details.checkreveal{border:none;background:transparent;margin:0;padding:0}
.osp-module .check details.checkreveal>summary{cursor:pointer;display:inline-block;background:var(--moss);color:#fff;font-weight:700;font-size:14px;border-radius:22px;padding:8px 16px;list-style:none}
.osp-module .check details.checkreveal>summary::-webkit-details-marker{display:none}
.osp-module .check details.checkreveal>summary::before{content:"▸ "}
.osp-module .check details.checkreveal[open]>summary::before{content:"▾ "}
.osp-module .check .cbody{margin-top:14px}
.osp-module .check .cbody p{margin:8px 0;font-size:16.5px}
.osp-module footer{padding:24px 0 50px;text-align:center;font-size:13px;color:#8a8a80}
.osp-module .pc-card{display:flex;flex-direction:column;gap:10px;width:300px;max-width:100%}
.osp-module .pc-card .pc-imglink{display:block}
.osp-module .pc-card .pc-dl{display:block;text-align:center;background:#7E4E5E;color:#fff;font-weight:700;font-size:14px;border-radius:999px;padding:9px 14px;text-decoration:none}
.osp-module .pc-card .pc-dl:hover{background:#8d5a6a}
.osp-module details.evidence{border:1px dashed #2E4A6E;border-radius:14px;background:#fbfaf6;margin:30px 0 6px}
.osp-module details.evidence>summary{cursor:pointer;padding:16px 22px;font-size:17px;font-weight:700;color:#2E4A6E;list-style:none}
.osp-module details.evidence>summary::-webkit-details-marker{display:none}
.osp-module details.evidence>summary::before{content:"▸ "}
.osp-module details.evidence[open]>summary::before{content:"▾ "}
.osp-module .evbody{padding:2px 24px 22px}
.osp-module .evintro{font-size:15px;color:#4a4a42;margin:8px 0 18px;line-height:1.55;max-width:62ch}
.osp-module .ev{margin:0 0 16px;padding-left:15px;border-left:3px solid #C99AA5}
.osp-module .ev.well{border-left-color:#4E6A4D}
.osp-module .ev .claim{font-size:16px;line-height:1.5}
.osp-module .ev .claim b{color:#0F3157}
.osp-module .ev .src{display:block;margin-top:4px;font-size:13px;color:#7a7a70;line-height:1.45}
.osp-module .ev .src .str{font-weight:700;color:#4E6A4D}
.osp-module .ev.bet .src .str{color:#7E4E5E}
.osp-module .evnote{font-size:13px;color:#7a7a70;margin:18px 0 0;border-top:1px solid #e0ddd2;padding-top:13px;line-height:1.5;max-width:64ch}
.gh-post-upgrade-cta{display:none !important}
.osp-paywall{background:var(--navy);color:#fff;margin:0;padding:48px 0}
.osp-paywall .wrap{max-width:680px;margin:0 auto;padding:0 24px}
.osp-paywall h2{font-family:var(--display);color:#fff;font-size:clamp(24px,4vw,30px);margin:0 0 14px}
.osp-paywall p{color:#dde6f0;font-size:17px;line-height:1.6;margin:0 0 24px;max-width:60ch}
.osp-paywall-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px}
.osp-paywall-btn{display:inline-block;background:var(--plum);color:#fff;font-weight:700;border-radius:999px;padding:13px 28px;text-decoration:none}
.osp-paywall-btn:hover{background:#8d5a6a}
.osp-paywall-signin{color:#fff;text-decoration:underline;font-size:15px}
.osp-paywall-signin:hover{opacity:.85}
.osp-paywall-yearly{color:#fff;text-decoration:underline;font-size:15px}
.osp-paywall-yearly:hover{opacity:.85}
/* responsive primary nav (kill ul bullets + stack on mobile) */
.site-header ul.nav{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.site-header ul.nav li{margin:0;padding:0}
@media(max-width:680px){
  .site-header .bar{flex-wrap:wrap;gap:12px;padding:14px 18px}
  .site-header nav.nav{width:100%;gap:12px 18px}
  .site-header ul.nav{gap:12px 16px}
}
