/* generated by _src/build.mjs from _src/parts/blog.css */
/* ================================================================== blog (bl-) */
/* the hero: a stack of guides, taking turns on top */
.bl-stack { position: relative; z-index: 2; width: min(440px, 88%); height: 430px; }
.bl-sheet {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 22px; border-radius: 26px;
  transition: transform 1.1s var(--spring), opacity .8s ease;
  transform: translate3d(28px, -30px, -90px) rotate(4deg); opacity: .5;
}
.bl-sheet:nth-child(2) { transform: translate3d(-26px, -14px, -60px) rotate(-3deg); opacity: .62; }
.bl-sheet.is-on { transform: translate3d(0, 0, 40px); opacity: 1; z-index: 3; }
.bl-sheet.is-off { transform: translate3d(-60px, 50px, 0) rotate(-6deg); opacity: 0; z-index: 4; }
.bl-sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bl-sheet-top .mono { color: rgba(246, 245, 242, .6); }
.bl-sheet-top .chip { height: 24px; font-size: 11px; background: rgba(246, 245, 242, .1); color: rgba(246, 245, 242, .82); }
.bl-sheet-h { font-size: 30px; font-weight: 600; line-height: 1.08; letter-spacing: -.035em; color: var(--paper); text-wrap: balance; }
.bl-sheet-short { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: rgba(246, 245, 242, .07); box-shadow: inset 0 0 0 1px rgba(246, 245, 242, .08); }
.bl-sheet-short .mono { display: inline-flex; align-items: center; gap: 6px; color: rgba(246, 245, 242, .62); }
.bl-sheet-short svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.bl-sheet-short p { font-size: 14px; line-height: 1.5; color: rgba(246, 245, 242, .82); }
.bl-sheet-lines { display: grid; gap: 9px; margin-top: auto; }
.bl-sheet-lines i { height: 8px; border-radius: 4px; background: rgba(246, 245, 242, .1); }
.bl-sheet-lines i:nth-child(2) { width: 92%; } .bl-sheet-lines i:nth-child(3) { width: 78%; } .bl-sheet-lines i:nth-child(4) { width: 54%; }
.bl-sheet-bar { height: 3px; border-radius: 2px; background: rgba(246, 245, 242, .1); overflow: hidden; }
.bl-sheet-bar i { display: block; height: 100%; width: 100%; background: var(--paper); border-radius: inherit; transform: translateX(-100%); }
.bl-sheet.is-on .bl-sheet-bar i { animation: bl-read 3.6s linear forwards; }
@keyframes bl-read { to { transform: none; } }

/* the index: a filter, a lead story, the rest */
.bl-index .big-h { margin-bottom: 30px !important; }
.bl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.bl-filter button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font: 500 14px var(--font); color: var(--muted); background: var(--card); box-shadow: 0 0 0 1px var(--line);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .4s var(--spring-fast);
}
.bl-filter button:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--faint); }
.bl-filter button:active { transform: scale(.97); }
.bl-filter button.is-on { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.bl-filter em { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-variant-numeric: tabular-nums; background: var(--tile); color: var(--muted); }
.bl-filter .is-on em { background: rgba(255, 255, 255, .16); color: inherit; }
:root[data-theme="dark"] .bl-filter .is-on em { background: rgba(0, 0, 0, .12); }
.bl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.bl-item[hidden] { display: none; }
.bl-item.is-lead, .bl-item.is-tail { grid-column: 1 / -1; }
.bl-card { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr; overflow: hidden; color: var(--ink); }
.bl-card:hover, .js .bl-card.reveal.is-in:hover { transform: translateY(-4px); box-shadow: var(--float-hover); }
.bl-card-art { position: relative; display: grid; place-items: center; min-height: 250px; padding: 30px 24px; overflow: hidden; background: radial-gradient(70% 80% at 50% 30%, var(--card) 0%, transparent 100%), var(--tile); }
.bl-card-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); opacity: .7; }
.bl-card-copy { display: grid; align-content: start; gap: 12px; padding: 24px 26px 26px; }
.bl-card-copy .mono { font-size: 11.5px; }
.bl-card-copy b { font-size: 25px; font-weight: 600; line-height: 1.14; letter-spacing: -.03em; text-wrap: balance; }
.bl-card-copy small { font-size: 15px; line-height: 1.5; color: var(--muted); }
.bl-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.bl-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.bl-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--spring-fast); }
a:hover .bl-go svg { transform: translateX(4px); }
.is-lead .bl-card, .is-tail .bl-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: none; }
.is-tail .bl-card-art { order: 2; }
.is-tail .bl-card-copy { align-content: center; padding: 36px 40px; }
.is-tail .bl-card-copy b { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.08; letter-spacing: -.04em; }
.is-lead .bl-card-art { min-height: 380px; }
.is-lead .bl-card-copy { align-content: center; padding: 40px 44px; }
.is-lead .bl-card-copy b { font-size: clamp(30px, 3vw, 46px); line-height: 1.04; letter-spacing: -.045em; }
.is-lead .bl-card-copy small { font-size: 17px; max-width: 460px; }
.bl-none { padding: 40px 0; text-align: center; color: var(--muted); }

