/* Needt Budget — blog (needtbudget.com/blog). Ported from docs/screens-v6/assets/blog.css and loaded
   after landing.css: the landing's header, footer, paper and texture are used as they are, and the
   blog's own parts are prefixed b- so they never collide with the landing (lp-) or the demo phone (nd-).
   Light only, like the landing. The mockup's dark theme (graphite #0f1112, surfaces #191b1d, 2px
   outline #a9b9be, chambers #1a1c1f) is not shipped until the landing has one too.
   Layout: one 1200px column; the article is a TOC rail + a 700px reading column. */
.b {
  --b-bg: var(--lp-bg);         /* #eaf4f8 page paper */
  --b-paper: var(--lp-cream);   /* #f9fcfd raised paper: cards */
  --b-stone: var(--lp-stone);   /* #d8e8ee quiet fill: chips, tiles */
  --b-fg: var(--lp-ink);        /* text */
  --b-fog: var(--lp-fog);       /* secondary text */
  --b-faint: #7d9197;
  --b-line: var(--lp-ink);      /* the 2px outline */
  --b-line-soft: rgba(20, 21, 23, .14);
  --b-btn-shadow: var(--lp-ink);
  --b-cham: var(--lp-ink);      /* graphite chamber */
  --b-cham-2: var(--lp-ink-2);
  --b-cham-3: var(--lp-ink-3);
  --b-cham-line: transparent;
  --b-on-cham: var(--lp-on-dark);
  --b-on-cham-muted: var(--lp-on-dark-muted);
  --b-on-cham-line: rgba(245, 246, 247, .14);
  --b-cyan: var(--lp-cyan);
  --b-sky: var(--lp-sky);
  --b-pink: var(--lp-pink);
  --b-peach: var(--lp-peach);
  --b-mint: var(--lp-mint);
  --b-on-pastel: var(--lp-ink);
  --b-neg: #c2362b;
  --b-pos: #1f7a3c;
  --b-code: #e1eef3;
  --b-mark: rgba(127, 224, 240, .45);
  --b-serif: var(--lp-serif);
  --b-sans: var(--lp-sans);
  --b-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --b-ease: var(--lp-ease);
  --b-spring: var(--lp-spring);
  --b-max: var(--lp-max);
  --b-read: 700px;
  --b-gutter: var(--lp-gutter);
}
.lp-blog main { display: block; }

:where(.b a) { color: inherit; }
.b figure { margin: 0; }
.b :focus-visible { outline: 2px solid var(--b-fg); outline-offset: 3px; border-radius: 6px; }
.b-cham :focus-visible, .b-calc :focus-visible { outline-color: var(--b-cyan); }
.b-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.b-wrap { max-width: var(--b-max); margin: 0 auto; padding-inline: var(--b-gutter); }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── type ── */
.b-display, .b-h1, .b-h2, .b-h3 { font-family: var(--b-serif); font-weight: 400; margin: 0; text-wrap: balance; }
.b-display { font-size: clamp(56px, 9vw, 124px); line-height: .9; letter-spacing: -.025em; padding-bottom: .08em; }
.b-h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: .96; letter-spacing: -.02em; padding-bottom: .06em; }
.b-h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.015em; }
.b-h3 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.01em; }
.b-display i, .b-h1 i, .b-h2 i { font-style: italic; }
.b-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--b-fog); margin: 0; }
.b-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 34em; margin: 0; text-wrap: pretty; color: var(--b-fg); }
.b-fine { font-size: 14px; color: var(--b-fog); margin: 0; }
.b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--b-fog); }
.b-meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin-right: 14px; vertical-align: middle; }
.b-meta time, .b-meta span { white-space: nowrap; }

/* ── buttons, chips ── */
.b-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 26px; border-radius: 14px; border: 2px solid var(--b-line); font: 600 16px/1 var(--b-sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 160ms var(--b-ease), box-shadow 160ms var(--b-ease), background-color 160ms; }
.b-btn-primary { background: var(--b-cyan); color: var(--b-on-pastel); border-color: var(--b-btn-shadow); box-shadow: 0 4px 0 var(--b-btn-shadow); }
.b-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--b-btn-shadow); }
.b-btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-btn-shadow); }
.b-btn-ghost { background: transparent; color: var(--b-fg); }
.b-btn-ghost:hover { background: var(--b-stone); }
.b-btn-sm { height: 42px; padding: 0 16px; border-radius: 11px; font-size: 14px; box-shadow: 0 3px 0 var(--b-btn-shadow); }
.b-btn-ghost.b-btn-sm { box-shadow: none; }
.b-cham .b-btn-primary { border-color: var(--b-cyan); box-shadow: 0 4px 0 #0b1f24; }

.b-tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--b-line); font: 600 13px/1 var(--b-sans); color: var(--b-on-pastel); text-decoration: none; white-space: nowrap; background: var(--tone, var(--b-stone)); }
.b-tag.is-quiet { color: var(--b-fg); }
a.b-tag:hover { transform: translateY(-1px); }
.t-cyan { --tone: var(--b-sky); } .t-mint { --tone: var(--b-mint); } .t-pink { --tone: var(--b-pink); } .t-peach { --tone: var(--b-peach); } .t-stone { --tone: #d8e8ee; } /* pastels stay light in both themes: ink text sits on them */

/* ── nav (landing nav, blog links) ── */
.b-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 4px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--b-cyan); border-bottom: 1px solid var(--b-btn-shadow); }
.b-mark { width: 34px; height: 34px; flex: none; }
.b-mark rect { fill: var(--b-cyan); }
.b-mark path { fill: none; stroke: #141517; stroke-width: 7; stroke-linecap: round; }
.b-mark circle { fill: #141517; }

/* ── crumbs ── */
.b-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--b-fog); }
.b-crumbs li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.b-crumbs li + li::before { content: "/"; opacity: .5; }
.b-crumbs a { text-decoration: none; font-weight: 500; color: var(--b-fg); }
.b-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.b-crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 44ch; }

