/* Seadz blog: one stylesheet for /blog and every post. Published to /src/blog.css by publish_site.mjs, do not edit it in the site repo.
   Built on the tokens the homepage really uses (round-three.css and design-test.css): Inter for text, Bricolage Grotesque for headings,
   cream air, forest ink, brand green. The homepage does not link src/tokens.css, so the few custom properties we need are inlined here.
   Every url() is root-relative: a post is served at /blog/<slug> without a trailing slash, so a relative path would break. */

@font-face{font-family:Inter;src:url('/assets/fonts/inter.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Bricolage Grotesque';src:url('/assets/fonts/bricolage-grotesque.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/assets/fonts/jetbrains-mono.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}

:root{
  color-scheme:light;
  --air:oklch(98.9% .005 92); --air-2:oklch(97.5% .009 100); --sage:oklch(95% .024 116);
  --ink:oklch(25% .029 160); --text:oklch(26% .018 155); --muted:oklch(46% .016 155);
  --mint:oklch(71.885% .12165 164.24); --mint-ink:oklch(53% .12165 164.24); --focus:#007354;
  --line:oklch(88% .011 125); --line-soft:rgba(24,48,39,.08);
  --font:Inter,Arial,sans-serif; --display:'Bricolage Grotesque',Inter,sans-serif; --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --r:14px; --r-sm:10px; --max:1200px; --read:720px; --wide:1080px;
  --pad:clamp(20px,5vw,56px);
  --shadow:0 2px 3px rgba(30,47,38,.025),0 12px 30px rgba(30,47,38,.055),0 30px 64px rgba(30,47,38,.025);
  --surface:rgba(255,255,253,.8); --surface-line:rgba(37,58,44,.11);
  --ease:cubic-bezier(.22,1,.36,1);
}
@media (max-width:560px){:root{--pad:22px}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:88px}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--air);color:var(--text);font:400 17px/1.7 var(--font);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
@media (min-width:700px){body{font-size:18px}}
img{display:block;max-width:100%;height:auto}
p{margin:0}
a{color:var(--mint-ink);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--ink)}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:5px}
.skip{position:absolute;left:-9999px;top:0;z-index:50;background:var(--ink);color:#fff;padding:12px 18px;border-radius:0 0 12px 0}
.skip:focus-visible{left:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wrap{width:100%;max-width:var(--max);margin-inline:auto;padding-inline:var(--pad)}
.read{width:100%;max-width:calc(var(--read) + 2 * var(--pad));margin-inline:auto;padding-inline:var(--pad)}

/* top bar: logo and one button, nothing else. The blog is reached from the footer only. */
.topbar{position:sticky;top:0;z-index:20;background:rgba(253,252,249,.88);backdrop-filter:blur(14px) saturate(150%);-webkit-backdrop-filter:blur(14px) saturate(150%);border-bottom:1px solid var(--line-soft)}
.topbar-in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.brand{display:inline-flex;align-items:flex-end;gap:7px;padding-block:7px;text-decoration:none}
.brand-mark{width:26px;height:26px;border-radius:8px}
.brand-word{width:auto;height:34px;margin-bottom:-1px}
@media (max-width:560px){.brand-mark{width:24px;height:24px;border-radius:7px}.brand-word{height:31px}}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:0 18px;border:1px solid transparent;border-radius:var(--r-sm);font:500 14px/1 var(--font);text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform .15s var(--ease),box-shadow .15s var(--ease),background-color .15s var(--ease)}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--ink);color:var(--air);border-color:rgba(247,250,245,.15);box-shadow:inset 0 1px 0 rgba(247,250,245,.15),0 2px 3px rgba(24,48,39,.1),0 8px 18px rgba(24,48,39,.13)}
.btn-primary:hover{background:oklch(35% .046 160);color:var(--air);box-shadow:inset 0 1px 0 rgba(247,250,245,.2),0 8px 20px rgba(24,48,39,.17)}
.btn-ico{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* breadcrumb */
.crumbs ol{display:flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none;font-size:13px;line-height:1.3;color:var(--muted)}
.crumbs li{display:block;flex:none}
.crumbs li+li::before{content:"/";margin-right:8px;opacity:.45}
.crumbs li:last-child{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--ink);text-decoration:underline}

/* headings shared by post and index */
h1{margin:0;font:600 clamp(34px,5.4vw,52px)/1.06 var(--display);letter-spacing:-.045em;color:var(--ink);text-wrap:balance}
.dek,.lede{margin:22px 0 0;font-size:clamp(18px,2.2vw,21px);line-height:1.55;color:var(--muted);text-wrap:pretty}
.lede{max-width:52ch}

