/* Blog group: /blog and /blog/<slug>.
   Loaded after every shared layer (tokens, components, site, pages, product,
   growth), so it only adds and refines. Every color is a token, except inside
   the small always-dark video frames of the drawn topic pictures. Classes are
   prefixed bl- so they cannot collide with the shared patterns. Long-form
   reading text never runs wider than 680px (42.5rem). */

/* ============================================================ topic pictures */
/* One small drawn picture per topic (decorative). */
.bl-art { position: relative; display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); min-width: 0;
  height: 12rem; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--bg-subtle); border: var(--border-w) solid var(--border); overflow: hidden; }
.bl-art__legend { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-subtle); }
.bl-art__legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.bl-art__legend i { width: 0.625rem; height: 0.625rem; border-radius: 2px; background: var(--accent-subtle); box-shadow: inset 0 0 0 1px var(--accent); }
.bl-art__legend i.x { background: var(--cut); box-shadow: none; }

/* Editing: a timeline with two cuts and the playhead. */
.bl-art__file { align-self: flex-start; padding: 0.25rem 0.6rem; border-radius: var(--radius-full); background: var(--surface); border: var(--border-w) solid var(--border);
  font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-muted); }
.bl-art__tl { position: relative; display: flex; gap: 3px; height: 2.5rem; }
.bl-art__tl i { flex: var(--g) 1 0; border-radius: var(--radius-xs); background: var(--accent-subtle); box-shadow: inset 0 0 0 1px var(--accent-border); }
.bl-art__tl i.x { background: repeating-linear-gradient(135deg, var(--cut-subtle) 0 4px, transparent 4px 8px); box-shadow: inset 0 0 0 1.5px var(--cut); }
.bl-art__head { position: absolute; top: -0.4rem; bottom: -0.4rem; left: var(--at); width: 2px; border-radius: 1px; background: var(--text-strong); }
.bl-art__head::before { content: ""; position: absolute; top: -0.3rem; left: -0.25rem; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--text-strong); }