/* ── blog home hero ── */
.b-hero { padding-block: clamp(56px, 9vh, 104px) 0; text-align: center; display: grid; justify-items: center; gap: 20px; }
.b-hero .b-lede { max-width: 30em; }
.b-ribbon-clip { overflow: hidden; padding-block: 24px; margin-top: clamp(12px, 3vw, 40px); }
.b-ribbon { position: relative; margin: 0 -40px; transform: rotate(-2deg); background: var(--b-cham); border-block: 2px solid var(--b-cham-line); overflow: hidden; }
.b-ribbon-track { display: flex; align-items: center; gap: 28px; padding: 14px 28px 14px 0; width: max-content; animation: b-marquee 48s linear infinite; }
.b-ribbon a, .b-ribbon span { font: 400 clamp(26px, 2.6vw, 36px)/1 var(--b-serif); color: var(--b-on-cham); text-decoration: none; white-space: nowrap; }
.b-ribbon a:hover { color: var(--b-cyan); }
.b-ribbon i { font-style: normal; color: var(--b-cyan); font-size: 18px; }
.b-ribbon .neg { font: 600 15px var(--b-mono); color: #ff8a8a; }
.b-ribbon .pos { font: 600 15px var(--b-mono); color: #7ee89a; }
@keyframes b-marquee { to { transform: translateX(-50%); } }

/* ── covers (generated SVG on a pastel tile) ── */
.b-cover { position: relative; display: block; overflow: hidden; border: 2px solid var(--b-line); border-radius: 28px; background: var(--tone, var(--b-stone)); aspect-ratio: 16 / 10; max-width: 100%; }
.b-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.b-cover .ink { fill: none; stroke: #141517; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.b-cover .ink-f { fill: #141517; }
.b-cover .paper { fill: #f9fcfd; stroke: #141517; stroke-width: 3; }
.b-cover .cyan { fill: #7fe0f0; stroke: #141517; stroke-width: 3; }
.b-cover .mint { fill: #a8ecb0; stroke: #141517; stroke-width: 3; }
.b-cover .pink { fill: #f6c3d8; stroke: #141517; stroke-width: 3; }
.b-cover .peach { fill: #efc6aa; stroke: #141517; stroke-width: 3; }
.b-cover .sky { fill: #9fe6f3; stroke: #141517; stroke-width: 3; }
.b-cover text { font-family: var(--b-serif); fill: #141517; }
.b-cover .mono { font-family: var(--b-mono); font-weight: 600; }
.b-cover .sans { font-family: var(--b-sans); font-weight: 600; }
.b-cover .float { animation: b-float 6s var(--b-ease) infinite alternate; transform-box: fill-box; transform-origin: center; }
.b-cover .float.d2 { animation-delay: -2s; } .b-cover .float.d3 { animation-delay: -4s; }
@keyframes b-float { to { transform: translateY(-6px) rotate(1.5deg); } }

/* ── featured + grid ── */
.b-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(64px, 8vw, 104px); text-decoration: none; }
.b-featured .b-cover { border-radius: 40px; aspect-ratio: 4 / 3; }
.b-featured-copy { display: grid; gap: 18px; align-content: center; min-width: 0; }
.b-featured-copy .b-h1 { font-size: clamp(40px, 4.6vw, 64px); }
.b-featured:hover .b-cover { transform: translateY(-4px) rotate(-.4deg); }
.b-featured .b-cover, .b-card .b-cover { transition: transform 300ms var(--b-ease); }
.b-readlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; }
.b-readlink svg { transition: transform 200ms var(--b-ease); }
a:hover > * .b-readlink svg, a:hover .b-readlink svg { transform: translateX(4px); }

.b-filter { display: flex; align-items: center; gap: 8px; margin-top: clamp(64px, 8vw, 96px); padding-bottom: 18px; border-bottom: 2px solid var(--b-line); overflow-x: auto; scrollbar-width: none; }
.b-filter::-webkit-scrollbar { display: none; }
.b-filter h2 { font: 400 32px/1 var(--b-serif); margin: 0 auto 0 0; padding-right: 16px; white-space: nowrap; }
.b-chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--b-line); background: transparent; color: var(--b-fg); font: 600 14px var(--b-sans); white-space: nowrap; cursor: pointer; text-decoration: none; transition: background-color 160ms, transform 160ms var(--b-ease); }
.b-chip:hover { background: var(--b-stone); }
.b-chip[aria-pressed="true"], .b-chip[aria-current] { background: var(--b-cyan); color: var(--b-on-pastel); border-color: var(--b-btn-shadow); }
.b-chip small { font-size: 12px; font-weight: 600; opacity: .6; font-variant-numeric: tabular-nums; }

.b-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; margin-top: 36px; }
.b-card { display: grid; gap: 14px; align-content: start; text-decoration: none; min-width: 0; }
.b-card:hover .b-cover { transform: translateY(-4px) rotate(-.4deg); }
.b-card h3 { font: 400 30px/1.04 var(--b-serif); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.b-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--b-fog); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-card .b-tagline { display: flex; align-items: center; gap: 10px; }
.b-card.is-in { animation: b-in 520ms var(--b-ease) both; }
@keyframes b-in { from { transform: translateY(14px); } }
.b-more { display: flex; justify-content: center; margin-top: 56px; }

/* empty state */
.b-empty { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; margin-top: 36px; padding: clamp(28px, 4vw, 48px); border: 2px dashed var(--b-line); border-radius: 40px; background: var(--b-paper); }
.b-empty > svg.art { width: 100%; height: auto; }
.b-empty h3 { font: 400 40px/1 var(--b-serif); margin: 0 0 10px; }
.b-empty p { margin: 0 0 20px; font-size: 17px; line-height: 1.5; color: var(--b-fog); max-width: 32em; }
.b-empty .row { display: flex; flex-wrap: wrap; gap: 10px; }
.b-empty .art .paper { fill: var(--b-paper); stroke: var(--b-line); stroke-width: 3; }
.b-empty .art .cyan { fill: var(--b-sky); stroke: var(--b-line); stroke-width: 3; }
.b-empty .art .ink { fill: none; stroke: var(--b-line); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.b-empty .art text { font: 400 34px var(--b-serif); fill: var(--b-fg); }

/* ── tag page ── */
.b-taghead { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; padding-block: clamp(40px, 7vh, 80px) 36px; border-bottom: 2px solid var(--b-line); }
.b-taghead .b-crumbs { grid-column: 1 / -1; }
.b-taghead-copy { display: grid; gap: 16px; min-width: 0; }
.b-taghead-count { font: 400 clamp(64px, 8vw, 112px)/.8 var(--b-serif); font-variant-numeric: tabular-nums; text-align: right; }
.b-taghead-count small { display: block; font: 600 13px var(--b-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--b-fog); margin-top: 10px; }
.b-list { list-style: none; margin: 0; padding: 0; }
.b-row { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 2px solid var(--b-line-soft); text-decoration: none; }
.b-row .b-cover { border-radius: 22px; }
.b-row h3 { font: 400 clamp(28px, 2.8vw, 38px)/1.02 var(--b-serif); margin: 8px 0 10px; text-wrap: balance; }
.b-row p { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: var(--b-fog); max-width: 40em; }
.b-row .go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--b-line); transition: background-color 200ms, transform 200ms var(--b-ease); }
.b-row:hover .go { background: var(--b-cyan); color: var(--b-on-pastel); transform: rotate(-45deg); }
.b-row:hover .b-cover { transform: rotate(-.6deg); }
.b-row .b-cover { transition: transform 300ms var(--b-ease); }
.b-othertags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 48px; }
.b-othertags .b-eyebrow { margin-right: 8px; }

/* ── article layout ── */
.b-art-head { display: grid; gap: 22px; justify-items: start; padding-block: clamp(36px, 6vh, 72px) 0; max-width: 940px; }
.b-art-head .b-lede { font-size: clamp(19px, 1.8vw, 23px); max-width: 32em; }
.b-byline { display: flex; align-items: center; gap: 14px; }
.b-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--b-line); background: var(--b-peach); color: var(--b-on-pastel); font: 400 22px/1 var(--b-serif); flex: none; }
.b-byline b { display: block; font-size: 15px; font-weight: 600; }
.b-byline .b-meta { font-size: 14px; }
.b-art-cover { margin-top: clamp(36px, 5vw, 56px); }
.b-art-cover .b-cover { aspect-ratio: 21 / 9; border-radius: clamp(28px, 4vw, 48px); }
.b-art-cover figcaption { margin-top: 10px; font-size: 13px; color: var(--b-fog); }
.b-art-grid { display: grid; grid-template-columns: 232px minmax(0, var(--b-read)); gap: clamp(40px, 6vw, 96px); justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
.b-art-head.no-cover { padding-bottom: 8px; border-bottom: 2px solid var(--b-line); max-width: none; padding-bottom: 40px; }

/* TOC: sticky rail on desktop */
.b-toc { position: sticky; top: 108px; align-self: start; display: grid; gap: 14px; max-height: calc(100vh - 130px); overflow: auto; scrollbar-width: none; }
.b-toc .b-eyebrow { margin-bottom: 2px; }
.b-toc ol { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--b-stone); }
.b-toc li a { position: relative; display: block; padding: 7px 0 7px 16px; font-size: 14px; line-height: 1.35; color: var(--b-fog); text-decoration: none; transition: color 200ms; }
.b-toc li a::before { content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px; background: var(--b-cyan); box-shadow: 0 0 0 1px var(--b-line); transform: scaleY(0); transform-origin: top; transition: transform 400ms var(--b-ease); }
.b-toc li a:hover { color: var(--b-fg); }
.b-toc li a.on { color: var(--b-fg); font-weight: 600; }
.b-toc li a.on::before { transform: none; }
.b-toc-side { display: grid; gap: 10px; padding-top: 18px; border-top: 2px solid var(--b-line-soft); }
.b-share { display: flex; gap: 8px; }
.b-share button, .b-share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--b-line); background: transparent; color: var(--b-fg); cursor: pointer; text-decoration: none; }
.b-share button:hover, .b-share a:hover { background: var(--b-stone); }
.b-share .ok { background: var(--b-mint); color: var(--b-on-pastel); }

