/* Fuel Snapshot — Ghost blog theme
   Tokens and component classes copied from www.fuelsnapshotapp.com/index.html
   (see Docs/DESIGN_SYSTEM.md) so the blog reads as the same product, not a
   bolted-on CMS. Keep this in sync if the main site's tokens change. */
:root{
  --bg:#f5f7f8; --paper:#ffffff; --ink:#101820; --muted:#5c6670; --line:#dee3e6;
  --lime:#d7ff63; --lime2:#e9ff86; --lime-soft:#f7ffe0;
  --radius:22px; --radius2:14px; --shadow:0 12px 30px rgba(16,24,32,.08);
  --maxw:1120px; --maxw-article:720px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:hidden;max-width:100%}
body{margin:0;background:linear-gradient(180deg,#f9fafb 0%,#eef1f3 100%);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}
h1,h2,h3,h4{line-height:1.1;letter-spacing:-.02em;margin:0}
p{margin:0}
a{color:inherit}
img,svg{display:block;max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
button,input{font:inherit}

/* Nav — identical markup/classes to the marketing site's header */
.nav{position:sticky;top:0;z-index:20;background:rgba(249,250,251,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav-inner{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:14px 18px;max-width:var(--maxw);margin:0 auto}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0}
.logo{width:38px;height:38px;border-radius:11px;background:var(--ink);display:grid;place-items:center;flex:none}
.logo-bars{height:20px;display:flex;align-items:end;gap:2px}
.logo-bars i{display:block;width:3px;background:linear-gradient(var(--lime2),var(--lime));border-radius:2px}
.logo-bars i:nth-child(1){height:8px}.logo-bars i:nth-child(2){height:13px}.logo-bars i:nth-child(3){height:18px}.logo-bars i:nth-child(4){height:20px}.logo-bars i:nth-child(5){height:16px}.logo-bars i:nth-child(6){height:11px}.logo-bars i:nth-child(7){height:7px}
.brand-name{font-weight:800;letter-spacing:.18em;font-size:13px;white-space:nowrap}
.nav-links{display:flex;gap:26px;margin-left:auto;font-size:14px;font-weight:600;color:var(--muted)}
.nav-links a{text-decoration:none}
.nav-links a:hover,.nav-links a.active{color:var(--ink)}
.nav-cta{background:var(--ink);color:#fff;border:0;border-radius:999px;padding:11px 16px;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap;margin-left:auto;text-decoration:none;display:inline-flex;align-items:center}
@media(max-width:760px){.nav-links{display:none}}
@media(max-width:400px){.brand-name{display:none}.nav-cta{margin-left:0}}

/* Shared building blocks (buttons, cards, section heads, pills) */
.btn{border:0;border-radius:999px;padding:15px 22px;font-weight:800;font-size:15px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn.primary{background:linear-gradient(90deg,var(--lime2),var(--lime));color:var(--ink)}
.btn.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}

section{padding:56px 0}
@media(max-width:560px){section{padding:36px 0}}
.section-head{max-width:640px;margin-bottom:36px}
.section-kicker{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#5a6b28}
.section-head h1,.section-head h2{font-size:clamp(28px,3.6vw,38px);margin-top:12px}
.section-head p{color:var(--muted);font-size:16px;margin-top:14px;line-height:1.6}

.pill{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 13px;font-size:12.5px;font-weight:700;color:#3f4a44;text-decoration:none;display:inline-block}
.pill:hover{border-color:#c7d0d4}

/* Blog index — post grid, same card language as the marketing site's
   "What's inside" section (var(--radius), var(--shadow), var(--paper)) */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:860px){.post-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.post-grid{grid-template-columns:1fr}}

.post-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;text-decoration:none;color:var(--ink);display:flex;flex-direction:column}
.post-card:hover{border-color:#c7d0d4}
.post-card-img{aspect-ratio:16/9;background:var(--lime-soft) center/cover no-repeat}
.post-card-body{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}
.post-card .post-tag{font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#5a6b28}
.post-card h3{font-size:18px;line-height:1.3}
.post-card p{color:var(--muted);font-size:14px;line-height:1.55;flex:1}
.post-card .post-meta{font-size:12.5px;color:#8b959c;font-weight:600;margin-top:auto}

.pagination{display:flex;justify-content:center;gap:12px;margin-top:44px}

.blog-empty{color:var(--muted);font-size:15px}

/* Article */
.article-head{max-width:var(--maxw-article);margin:0 auto;padding:48px 22px 0;text-align:left}
.article-head .post-tag{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#5a6b28}
.article-head h1{font-size:clamp(30px,5vw,44px);margin-top:14px}
.article-meta{display:flex;align-items:center;gap:10px;margin-top:18px;font-size:13.5px;color:var(--muted);font-weight:600}
.article-meta img{width:28px;height:28px;border-radius:50%}
.article-feature{max-width:960px;margin:32px auto 0;padding:0 22px}
.article-feature img{border-radius:var(--radius);box-shadow:var(--shadow)}

.article-body{max-width:var(--maxw-article);margin:0 auto;padding:32px 22px 8px;font-size:17px;line-height:1.75}
.article-body h2{font-size:26px;margin-top:44px;margin-bottom:14px;letter-spacing:-.01em}
.article-body h3{font-size:20px;margin-top:34px;margin-bottom:10px}
.article-body p{margin:18px 0}
.article-body ul,.article-body ol{margin:18px 0;padding-left:22px;color:var(--ink)}
.article-body li{margin:8px 0}
.article-body a{color:#3f6b0e;text-decoration:underline;text-underline-offset:2px}
.article-body strong{font-weight:700}
.article-body blockquote{margin:26px 0;padding:4px 22px;border-left:3px solid var(--lime);color:#3a444c;font-style:italic}
.article-body img{border-radius:var(--radius2);margin:26px 0}
/* Koenig editor wide/full image layouts — required classes per Ghost's
   theme validator (GS050-CSS-KGWW / GS050-CSS-KGWF) */
.article-body .kg-width-wide{max-width:960px;margin-left:calc(50% - 480px);margin-right:calc(50% - 480px);width:calc(100vw - 44px)}
@media(max-width:1000px){.article-body .kg-width-wide{max-width:100%;margin-left:0;margin-right:0;width:100%}}
.article-body .kg-width-full{max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);width:100vw;border-radius:0}
.article-body .kg-width-wide img,.article-body .kg-width-full img{margin:0;width:100%;border-radius:inherit}
.article-body figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:-14px;margin-bottom:22px}
.article-body code{background:var(--lime-soft);border-radius:4px;padding:2px 6px;font-size:15px}
.article-body pre{background:var(--ink);color:#e9ff86;border-radius:var(--radius2);padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.6}
.article-body pre code{background:none;padding:0;color:inherit}
.article-body hr{border:0;border-top:1px solid var(--line);margin:40px 0}
.article-body table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14.5px}
.article-body th,.article-body td{border:1px solid var(--line);padding:10px 12px;text-align:left}

.article-tags{max-width:var(--maxw-article);margin:0 auto;padding:8px 22px 0;display:flex;flex-wrap:wrap;gap:8px}

/* In-article conversion CTA — reuses the marketing site's `.cta` card so a
   blog post can turn into a waitlist signup without feeling like an ad */
.cta{background:var(--paper);border:1px solid var(--line);border-radius:28px;padding:40px;text-align:center;box-shadow:var(--shadow)}
.cta h2{font-size:clamp(22px,5vw,28px)}
.cta p{color:var(--muted);font-size:15px;margin-top:12px;max-width:440px;margin-left:auto;margin-right:auto}
.cta .btn{margin-top:22px}
.article-cta-wrap{max-width:var(--maxw-article);margin:48px auto 0;padding:0 22px}

footer{border-top:1px solid var(--line);padding:32px 0;margin-top:60px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;max-width:var(--maxw);margin:0 auto;padding:0 22px}
.footer-links{display:flex;gap:20px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.footer-links a{text-decoration:none}
.footer-links a:hover{color:var(--ink)}
.copyright{font-size:12.5px;color:#8b959c}