/* Captions: a phone frame with a short caption, beside the cue list. */
.bl-art--cap { flex-direction: row; align-items: center; gap: var(--space-5); }
.bl-art__phone { position: relative; flex: none; width: 5rem; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 0.9rem; background: #1A232A; border: 4px solid #0C1114; }
.bl-art__cap { position: absolute; left: 8%; right: 8%; bottom: 16%; padding: 0.2rem 0.25rem; border-radius: 0.25rem; background: rgba(10, 14, 17, 0.88);
  color: #fff; font-size: 0.5625rem; font-weight: var(--font-bold); line-height: 1.2; text-align: center; }
.bl-art__cap em { font-style: normal; color: #FDBA74; }
.bl-art__cues { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.bl-art__cues span { display: flex; flex-direction: column; padding: 0.35rem 0.6rem; border-radius: var(--radius-sm); background: var(--surface); border: var(--border-w) solid var(--border);
  font-size: var(--text-xs); line-height: 1.3; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-art__cues b { font-family: var(--font-mono); font-size: 0.625rem; font-weight: var(--font-normal); color: var(--text-subtle); }

/* Audio: a waveform with a level band; the peaks that cross it are orange. */
.bl-art__wave { position: relative; display: flex; align-items: center; gap: 3px; height: 5.5rem; }
.bl-art__wave i { flex: 1; height: var(--h); border-radius: 2px; background: var(--accent); }
.bl-art__wave i.x { background: var(--cut); }
.bl-art__target { position: absolute; inset: 12% 0; border-block: 1.5px dashed var(--text-subtle); pointer-events: none; }

/* Recording: a camera frame with the record light and a level meter. */
.bl-art__frame { position: relative; width: 100%; max-width: 15rem; aspect-ratio: 16 / 9; margin-inline: auto; overflow: hidden; border-radius: var(--radius-md); background: #1A232A; }
.bl-art__frame .stage__person { width: 30%; height: 78%; }
.bl-art__rec { position: absolute; left: 0.5rem; top: 0.5rem; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.4rem; border-radius: 0.25rem;
  background: rgba(10, 14, 17, 0.72); color: #fff; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.04em; }
.bl-art__rec i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #F04438; }
.bl-art__meter { position: absolute; right: 0.5rem; top: 0.5rem; bottom: 0.5rem; display: flex; flex-direction: column-reverse; gap: 2px; width: 0.4rem; }
.bl-art__meter i { flex: 1; border-radius: 1px; background: #4ADE80; }
.bl-art__meter i.hi { background: #FBBF24; }
.bl-art__meter i.off { background: rgba(255, 255, 255, 0.16); }

/* Publishing: the thumbnail, and the same thumbnail at phone size. The pair
   shares a bottom edge and sits in the middle of the box; the widths are
   shares of the box so both stay whole in the narrow tablet and article boxes. */
.bl-art--pub { flex-direction: row; flex-wrap: wrap; align-content: center; align-items: flex-end; justify-content: center; gap: var(--space-4); }
.bl-art__thumb { position: relative; flex: none; display: flex; align-items: center; width: min(11rem, 64%); aspect-ratio: 16 / 9; padding: 0 0.6rem; overflow: hidden;
  border-radius: var(--radius-sm); background: #1A232A; }
.bl-art__words { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.3rem; width: 56%; }
.bl-art__words i { height: 0.7rem; border-radius: 2px; background: #fff; }
.bl-art__words i.hl { width: 72%; background: #FB923C; }
.bl-art__face { position: absolute; right: 8%; bottom: 0; width: 32%; aspect-ratio: 1 / 1.3; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: #34434D; }
.bl-art__thumb--sm { width: min(4.25rem, 25%); padding: 0 0.25rem; border-radius: 0.25rem; }
.bl-art__thumb--sm .bl-art__words { gap: 0.12rem; }
.bl-art__thumb--sm .bl-art__words i { height: 0.28rem; border-radius: 1px; }

/* Workflow: a change asked for in plain words, and the answer. */
.bl-art--flow { gap: var(--space-3); }
.bl-art--flow .bub { max-width: 88%; font-size: var(--text-xs); line-height: 1.4; }

/* Before you upload: the raw file in, the edit and clips out. */
.bl-art--up { flex-direction: row; align-items: center; gap: var(--space-3); }
.bl-art__drop { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  border: 2px dashed var(--border-strong); border-radius: var(--radius-md); color: var(--accent-text); }
.bl-art__drop span { max-width: 100%; padding: 0.2rem 0.45rem; border-radius: var(--radius-full); background: var(--surface); border: var(--border-w) solid var(--border);
  font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-art--up > svg { flex: none; color: var(--text-subtle); }
.bl-art__out { flex: none; display: flex; align-items: flex-end; gap: 0.3rem; }
.bl-art__out i { width: 1.5rem; aspect-ratio: 9 / 16; border-radius: 0.3rem; background: #1A232A; }
.bl-art__out i:first-child { width: 2.125rem; box-shadow: 0 0 0 2px var(--accent); }

/* ================================================================ /blog */
.bl-hero__grid { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 1024px) { .bl-hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: var(--space-16); } }

/* Topic jump links. */
.bl-topics { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-2); }
.bl-topics__label { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-subtle); }
.bl-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; }
.bl-chips a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.95rem 0 0.8rem; border: var(--border-w) solid var(--border);
  border-radius: var(--radius-full); background: var(--surface); font-size: var(--text-sm); font-weight: var(--font-medium); color: var(--text);
  transition: border-color var(--duration-fast) var(--ease-default), background var(--duration-fast) var(--ease-default); }
.bl-chips a:hover { border-color: var(--accent); color: var(--text-strong); }
.bl-chips svg { flex: none; color: var(--accent-text); }
.bl-chips a span { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-subtle); }

/* The pinned article: the one cut corner on the page. */
.bl-feature { position: relative; display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius-2xl); clip-path: var(--cut-corner); color: var(--text);
  transition: transform var(--duration-base) var(--ease-default), background var(--duration-fast) var(--ease-default); }
.bl-feature::after { content: ""; position: absolute; top: 0; left: calc(100% - 1.75rem); width: 2.475rem; height: 2px; background: var(--accent);
  transform-origin: 0 0; transform: rotate(45deg); }
.bl-feature:hover { transform: translateY(-2px); color: var(--text); }
.bl-feature:focus-visible { outline: var(--border-w-thick) solid var(--accent); outline-offset: -7px; }
.bl-feature__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.bl-feature__meta { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); }
.bl-feature__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--text-strong); }
.bl-feature > p { color: var(--text-muted); line-height: 1.6; }
.bl-feature__label { margin-top: var(--space-1); font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-subtle); }
.bl-feature__inside { list-style: none; padding: 0; margin-top: calc(-1 * var(--space-2)); counter-reset: bli; display: flex; flex-direction: column; }
.bl-feature__inside li { counter-increment: bli; display: flex; gap: var(--space-3); align-items: baseline; padding-block: 0.6rem; border-bottom: var(--border-w) solid var(--border-subtle);
  font-size: var(--text-sm); line-height: 1.45; color: var(--text); }
.bl-feature__inside li::before { content: counter(bli, decimal-leading-zero); flex: none; font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--cut-text); }
.bl-feature__go { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: var(--space-1); font-weight: var(--font-semibold); color: var(--accent-text); }
.bl-feature__go svg { transition: transform var(--duration-fast) var(--ease-default); }
.bl-feature:hover .bl-feature__go svg { transform: translateX(3px); }

/* One shelf per topic: name, one line, a picture; then one row per article. */
.bl-shelf { display: grid; gap: var(--space-5); scroll-margin-top: calc(var(--header-h) + var(--space-6)); }
.bl-shelf + .bl-shelf, .bl-shelf + .bl-mid, .bl-mid + .bl-shelf { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.bl-shelf__head { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: center; gap: var(--space-3) var(--space-4); min-width: 0; }
.bl-shelf__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md); background: var(--accent-subtle); color: var(--accent-text); }
.bl-shelf__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; min-width: 0; }
.bl-shelf__name h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; }
.bl-shelf__count { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-subtle); }
.bl-shelf__head > p { grid-column: 1 / -1; color: var(--text-muted); line-height: 1.55; max-width: 36rem; }
.bl-shelf__head > .bl-art { display: none; grid-column: 1 / -1; }
@media (min-width: 640px) and (max-width: 1023px) {
  .bl-shelf__head { grid-template-columns: 2.75rem minmax(0, 1fr) 15rem; column-gap: var(--space-4); }
  .bl-shelf__head > p { grid-column: 1 / 3; align-self: start; }
  .bl-shelf__head > .bl-art { display: flex; grid-column: 3; grid-row: 1 / span 2; height: 9.5rem; padding: var(--space-4); }
}
@media (min-width: 1024px) {
  .bl-shelf { grid-template-columns: 20rem minmax(0, 1fr); gap: var(--space-12); align-items: start; }
  .bl-shelf__name h2 { font-size: 1.75rem; }
  .bl-shelf__head { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
  .bl-shelf__head > .bl-art { display: flex; margin-top: var(--space-2); }
}

.bl-rows { list-style: none; padding: 0; overflow: hidden; background: var(--surface); border: var(--border-w) solid var(--border); border-radius: var(--radius-xl); }
.bl-rows li + li { border-top: var(--border-w) solid var(--border-subtle); }
.bl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-6); padding: var(--space-5) var(--space-6);
  color: var(--text); transition: background var(--duration-instant) var(--ease-default); }