/* TOC on a phone: one sticky pill under the nav that opens the list */
.b-toc-m { display: none; }

/* ── article body (rendered from Markdown) ── */
.b-prose { min-width: 0; font-size: 19px; line-height: 1.65; }
.b-prose > * { margin: 0; }
.b-prose > * + * { margin-top: 1.1em; }
.b-prose > h2 { font: 400 clamp(34px, 3.4vw, 46px)/1.02 var(--b-serif); letter-spacing: -.015em; margin-top: 2.2em; text-wrap: balance; scroll-margin-top: 110px; }
.b-prose > h2 + * { margin-top: .7em; }
.b-prose > h3 { font: 600 21px/1.3 var(--b-sans); letter-spacing: -.01em; margin-top: 1.8em; scroll-margin-top: 110px; }
.b-prose > h3 + * { margin-top: .5em; }
.b-prose p { text-wrap: pretty; }
.b-prose a:not([class]) { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--b-cyan); text-underline-offset: 4px; font-weight: 500; }
.b-prose a:not([class]):hover { background: var(--b-mark); }
.b-prose strong { font-weight: 650; }
.b-prose mark { background: var(--b-mark); color: inherit; padding: 0 .1em; border-radius: 3px; }
.b-prose ul, .b-prose ol { padding-left: 0; list-style: none; display: grid; gap: .5em; }
.b-prose ul > li { position: relative; padding-left: 28px; }
.b-prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--b-line); background: var(--b-cyan); }
.b-prose ol { counter-reset: n; }
.b-prose ol > li { position: relative; padding-left: 40px; counter-increment: n; }
.b-prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--b-line); font: 600 13px/1 var(--b-sans); font-variant-numeric: tabular-nums; }
.b-prose blockquote { position: relative; padding: 4px 0 4px 32px; border-left: 4px solid var(--b-cyan); font: 400 clamp(26px, 2.6vw, 32px)/1.2 var(--b-serif); letter-spacing: -.01em; }
.b-prose blockquote p + p { margin-top: .5em; }
.b-prose blockquote cite { display: block; margin-top: 14px; font: 500 15px var(--b-sans); font-style: normal; color: var(--b-fog); }
.b-prose code { font: 500 .84em var(--b-mono); background: var(--b-code); padding: .12em .36em; border-radius: 6px; }
.b-prose hr { border: 0; height: 2px; background: var(--b-line-soft); margin-block: 2.4em; }
.b-prose sup a { text-decoration: none; font: 600 12px var(--b-sans); padding: 1px 5px; margin-left: 1px; border-radius: 6px; background: var(--b-stone); color: var(--b-fg); }
.b-prose sup a:hover { background: var(--b-cyan); color: var(--b-on-pastel); }