/* the cover art: a small piece of each guide, drawn in HTML */
.bl-cv { position: relative; z-index: 1; width: min(330px, 100%); display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: var(--card); box-shadow: 0 1px 0 var(--hair), 0 24px 50px -24px rgba(0, 0, 0, .28); transition: transform .7s var(--spring); }
a:hover .bl-cv { transform: translateY(-4px) rotate(-.6deg); }
.bl-cv > .mono { font-size: 10.5px; }
.bl-cv-bills ul { display: grid; gap: 9px; }
.bl-cv-bills li { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; font-size: 12.5px; }
.bl-cv-bills li b { font-weight: 500; color: var(--muted); }
.bl-cv-bills li i { height: 8px; border-radius: 4px; background: var(--ink); transform-origin: left; transform: scaleX(var(--w)); transition: transform 1.2s var(--spring) .2s; }
.js .bl-card:not(.is-in) .bl-cv-bills li i { transform: scaleX(0); }
.bl-cv-bills p { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--hair); }
.bl-cv-bills p small { font-size: 12px; color: var(--muted); }
.bl-cv-bills p b { font-size: 30px; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.bl-cv-story ol { display: grid; gap: 7px; counter-reset: q; }
.bl-cv-story li { counter-increment: q; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; background: var(--tile); font-size: 13px; font-weight: 500; }
.bl-cv-story li::before { content: counter(q); width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--accent); color: var(--accent-ink); }
.bl-cv-chat { background: linear-gradient(180deg, var(--card), var(--tile)); }
.bl-bub { position: relative; max-width: 88%; padding: 10px 12px 18px; border-radius: 14px 14px 14px 4px; font-size: 12.5px; line-height: 1.45; background: var(--card); box-shadow: 0 0 0 1px var(--hair); }
.bl-bub small { position: absolute; right: 10px; bottom: 4px; display: inline-flex; align-items: center; font-size: 10px; color: var(--faint); }
.bl-bub small svg { width: 12px; height: 12px; margin-left: -6px; fill: none; stroke: #3B9EDB; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bl-bub small svg:first-of-type { margin-left: 4px; }
.bl-bub.me { justify-self: end; padding-bottom: 10px; border-radius: 14px 14px 4px 14px; background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.bl-cv-build .bl-ph { display: grid; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--tile); }
.bl-ph span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; }
.bl-ph span b { font-weight: 600; }
.bl-ph span small { font-size: 11.5px; color: var(--muted); text-align: right; }
.bl-ph i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) calc(var(--w) * 100%), var(--track) 0); }
.bl-ph.dim i { background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 14px); opacity: .35; }
.bl-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 12px; background: var(--tile); }
.bl-seg b { padding: 8px 0; border-radius: 9px; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.bl-seg b.on { background: var(--card); color: var(--ink); box-shadow: var(--float); }
.bl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bl-two span { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--tile); font-size: 13px; }
.bl-two svg { width: 18px; height: 18px; margin-bottom: 6px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bl-two small { font-size: 11.5px; color: var(--muted); }
.bl-cv-match { justify-items: start; }
.bl-x2 { font-size: 92px; font-weight: 600; line-height: .9; letter-spacing: -.07em; }
.bl-cv-match p { display: flex; gap: 6px; flex-wrap: wrap; }
.bl-cv-match p span { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--tile); font-variant-numeric: tabular-nums; }
.bl-cv-match p span + span { background: var(--accent); color: var(--accent-ink); }
.bl-cv-match small { font-size: 12px; color: var(--muted); }