.bl-row:hover { background: var(--surface-hover); color: var(--text); }
.bl-row:focus-visible { outline: var(--border-w-thick) solid var(--accent); outline-offset: -3px; border-radius: var(--radius-lg); }
.bl-row__text { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.bl-row h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.015em; color: var(--text-strong); }
.bl-row p { font-size: var(--text-sm); line-height: 1.55; color: var(--text-muted); max-width: 40rem; }
.bl-row__meta { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin-top: var(--space-1);
  font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.03em; color: var(--text-subtle); }
.bl-row__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.bl-row__meta svg { color: var(--text-subtle); }
.bl-row > svg { color: var(--accent-text); transition: transform var(--duration-fast) var(--ease-default); }
.bl-row:hover > svg { transform: translateX(3px); }
@media (max-width: 559px) {
  .bl-row { grid-template-columns: minmax(0, 1fr); padding: var(--space-4) var(--space-5); }
  .bl-row > svg { display: none; }
  .bl-row h3 { font-size: var(--text-lg); }
}

/* The mid-page offer, tinted so it reads as a break between shelves. */
.bl-mid { background: var(--accent-subtle); border-color: var(--accent-border); }
.bl-mid__text { display: flex; flex-direction: column; gap: var(--space-2); max-width: 38rem; }
.bl-mid__text p { margin-top: 0; }
.bl-mid__act { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.bl-mid__act small { font-size: var(--text-xs); color: var(--text-muted); }
@media (max-width: 479px) { .bl-mid__act, .bl-mid__act .s-btn { width: 100%; } .bl-mid__act { align-items: center; } }

/* More help: three cards in one row from tablet up, never two and an orphan. */
@media (min-width: 640px) { .bl-more { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1023px) { .bl-more .card2 { padding: var(--space-5); } }

/* ======================================================== /blog/<slug> */
/* One column of reading text (680px) and, on a desktop, the "On this page"
   list beside it. The pair is centered; the hero uses the same columns so the
   title lines up with the text. */
.s-container.bl-wrap { display: grid; gap: var(--space-8); max-width: calc(42.5rem + 2 * var(--gutter)); }
@media (min-width: 1024px) {
  .s-container.bl-wrap { max-width: calc(42.5rem + var(--space-16) + 17rem + 2 * var(--gutter));
    grid-template-columns: minmax(0, 42.5rem) 17rem; column-gap: var(--space-16); justify-content: space-between; }
}

.bl-ahero .bl-wrap { align-items: center; }
.bl-ahero__text { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.bl-ahero__text .crumbs { margin-bottom: calc(-1 * var(--space-3)); }
/* "Blog" is one short word: widen each crumb's hit area past 44px without
   moving the text (the padding sits in the gap beside the slash). */
.bl-ahero__text .crumbs a { padding-inline: var(--space-2); margin-inline: calc(-1 * var(--space-2)); }
.bl-ahero h1 { font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.03em; }
.bl-ahero__art { display: none; min-width: 0; }
@media (min-width: 1024px) { .bl-ahero__art { display: block; } .bl-ahero__art .bl-art { height: 13rem; } }
.bl-meta { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; }
.bl-meta li { display: inline-flex; align-items: center; gap: 0.4rem; height: 2rem; padding: 0 0.75rem; border-radius: var(--radius-full);
  border: var(--border-w) solid var(--border); background: var(--surface); font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.03em; color: var(--text-muted); }
.bl-meta svg { color: var(--accent-text); }

/* On this page. A box above the text on small screens, a quiet sticky list
   beside it on a desktop. */
.bl-aside { min-width: 0; }
.bl-toc { padding: var(--space-4) var(--space-5); border: var(--border-w) solid var(--border); border-radius: var(--radius-xl); background: var(--surface); }
.bl-toc h2 { margin-bottom: var(--space-1); font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: var(--font-medium); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--text-subtle); }
.bl-toc ol { list-style: none; padding: 0; counter-reset: toc; display: flex; flex-direction: column; }
.bl-toc li + li { border-top: var(--border-w) solid var(--border-subtle); }
.bl-toc a { counter-increment: toc; display: flex; align-items: center; gap: var(--space-3); min-height: 2.75rem; padding-block: 0.4rem;
  font-size: var(--text-sm); line-height: 1.4; color: var(--text-muted); transition: color var(--duration-instant) var(--ease-default); }
.bl-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-subtle); }
.bl-toc a:hover { color: var(--text-strong); }
.bl-toc a:hover::before { color: var(--cut-text); }
@media (min-width: 1024px) {
  .bl-aside { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: calc(var(--header-h) + var(--space-8)); }
  .bl-body { grid-column: 1; grid-row: 1; }
  .bl-toc { padding: var(--space-1) 0 var(--space-1) var(--space-5); border: 0; border-left: 2px solid var(--border); border-radius: 0; background: none; }
  .bl-toc li + li { border-top: 0; }
}