/* code block */
.b-code { position: relative; border-radius: 22px; background: var(--b-cham); border: 2px solid var(--b-cham-line); color: var(--b-on-cham); overflow: hidden; }
.b-code-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--b-on-cham-line); font: 600 12px var(--b-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--b-on-cham-muted); }
.b-code-top button { height: 30px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--b-cham-3); color: var(--b-on-cham); font: 600 12px var(--b-sans); cursor: pointer; }
.b-code-top button:hover { background: var(--b-cyan); color: #141517; }
.b-code pre { margin: 0; padding: 18px; overflow-x: auto; font: 500 14px/1.65 var(--b-mono); tab-size: 2; }
.b-code pre code { background: none; padding: 0; font: inherit; }
.b-code .neg { color: #ff8a8a; } .b-code .pos { color: #7ee89a; } .b-code .dim { color: var(--b-on-cham-muted); }

/* figure */
.b-fig { display: grid; gap: 12px; }
.b-fig img { display: block; width: 100%; height: auto; border: 2px solid var(--b-line); border-radius: 24px; background: var(--b-paper); }
.b-fig figcaption { font-size: 14px; line-height: 1.45; color: var(--b-fog); padding-left: 14px; border-left: 2px solid var(--b-line-soft); }
.b-fig.is-wide { margin-inline: clamp(-140px, -9vw, 0px); }

/* table */
.b-table { overflow-x: auto; border: 2px solid var(--b-line); border-radius: 22px; background: var(--b-paper); }
.b-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.b-table th, .b-table td { white-space: nowrap; padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--b-line-soft); vertical-align: top; }
.b-table thead th { font: 600 12px var(--b-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--b-fog); background: var(--b-stone); border-bottom: 2px solid var(--b-line); white-space: nowrap; }
.b-table tbody tr:last-child td { border-bottom: 0; }
.b-table td.num, .b-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-table-note { font-size: 13px; color: var(--b-fog); margin-top: 8px !important; }

/* footnotes */
.b-notes { margin-top: 3em !important; padding-top: 18px; border-top: 2px solid var(--b-line-soft); font-size: 15px; line-height: 1.55; color: var(--b-fog); }
.b-notes h2 { font: 600 13px var(--b-sans) !important; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px !important; }
.b-notes ol { display: grid; gap: 8px; }
.b-notes ol > li { padding-left: 32px; }
.b-notes ol > li::before { width: 22px; height: 22px; font-size: 11px; top: 0; }
.b-notes a.back { text-decoration: none; margin-left: 4px; }
.b-notes li:target { background: var(--b-mark); border-radius: 8px; }

/* callout */
.b-callout { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 22px; border: 2px solid var(--b-line); border-radius: 24px; background: var(--b-paper); font-size: 17px; line-height: 1.55; }
.b-callout .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--b-btn-shadow); background: var(--tone); color: var(--b-on-pastel); }
.b-callout .ic svg { width: 22px; height: 22px; }
.b-callout b.t { display: block; font-size: 17px; font-weight: 650; margin-bottom: 2px; }
.b-callout p { margin: 0; } .b-callout p + p { margin-top: .6em; }
.b-callout.tip { --tone: var(--b-mint); }
.b-callout.note { --tone: var(--b-sky); }
.b-callout.warning { --tone: var(--b-peach); background: color-mix(in srgb, var(--b-peach) 18%, var(--b-paper)); }

