/* Article template v2 (18 Oct 2026). Loaded only on /blog/<slug>/ pages. Reuses site.css variables. */
.article-page .article-hero{padding:56px 0 64px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#f6f8fc 0%,#fff 100%)}
.article-page .article-hero .hero-grid{grid-template-columns:1.05fr 1fr;gap:56px}
.article-page .article-hero h1{font-size:clamp(2.3rem,4.4vw,4rem);line-height:1.04;letter-spacing:-.035em}
.article-page .article-hero h1 span{color:var(--blue)}
.article-page .article-hero .lead{font-size:1.12rem;color:var(--muted);margin-top:22px;line-height:1.65;max-width:600px}
.article-page .crumbs{font-size:.82rem;color:var(--muted);margin-bottom:18px}.article-page .crumbs a{color:var(--blue);font-weight:600}
.article-page .byline{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.85rem;color:var(--muted);margin-top:18px}
.article-page .byline span+span:before{content:'·';margin-right:14px;color:var(--line)}
.article-page .article-hero .actions{margin-top:28px;display:flex;flex-wrap:wrap;gap:12px}
.article-page .hero-media{border-radius:16px;overflow:hidden;box-shadow:0 24px 60px rgba(17,24,39,.18),0 2px 6px rgba(17,24,39,.08);background:var(--nav)}
.article-page .hero-media img{display:block;width:100%;height:auto}
/* reading column */
.article-page .a-col{width:min(760px,calc(100% - 48px));margin:auto}
.article-page main .section{padding:64px 0}
.article-page main .section .section-head{display:block;margin-bottom:20px}
.article-page main .section h2{font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.12;letter-spacing:-.03em}

.article-page main .section .intro{max-width:none;font-size:1.06rem;line-height:1.75;color:#2b3442}
.article-page main .section .intro strong{color:var(--ink)}
.article-page main .section .intro a,.article-page .faq a,.article-page .system-example a{color:var(--blue);font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* toc + takeaways */
.article-page .toc,.article-page .takeaways{border:1px solid var(--line);border-radius:14px;padding:26px 28px;background:#fff;box-shadow:0 8px 28px rgba(17,24,39,.06)}
.article-page .toc ol{margin:6px 0 0;padding-left:1.25rem;columns:2;column-gap:36px;font-size:.95rem}.article-page .toc li{margin:6px 0;break-inside:avoid}.article-page .toc a:hover{color:var(--blue)}
.article-page .takeaways{background:var(--pale);border-color:#d5defd;margin-top:22px}
.article-page .takeaways h2,.article-page .toc h2{font-size:.78rem!important;letter-spacing:.13em;text-transform:uppercase;color:var(--blue);margin:0 0 10px;font-weight:700}
.article-page .takeaways ul{list-style:none;padding:0;margin:0}.article-page .takeaways li{display:grid;grid-template-columns:24px 1fr;gap:12px;padding:10px 0;border-top:1px solid #d5defd;font-size:.97rem}.article-page .takeaways li:first-child{border-top:0}
.article-page .takeaways svg{color:var(--blue);margin-top:3px}
.article-page .pre-sec{padding:40px 0 8px}
/* icon feature rows */
.article-page .steps{grid-template-columns:1fr 1fr;gap:16px;margin-top:26px!important}
.article-page .step{border:1px solid var(--line);border-radius:14px;padding:22px;background:#fff;box-shadow:0 4px 18px rgba(17,24,39,.05)}
.article-page .step .num{display:flex;align-items:center;gap:10px;border:0;padding:0;margin-bottom:12px;font-weight:700}
.article-page .step .ico{width:40px;height:40px;border-radius:10px;background:var(--pale);color:var(--blue);display:grid;place-items:center;flex:none}
.article-page .step h3{font-size:1.08rem;margin-bottom:6px}.article-page .step p{font-size:.94rem;color:var(--muted);line-height:1.6}
/* stat callouts */
.article-page .systems-costs{display:grid;grid-template-columns:1fr;gap:14px}
.article-page .system-example{border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(17,24,39,.06);padding:24px 26px;border-left:4px solid var(--blue)}
.article-page .system-example h3{font-size:1.25rem;letter-spacing:-.02em}
.article-page .stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}
.article-page .stat{border-radius:14px;background:var(--nav);color:#fff;padding:22px}.article-page .stat b{display:block;font-size:1.7rem;letter-spacing:-.03em;line-height:1.1}.article-page .stat span{font-size:.85rem;color:#bbc6d6}
/* figures and proof */
.article-page figure{margin:28px 0 0}.article-page figure img{width:100%;height:auto;border-radius:12px;border:1px solid var(--line);display:block}
.article-page figcaption{font-size:.84rem;color:var(--muted);margin-top:10px}
.article-page main .section img[style*="margin-top:30px"]{box-shadow:0 8px 28px rgba(17,24,39,.08)}
.article-page .proof-fig img[src*="cs-573k"],.article-page .proof-fig img[src*="cs-150k"]{max-width:520px}
/* tables */
.article-page .a-table{width:100%;border-collapse:collapse;margin-top:24px;font-size:.94rem}.article-page .a-table th,.article-page .a-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.article-page .a-table th{background:#f6f8fc;font-weight:650}
/* mid CTA */
.article-page .mid-cta{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center;background:var(--nav);color:#fff;border-radius:16px;padding:28px 30px;box-shadow:0 18px 44px rgba(17,24,39,.2)}
.article-page .mid-cta h2{font-size:1.4rem!important;color:#fff;margin:0}.article-page .mid-cta p{color:#bbc6d6;font-size:.95rem;margin-top:6px}
.article-page .mid-cta .actions{display:flex;flex-direction:column;gap:10px;margin:0}
.article-page .mid-cta .btn.light{background:transparent;color:#fff;border-color:#ffffff40}
/* faq + related */
.article-page .faq{max-width:none}
.article-page .related .project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.article-page .related .project{border:1px solid var(--line);border-radius:14px;padding:16px 16px 20px;background:#fff;box-shadow:0 6px 22px rgba(17,24,39,.06);transition:transform .2s,box-shadow .2s}
.article-page .related .project:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(17,24,39,.12)}
.article-page #contact .actions{display:flex;flex-wrap:wrap;gap:12px}
.article-page .sticky-cta{display:none}
@media(max-width:1100px){.article-page .article-hero .hero-grid{grid-template-columns:1fr;gap:36px}.article-page .hero-media{max-width:720px}}
@media(max-width:700px){.article-page .article-hero{padding:32px 0 40px}.article-page .steps,.article-page .stat-grid,.article-page .related .project-grid{grid-template-columns:1fr}.article-page .toc ol{columns:1}.article-page .mid-cta{grid-template-columns:1fr;padding:24px}.article-page main .section{padding:48px 0}
.article-page .sticky-cta{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 12px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(15,23,42,.1)}.article-page .sticky-cta .btn{flex:1;padding:12px 10px;gap:8px;font-size:.88rem}.article-page{padding-bottom:70px}.article-page .article-hero .actions .btn{width:100%}}
.article-page .a-table-wrap{overflow-x:auto;margin-top:26px;border:1px solid var(--line);border-radius:14px;box-shadow:0 6px 22px rgba(17,24,39,.06)}
.article-page .a-table-wrap .a-table{margin:0;min-width:560px}.article-page .a-table caption{caption-side:bottom;text-align:left;font-size:.8rem;color:var(--muted);padding:10px 14px}
.article-page .a-table thead th{background:var(--nav);color:#fff;font-size:.85rem}.article-page .a-table tbody th{font-weight:650;color:var(--ink);width:24%}.article-page .a-table tr:last-child td,.article-page .a-table tr:last-child th{border-bottom:0}
@media(max-width:700px){.article-page .a-table-wrap .a-table{min-width:0;font-size:.82rem}.article-page .a-table th,.article-page .a-table td{padding:9px 8px}.article-page .a-table tbody th{width:auto}}
.article-page .cta-ask{margin-top:22px;padding:18px 20px;border-radius:12px;background:var(--pale);border:1px solid #d5defd;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;font-size:1rem}.article-page .cta-ask .textlink{color:var(--blue)}
.article-page .hero-media{position:relative}
.article-page .ov{position:absolute;background:#fff;color:var(--ink);border-radius:14px;box-shadow:0 18px 40px rgba(17,24,39,.28);font-size:.8rem;line-height:1.3}
.article-page .ov-form{right:5%;top:8%;width:42%;padding:14px;display:flex;flex-direction:column;gap:7px}
.article-page .ov-k{font-size:.66rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:0}.article-page .ov-h{font-weight:700;font-size:.92rem;margin:0 0 2px}
.article-page .ov-f{display:block;border:1px solid var(--line);border-radius:8px;padding:6px 9px;color:var(--muted);font-size:.72rem}
.article-page .ov-b{display:block;background:var(--blue);color:#fff;border-radius:8px;padding:8px;text-align:center;font-weight:650;font-size:.78rem}
.article-page .ov-chip{left:5%;bottom:8%;padding:12px 16px;border-left:4px solid var(--blue)}.article-page .ov-chip b{display:block;font-size:1.25rem;letter-spacing:-.02em}.article-page .ov-chip span{color:var(--muted);font-size:.74rem}
@media(max-width:700px){.article-page .ov-form{width:52%;padding:10px;gap:5px;font-size:.7rem}.article-page .ov-f{padding:4px 7px;font-size:.64rem}.article-page .ov-h{font-size:.8rem}.article-page .ov-chip b{font-size:1rem}}
@media(max-width:700px){.article-page .ov-form .ov-f{display:none}.article-page .ov-form{top:10%;width:56%}}
/* mobile sticky bar: hidden until the reader scrolls past the hero (scroll-driven; older browsers keep it always visible) */
@keyframes stickyIn{from{transform:translateY(110%);visibility:hidden}to{transform:none;visibility:visible}}
@supports (animation-timeline:view()) and (timeline-scope:--a){@media(max-width:700px){.article-page{timeline-scope:--hero}.article-page .article-hero{view-timeline:--hero block}.article-page .sticky-cta{animation:stickyIn linear both;animation-timeline:--hero;animation-range:exit 85% exit 100%}}}
.article-page .ov-chat{right:5%;top:10%;width:48%;padding:12px;display:flex;flex-direction:column;gap:8px;background:#efeae2}
.article-page .ov-chat p{margin:0;padding:8px 10px;border-radius:10px;font-size:.76rem;line-height:1.35;max-width:88%}
.article-page .ov-in{background:#fff;align-self:flex-start}.article-page .ov-out{background:#d9fdd3;align-self:flex-end}
.article-page .mid-cta .actions{align-items:stretch}
@media(max-width:700px){.article-page .ov-chat{width:60%;padding:8px;gap:5px}.article-page .ov-chat p{font-size:.64rem;padding:5px 7px}}