/* The reading column. */
.bl-body { min-width: 0; max-width: 42.5rem; font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
@media (min-width: 1024px) { .bl-body { font-size: 1.125rem; } }
.bl-intro { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); line-height: 1.6; color: var(--text-strong); }
.bl-sec { margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); scroll-margin-top: calc(var(--header-h) + var(--space-6)); }
.bl-sec > * + * { margin-top: var(--space-5); }
.bl-sec h2, .bl-tools__head h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.025em; }
.bl-body a:not(.s-btn):not(.bl-tool) { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bl-body a:not(.s-btn):not(.bl-tool):hover { color: var(--accent-hover); }
.bl-steps { list-style: none; padding: 0; counter-reset: st; display: flex; flex-direction: column; gap: var(--space-4); }
.bl-steps li { counter-increment: st; position: relative; min-height: 2rem; padding-left: 3rem; }
.bl-steps li::before { content: counter(st); position: absolute; left: 0; top: 0.05em; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent-subtle); color: var(--accent-text); font-family: var(--font-mono); font-size: var(--text-sm); font-weight: var(--font-semibold); line-height: 1; }
.bl-checks li::before { margin-top: 0.4em; }
.bl-body .growth-table-wrap { margin-block: var(--space-5) 0; border: var(--border-w) solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.bl-body .growth-table-wrap:focus-visible { outline: var(--border-w-thick) solid var(--accent); outline-offset: 2px; }
.bl-body .growth-table { font-size: var(--text-sm); }
.bl-body .growth-table th { font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: var(--font-medium); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); }
.bl-body .growth-table td:first-child { min-width: 8.5rem; font-weight: var(--font-semibold); color: var(--text-strong); }
.bl-body .growth-table tbody tr:last-child td { border-bottom: 0; }
/* Phones: each row becomes a small card, the column names become labels. */
@media (max-width: 559px) {
  .bl-body .growth-table, .bl-body .growth-table tbody, .bl-body .growth-table tr, .bl-body .growth-table td { display: block; }
  .bl-body .growth-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bl-body .growth-table tr { padding: var(--space-4); }
  .bl-body .growth-table tr + tr { border-top: var(--border-w) solid var(--border); }
  .bl-body .growth-table td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-3); min-width: 0; padding: var(--space-1) 0; border: 0; }
  .bl-body .growth-table td::before { content: attr(data-label); padding-top: 0.15rem; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--text-subtle); }
  .bl-body .growth-table td:first-child { display: block; min-width: 0; padding: 0 0 var(--space-2); font-size: var(--text-base); }
  .bl-body .growth-table td:first-child::before { content: none; }
}