/* where to start: two doors */
.bl-two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.bl-path { position: relative; display: grid; align-content: start; gap: 12px; min-height: 320px; padding: 32px 32px 30px; border-radius: 22px; color: var(--ink); transition: transform .56s var(--spring), box-shadow .3s ease; }
.bl-path.dark-card { color: var(--paper); }
.bl-path:hover, .js .bl-path.reveal.is-in:hover { transform: translateY(-4px); }
.bl-path .t-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: var(--tile); }
.bl-path.dark-card .t-ico { background: rgba(246, 245, 242, .08); }
.bl-path .t-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bl-path b { font-size: clamp(28px, 2.8vw, 42px); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; max-width: 520px; }
.bl-path small { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 480px; }
.bl-path.dark-card small { color: rgba(246, 245, 242, .66); }
.bl-path .bl-go { margin-top: auto; padding-top: 18px; }
.bl-path.dark-card .bl-go { color: var(--paper); }

/* ------------------------------------------------------------------ one guide */
.bl-post { padding-top: 40px; }
.bl-art-head { max-width: 980px; margin: 0 auto 0 0; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.bl-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 26px; }
.bl-art-h { font-size: clamp(40px, 5.4vw, 86px); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; padding-bottom: .05em; text-wrap: balance; }
.bl-art-h .soft { color: var(--faint); }
.bl-art-dek { max-width: 720px; margin-top: 24px; font-size: 21px; line-height: 1.45; color: var(--muted); }
.bl-byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.bl-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent); color: var(--accent-ink); }
.bl-av svg { width: 26px; height: 26px; }
.bl-byline > span:last-child { display: grid; line-height: 1.3; }
.bl-byline b { font-size: 15px; font-weight: 600; }
.bl-byline small { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.bl-art { display: grid; grid-template-columns: 270px minmax(0, 720px); gap: 64px; align-items: start; padding-top: 48px; }
.bl-rail { position: sticky; top: 92px; }
.bl-toc { padding: 20px 18px 16px; }
.bl-toc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.bl-ring { position: relative; width: 40px; height: 40px; flex: none; --p: 0; }
.bl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bl-ring circle { fill: none; stroke: var(--track); stroke-width: 4; }
.bl-ring circle.v { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: calc(var(--p) * 100) 100; transition: stroke-dasharray .2s linear; }
.bl-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 9.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bl-toc ol { display: grid; gap: 2px; counter-reset: t; }
.bl-toc li { counter-increment: t; }
.bl-toc a { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 8px 8px; border-radius: 10px; font-size: 13.5px; line-height: 1.35; color: var(--muted); transition: background-color .25s ease, color .25s ease; }
.bl-toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 10.5px; padding-top: 2px; color: var(--faint); }
.bl-toc a:hover { color: var(--ink); background: var(--row-hover); }
.bl-toc a.is-here { color: var(--ink); background: var(--tile); font-weight: 500; }

.bl-prose { min-width: 0; font-size: 18px; line-height: 1.68; color: var(--ink); }
.bl-prose > * + * { margin-top: 20px; }
.bl-prose p { color: color-mix(in srgb, var(--ink) 82%, var(--muted)); }
.bl-prose .bl-lead { font-size: 22px; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.bl-prose h2 { margin-top: 64px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; scroll-margin-top: 96px; text-wrap: balance; }
.bl-prose h2 + * { margin-top: 18px; }
.bl-prose a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--faint); transition: text-decoration-color .2s ease; }
.bl-prose a:hover { text-decoration-color: var(--ink); }
.bl-prose strong { font-weight: 600; color: var(--ink); }
.bl-ul { display: grid; gap: 10px; }
.bl-ul li { position: relative; padding-left: 26px; color: color-mix(in srgb, var(--ink) 82%, var(--muted)); }
.bl-ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); }
.bl-ol { display: grid; gap: 8px; counter-reset: o; }
.bl-ol li { counter-increment: o; position: relative; padding: 14px 18px 14px 58px; border-radius: 16px; background: var(--card); box-shadow: var(--float); color: color-mix(in srgb, var(--ink) 86%, var(--muted)); }
.bl-ol li::before { content: counter(o); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--accent); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.bl-short, .bl-tip { position: relative; display: grid; gap: 10px; padding: 22px 24px; border-radius: 20px; background: var(--card); box-shadow: var(--float); }
.bl-short { margin-bottom: 36px; padding: 26px 28px; }
.bl-short p { font-size: 19px; line-height: 1.55; color: var(--ink) !important; }
.bl-tip { background: var(--tile); box-shadow: none; }
.bl-tip p { font-size: 17px; color: var(--ink) !important; }
.bl-ex p { font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 14.5px; line-height: 1.7; }
.bl-tip-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bl-tip-k svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.bl-cta { display: grid; gap: 14px; margin-top: 64px !important; padding: 36px 34px 34px; }
.bl-cta .mono { color: var(--on-dark-muted); }
.bl-cta b { font-size: clamp(28px, 3vw, 42px); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; color: var(--paper); max-width: 540px; }
.bl-cta p { font-size: 17px; color: rgba(246, 245, 242, .7) !important; max-width: 520px; }
.bl-cta .hero-actions { margin-top: 8px; }
.bl-cta .btn { text-decoration: none; }