/* operations card ("from the app") */
.b-ops { border-radius: 28px; background: var(--b-cham); border: 2px solid var(--b-cham-line); color: var(--b-on-cham); padding: 18px; display: grid; gap: 8px; }
.b-ops-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 6px 8px; }
.b-ops-top b { font: 400 24px/1.1 var(--b-serif); }
.b-ops-top span { font-size: 13px; color: var(--b-on-cham-muted); white-space: nowrap; }
.b-op { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--b-cham-3); transition: transform 400ms var(--b-ease); }
.b-op .av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--tone, var(--b-stone)); color: #141517; font: 700 15px var(--b-sans); }
.b-op .m { min-width: 0; }
.b-op .m b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-op .m small { display: block; font-size: 12.5px; color: var(--b-on-cham-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-op .r { display: grid; justify-items: end; gap: 5px; }
.b-op .v { font: 600 15px var(--b-sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-op .v.pos { color: #7ee89a; }
.b-op .v small { font-size: 11px; font-weight: 600; color: var(--b-on-cham-muted); margin-left: 3px; }
.b-op .c { padding: 4px 10px; border-radius: 999px; font: 600 12px var(--b-sans); color: #141517; background: var(--tone, #d8e8ee); white-space: nowrap; transform-origin: 100% 50%; }
.b-ops.is-live .b-op .c { animation: b-pop 480ms var(--b-spring) both; }
.b-ops.is-live .b-op:nth-child(2) .c { animation-delay: 80ms; } .b-ops.is-live .b-op:nth-child(3) .c { animation-delay: 220ms; } .b-ops.is-live .b-op:nth-child(4) .c { animation-delay: 360ms; } .b-ops.is-live .b-op:nth-child(5) .c { animation-delay: 500ms; } .b-ops.is-live .b-op:nth-child(6) .c { animation-delay: 640ms; } .b-ops.is-live .b-op:nth-child(7) .c { animation-delay: 780ms; }
@keyframes b-pop { from { transform: scale(.6); } }
.b-ops-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 6px 2px; font-size: 14px; color: var(--b-on-cham-muted); border-top: 1px solid var(--b-on-cham-line); margin-top: 4px; }
.b-ops-foot b { color: var(--b-on-cham); font-variant-numeric: tabular-nums; font-weight: 600; }
.b-ops-cap { font-size: 14px; color: var(--b-fog); margin-top: 10px !important; }

/* compare */
.b-compare { overflow-x: auto; }
.b-compare table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.4; }
.b-compare th, .b-compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--b-line-soft); }
.b-compare thead th { font: 400 24px/1.05 var(--b-serif); padding-bottom: 16px; border-bottom: 2px solid var(--b-line); vertical-align: bottom; }
.b-compare thead th small { display: block; font: 600 12px var(--b-sans); color: var(--b-fog); margin-top: 4px; letter-spacing: 0; }
.b-compare tbody th { font-weight: 500; color: var(--b-fog); width: 26%; }
.b-compare .us { background: color-mix(in srgb, var(--b-cyan) 20%, var(--b-paper)); border-left: 2px solid var(--b-line); border-right: 2px solid var(--b-line); }
.b-compare thead .us { border-top: 2px solid var(--b-line); border-radius: 22px 22px 0 0; background: var(--b-cyan); color: var(--b-on-pastel); }
.b-compare thead .us small { color: rgba(20, 21, 23, .7); }
.b-compare tbody tr:last-child .us { border-bottom: 2px solid var(--b-line); border-radius: 0 0 22px 22px; }
.b-compare tbody tr:last-child td, .b-compare tbody tr:last-child th { border-bottom-color: transparent; }
.b-compare tbody tr:last-child .us { border-bottom-color: var(--b-line); }
.b-yes, .b-no, .b-part { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--b-btn-shadow); vertical-align: middle; color: #141517; }
.b-yes { background: var(--b-mint); } .b-no { background: var(--b-pink); } .b-part { background: var(--b-peach); }
.b-yes svg, .b-no svg, .b-part svg { width: 14px; height: 14px; stroke-width: 3; }
.with-ic { display: flex; gap: 10px; align-items: flex-start; }
.with-ic > span:last-child { padding-top: 2px; }

/* steps */
.b-steps { list-style: none; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.b-steps li { position: relative; padding: 20px 20px 22px !important; border: 2px solid var(--b-line); border-radius: 24px; background: var(--b-paper); display: grid; gap: 8px; align-content: start; }
.b-steps li::before { content: none !important; }
.b-steps .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--b-btn-shadow); font: 400 26px/1 var(--b-serif); color: #141517; background: var(--tone); }
.b-steps li:nth-child(4n+1) { --tone: var(--b-sky); } .b-steps li:nth-child(4n+2) { --tone: var(--b-mint); } .b-steps li:nth-child(4n+3) { --tone: var(--b-peach); } .b-steps li:nth-child(4n+4) { --tone: var(--b-pink); }
.b-steps b { font-size: 17px; font-weight: 650; line-height: 1.3; }
.b-steps p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--b-fog); }
.b-steps .t { font: 600 12px var(--b-sans); letter-spacing: .04em; color: var(--b-fog); }

