/* At the Range: blog (archive, posts, pages, errors).
   Look ported from legacy/static-site/archive/demo-hidden-costs (the reference issue).
   Dark is the base; html[data-theme="light"] (the default, set before first paint) switches to paper. */
:root{--link:#edb02a;--gold:#edb02a;--gold-bright:#ffcb3d;--gold-grad:linear-gradient(170deg,#ffcb3d 0%,#edb02a 45%,#d9941a 100%);--red:#e53b2e;--paper:#faf8f2;--muted:#cccccc;--muted-2:#a6a6a6;--ok:#5ec46a;--bg:#0e0e0e;--card:#161513;--line:rgba(255,255,255,.08)}
*{box-sizing:border-box;margin:0;padding:0}
html,body{overflow-x:hidden;overflow-x:clip}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:var(--paper);line-height:1.7;-webkit-font-smoothing:antialiased}
a{color:var(--link)}
img{display:block;max-width:100%;height:auto}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* ---------- top bar ---------- */
.top{position:sticky;top:0;z-index:20;background:rgba(14,14,14,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:.5px solid rgba(255,255,255,.07)}
.top-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:1080px;margin:0 auto;padding:.85rem 1.4rem}
.brand{display:flex;align-items:center;gap:10px;color:var(--paper);text-decoration:none;font-weight:800;letter-spacing:.02em}
.brand img.brand-mark{height:30px;width:auto;border-radius:0;filter:invert(1) brightness(1.12) contrast(1.08)}
.brand span{padding-left:10px;border-left:1.5px solid rgba(237,176,42,.45)}
html[data-theme="light"] .brand img.brand-mark{filter:none}
.nav{display:flex;gap:1.4rem;align-items:center}
.nav a{font-size:15px;color:var(--muted);text-decoration:none;font-weight:500}
.nav a:hover,.nav a.on{color:var(--paper)}
.nav .pill{background:var(--gold-grad);color:#1a1a1a;font-weight:800;padding:8px 15px;border-radius:9px}
.nav .pill:hover{color:#1a1a1a;filter:brightness(1.05)}
@media(max-width:620px){.nav{gap:.8rem}.nav a:not(.pill){display:none}}
.theme-t{width:36px;height:36px;border-radius:50%;border:.5px solid rgba(255,255,255,.16);background:transparent;color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0}
.theme-t:hover{color:var(--paper)}
.theme-t .ti-moon{display:none}
html[data-theme="light"] .theme-t .ti-sun{display:none}
html[data-theme="light"] .theme-t .ti-moon{display:inline}

/* ---------- post hero ---------- */
.hero{position:relative;height:min(72vh,620px);min-height:420px;overflow:hidden}
.hero>img{width:100%;height:100%;object-fit:cover;object-position:50% 44%;filter:saturate(.9) contrast(1.05)}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,14,14,.15) 0%,rgba(14,14,14,.35) 45%,var(--bg) 100%)}
.hero.noimg{height:auto;min-height:0;padding-top:4.5rem;background:radial-gradient(ellipse 80% 120% at 50% 0%,rgba(237,176,42,.16),transparent 70%)}
.hero.noimg:after{display:none}
.hero.noimg .hero-txt{position:relative}
.hero-txt{position:absolute;left:0;right:0;bottom:0;z-index:2;max-width:760px;margin:0 auto;padding:0 1.4rem 2.2rem}
.tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:1rem}
.tag{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;padding:5px 10px;border-radius:7px;background:rgba(14,14,14,.7);border:1px solid rgba(237,176,42,.5);color:var(--gold);text-decoration:none}
.tag.m{background:var(--gold-grad);color:#1a1a1a;border:0}
h1{font-size:clamp(34px,6.4vw,58px);font-weight:900;line-height:1.05;letter-spacing:-.02em;text-shadow:0 2px 30px rgba(0,0,0,.5)}
.dek{font-size:clamp(17px,2.4vw,20px);color:#e9e6dc;margin-top:.8rem;max-width:600px}

/* ---------- byline ---------- */
.wrap{max-width:760px;margin:0 auto;padding:0 1.4rem}
.byline{display:flex;align-items:center;gap:12px;padding:1.1rem 0 1.6rem;border-bottom:.5px solid var(--line);margin-bottom:2.2rem}
.byline img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:1.5px solid rgba(237,176,42,.6)}
.byline b{display:block;font-size:15px}
.byline span{font-size:13.5px;color:var(--muted-2)}
.share{margin-left:auto;display:flex;gap:8px}
.share a,.share button{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#1a1916;border:.5px solid rgba(255,255,255,.1);color:var(--muted);text-decoration:none;cursor:pointer;font-size:17px}
.share button.done{color:var(--ok)}

/* ---------- post body (Ghost editor output) ---------- */
.gh-content{counter-reset:sec}
.gh-content>p,.gh-content li{font-size:18px;color:#e6e6e0}
.gh-content>p{margin-bottom:1.3rem}
.gh-content>p:first-child{font-size:21px;color:var(--paper);font-weight:500;line-height:1.55}
.gh-content ul,.gh-content ol{margin:0 0 1.4rem 1.3rem}
.gh-content li{margin-bottom:.4rem}
.gh-content li::marker{color:var(--gold)}
.gh-content h2{font-size:26px;font-weight:800;margin:3rem 0 1rem;display:flex;gap:14px;align-items:center;letter-spacing:-.01em;line-height:1.25}
.gh-content h3{font-size:21px;font-weight:800;margin:2.2rem 0 .8rem;line-height:1.3}
/* add the internal tag #numbered to a post: its section titles get gold 1, 2, 3 badges */
.tag-hash-numbered .gh-content h2::before{counter-increment:sec;content:counter(sec);flex-shrink:0;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--gold-grad);color:#1a1a1a;font-size:17px;font-weight:900}
.gh-content blockquote{border-left:3px solid var(--gold);padding:.2rem 0 .2rem 1.2rem;margin:1.6rem 0;font-size:20px;font-style:italic;color:var(--paper)}
.gh-content hr{border:0;border-top:.5px solid var(--line);margin:2.4rem 0}
.gh-content figure{margin:1.4rem 0 1.6rem}
.gh-content figure img{width:100%;border-radius:14px;border:.5px solid var(--line)}
.gh-content .kg-image-card:not(.kg-width-wide):not(.kg-width-full) img{aspect-ratio:16/9;object-fit:cover}
.gh-content figcaption{font-size:13px;color:var(--muted-2);margin-top:.55rem;text-align:left}
.gh-content .kg-width-wide{width:min(1040px,calc(100vw - 2.8rem));margin-left:50%;transform:translateX(-50%)}
.gh-content .kg-width-full{width:100vw;margin-left:50%;transform:translateX(-50%)}
.gh-content .kg-width-full img{border-radius:0;border:0}
/* "Real cost" box: an HTML card with <div class="cost">… (see docs) */
.cost{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#171513;border:.5px solid var(--line);border-left:3px solid var(--gold);border-radius:12px;padding:1rem 1.2rem;margin-bottom:1.3rem}
.cost .l{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-2);font-weight:700}
.cost .v{font-size:22px;font-weight:900;color:var(--gold);white-space:nowrap}
.cost .s{font-size:13px;color:var(--muted-2)}
/* Ghost callout card: red = warning (as in the reference), every other color = gold note */
.gh-content .kg-callout-card{display:flex;gap:12px;border-radius:12px;padding:1rem 1.1rem;margin:1.4rem 0;font-size:15.5px;background:rgba(237,176,42,.08);border:1px solid rgba(237,176,42,.3);color:#f1ead6}
.gh-content .kg-callout-card-red{background:rgba(229,59,46,.08);border-color:rgba(229,59,46,.3);color:#f0ddd9}
.gh-content .kg-callout-emoji{font-size:20px;line-height:1.5;padding:0}
.gh-content .kg-callout-text{font-size:15.5px;line-height:1.6}
.gh-content .kg-button-card a.kg-btn,.gh-content .kg-product-card a.kg-product-card-button{background:var(--gold-grad)!important;color:#1a1a1a!important;font-weight:800;border-radius:12px}

/* ---------- members-only lock (partials/content-cta.hbs) ----------
   Ghost never sends the members' text to visitors, so the blurred part is
   decorative lines, covered by a frosted glass layer the full page width. */
.locked{position:relative;margin-top:2.4rem;min-height:440px}
.locked .preview{user-select:none;pointer-events:none;padding-top:.4rem}
.locked .preview i{display:block;height:15px;border-radius:8px;background:rgba(250,248,242,.22);margin:0 0 15px}
.locked .preview i.h{height:26px;width:46%;margin:2rem 0 1.2rem;background:rgba(250,248,242,.35)}
.locked .preview i.img{height:200px;border-radius:14px;background:linear-gradient(135deg,rgba(237,176,42,.35),rgba(229,59,46,.18))}
.locked .preview i:nth-child(3n){width:88%}.locked .preview i:nth-child(4n){width:72%}
.gate{position:absolute;top:0;bottom:-2px;left:calc(50% - 50vw - 60px);width:calc(100vw + 120px);z-index:2;
  display:flex;flex-direction:column;justify-content:flex-end;align-items:center;text-align:center;padding:0 calc(60px + 1.4rem) 1.2rem;
  -webkit-backdrop-filter:blur(14px) saturate(1.15);backdrop-filter:blur(14px) saturate(1.15);
  background:linear-gradient(180deg,rgba(14,14,14,0) 0%,rgba(14,14,14,.18) 22%,rgba(14,14,14,.5) 55%,rgba(14,14,14,.82) 85%,var(--bg) 100%);
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 150px);mask-image:linear-gradient(180deg,transparent 0,#000 150px)}
.gate-in{max-width:560px;width:100%;text-shadow:0 2px 18px rgba(0,0,0,.65)}
.gate .icon{font-size:30px;color:var(--gold);margin-bottom:.5rem}
.gate h3{font-size:clamp(26px,4vw,32px);font-weight:900;margin-bottom:.35rem;letter-spacing:-.015em;line-height:1.2}
.gate .sub{color:#e9e6dc;font-size:16.5px;margin-bottom:1.3rem}
@media(max-width:820px){.gate{left:-1.4rem;width:calc(100% + 2.8rem);padding:0 1.4rem 1.2rem}}
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--gold-grad);color:#1a1a1a;font-weight:800;font-size:17px;text-decoration:none;border:0;cursor:pointer;font-family:inherit;border-radius:12px;padding:15px 30px;box-shadow:0 10px 30px rgba(237,176,42,.28)}
.btn:hover{color:#1a1a1a;filter:brightness(1.05)}
.fine{font-size:14px;color:var(--muted-2);margin-top:.9rem}
.fine a{color:var(--muted);cursor:pointer}

/* ---------- free newsletter + guide boxes ---------- */
.boxes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:3.2rem 0 1rem}
@media(max-width:720px){.boxes{grid-template-columns:1fr}}
.box{background:var(--card);border:.5px solid var(--line);border-radius:16px;padding:1.4rem}
.box h4{font-size:18px;font-weight:800;margin-bottom:.3rem;line-height:1.3}
.box p{font-size:15px;color:var(--muted);margin-bottom:1rem}
.box form{display:flex;gap:8px}
.box input{flex:1;min-width:0;background:var(--bg);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:12px;color:var(--paper);font:inherit;font-size:15px}
.box button{background:linear-gradient(180deg,#ffcb3d,#e6a826);color:#2a1c00;border:0;border-radius:10px;padding:0 16px;font-weight:800;font-family:inherit;font-size:15px;cursor:pointer}
.box .msg{display:none;font-size:14.5px;font-weight:600;margin-top:.6rem}
.box form.loading button{opacity:.6}
.box form.success{display:none}
.box form.success+.msg.ok{display:block;color:var(--ok)}
.box form.error~.msg.err{display:block;color:var(--red)}
.guide{display:flex;gap:14px;align-items:center;text-decoration:none;color:inherit}
.guide img{width:78px;border-radius:6px;box-shadow:0 8px 20px rgba(0,0,0,.5)}
.guide .g{font-size:13px;color:var(--gold);font-weight:700;letter-spacing:.04em}

/* ---------- issue cards (post footer + archive) ---------- */
.more{max-width:1080px;margin:3rem auto 0;padding:2.4rem 1.4rem 0;border-top:.5px solid var(--line)}
.more h5{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted-2);margin-bottom:1.2rem}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:900px){.grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.grid{grid-template-columns:1fr}}
.issue{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#151412;border:.5px solid rgba(255,255,255,.07);border-radius:14px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.issue:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.35)}
.issue img,.issue .ph{width:100%;aspect-ratio:16/10;object-fit:cover}
.issue .ph{background:radial-gradient(ellipse at 30% 20%,rgba(237,176,42,.35),transparent 60%),linear-gradient(135deg,#2a2418,#151412);display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:34px}
.issue div.t{padding:1rem 1.1rem 1.2rem}
.issue small{font-size:12px;color:var(--gold);font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.issue b{display:block;font-size:17px;line-height:1.35;margin-top:.35rem}
.issue p{font-size:14.5px;color:var(--muted-2);margin-top:.4rem;line-height:1.5}

/* ---------- archive page ---------- */
.arch-head{max-width:1080px;margin:0 auto;padding:3.4rem 1.4rem 1.6rem}
.arch-head .eyebrow{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:800}
.arch-head h1{font-size:clamp(34px,5.4vw,52px);margin-top:.4rem}
.arch-head p{color:var(--muted);font-size:18px;margin-top:.6rem;max-width:620px}
.arch{max-width:1080px;margin:0 auto;padding:0 1.4rem}
.arch .issue.lead{grid-column:1/-1;flex-direction:row}
.arch .issue.lead img,.arch .issue.lead .ph{width:58%;aspect-ratio:16/9}
.arch .issue.lead div.t{padding:1.6rem 1.8rem;align-self:center}
.arch .issue.lead b{font-size:clamp(22px,2.6vw,30px);line-height:1.2}
@media(max-width:760px){.arch .issue.lead{flex-direction:column}.arch .issue.lead img,.arch .issue.lead .ph{width:100%}}
.pagination{display:flex;justify-content:center;align-items:center;gap:1.4rem;margin:2.4rem 0 0;font-size:15px;color:var(--muted-2)}
.pagination a{font-weight:700;text-decoration:none}

/* ---------- plain pages + errors ---------- */
.page-head{padding-top:3.4rem}
.page-img{margin:1.6rem 0;border-radius:14px}
.error{text-align:center;padding:6rem 1.4rem}
.error h1{font-size:72px}
.error p{color:var(--muted);margin:.6rem 0 1.6rem}

/* ---------- paywall popup (default.hbs) ---------- */
.pw{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:1.2rem;visibility:hidden;pointer-events:none}
.pw.open{visibility:visible;pointer-events:auto}
.pw-backdrop{position:absolute;inset:0;background:rgba(8,8,8,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .35s ease}
.pw.open .pw-backdrop{opacity:1}
.pw-sheet{position:relative;width:100%;max-width:440px;max-height:calc(100vh - 2.4rem);overflow:auto;
  background:linear-gradient(180deg,rgba(32,29,22,.82),rgba(16,15,13,.9));-webkit-backdrop-filter:blur(28px) saturate(1.2);backdrop-filter:blur(28px) saturate(1.2);
  border:1px solid rgba(237,176,42,.22);border-radius:22px;box-shadow:0 40px 120px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.06);
  padding:1.6rem 1.5rem 1.3rem;opacity:0;transform:translateY(14px) scale(.97);transition:opacity .35s ease,transform .45s cubic-bezier(.2,.9,.25,1)}
.pw.open .pw-sheet{opacity:1;transform:none}
.pw-sheet:focus{outline:none}
.pw .btn:focus-visible,.pw-x:focus-visible,.pw-later:focus-visible,.pw-foot a:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}
.pw-x{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.07);color:var(--muted);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.pw-x:hover{background:rgba(255,255,255,.13);color:var(--paper)}
.pw-grab{display:none}
.pw-ctx{display:flex;gap:11px;align-items:center;padding-right:2.4rem;margin-bottom:1.15rem}
.pw-ctx img{width:46px;height:46px;border-radius:10px;object-fit:cover;object-position:50% 40%}
.pw-ctx img[hidden]{display:none}
.pw-ctx small{display:block;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);font-weight:800}
.pw-ctx span{font-size:14px;color:#e6e6e0;font-weight:600;line-height:1.35}
.pw h3{font-size:25px;font-weight:900;line-height:1.15;letter-spacing:-.015em;margin-bottom:.9rem}
.pw-list{list-style:none;margin-bottom:1.15rem}
.pw-list li{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:#ecebe4;padding:.28rem 0;line-height:1.45}
.pw-list i{color:var(--ok);font-size:17px;margin-top:2px}
.plans{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:1rem}
.plan{position:relative;display:block;cursor:pointer;border:1.5px solid rgba(255,255,255,.12);border-radius:14px;padding:.85rem .9rem .8rem;background:rgba(255,255,255,.03);transition:border-color .2s,background .2s}
.plan input{position:absolute;opacity:0;pointer-events:none}
.plan:has(input:checked){border-color:var(--gold);background:rgba(237,176,42,.09)}
.plan:has(input:focus-visible){outline:2px solid var(--gold-bright);outline-offset:2px}
.plan .t{font-size:12.5px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.plan .p{font-size:22px;font-weight:900;margin-top:.15rem}
.plan .p span{font-size:13px;font-weight:600;color:var(--muted-2)}
.plan .e{font-size:12.5px;color:var(--muted-2)}
.plan .badge{position:absolute;top:-10px;right:10px;background:var(--gold-grad);color:#1a1a1a;font-size:11px;font-weight:900;letter-spacing:.04em;padding:3px 8px;border-radius:6px}
.pw .btn{width:100%;justify-content:center}
.pw-terms{font-size:12.5px;color:var(--muted-2);text-align:center;margin:.7rem 0 0}
.pw-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.1rem;padding-top:1rem;border-top:.5px solid var(--line);font-size:14px;color:var(--muted)}
.pw-foot a{color:var(--paper);font-weight:700;cursor:pointer}
.pw-later{background:none;border:0;color:var(--muted-2);font:inherit;font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.pw-secure{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--muted-2);margin-top:.9rem}
@media(max-width:640px){
  .pw{align-items:flex-end;padding:0}
  .pw-sheet{max-width:none;border-radius:22px 22px 0 0;border-bottom:0;max-height:92vh;padding:1.1rem 1.25rem calc(1.2rem + env(safe-area-inset-bottom));transform:translateY(100%)}
  .pw.open .pw-sheet{transform:none}
  .pw-grab{display:block;width:42px;height:5px;border-radius:3px;background:rgba(255,255,255,.22);margin:0 auto .9rem}
  .pw h3{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.pw-sheet,.pw-backdrop,.issue{transition:none}}

footer.foot{max-width:760px;margin:0 auto;padding:3rem 1.4rem 2.6rem;font-size:13px;color:var(--muted-2);text-align:center;line-height:1.6}
footer.foot nav{display:flex;justify-content:center;gap:1.2rem;margin-bottom:1rem;flex-wrap:wrap}
footer.foot nav a{color:var(--muted);text-decoration:none;font-weight:600}

/* ===== Light mode (default) =====
   Same layout, warm paper background, darker gold for text so it stays readable. */
html[data-theme="light"]{color-scheme:light;--link:#9a6a0c;--paper:#1a1a1a;--muted:#4a4a4a;--muted-2:#6f6f6f;--ok:#2f9a43;--bg:#f7f4ec;--card:#fff;--line:rgba(0,0,0,.1)}
html[data-theme="light"] .theme-t{border-color:rgba(0,0,0,.16)}
html[data-theme="light"] .top{background:rgba(247,244,236,.86);border-bottom-color:rgba(0,0,0,.08)}
html[data-theme="light"] .hero>img{filter:none}
html[data-theme="light"] .hero:after{background:linear-gradient(180deg,rgba(247,244,236,0) 0%,rgba(247,244,236,.2) 35%,rgba(247,244,236,.86) 74%,#f7f4ec 100%)}
html[data-theme="light"] h1{text-shadow:0 1px 26px rgba(247,244,236,.7)}
html[data-theme="light"] .dek{color:#2b2b2b}
html[data-theme="light"] .tag{background:rgba(255,255,255,.88);color:#9a6a0c;border-color:rgba(184,125,17,.45)}
html[data-theme="light"] .tag.m{color:#1a1a1a}
html[data-theme="light"] .share a,html[data-theme="light"] .share button{background:#fff;border-color:rgba(0,0,0,.1);color:#4a4a4a}
html[data-theme="light"] .gh-content>p,html[data-theme="light"] .gh-content li{color:#2b2b2b}
html[data-theme="light"] .gh-content>p:first-child{color:#1a1a1a}
html[data-theme="light"] .cost{background:#fff;border-color:rgba(0,0,0,.08);border-left-color:var(--gold);box-shadow:0 1px 2px rgba(0,0,0,.04)}
html[data-theme="light"] .cost .v{color:#9a6a0c}
html[data-theme="light"] .gh-content .kg-callout-card{background:rgba(237,176,42,.1);border-color:rgba(184,125,17,.35);color:#4a3606}
html[data-theme="light"] .gh-content .kg-callout-card-red{background:rgba(229,59,46,.07);border-color:rgba(229,59,46,.35);color:#5e1410}
html[data-theme="light"] .locked .preview i{background:rgba(26,26,26,.16)}
html[data-theme="light"] .locked .preview i.h{background:rgba(26,26,26,.26)}
html[data-theme="light"] .gate{background:linear-gradient(180deg,rgba(247,244,236,0) 0%,rgba(247,244,236,.3) 22%,rgba(247,244,236,.65) 55%,rgba(247,244,236,.9) 85%,#f7f4ec 100%)}
html[data-theme="light"] .gate-in{text-shadow:none}
html[data-theme="light"] .gate .icon{color:#b87d11}
html[data-theme="light"] .gate .sub{color:#2b2b2b}
html[data-theme="light"] .fine a{color:#2b2b2b}
html[data-theme="light"] .btn{box-shadow:0 10px 26px rgba(217,148,26,.28)}
html[data-theme="light"] .box input{background:#f7f4ec;border-color:rgba(0,0,0,.15)}
html[data-theme="light"] .box button{background:linear-gradient(180deg,#ffcb3d,#e6a826);color:#2a1c00}
html[data-theme="light"] .guide img{box-shadow:0 8px 20px rgba(0,0,0,.18)}
html[data-theme="light"] .guide .g,html[data-theme="light"] .issue small,html[data-theme="light"] .pw-ctx small,html[data-theme="light"] .arch-head .eyebrow{color:#9a6a0c}
html[data-theme="light"] .issue{background:#fff;border-color:rgba(0,0,0,.08)}
html[data-theme="light"] .issue:hover{box-shadow:0 14px 30px rgba(60,45,10,.14)}
html[data-theme="light"] .issue .ph{background:radial-gradient(ellipse at 30% 20%,rgba(237,176,42,.4),transparent 60%),linear-gradient(135deg,#f3e6c4,#fbf6ea);color:#b87d11}
html[data-theme="light"] .pw-backdrop{background:rgba(40,32,18,.32)}
html[data-theme="light"] .pw-sheet{background:linear-gradient(180deg,rgba(255,253,247,.9),rgba(250,247,239,.95));border-color:rgba(184,125,17,.3);box-shadow:0 40px 120px rgba(40,30,10,.28),inset 0 1px 0 #fff}
html[data-theme="light"] .pw-x{background:rgba(0,0,0,.06);color:#4a4a4a}
html[data-theme="light"] .pw-x:hover{background:rgba(0,0,0,.1);color:#1a1a1a}
html[data-theme="light"] .pw-ctx span,html[data-theme="light"] .pw-list li{color:#2b2b2b}
html[data-theme="light"] .plan{border-color:rgba(0,0,0,.12);background:#fff}
html[data-theme="light"] .plan:has(input:checked){background:rgba(237,176,42,.12);border-color:#d9941a}
html[data-theme="light"] .pw-grab{background:rgba(0,0,0,.2)}
html[data-theme="light"] .hero.noimg{background:radial-gradient(ellipse 80% 120% at 50% 0%,rgba(237,176,42,.22),transparent 70%)}

/* "Real cost" box as an email-safe table (snippet "Real cost box"): inline styles make it a box in
   email apps; these rules keep the blog version identical to the div version, in both themes. */
table.cost{display:table!important;width:100%;border-collapse:separate;border-spacing:0;background:#171513!important;border:.5px solid var(--line)!important;border-left:3px solid var(--gold)!important;border-radius:12px;margin:0 0 1.3rem!important}
table.cost td{padding:1rem 1.2rem!important;vertical-align:middle}
table.cost .l{color:var(--muted-2)!important}
table.cost .s{color:var(--muted-2)!important}
table.cost .v{color:var(--gold)!important;font-size:22px!important;font-weight:900!important;text-align:right}
html[data-theme="light"] table.cost{background:#fff!important;border-color:rgba(0,0,0,.08)!important;border-left-color:var(--gold)!important;box-shadow:0 1px 2px rgba(0,0,0,.04)}
html[data-theme="light"] table.cost .v{color:#9a6a0c!important}

/* archive: welcome after sign-up, and the empty state before the first issue */
.welcome{max-width:1080px;margin:1.6rem auto 0;padding:1rem 1.2rem;display:flex;gap:.8rem;align-items:flex-start;border:2px solid var(--ok);border-radius:12px;background:rgba(94,196,106,.10)}
.welcome[hidden]{display:none}
.welcome .ti{color:var(--ok);font-size:24px;line-height:1}
.welcome b{display:block;font-size:18px}
.welcome span{color:var(--muted)}
@media(max-width:1128px){.welcome{margin-left:1.4rem;margin-right:1.4rem}}
.arch-empty{grid-column:1/-1;padding:2.4rem 1.6rem;border:1px dashed var(--line,rgba(255,255,255,.18));border-radius:14px;text-align:center}
.arch-empty h2{font-size:clamp(22px,3vw,28px)}
.arch-empty p{color:var(--muted);margin:.6rem auto 1.2rem;max-width:520px}
.arch-empty .pill{display:inline-block;background:var(--gold-grad);color:#1a1a1a;font-weight:800;padding:12px 20px;border-radius:10px;text-decoration:none}

/* free newsletter pop-up (#nlpop): same glass sheet as the Premium pop-up */
.nlpop-eye{display:block;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);font-weight:800;margin-bottom:.6rem;padding-right:2.4rem}
.nlpop-desc{font-size:15px;color:#d9d6cc;line-height:1.55;margin-bottom:1.1rem}
.nlpop-form{display:flex;flex-direction:column;gap:10px}
.nlpop-form[hidden]{display:none}
.nlpop-form input{width:100%;min-height:52px;padding:12px 14px;border-radius:12px;border:1.5px solid rgba(255,255,255,.18);background:rgba(0,0,0,.35);color:var(--paper);font:16px Inter,system-ui,sans-serif}
.nlpop-form input:focus{outline:2px solid var(--gold-bright);outline-offset:1px;border-color:var(--gold)}
.nlpop-msg{font-size:14px;line-height:1.5;margin:.7rem 0 0;color:var(--muted)}
.nlpop-msg:empty{display:none}
.nlpop-msg.is-ok{color:var(--ok)}
.nlpop-msg.is-error{color:#ff8a7a}
html[data-theme="light"] .nlpop-eye{color:#9a6a0c}
html[data-theme="light"] .nlpop-desc{color:#46423b}
html[data-theme="light"] .nlpop-form input{background:#fff;color:#1c1a17;border-color:#b9ab8c}
html[data-theme="light"] .nlpop-msg.is-error{color:#b3261e}