/* Mid-article: the free tools that do this job. */
.bl-tools { margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); display: flex; flex-direction: column; gap: var(--space-5); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--radius-xl); background: var(--accent-subtle); border: var(--border-w) solid var(--accent-border); scroll-margin-top: calc(var(--header-h) + var(--space-6)); }
.bl-tools__head { display: flex; flex-direction: column; gap: var(--space-2); }
.bl-tools__head h2 { font-size: var(--text-2xl); }
.bl-tools__head p { font-size: var(--text-sm); color: var(--text-muted); }
.bl-tools__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.bl-tool { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); min-height: 4rem; padding: var(--space-3) var(--space-4);
  background: var(--surface); border: var(--border-w) solid var(--border); border-radius: var(--radius-lg); color: var(--text);
  transition: border-color var(--duration-fast) var(--ease-default), transform var(--duration-fast) var(--ease-default); }
.bl-tool:hover { border-color: var(--accent); transform: translateY(-1px); color: var(--text); }
.bl-tool:focus-visible { outline: var(--border-w-thick) solid var(--accent); outline-offset: 2px; }
.bl-tool__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md); background: var(--accent-subtle); color: var(--accent-text); }
.bl-tool__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.4; }
.bl-tool__text b { font-size: var(--text-base); font-weight: var(--font-semibold); color: var(--text-strong); }
.bl-tool__text span { font-size: var(--text-sm); color: var(--text-muted); }
.bl-tool > svg { color: var(--accent-text); transition: transform var(--duration-fast) var(--ease-default); }
.bl-tool:hover > svg { transform: translateX(3px); }
@media (max-width: 479px) { .bl-tool { grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-3); } .bl-tool > svg { display: none; } }

/* Mid-article when an answer has no tool: one line and a link. */
.bl-callout { margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); display: flex; align-items: flex-start; gap: var(--space-4); padding: var(--space-5);
  border-radius: var(--radius-lg); background: var(--accent-subtle); border: var(--border-w) solid var(--accent-border); font-size: var(--text-base); line-height: 1.6; }
.bl-callout__icon { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--accent); color: var(--text-on-accent); }
.bl-callout__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1); min-width: 0; }
.bl-callout b { color: var(--text-strong); }
/* The callout's one link is a full 44px target, not a word inside the sentence. */
.bl-body .bl-callout a.bl-callout__go { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; margin-bottom: calc(-1 * var(--space-2));
  font-weight: var(--font-semibold); color: var(--accent-text); text-decoration: none; }
.bl-body .bl-callout a.bl-callout__go:hover { color: var(--accent-hover); }
.bl-callout__go svg { transition: transform var(--duration-fast) var(--ease-default); }
.bl-callout__go:hover svg { transform: translateX(3px); }

/* Sources. */
.bl-sources { margin-top: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--bg-subtle);
  border: var(--border-w) solid var(--border); font-size: var(--text-sm); scroll-margin-top: calc(var(--header-h) + var(--space-6)); }