/* phone */
.b-phonefig { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; padding: 28px; border-radius: 36px; background: var(--b-stone); }
.b-phone { position: relative; width: 268px; height: 560px; border-radius: 44px; background: #141517; padding: 10px; border: 2px solid #141517; box-shadow: 0 0 0 5px var(--b-paper); flex: none; }
.b-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #141517; isolation: isolate; }
.b-phone-host { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0; transform: scale(.6359); }
.b-phonefig figcaption { display: grid; gap: 12px; font-size: 17px; line-height: 1.55; }
.b-phonefig figcaption b { font: 400 30px/1.05 var(--b-serif); letter-spacing: -.01em; }
.b-phonefig figcaption small { font-size: 13px; color: var(--b-fog); }
.b-phonefig .hint { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.b-phonefig .hint i { width: 10px; height: 10px; border-radius: 50%; background: var(--b-cyan); box-shadow: 0 0 0 2px var(--b-line); animation: b-pulse 1.6s var(--b-ease) infinite; }
@keyframes b-pulse { 50% { transform: scale(1.5); } }

/* stat */
.b-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding-block: 10px; }
.b-stat .v { font: 400 clamp(88px, 11vw, 140px)/.8 var(--b-serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; padding: 6px 0; }
.b-stat .v sub { font: 400 .3em var(--b-serif); vertical-align: baseline; letter-spacing: 0; margin-left: 6px; }
.b-stat .cap { font-size: 18px; line-height: 1.45; display: grid; gap: 8px; border-left: 2px solid var(--b-line); padding-left: 22px; }
.b-stat .cap small { font-size: 13px; color: var(--b-fog); }
.b-stat .hl { background: linear-gradient(transparent 60%, var(--b-cyan) 60%); padding: 0 .04em; }

/* runway calculator (compact landing runway) */
.b-calc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 32px; background: var(--b-cham); border: 2px solid var(--b-cham-line); color: var(--b-on-cham); font-size: 15px; line-height: 1.4; }
.b-calc-in { display: grid; gap: 14px; padding: 14px; align-content: start; }
.b-calc-in .ttl { font: 400 26px/1.05 var(--b-serif); }
.b-calc label { display: grid; gap: 6px; font-size: 13px; color: var(--b-on-cham-muted); }
.b-calc label b { color: var(--b-cyan); font-weight: 600; }
.b-in { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px; border-radius: 13px; background: #f9fcfd; color: #141517; border: 2px solid transparent; }
.b-in:focus-within { border-color: var(--b-cyan); }
.b-in select { border: 0; background: none; font: 600 14px var(--b-sans); color: #4f5f65; padding: 0; cursor: pointer; }
.b-in input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; font: 500 18px var(--b-sans); color: #141517; outline: none; font-variant-numeric: tabular-nums; }
.b-in em { font-style: normal; font-weight: 600; font-size: 14px; color: #4f5f65; }
.b-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--b-cyan) var(--f, 0%), var(--b-cham-3) var(--f, 0%)); outline: none; margin: 8px 0; }
.b-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #f9fcfd; border: 2px solid #141517; cursor: grab; }
.b-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #f9fcfd; border: 2px solid #141517; }
.b-calc-out { display: grid; gap: 10px; padding: 14px; border-radius: 22px; background: var(--b-cham-2); }
.b-calc-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b-calc-figs div { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--b-cham-3); min-width: 0; }
.b-calc-figs span { font-size: 13px; color: var(--b-on-cham-muted); }
.b-calc-figs b { font: 400 clamp(38px, 4vw, 50px)/1 var(--b-serif); font-variant-numeric: tabular-nums; }
.b-calc-figs em { font-style: normal; font-size: 13px; color: var(--b-on-cham-muted); }
.b-calc-figs .gain b { color: var(--b-cyan); }
.b-calc-figs .gain em { color: var(--b-mint); }
.b-calc svg { display: block; width: 100%; height: auto; overflow: visible; }
.b-calc .ax { stroke: rgba(245, 246, 247, .22); stroke-width: 1; }
.b-calc .l1 { fill: none; stroke: var(--b-cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.b-calc .l2 { fill: none; stroke: var(--b-mint); stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; }
.b-calc .p1 { fill: var(--b-cham-2); stroke: var(--b-cyan); stroke-width: 3; }
.b-calc .p2 { fill: var(--b-cham-2); stroke: var(--b-mint); stroke-width: 2; }
.b-calc .lb { font: 500 11px var(--b-sans); fill: rgba(245, 246, 247, .5); }
.b-calc-note { font-size: 13px; color: var(--b-on-cham-muted); margin: 0; }

/* inline CTA */
.b-cta-inline { display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 20px; border-radius: 20px; border: 2px dashed var(--b-line); font-size: 16px; line-height: 1.4; }
.b-cta-inline .mk { width: 36px; height: 36px; flex: none; }
.b-cta-inline p { margin: 0; flex: 1; min-width: 0; }
.b-cta-inline a.go { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 11px; border: 2px solid var(--b-btn-shadow); background: var(--b-cyan); color: #141517; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 0 var(--b-btn-shadow); transition: transform 160ms var(--b-ease), box-shadow 160ms; }
.b-cta-inline a.go:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--b-btn-shadow); }

/* FAQ */
.b-faq { border-radius: 32px; background: var(--b-cham); border: 2px solid var(--b-cham-line); padding: 8px 26px; color: var(--b-on-cham); }
.b-faq details { border-bottom: 1px solid var(--b-on-cham-line); }
.b-faq details:last-child { border-bottom: 0; }
.b-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 500; line-height: 1.35; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: "+"; font-size: 26px; line-height: .9; color: var(--b-cyan); transition: transform 300ms var(--b-ease); flex: none; }
.b-faq details[open] summary::after { transform: rotate(45deg); }
.b-faq .ans { overflow: hidden; }
.b-faq .ans p { margin: 0; padding: 0 0 20px; color: var(--b-on-cham-muted); font-size: 16px; line-height: 1.6; max-width: 36em; }
.b-faq .ans p + p { margin-top: -8px; }
.b-faq .ans a { color: var(--b-on-cham); text-decoration-color: var(--b-cyan); }

