/* Blog styles: the same tokens and type as the rest of the site. */
:root{--bg:#fff;--card:#fff;--band:#F3F2F1;--ink:#323130;--body:#484644;--mute:#605E5C;--line:#E1DFDD;--blue:#742774;--blueh:#5C1F5C;--on-blue:#fff;--tint:#F7EBF7;--ok:#107C10;--warn:#8A5300;--wa:#DCF8C6;--sh:0 8px 16px rgba(0,0,0,.14),0 0 2px rgba(0,0,0,.12);
box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);color-scheme:light}
html{scroll-padding-top:calc(68px + env(safe-area-inset-top,0px));scroll-behavior:smooth}
*{box-sizing:border-box;scrollbar-width:none;-ms-overflow-style:none}
*::-webkit-scrollbar{display:none}
body{margin:0;background:var(--bg);color:var(--body);font:400 16px/1.5 "Segoe UI Variable Text","Segoe UI",Inter,system-ui,-apple-system,sans-serif}
h1,h2,h3,h4{font-family:"Segoe UI Variable Display","Segoe UI",Inter,system-ui,sans-serif;color:var(--ink);margin:0;font-weight:600}
h1{font-size:clamp(1.9rem,4.1vw,3.05rem);line-height:1.12}
h2{font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.18;font-weight:600}
h3{font-size:1.25rem;line-height:1.3}
p{margin:0}a{color:var(--blue)}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
section{padding:72px 0}
.lead{font-size:1.15rem;color:var(--mute);margin-top:12px;max-width:62ch}
.band{background:var(--band)}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.btn{display:inline-block;padding:11px 22px;border-radius:8px;font:600 .95rem "Segoe UI Variable Text","Segoe UI",Inter,sans-serif;text-decoration:none;border:1px solid var(--blue);cursor:pointer}
.btn.p{background:var(--blue);color:var(--on-blue)}.btn.p:hover{background:var(--blueh);border-color:var(--blueh)}
.btn.s{background:transparent;color:var(--blue)}.btn.s:hover{background:var(--tint)}
.more{font-weight:600;text-decoration:none;font-size:.95rem}.more::after{content:" \203A"}.more:hover{text-decoration:underline}
footer{background:var(--band);padding:44px 0 28px;font-size:.88rem}
.fg{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.fg h3{font-size:.95rem;margin-bottom:10px}.fg a{display:block;color:var(--mute);text-decoration:none;margin-bottom:7px}.fg a:hover{text-decoration:underline}
.fb2{margin-top:30px;padding-top:18px;border-top:1px solid var(--line);color:var(--mute);display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

/* header logo */
.logo{display:flex;align-items:center;gap:10px;line-height:1;flex:none;text-decoration:none;color:#737373;font:500 1.1rem "Segoe UI Variable Display","Segoe UI",Inter,sans-serif}
.lg{display:block;border-radius:6px}
.wm{font:400 1.4rem/1 Outfit,"Segoe UI",system-ui,sans-serif;color:#3C4C5B;letter-spacing:.01em}.wm b{font-weight:700;letter-spacing:-.015em}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
img{max-width:100%}
.bk{display:inline-block;font-size:.74rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--blue)}
.bm{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:.84rem;color:var(--mute)}
.bm span+span::before{content:"\00b7";margin-right:14px}

/* blog index */
.bh{padding:56px 0 6px;text-align:center}
.bh h1{max-width:18ch;margin-inline:auto}
.bh .lead{margin-inline:auto;max-width:54ch}
.bl{padding:30px 0 72px}
.btools{display:flex;flex-wrap:wrap;gap:14px 20px;justify-content:space-between;align-items:center;margin-bottom:28px}
.cats{display:flex;flex-wrap:wrap;gap:8px}
.cat{font:600 .88rem "Segoe UI",Inter,sans-serif;padding:8px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.cat:hover{border-color:#D3B4D3}.cat[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.bsearch{position:relative;display:block}
.bsearch input{width:260px;max-width:100%;padding:10px 14px 10px 38px;border:1px solid #D2D0CE;border-radius:999px;font:400 .92rem "Segoe UI",Inter,sans-serif;color:var(--ink);background:#fff}
.bsearch svg{position:absolute;left:13px;top:50%;margin-top:-8px;width:16px;height:16px;color:var(--mute)}
.bsearch input:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:var(--blue)}
.bf{display:grid;grid-template-columns:1.15fr 1fr;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;text-decoration:none;color:inherit;margin-bottom:26px;transition:box-shadow .2s,transform .2s}
.bf:hover{box-shadow:0 12px 32px rgba(50,49,48,.12);transform:translateY(-2px)}
.bf img{display:block;width:100%;height:100%;object-fit:cover}
.bt{padding:36px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.bt h2{font-size:clamp(1.4rem,2.4vw,1.9rem)}.bt p{color:var(--mute)}
.bt .rd{margin-top:6px;font-weight:600;color:var(--blue)}
.bgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.bc{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;text-decoration:none;color:inherit;transition:box-shadow .2s,transform .2s}
.bc:hover{box-shadow:0 12px 30px rgba(50,49,48,.12);transform:translateY(-2px)}
.bc img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover}
.bb{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.bb h3{font-size:1.14rem;line-height:1.3}.bb p{color:var(--mute);font-size:.93rem;line-height:1.55;flex:1}
.bf[hidden],.bc[hidden]{display:none}
.none{margin-top:24px;color:var(--mute);text-align:center}

/* article */
.ah{padding:40px 0 4px}
.ah .wrap{max-width:1064px}
.crumb{font-size:.85rem;color:var(--mute);margin-bottom:26px}.crumb .sep{margin:0 .55em}.crumb a{color:var(--mute);text-decoration:none}.crumb a:hover{color:var(--blue);text-decoration:underline}
.ah h1{max-width:none;font-size:clamp(1.9rem,3.8vw,2.7rem);margin:10px 0 14px}
.ah .sum{font-size:1.15rem;color:var(--mute);max-width:none}
.ameta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:20px;font-size:.9rem;color:var(--mute)}
.ameta b{color:var(--ink);font-weight:600}
.av{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--tint);color:var(--blue);font-weight:700}
.acov{margin:28px 0 0}.acov img{display:block;width:100%;height:auto;border-radius:20px;border:1px solid var(--line)}
.alay{display:grid;grid-template-columns:minmax(0,720px) 240px;gap:56px;justify-content:center;padding:44px 24px 24px;align-items:start;max-width:1100px}
.side{position:sticky;top:90px}
.toc{font-size:.9rem}
.mini{margin:0;max-height:0;opacity:0;overflow:hidden;transform:translateY(-10px);transition:max-height .35s ease,opacity .3s ease,transform .35s ease,margin .35s ease}
.side.on .mini{max-height:140px;opacity:1;transform:none;margin-bottom:20px}
.mini img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--line)}
.toc h2{font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);margin-bottom:10px;font-weight:700}
.toc a{display:block;padding:6px 0 6px 14px;color:var(--mute);text-decoration:none;border-left:2px solid var(--line);line-height:1.4}
.toc a:hover{color:var(--ink)}.toc a.on{color:var(--blue);border-left-color:var(--blue);font-weight:600}
.prose{font-size:1.08rem;line-height:1.78;color:var(--body)}
.prose h2{font-size:1.65rem;margin:2.2em 0 .6em;scroll-margin-top:90px}
.prose h3{font-size:1.25rem;margin:1.8em 0 .5em;scroll-margin-top:90px}
.prose p{margin:0 0 1.1em}
.prose ul,.prose ol{margin:0 0 1.3em;padding-left:1.3em}.prose li{margin-bottom:.45em}
.prose a{color:var(--blue);text-underline-offset:3px}
.prose strong{color:var(--ink)}
.prose hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.prose .tw{overflow-x:auto;margin:1.4em 0;border:1px solid var(--line);border-radius:14px}
.prose table{width:100%;border-collapse:collapse;font-size:.95rem;line-height:1.55;min-width:560px}
.prose th,.prose td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.prose thead th{background:var(--band);color:var(--ink);font-weight:600}
.prose tr:last-child td{border-bottom:0}
.prose figure{margin:1.6em 0}.prose figure img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--line)}
.prose figcaption{font-size:.86rem;color:var(--mute);margin-top:8px;text-align:center}
.prose code{background:var(--band);padding:1px 6px;border-radius:6px;font-size:.92em}
.callout{margin:1.5em 0;padding:16px 20px;border-radius:14px;background:var(--tint);border-left:4px solid var(--blue);color:var(--ink)}.callout p{margin:0}
.keys{margin:0 0 2em;padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:var(--band)}
.keys h2{font-size:1rem;margin:0 0 10px;color:var(--ink);font-weight:700}
.keys ul{margin:0;padding-left:1.2em}.keys li{margin-bottom:6px;font-size:1rem;line-height:1.6}
.shr{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:2.2em 0 0;padding-top:1.4em;border-top:1px solid var(--line);font-size:.9rem;color:var(--mute)}
.shr a,.shr button{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font:600 .85rem "Segoe UI",Inter,sans-serif;text-decoration:none;cursor:pointer}
.shr a:hover,.shr button:hover{border-color:#D3B4D3;background:var(--tint)}
.abox{margin-top:2em;padding:28px;border-radius:18px;background:linear-gradient(135deg,#8A3A8A,#742774 55%,#5E1F5E);color:#fff}
.abox h2{color:#fff;font-size:1.35rem;margin:0 0 8px}.abox p{color:#EBD3EB;margin:0 0 16px;line-height:1.6}
.abox .btn{background:#fff;color:var(--blue);border-color:#fff}.abox .btn:hover{background:var(--tint)}
.rel{padding:24px 0 72px}.rel h2{font-size:1.5rem;margin-bottom:20px}
.cta{background:linear-gradient(135deg,#8A3A8A,#742774 55%,#5E1F5E);color:#fff;text-align:center;padding:64px 0}
.cta h2{color:#fff;max-width:22ch;margin-inline:auto}.cta p{color:#EBD3EB;margin:12px auto 26px;max-width:52ch}
.cta .btn{background:#fff;color:var(--blue);border-color:#fff}.cta .btn:hover{background:var(--tint)}

@media (max-width:1000px){.alay{grid-template-columns:minmax(0,720px)}.side{display:none}.bgrid{grid-template-columns:1fr 1fr}.fg{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.bf{grid-template-columns:1fr}.bt{padding:24px}.bgrid{grid-template-columns:1fr}.btools{flex-direction:column;align-items:stretch}.bsearch input{width:100%}section{padding:52px 0}.prose{font-size:1.02rem}.prose h2{font-size:1.45rem}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* covers: HTML and CSS, so they scale with their card */
.cv{container-type:inline-size;position:relative;width:100%;aspect-ratio:1200/630;overflow:hidden;background:linear-gradient(135deg,#8A3A8A,#742774 55%,#5E1F5E);color:#fff}
.cv::before,.cv::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07)}
.cv::before{width:46cqw;height:46cqw;right:-9cqw;top:-14cqw}.cv::after{width:34cqw;height:34cqw;right:8cqw;bottom:-20cqw}
.cvi{position:relative;height:100%;box-sizing:border-box;padding:5.5cqw 5cqw;display:flex;flex-direction:column;justify-content:space-between}
.cv-logo{display:flex;align-items:center;gap:1.4cqw;font:400 3.6cqw/1 Outfit,"Segoe UI",system-ui,sans-serif;letter-spacing:.01em}
.cv-logo img{width:4.4cqw;height:4.4cqw;filter:brightness(0) invert(1)}.cv-logo b{font-weight:700;letter-spacing:-.015em}
.cv-mid{display:flex;flex-direction:column;align-items:flex-start;gap:2.4cqw}
.cv-cat{font:600 2.1cqw/1 "Segoe UI Variable Text","Segoe UI",Inter,sans-serif;padding:1.1cqw 2cqw;border-radius:999px;background:rgba(255,255,255,.18);letter-spacing:.02em}
.cv-t{font:600 5.4cqw/1.16 "Segoe UI Variable Display","Segoe UI",Inter,sans-serif;max-width:82%;letter-spacing:-.01em}
.cv-u{font:400 2.2cqw/1 "Segoe UI",Inter,sans-serif;opacity:.8}
.bf .cv{height:100%;min-height:100%;aspect-ratio:auto}
.bf .cv-t{font-size:6.2cqw}.bf .cv-logo{font-size:4cqw}.bf .cv-logo img{width:5cqw;height:5cqw}.bf .cv-cat{font-size:2.4cqw}.bf .cv-u{font-size:2.5cqw}
.acov .cv{border-radius:20px;border:1px solid var(--line)}
.mini .cv{border-radius:10px}.mini .cv-cat,.mini .cv-u{display:none}.mini .cv-t{font-size:7.4cqw;max-width:90%}.mini .cv-logo{font-size:5cqw}.mini .cv-logo img{width:6cqw;height:6cqw}
@media (max-width:760px){.bf .cv{aspect-ratio:1200/630;height:auto}}
/* keep the small text readable on small cards */
.cv-cat{font-size:max(10px,2.1cqw)}.cv-u{font-size:max(10px,2.2cqw)}.cv-logo{font-size:max(13px,3.6cqw)}.cv-logo img{width:max(16px,4.4cqw);height:max(16px,4.4cqw)}.cv-t{font-size:max(15px,5.4cqw)}
.bf .cv-cat{font-size:max(11px,2.4cqw)}.bf .cv-u{font-size:max(11px,2.5cqw)}.bf .cv-logo{font-size:max(14px,4cqw)}.bf .cv-t{font-size:max(17px,6.2cqw)}
.mini .cv-t{font-size:max(12px,7.4cqw)}.mini .cv-logo{font-size:max(11px,5cqw)}.mini .cv-logo img{width:max(13px,6cqw);height:max(13px,6cqw)}
/* blog hero: blurred photo ending in a wide circular curve (same as the pricing page) */
.bh{padding:0}
.bl{padding-top:0}
.phb{position:relative;overflow:hidden;padding:64px 0 calc(48px + 8vw);color:#fff;isolation:isolate;text-align:center}
.phb::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(rgba(40,12,52,.38),rgba(40,12,52,.38)),url(images/blog-hero.jpg) center/cover no-repeat;filter:blur(7px);transform:scale(1.04)}
.phb::after{content:"";position:absolute;z-index:-1;left:50%;width:320.5vw;height:320.5vw;margin-left:-160.25vw;bottom:-312.5vw;border-radius:50%;background:#fff}
.phb h1{color:#fff}.phb .lead{color:#F3E3F3}
.bl .btools{position:relative;z-index:1;margin-top:calc(32px - 3vw)}
@media (max-width:760px){.phb{padding:44px 0 calc(36px + 12vw)}.bl .btools{margin-top:calc(70px - 12vw)}.phb::after{width:220.3vw;height:220.3vw;margin-left:-110.15vw;bottom:-208.3vw}}
/* blog hero: straight bottom edge (no curve) */
.bh .phb{padding-bottom:56px}
.bh .phb::after{display:none}
.bl .btools{margin-top:34px}
@media (max-width:760px){.bh .phb{padding-bottom:40px}.bl .btools{margin-top:26px}}
/* the cover logo is a plain image: no border, rounding or stretching from the article and card image rules */
.cv .cv-logo img{border:0;border-radius:0;aspect-ratio:auto;object-fit:contain;max-width:none}
