
/* SiteRevive guide pages: same stylesheet as /guides/*, copied verbatim, plus the 'steps' and 'fig' pieces at the bottom.
   Original header: SiteRevive guides stylesheet (v2 brand: navy #07101c, orange #ea580c / #c2410c).
   Source of truth for the guide look. The guide pages INLINE this file (the app proxy only serves
   /guides/<slug> and /assets/*, so a separate guides/guides.css URL would 404 live).
   Rebuild with OCTOBER/blog-build/build_guides.py in the content repo.
   Contrast (on --bg #07101c): body #e5e7eb 15.9:1, soft #cbd5e1 12.6:1, muted #94a3b8 7.0:1, link #fdba74 11.2:1.
   White on button #c2410c = 5.2:1. */
:root{
  --bg:#07101c;--bg-2:#0b1626;--card:#111f33;--line:#1e3150;--text:#e5e7eb;--soft:#cbd5e1;--muted:#94a3b8;
  --orange:#ea580c;--orange-d:#c2410c;--orange-l:#fb923c;--orange-xl:#fdba74;--green:#4ade80;
  --display:'Bricolage Grotesque',system-ui,-apple-system,'Segoe UI',sans-serif;
  --sans:Figtree,system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:19px;line-height:1.7;overflow-x:hidden}