/* author */
.b-author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 56px; padding: 26px; border: 2px solid var(--b-line); border-radius: 28px; background: var(--b-paper); }
.b-author .b-avatar { width: 72px; height: 72px; font-size: 34px; }
.b-author b { font: 400 28px/1.05 var(--b-serif); }
.b-author .role { font-size: 14px; color: var(--b-fog); margin: 4px 0 10px; }
.b-author p { margin: 0; font-size: 16px; line-height: 1.55; }
.b-author .links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.b-author .links a { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.b-author .links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* CTA block (end of article) */
.b-cta { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 56px; padding: clamp(28px, 4vw, 48px); border-radius: clamp(36px, 5vw, 56px); background: var(--b-cham); border: 2px solid var(--b-cham-line); color: var(--b-on-cham); overflow: hidden; }
.b-cta .b-h2 { font-size: clamp(36px, 4vw, 54px); }
.b-cta p { margin: 14px 0 0; color: var(--b-on-cham-muted); font-size: 17px; line-height: 1.5; max-width: 26em; }
.b-cta .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.b-cta .acts .b-fine { color: var(--b-on-cham-muted); }
.b-cta .stack { position: relative; height: 230px; }
.b-cta .fc { position: absolute; left: 50%; top: 50%; display: grid; gap: 2px; width: 190px; padding: 16px 18px; border-radius: 20px; border: 2px solid #141517; color: #141517; font-size: 13px; font-weight: 500; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)); transition: transform 600ms var(--b-spring); }
.b-cta .fc b { font: 400 30px/1 var(--b-serif); font-variant-numeric: tabular-nums; }
.b-cta:hover .fc { transform: translate(calc(-50% + var(--x) * 1.12), calc(-50% + var(--y) * 1.12)) rotate(calc(var(--r) * 1.4)); }
.b-cta .sticker { position: absolute; top: 20px; right: 24px; padding: 6px 14px; border: 2px solid #141517; border-radius: 999px; background: var(--b-peach); color: #141517; font-weight: 700; font-size: 14px; transform: rotate(6deg); z-index: 1; }

/* keep reading */
.b-next { margin-top: clamp(80px, 10vw, 128px); }
.b-next-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 2px solid var(--b-line); }
.b-next .b-grid { margin-top: 32px; }


.b-toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: var(--b-cham); border: 2px solid var(--b-cham-line); color: var(--b-on-cham); font-weight: 600; font-size: 14px; pointer-events: none; transition: transform 300ms var(--b-spring), opacity 200ms; }
.b-toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .b *, .b *::before, .b *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .b-ribbon-track { animation: none; }
}