.bl-sources h2 { font-size: var(--text-lg); letter-spacing: -0.01em; }
.bl-sources ul { list-style: none; padding: 0; margin-top: var(--space-1); }
.bl-sources a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; }
.bl-sources a svg { flex: none; }

/* End of reading: the next step, with a real frame from a finished edit. */
.bl-end { margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); display: grid; grid-template-areas: "frame" "text" "act"; gap: var(--space-5); align-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-2xl); border: var(--border-w) solid var(--border); color: var(--text); }
.bl-end__text { grid-area: text; display: flex; flex-direction: column; gap: var(--space-3); }
.bl-end .tc { color: var(--tape-300); }
.bl-end h2 { color: var(--text-strong); font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.1; letter-spacing: -0.03em; }
/* A two-sentence heading breaks between its sentences, never inside one. */
.bl-end h2 span { display: block; }
.bl-end p { color: var(--text-muted); line-height: 1.6; font-size: var(--text-base); }
.bl-end__act { grid-area: act; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.bl-end__act small { font-size: var(--text-xs); color: var(--text-subtle); }
.bl-end__frame { grid-area: frame; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.bl-end__frame .phone { width: 7rem; border-width: 5px; border-radius: 1.3rem; box-shadow: 0 0 0 1px var(--border); }
.bl-end__frame figcaption { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.03em; color: var(--text-subtle); text-align: center; }
@media (max-width: 479px) { .bl-end__act .s-btn { width: 100%; } .bl-end__act { justify-content: center; } }
@media (min-width: 560px) {
  .bl-end { grid-template-columns: minmax(0, 1fr) 9.5rem; grid-template-areas: "text frame" "act frame"; column-gap: var(--space-8); row-gap: var(--space-6); }
  .bl-end__text { align-self: end; }
  .bl-end__act { align-self: start; }
  .bl-end__frame .phone { width: 9.5rem; }
}

/* Keep reading. */
.bl-related__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2) var(--space-6); margin-bottom: var(--space-8); }
.bl-related__head h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; }
.bl-related__head .s-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: var(--font-medium); }
.bl-cards { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }
.bl-card { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-6); background: var(--surface); border: var(--border-w) solid var(--border);
  border-radius: var(--radius-xl); color: var(--text);
  transition: border-color var(--duration-fast) var(--ease-default), transform var(--duration-base) var(--ease-default), box-shadow var(--duration-base) var(--ease-default); }
.bl-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }
.bl-card:focus-visible { outline: var(--border-w-thick) solid var(--accent); outline-offset: 3px; }
.bl-card__meta { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-subtle); }
.bl-card__meta svg { color: var(--accent-text); }
.bl-card h3 { font-size: var(--text-xl); line-height: 1.25; letter-spacing: -0.015em; color: var(--text-strong); }
.bl-card p { font-size: var(--text-sm); line-height: 1.55; color: var(--text-muted); }
.bl-card__go { margin-top: auto; padding-top: var(--space-1); display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--text-sm); font-weight: var(--font-semibold); color: var(--accent-text); }
.bl-card__go svg { transition: transform var(--duration-fast) var(--ease-default); }
.bl-card:hover .bl-card__go svg { transform: translateX(3px); }
@media (max-width: 559px) { .bl-card { padding: var(--space-5); } }
/* Tablet: three narrow cards would wrap every line, so they become a list. */
@media (min-width: 560px) and (max-width: 1023px) {
  .bl-cards { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .bl-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2) var(--space-6); padding: var(--space-5) var(--space-6); }
  .bl-card > :not(.bl-card__go) { grid-column: 1; }
  .bl-card__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; padding: 0; }
}

/* Dark: the small video frames get an edge so they stay visible on ink. */
[data-theme="dark"] .bl-art__phone, [data-theme="dark"] .bl-art__frame, [data-theme="dark"] .bl-art__thumb, [data-theme="dark"] .bl-art__out i { box-shadow: 0 0 0 1px var(--border-strong); }
[data-theme="dark"] .bl-art__out i:first-child { box-shadow: 0 0 0 2px var(--accent); }

@media print { .bl-aside, .bl-related, .bl-tools, .bl-callout, .bl-end, .bl-ahero__art { display: none !important; } }

/* The orange eyebrow on a blue tint needs the deeper orange to stay above 4.5:1. */
.bl-mid .tc, .bl-tools .tc { color: var(--tape-700); }
[data-theme="dark"] .bl-mid .tc, [data-theme="dark"] .bl-tools .tc { color: var(--cut-text); }