img,video,iframe{max-width:100%}
a{color:var(--orange-xl);text-underline-offset:3px}
a:hover{color:#fed7aa}
:focus-visible{outline:3px solid var(--orange-xl);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-9999px;top:auto}
.skip:focus{left:16px;top:12px;z-index:100;background:#fff;color:#07101c;padding:10px 14px;border-radius:8px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* top bar (same as the homepage) */
.top{max-width:1240px;margin:0 auto;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand i{width:33px;height:34px;display:block;flex:none}.brand i svg{display:block;width:100%;height:100%}
.brand span{font:800 22px var(--display);color:#fff}
.top nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap;font-size:17px;font-weight:500}
.top nav a{color:var(--soft);text-decoration:none}
.top nav a:hover{color:#fff}
.top nav a.btn-nav{background:var(--orange-d);color:#fff;font-weight:700;padding:10px 18px;border-radius:10px;min-height:44px;display:inline-flex;align-items:center}
.top nav a.btn-nav:hover{background:#9a3412;color:#fff}

/* page frame */
.page{background:radial-gradient(ellipse 70% 30% at 50% 0,#13233a 0,rgba(7,16,28,0) 100%)}
main{display:block}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}
.post{max-width:72ch;margin:0 auto;padding:12px 20px 8px}
.crumbs{font-size:15px;color:var(--muted);margin:8px 0 0}
.crumbs a{color:var(--soft);text-decoration:none}
.crumbs a:hover{color:#fff;text-decoration:underline}
.crumbs span[aria-hidden]{margin:0 6px}

/* type */
h1,h2,h3{font-family:var(--display);color:#fff;margin:0}
h1{font-weight:800;font-size:clamp(34px,5.6vw,52px);line-height:1.08;letter-spacing:-.025em;margin:18px 0 12px;text-wrap:balance}
h2{font-weight:800;font-size:clamp(26px,3.6vw,34px);line-height:1.18;letter-spacing:-.015em;margin:2.1em 0 .55em;text-wrap:balance}
h3{font-weight:700;font-size:clamp(21px,2.6vw,25px);line-height:1.25;margin:1.6em 0 .4em}
p{margin:0 0 1.05em}
ul,ol{margin:0 0 1.2em;padding-left:1.35em}
li{margin:.4em 0;padding-left:.2em}
li::marker{color:var(--orange-l)}
strong{color:#fff}
.byline{color:var(--muted);font-size:16px;margin:0 0 1.4em;padding-bottom:1.1em;border-bottom:1px solid var(--line)}
.lead,.post>p:first-of-type{font-size:1.06em}
.dek{font-size:1.15em;color:var(--soft);font-weight:500;margin:0 0 .8em}
blockquote{margin:1.3em 0;padding:16px 20px;background:var(--card);border-left:4px solid var(--orange);border-radius:0 12px 12px 0;color:var(--text)}
blockquote p:last-child{margin-bottom:0}
code{font:0.9em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--card);border:1px solid var(--line);padding:1px 6px;border-radius:6px;overflow-wrap:anywhere}
pre{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px 18px;overflow-x:auto;font-size:16px;line-height:1.55;margin:0 0 1.3em}
pre code{background:none;border:0;padding:0}
hr{border:0;border-top:1px solid var(--line);margin:2em 0}

/* tables scroll inside their own box, never the page */
.tablewrap{overflow-x:auto;margin:1.3em 0;border:1px solid var(--line);border-radius:12px;-webkit-overflow-scrolling:touch}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:16.5px;line-height:1.5}
th,td{padding:11px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
th{background:var(--card);color:#fff;font-weight:700;font-family:var(--sans)}
tr:last-child td{border-bottom:0}

/* callouts */
.note,.disclosure{margin:1.4em 0;padding:16px 20px;border-radius:12px;background:var(--bg-2);border:1px solid var(--line);font-size:17px;color:var(--soft)}
.note strong:first-child{color:var(--orange-xl)}
.disclosure{font-size:15.5px;color:var(--muted)}
.disclosure strong{color:var(--soft)}
.answer{margin:1.2em 0 1.6em;padding:16px 20px;border-radius:12px;background:rgba(234,88,12,.12);border:1px solid rgba(253,186,116,.4);color:var(--text)}
.answer p:last-child{margin-bottom:0}

/* buttons / CTA */
a.cta,.btn{display:inline-block;margin:8px 0;padding:15px 26px;background:var(--orange-d);color:#fff;border-radius:12px;text-decoration:none;font-weight:800;font-size:19px;line-height:1.2;min-height:44px}
a.cta:hover,.btn:hover{background:#9a3412;color:#fff}
.btn-ghost{display:inline-block;margin:8px 0;padding:14px 24px;border:1.5px solid rgba(255,255,255,.45);color:#fff;border-radius:12px;text-decoration:none;font-weight:700;font-size:18px;min-height:44px}
.btn-ghost:hover{background:rgba(255,255,255,.1);color:#fff}
.cta-panel{margin:2.4em 0 1.4em;padding:26px 24px;border-radius:16px;background:linear-gradient(160deg,#13233a,#0b1626);border:1px solid rgba(253,186,116,.45)}
.cta-panel h2{margin:0 0 .4em;font-size:clamp(24px,3.2vw,30px)}
.cta-panel p{color:var(--soft)}
.cta-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:.6em}
.cta-panel .fine{font-size:15.5px;color:var(--muted);margin:.9em 0 0}

/* related guides block */
.more-guides{max-width:72ch;margin:2.2em auto 0;padding:0 20px}
.more-guides h2{font-size:clamp(22px,3vw,28px);margin:0 0 .5em}
.more-guides ul{list-style:none;padding:0;margin:0 0 1em;display:grid;gap:10px}
.more-guides li{margin:0;padding:0}
.more-guides li a{display:block;padding:13px 16px;background:var(--card);border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--text);font-weight:600;line-height:1.35}
.more-guides li a:hover{border-color:var(--orange-l);color:#fff}
.more-guides p{font-size:17px}

/* hub (index) */
.hub{max-width:1040px;margin:0 auto;padding:12px 20px 0}
.hub h1{margin-top:14px}
.hub .dek{max-width:60ch}
.cluster{margin:2.4em 0 0}
.cluster h2{margin:0 0 .25em;font-size:clamp(25px,3.4vw,32px)}
.cluster>p{color:var(--muted);margin:0 0 1em;font-size:17px;max-width:62ch}
.cards{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.cards li{margin:0;padding:0}
.card{display:flex;flex-direction:column;height:100%;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px;text-decoration:none;color:var(--text)}
.card:hover{border-color:var(--orange-l)}
.card strong{font:700 20px/1.25 var(--display);color:#fff;margin-bottom:8px}
.card span{font-size:16px;line-height:1.55;color:var(--soft)}
.card em{margin-top:auto;padding-top:12px;font-style:normal;font-size:15px;color:var(--orange-xl);font-weight:700}
.badge-new{display:inline-block;margin-left:8px;padding:2px 9px;border-radius:999px;background:rgba(74,222,128,.16);color:var(--green);font:700 12px var(--sans);vertical-align:middle;letter-spacing:.04em;text-transform:uppercase}

/* footer (same links as the homepage) */
footer{margin-top:3em;border-top:1px solid var(--line);background:var(--bg-2)}
footer .inner{max-width:1240px;margin:0 auto;padding:30px 20px 44px;color:var(--muted);font-size:15.5px}
footer .links{display:flex;flex-wrap:wrap;gap:10px 22px;margin-bottom:14px}
footer .links a{color:var(--soft);text-decoration:none}
footer .links a:hover{color:#fff;text-decoration:underline}
footer p{margin:0 0 .5em}

@media (max-width:640px){
  body{font-size:18px;line-height:1.65}
  .top nav{gap:14px;font-size:16px}
  .top nav a.btn-nav{padding:9px 12px}
  .brand span{font-size:20px}
  .post{padding-left:16px;padding-right:16px}
  .more-guides,.hub,.wrap{padding-left:16px;padding-right:16px}
  .cta-panel{padding:22px 18px}
  a.cta{display:block;text-align:center}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* free guide additions (use the same tokens; step badge copied from the webinar page's .cart li) */
.steps{counter-reset:s;list-style:none;padding:0;margin:1.2em 0}
.steps li{counter-increment:s;position:relative;padding:0 0 0 46px;margin:1em 0}
.steps li::before{content:counter(s);position:absolute;left:0;top:1px;width:32px;height:32px;border-radius:9px;background:var(--orange-d);color:#fff;font:800 16px var(--display);display:flex;align-items:center;justify-content:center}
.fig{margin:1.5em 0}
.fig img{display:block;max-width:100%;height:auto;border:1px solid var(--line);border-radius:12px;background:#000}
.fig figcaption{font-size:15px;color:var(--muted);margin-top:8px}
.answer strong:first-child,.note strong:first-child{display:block;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--orange-xl);margin-bottom:4px}
.chnav{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin:2.4em 0 0;padding-top:1.4em;border-top:1px solid var(--line)}
.chnav a{max-width:100%}
.toc{list-style:none;padding:0;margin:1.2em 0;display:grid;gap:10px}
.toc li{margin:0;padding:0}
.toc a,.toc .soon{display:block;padding:14px 16px;background:var(--card);border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--text);font-weight:600;line-height:1.35}
.toc a:hover{border-color:var(--orange-l);color:#fff}
.toc .soon{color:var(--muted);font-weight:500}
.toc small{display:block;font-weight:400;font-size:15.5px;color:var(--soft);margin-top:3px}
.toc .soon small{color:var(--muted)}

.post table{min-width:0}
.post th,.post td{padding:10px 12px}
.toc .soon strong{color:var(--soft)}

/* sheets (Empty Week Fix) and print */
.sheet{margin:1em 0 1.6em}
.sheet td{height:36px}
.sheet td.no{width:40px;text-align:center;font-weight:700;color:var(--orange-xl)}
@media print{
  body{background:#fff;color:#000;font-size:12pt;line-height:1.45}
  .page{background:none}
  .top,footer,.skip,.chnav,.toc,.crumbs{display:none!important}
  h1,h2,h3,strong,th{color:#000}
  a{color:#000;text-decoration:none}
  blockquote,.answer,.note{background:#fff;border:1px solid #999;color:#000}
  .tablewrap{border:1px solid #999;overflow:visible}
  table,th,td{color:#000;background:#fff;border-color:#999}
  th{background:#eee}
  h2{break-after:avoid}
  .sheet-title{break-before:page;break-after:avoid}
  tr{break-inside:avoid}
  .sheet td{height:30px}
}