/* post header */
.post-head{padding-top:clamp(12px,3vw,28px)}
.byline{display:flex;align-items:center;gap:14px;margin-top:34px}
.byline img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none}
.byline-text{display:flex;flex-direction:column;gap:1px;font-size:14px;line-height:1.45;color:var(--muted)}
.byline-name{display:inline-block;align-self:flex-start;padding:10px 0;margin:-10px 0;font-size:15px;font-weight:600;color:var(--ink);text-decoration:none}
.byline-name:hover{text-decoration:underline}
.nowrap{white-space:nowrap}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 0;padding:0;list-style:none}
.chips li{padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.7);font:500 10.5px/1 var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}
.post-hero{margin:clamp(40px,6vw,72px) auto 0;width:100%;max-width:calc(var(--wide) + 2 * var(--pad));padding-inline:var(--pad)}
.post-hero img{width:100%;aspect-ratio:1200/630;border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow)}

/* table of contents */
.toc{margin:clamp(40px,6vw,64px) 0 0;padding:20px 24px 14px;border:1px solid var(--surface-line);border-radius:var(--r);background:var(--surface);box-shadow:var(--shadow)}
.toc-title{margin:0 0 4px;font:500 11px/1.4 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.toc ol{margin:0;padding:0;list-style:none;counter-reset:toc}
@media (min-width:760px){.toc ol{columns:2;column-gap:36px}.toc li{break-inside:avoid}}
.toc li{counter-increment:toc;border-bottom:1px solid var(--line-soft)}
.toc li:last-child{border-bottom:0}
.toc a{display:flex;align-items:center;gap:14px;min-height:44px;padding:6px 0;font-size:15.5px;line-height:1.35;color:var(--ink);text-decoration:none}
.toc a::before{content:counter(toc,decimal-leading-zero);flex:none;font:500 11px/1 var(--mono);color:var(--mint-ink)}
.toc a:hover{color:var(--mint-ink)}

/* the article */
.post-body{margin-top:clamp(40px,5vw,60px)}
.toc+.post-body{margin-top:clamp(40px,5vw,56px)}
.post-body>:first-child{margin-top:0}
.post-body p{margin:0 0 1.2em;text-wrap:pretty}
.post-body h2,.faq h2,.cta-band h2,.related h2{font:600 clamp(27px,3.4vw,36px)/1.1 var(--display);letter-spacing:-.04em;color:var(--ink);text-wrap:balance}
.post-body h2{margin:2.6em 0 .6em}
.post-body h3{margin:2em 0 .5em;font:600 22px/1.25 var(--display);letter-spacing:-.025em;color:var(--ink)}
.post-body ul,.post-body ol{margin:0 0 1.4em;padding-left:1.35em}
.post-body li{margin:.55em 0;padding-left:.2em}
.post-body li::marker{color:var(--mint-ink)}
.post-body strong{font-weight:600;color:var(--ink)}
.post-body code{padding:.15em .4em;border-radius:5px;background:var(--air-2);font:500 .86em/1 var(--mono)}
.post-body hr{margin:2.8em 0;border:0;border-top:1px solid var(--line)}
.post-body blockquote{margin:0 0 2.2em;padding:22px 26px;border:1px solid var(--surface-line);border-radius:var(--r);background:var(--surface);box-shadow:inset 0 1px 0 rgba(255,255,253,.9),var(--shadow);font-size:1.06em;line-height:1.6;color:var(--ink)}
.post-body blockquote p:last-child{margin:0}
.tablewrap{overflow-x:auto;margin:2em 0;border:1px solid var(--surface-line);border-radius:var(--r);background:var(--surface);-webkit-overflow-scrolling:touch}
.tablewrap table{width:100%;min-width:640px;border-collapse:collapse;font-size:15px;line-height:1.5}
.tablewrap th,.tablewrap td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.tablewrap tbody tr:last-child td{border-bottom:0}
.tablewrap th{background:var(--air-2);font-size:13px;font-weight:600;color:var(--ink)}
.tablewrap td:first-child{font-weight:500;color:var(--ink)}

/* FAQ, the same disclosures as the homepage */
.faq{margin-top:clamp(56px,8vw,88px)}
.faq h2{margin:0 0 .5em}
.faq details{border-top:1px solid var(--line)}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:56px;padding:12px 2px;cursor:pointer;list-style:none;font:600 17px/1.35 var(--font);letter-spacing:-.015em;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary i{flex:none;font-style:normal;font-size:22px;line-height:1;color:var(--mint-ink);transition:transform .2s var(--ease)}
.faq details[open] summary i{transform:rotate(45deg)}
.faq-a{padding:0 2px 18px}
.faq-a p{margin:0 0 .8em;font-size:16.5px;line-height:1.65}
.faq-a p:last-child{margin:0}

/* call to action: the same quiet band as the closer on the homepage */
.cta-band{margin-top:clamp(56px,8vw,96px);padding:clamp(28px,5vw,48px);border:1px solid var(--line-soft);border-radius:18px;background:var(--sage);color:var(--ink)}
.cta-band h2{margin:0 0 .45em}
.cta-band p{max-width:46ch;margin:0 0 1.5em;font-size:16.5px;line-height:1.6;color:var(--muted)}
@media (max-width:560px){.cta-band .btn{width:100%;white-space:normal;text-align:center;padding-block:12px}}

/* cards: keep reading (in the reading column, one card per row), and the index (two columns) */
.related{margin-top:clamp(72px,10vw,112px)}
.related h2{margin:0 0 clamp(24px,4vw,36px)}
@media (min-width:640px){
  .related .cards{grid-template-columns:minmax(0,1fr);gap:20px}
  .related .card{flex-direction:row;align-items:center}
  .related .card-img{flex:0 0 42%;width:42%;border-bottom:0;border-right:1px solid var(--line)}
  .related .card-body{justify-content:center;padding:22px 26px}
}
.cards{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin:0;padding:0;list-style:none}
@media (min-width:760px){.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}
.card{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--surface-line);border-radius:var(--r);background:var(--surface);box-shadow:inset 0 1px 0 rgba(255,255,253,.9),var(--shadow);transition:transform .18s var(--ease),box-shadow .18s var(--ease)}
.card:hover{transform:translateY(-2px)}
.card-img{width:100%;aspect-ratio:600/315;object-fit:cover;border-bottom:1px solid var(--line)}
.card-body{display:flex;flex:1;flex-direction:column;gap:10px;padding:22px 24px 26px}
.card-meta{font:500 10.5px/1.4 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.card-title{margin:0;font:600 clamp(21px,2.4vw,25px)/1.15 var(--display);letter-spacing:-.035em;text-wrap:balance}
.card-title a{color:var(--ink);text-decoration:none}
.card-title a::after{content:"";position:absolute;inset:0}
.card-title a:focus-visible{outline:none}
.card-title a:focus-visible::after{outline:2px solid var(--focus);outline-offset:-4px;border-radius:12px}
.card:hover .card-title a{color:var(--mint-ink)}
.card-desc{font-size:15.5px;line-height:1.6;color:var(--muted)}
.card .chips{margin-top:auto;padding-top:8px}

/* the index */
.index-head{padding-top:clamp(12px,3vw,28px);padding-bottom:clamp(36px,6vw,64px)}
.index-wrap{max-width:calc(var(--wide) + 2 * var(--pad))}
.index-list{padding-bottom:clamp(24px,4vw,48px)}

/* footer: the markup is copied from the homepage at publish time, so the rules are the homepage's too */
.footer{margin-top:clamp(72px,10vw,120px);padding-block:45px;border-top:1px solid var(--line-soft);background:var(--air);color:var(--ink)}
.footer .brand{display:inline-flex;align-items:center;gap:9px;padding:0;color:var(--ink)}
.footer .brand-wordmark{display:block;width:152px;height:auto;border-radius:0}
.footer-grid{display:grid;gap:30px}
.footer .small{max-width:34ch;font-size:12px;line-height:1.5;color:var(--muted)}
.mt-s{margin-top:12px}
.footer h4{margin:0 0 11px;font:500 9px/1.55 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.footer ul{margin:0;padding:0;list-style:none}
.footer li{font-size:12px;line-height:1.55}
.footer li+li{margin-top:9px}
.footer a{color:var(--ink);font-weight:400;text-decoration:none}
.footer a:hover{text-decoration:underline;text-underline-offset:3px}
.legal{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:35px;padding-top:18px;border-top:1px solid rgba(24,48,39,.1);font-size:10px;line-height:1.55;color:var(--muted)}
@media (min-width:700px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr .8fr}}
@media (max-width:800px){.footer .brand-wordmark{width:132px}}
@media (max-width:560px){.footer .brand-wordmark{width:112px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px 22px}.footer-brand{grid-column:1/-1}.footer .small{max-width:none}.footer h4{margin-bottom:10px}}
@media (pointer:coarse){.footer li a{display:inline-flex;align-items:center;min-height:44px}.footer li+li{margin-top:0}.footer .brand{min-height:44px}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
  .btn:hover,.card:hover{transform:none}
}
