:root{--navy:#081532;--orange:#ff5925;--muted:#5f6b82;--stroke:#f1e4d9;--cream:#fff5ed}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--navy);background:#fffdfb;font-family:'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3,.brand{font-family:Outfit,Arial,sans-serif}
a{color:inherit}
img{max-width:100%;height:auto}
.wrap{max-width:1216px;margin:auto;padding:0 27px}

/* Header (matches the landing page) */
.site-header{background:#fff;border-bottom:1px solid #f4e9e1;position:sticky;top:0;z-index:20}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-size:23px;letter-spacing:-1.1px;font-weight:800;display:flex;align-items:center;gap:10px;text-decoration:none}
.brand b{color:#ff5a24}
.logo{background:linear-gradient(145deg,#ff8837,#ff431c);border-radius:13px;width:40px;height:40px;display:grid;place-items:center;box-shadow:0 6px 16px #ff642937}
.logo svg{width:27px;height:27px;stroke:#fff;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.navlinks{display:flex;gap:30px;color:#4f5668;font-size:14px;font-weight:700}
.navlinks a{text-decoration:none}
.navlinks a:hover,.navlinks a[aria-current]{color:var(--orange)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:13px;padding:15px 24px;background:linear-gradient(95deg,#ff5024,#ff851f);box-shadow:0 12px 23px #fc602333;color:#fff;font-weight:800;font-size:15px;border:0;text-decoration:none;transition:transform .2s,box-shadow .2s}
.btn:hover{transform:translateY(-2px);box-shadow:0 15px 24px #fc602350}
.btn.small{padding:11px 18px;font-size:13px}
.btn.light{background:#fff;color:#ff5b23;box-shadow:0 14px 24px #ba371d38}

/* Breadcrumbs */
.crumbs{font-size:13px;color:#8a93a3;margin:34px 0 18px}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0}
.crumbs li+li:before{content:'›';margin-right:8px;color:#c4b8ae}
.crumbs a{text-decoration:none;color:#6a7488}
.crumbs a:hover{color:var(--orange)}

/* Blog index */
.blog-hero{background:radial-gradient(ellipse 60% 90% at 85% 10%,#ffe6d4 0%,transparent 75%),linear-gradient(170deg,#fffdfb 30%,#fff3ea 100%);padding:8px 0 70px;border-bottom:1px solid #f6e7dc}
.kicker{font-size:12px;color:var(--orange);font-weight:900;letter-spacing:2.3px;text-transform:uppercase;margin-bottom:12px}
.blog-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.05;letter-spacing:-2.4px;font-weight:900;margin:0 0 18px;max-width:780px}
.blog-hero p{color:var(--muted);font-size:18px;line-height:1.7;max-width:640px;margin:0}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:60px 0 90px}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid #f1e7e0;border-radius:22px;overflow:hidden;text-decoration:none;box-shadow:0 9px 24px #683d2009;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-4px);box-shadow:0 16px 34px #683d2016}
.card img{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover;background:#fff7f0}
.card-body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.card .tag{font-size:11px;font-weight:900;letter-spacing:1.6px;text-transform:uppercase;color:var(--orange)}
.card h2,.card h3{font-size:21px;line-height:1.25;letter-spacing:-.5px;margin:0}
.card p{color:var(--muted);font-size:14px;line-height:1.6;margin:0}
.card .more{margin-top:auto;padding-top:6px;font-weight:800;font-size:14px;color:#ff5b23}

/* Empty blog state */
.empty{text-align:center;max-width:620px;margin:0 auto;padding:70px 0 100px}
.empty h2{font-size:clamp(28px,3.4vw,38px);letter-spacing:-1px;margin:0 0 14px}
.empty p{color:var(--muted);font-size:17px;line-height:1.7;margin:0 0 26px}
.empty p.kicker{color:var(--orange);font-size:12px;margin:0 0 10px}
.posts:empty{display:none}

/* Article */
.article{max-width:780px;margin:0 auto;padding-bottom:30px}
.article h1{font-size:clamp(34px,4.6vw,54px);line-height:1.08;letter-spacing:-2px;font-weight:900;margin:0 0 18px}
.article .meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:#7d8697;font-size:14px;margin-bottom:28px}
.langs{font-size:14px;color:#7d8697;margin:-14px 0 26px}.langs a{color:#ec4d20;font-weight:700;text-decoration:none}.langs a:hover{text-decoration:underline}.blog-hero .langs{margin:18px 0 0;font-size:15px}
.article .lead{font-size:19px;line-height:1.7;color:#3d4a63}
.prose{font-size:17.5px;line-height:1.8;color:#2f3b52}
.prose p{margin:0 0 20px}
.prose h2{font-size:clamp(25px,3vw,31px);line-height:1.2;letter-spacing:-.8px;margin:46px 0 16px;color:var(--navy);scroll-margin-top:96px}
.prose h3{font-size:21px;margin:30px 0 10px;color:var(--navy)}
.prose ul,.prose ol{margin:0 0 22px;padding-left:24px}
.prose li{margin:0 0 10px;padding-left:4px}
.prose li::marker{color:#ff5b23;font-weight:800}
.prose a{color:#e3481b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.prose a:hover{color:#ff5b23}
.prose a.btn,.cta a.btn{text-decoration:none;color:#ff5b23}
.prose strong{color:var(--navy)}
.prose table{width:100%;max-width:420px;border-collapse:collapse;margin:0 0 26px;font-size:16px}.prose .table-scroll{overflow-x:auto;margin:0 0 26px}.prose .table-scroll table{max-width:none;margin:0;font-size:15px}.prose th,.prose td{padding:9px 14px;border-bottom:1px solid #f1e4d9;text-align:left}.prose th{background:#fff2e8;color:var(--navy);font-weight:800}
.prose code{font-size:.88em;background:#fff2e8;border:1px solid #f6dfcf;border-radius:6px;padding:2px 6px;word-break:break-word}
.prose kbd{font:700 .82em 'DM Sans',Arial,sans-serif;background:#fff;border:1px solid #e6dad1;border-bottom-width:2px;border-radius:6px;padding:1px 6px}
.prose figure{margin:30px 0 34px}
.prose figure img{display:block;width:auto;max-width:100%;margin:0 auto;border-radius:18px;border:1px solid #f3e1d4;box-shadow:0 14px 34px #ae65301a;background:#fff8f2}
.prose figcaption{font-size:14px;color:#7d8697;text-align:center;margin-top:12px}
.note{background:#fff3e9;border-left:4px solid #ff662e;padding:15px 19px;border-radius:10px;color:#5a4a40;font-size:15px;line-height:1.65;margin:0 0 26px}
.toc{background:#fff;border:1px solid #f1e4d9;border-radius:18px;padding:20px 24px;margin:6px 0 34px}
.toc strong{display:block;font-family:Outfit,Arial,sans-serif;font-size:16px;margin-bottom:8px}
.toc ol{margin:0;padding-left:20px;font-size:15px;line-height:1.9}
.toc a{text-decoration:none;color:#3d4a63}
.toc a:hover{color:var(--orange)}
.checklist{list-style:none;padding-left:0!important}
.checklist li{position:relative;padding-left:34px!important}
.checklist li:before{content:'✓';position:absolute;left:0;top:1px;width:23px;height:23px;border-radius:7px;background:#ffe4d3;color:#f95c26;font-weight:900;font-size:13px;display:grid;place-items:center}

/* CTA */
.cta{position:relative;overflow:hidden;border-radius:26px;background:linear-gradient(110deg,#ff5b26,#ff8728);color:#fff;padding:40px 40px;margin:46px 0;display:flex;align-items:center;justify-content:space-between;gap:28px}
.cta:before{content:'';position:absolute;border:2px solid #ffffff33;width:340px;height:340px;border-radius:50%;right:-110px;top:-190px}
.cta>div{position:relative;z-index:1}
.cta h2,.cta .cta-title{font-family:Outfit,Arial,sans-serif;color:#fff;font-size:27px;line-height:1.2;letter-spacing:-.6px;margin:0 0 8px;font-weight:800}
.cta p{color:#fff0e6;margin:0;font-size:16px;line-height:1.6}
.cta .btn{white-space:nowrap}

/* FAQ */
.faq{margin:10px 0 0}
.faq details{padding:20px 2px;border-bottom:1px solid #eee3db}
.faq summary{cursor:pointer;font-weight:800;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:20px;color:var(--navy)}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:'+';font-size:23px;line-height:1;color:#ff6428}
.faq details[open] summary:after{content:'−'}
.faq details p{color:var(--muted);font-size:16px;line-height:1.7;margin:12px 0 0}

/* Related */
.related{border-top:1px solid #f2e7dc;margin-top:50px;padding:46px 0 80px}
.related>.wrap>h2{font-size:28px;letter-spacing:-.8px;margin:0 0 24px}
.related .posts{padding:0}

/* Footer */
.footer{padding:32px 0;border-top:1px solid #f2e7dc;background:#fff}
.footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.footer .brand{font-size:19px}
.footer .logo{width:33px;height:33px;border-radius:10px}
.footer .logo svg{width:23px;height:23px}
.footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.legal-links{display:flex;gap:22px;flex-wrap:wrap}
.legal-links a{color:#253352;text-decoration:none;font-size:14px;font-weight:650}
.legal-links a:hover{text-decoration:underline;color:#ff5b23}
.footnote{font-size:12px;color:#7b8290}

@media(max-width:960px){.posts{grid-template-columns:repeat(2,minmax(0,1fr))}.navlinks{gap:18px}}
@media(max-width:700px){
  .wrap{padding:0 20px}
  .nav{height:66px;gap:12px}
  .brand{font-size:19px}.logo{width:34px;height:34px;border-radius:11px}.logo svg{width:23px;height:23px}
  .navlinks a:not(.keep){display:none}
  .nav .btn.small{padding:9px 13px;font-size:12px;white-space:nowrap}.nav .btn.small .arr{display:none}
  .posts{grid-template-columns:1fr;padding:40px 0 60px}
  .blog-hero{padding-bottom:46px}
  .prose{font-size:16.5px}
  .article .lead{font-size:17.5px}
  .cta{display:block;padding:30px 24px}
  .cta .btn{margin-top:20px}
  .footer .wrap,.footer-right{align-items:flex-start;flex-direction:column}
}