.bl-more .sec-head { align-items: center; }
.bl-all { color: var(--muted); transition: color .2s ease; }
.bl-all:hover { color: var(--ink); }
.bl-more .bl-card-art { min-height: 220px; }

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1180px) {
  .bl-art { grid-template-columns: 230px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 1023px) {
  .bl-stack { height: 400px; }
  .is-lead .bl-card, .is-tail .bl-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .is-tail .bl-card-art { order: 0; }
  .is-tail .bl-card-copy { padding: 26px 26px 28px; }
  .is-lead .bl-card-art { min-height: 280px; }
  .is-lead .bl-card-copy { padding: 26px 26px 28px; }
  .bl-art { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; }
  .bl-rail { position: sticky; top: 76px; z-index: 5; margin: 0 -4px 28px; }
  .bl-toc { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-radius: 16px; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
  :root[data-theme="dark"] .bl-toc { background: rgba(28, 27, 26, .78); }
  .bl-toc-top { margin: 0; flex-direction: row-reverse; }
  .bl-toc-top .mono { display: none; }
  .bl-toc ol { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; min-width: 0; flex: 1; }
  .bl-toc ol::-webkit-scrollbar { display: none; }
  .bl-toc a { display: inline-flex; white-space: nowrap; grid-template-columns: none; }
  .bl-toc a::before { margin-right: 6px; }
  .bl-prose { max-width: 720px; }
}
@media (max-width: 720px) {
  .bl-toc { -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); }
  .bl-stack { width: 92%; height: 360px; }
  .bl-sheet { padding: 20px 18px 18px; gap: 14px; }
  .bl-sheet-h { font-size: 24px; }
  .bl-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 2px 16px; scrollbar-width: none; }
  .bl-filter::-webkit-scrollbar { display: none; }
  .bl-filter button { flex: none; }
  .bl-grid, .bl-two-up { grid-template-columns: 1fr; }
  .bl-card-art, .is-lead .bl-card-art, .bl-more .bl-card-art { min-height: 230px; padding: 24px 18px; }
  .bl-card-copy, .is-lead .bl-card-copy { padding: 22px 20px 22px; }
  .bl-card-copy b { font-size: 23px; }
  .is-lead .bl-card-copy b { font-size: 30px; }
  .bl-path { min-height: 0; padding: 26px 22px 24px; }
  .bl-post { padding-top: 28px; }
  .bl-art-head { padding-bottom: 28px; }
  .bl-art-h { font-size: clamp(34px, 9.6vw, 52px); letter-spacing: -.045em; }
  .bl-art-dek { font-size: 18px; margin-top: 18px; }
  .bl-prose { font-size: 17px; line-height: 1.65; }
  .bl-prose .bl-lead { font-size: 19.5px; }
  .bl-prose h2 { margin-top: 48px; font-size: 27px; scroll-margin-top: 140px; }
  .bl-ol li { padding: 12px 14px 12px 52px; }
  .bl-ol li::before { left: 12px; top: 11px; width: 28px; height: 28px; }
  .bl-short { padding: 22px 20px; }
  .bl-short p { font-size: 17.5px; }
  .bl-tip { padding: 18px 18px; }
  .bl-cta { padding: 28px 22px 24px; }
  .bl-cta .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .bl-cv { padding: 14px; }
  .bl-cv-bills li { grid-template-columns: 82px 1fr; }
  .bl-x2 { font-size: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-sheet, .bl-cv, .bl-cv-bills li i { transition: none; }
  .bl-sheet.is-on .bl-sheet-bar i { animation: none; transform: none; }
}