/* ── responsive ── */
@media (max-width: 1080px) {
  .b-art-grid { grid-template-columns: minmax(0, var(--b-read)); }
  .b-toc { display: none; }
  .b-toc-m { display: block; position: sticky; top: 90px; z-index: 40; margin-bottom: 28px; }
  .b-toc-m details { border: 2px solid var(--b-line); border-radius: 18px; background: var(--b-paper); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .4); }
  .b-toc-m summary { list-style: none; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; cursor: pointer; font-size: 15px; font-weight: 600; }
  .b-toc-m summary::-webkit-details-marker { display: none; }
  .b-toc-m summary .lbl { font: 600 11px var(--b-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--b-fog); flex: none; }
  .b-toc-m summary .cur { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .b-toc-m summary svg { transition: transform 300ms var(--b-ease); }
  .b-toc-m details[open] summary svg { transform: rotate(180deg); }
  .b-toc-m ol { list-style: none; margin: 0; padding: 4px 8px 10px; max-height: 60vh; overflow: auto; border-top: 2px solid var(--b-line-soft); }
  .b-toc-m li a { display: flex; gap: 12px; padding: 10px 8px; border-radius: 10px; font-size: 15px; text-decoration: none; color: var(--b-fog); }
  .b-toc-m li a span { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--b-faint); width: 18px; flex: none; }
  .b-toc-m li a.on { background: var(--b-stone); color: var(--b-fg); font-weight: 600; }
  .b-toc-m .prog { height: 3px; margin: 0 14px; border-radius: 2px; background: var(--b-line-soft); overflow: hidden; }
  .b-toc-m .prog i { display: block; height: 100%; width: 100%; background: var(--b-cyan); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  .b-fig.is-wide { margin-inline: 0; }
}
@media (max-width: 980px) {
  .b-featured { grid-template-columns: 1fr; }
  .b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-row { grid-template-columns: 200px minmax(0, 1fr); }
  .b-row .go { display: none; }
  .b-cta { grid-template-columns: 1fr; }
  .b-cta .stack { display: none; }
}
@media (max-width: 720px) {
  .b-phonefig { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 24px 18px; }
  .b-phonefig figcaption { justify-items: center; }
  .b-steps { grid-template-columns: 1fr; }
  .b-steps li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .b-steps li > :not(.n) { grid-column: 2; }
  .b-steps .n { grid-row: span 3; }
  .b-calc { grid-template-columns: 1fr; }
  .b-stat { grid-template-columns: 1fr; gap: 14px; }
  .b-stat .cap { border-left: 0; padding-left: 0; border-top: 2px solid var(--b-line); padding-top: 14px; }
  .b-empty { grid-template-columns: 1fr; }
  .b-empty > svg.art { max-width: 160px; }
  .b-taghead { grid-template-columns: 1fr; }
  .b-taghead-count { text-align: left; }
}
@media (max-width: 560px) {
  .b-grid { grid-template-columns: 1fr; gap: 40px; }
  .b-card h3 { font-size: 28px; }
  .b-row { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .b-prose { font-size: 18px; }
  .b-callout { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .b-op { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 8px 10px 8px 8px; }
  .b-op .av { width: 36px; height: 36px; }
  .b-ops { padding: 12px; border-radius: 24px; }
  .b-faq { padding: 4px 18px; }
  .b-faq summary { font-size: 17px; }
  .b-author { grid-template-columns: 1fr; }
  .b-cta-inline { flex-wrap: wrap; }
  .b-cta-inline a.go { width: 100%; justify-content: center; }
  .b-calc-figs { grid-template-columns: 1fr 1fr; }
  .b-calc-figs b { font-size: 36px; }
  .b-filter h2 { display: none; }
  .b-crumbs [aria-current] { max-width: 22ch; }
  .b-art-cover .b-cover { aspect-ratio: 4 / 3; }
  .b-next-head .b-btn { display: none; }
}

/* compare on a phone: one card per product, the highlighted one first */
.b-cmp-m { display: none; gap: 12px; }
.b-cmp-m section { border: 2px solid var(--b-line); border-radius: 24px; background: var(--b-paper); overflow: hidden; }
.b-cmp-m section.us { background: color-mix(in srgb, var(--b-cyan) 16%, var(--b-paper)); }
.b-cmp-m header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 18px; border-bottom: 2px solid var(--b-line); }
.b-cmp-m section.us header { background: var(--b-cyan); color: #141517; }
.b-cmp-m header b { font: 400 26px/1 var(--b-serif); }
.b-cmp-m header small { font-size: 13px; font-weight: 600; opacity: .7; }
.b-cmp-m dl { margin: 0; padding: 4px 18px 8px; display: grid; }
.b-cmp-m dt { font-size: 13px; color: var(--b-fog); padding-top: 12px; }
.b-cmp-m dd { margin: 4px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--b-line-soft); font-size: 15px; line-height: 1.4; }
.b-cmp-m dd:last-child { border-bottom: 0; }
@media (max-width: 600px) {
  .b-compare { display: none; }
  .b-cmp-m { display: grid; }
  .b-cta .sticker { position: static; justify-self: start; margin-bottom: -14px; transform: rotate(-3deg); }
  .b-table th, .b-table td { padding: 12px; }
  .b-byline .b-meta .upd { display: none; }
}
.b-wrap > [data-list]:first-child .b-empty { margin-top: clamp(48px, 7vw, 88px); }

/* ── additions for the live blog (not in the mockup) ── */
.b-tagline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.b-draft { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 2px solid var(--b-line); background: var(--b-peach); color: var(--b-on-pastel); font: 700 11px/1 var(--b-sans); letter-spacing: .06em; text-transform: uppercase; }
.b-meta .b-draft::before { content: none; }
.b-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-pagehead { display: grid; gap: 18px; padding-block: clamp(40px, 7vh, 80px) 0; }
.b-feed { display: flex; justify-content: center; margin: 56px 0 0; font-size: 14px; }
.b-feed a { display: inline-flex; align-items: center; gap: 6px; color: var(--b-fog); text-decoration: none; }
.b-feed a:hover { color: var(--b-fg); text-decoration: underline; text-underline-offset: 3px; }
.b-feed svg.i { width: 16px; height: 16px; }
.b-more { gap: 12px; }
.b-empty[hidden], .b-card[hidden] { display: none; }
.b-empty-first { margin-top: clamp(48px, 7vw, 88px); }
.b-row h2 { font: 400 clamp(28px, 2.8vw, 38px)/1.02 var(--b-serif); margin: 8px 0 10px; text-wrap: balance; }
.b-art-head .b-crumbs { margin-bottom: 4px; }
.b-h2 em, .b-cta .b-h2 em { font-style: italic; }
.b-prose figure > figcaption a { text-decoration: underline; }
/* the demo phone: the /demo app (demo.js) in the landing's 390 × 844 screen, scaled to fit */
.b-phone-host { left: 0; top: 0; }
.b-phone .nd-app { position: absolute; inset: 0; }
/* the runway calculator draws with the landing's chart (lp-line1, lp-area …, 220px tall) */
.b-calc-out { align-content: start; }
.b-prose blockquote p { margin: 0; }
.with-ic > span:first-child { flex: none; }
.b-calc-note a { color: var(--b-on-cham); text-decoration: underline; text-decoration-color: var(--b-cyan); text-underline-offset: 3px; }
.b-in input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.b-in input::-webkit-outer-spin-button, .b-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.b-faq .ans a { text-decoration: underline; }
.b-author .links svg.i { width: 16px; height: 16px; }
@media (max-width: 1080px) { .b-art-grid .b-toc { display: none; } }
