/* blog-clean.css — /blog and /guide in the site's dark shell + the clean white page (owner-approved 2026-12).
 * Shell: the same top bar, <header class="ag-nav"> and footer as the home page, /artifacts and
 * /template (ai-agents.css + ag-mobile.css, loaded before this file), then a short dark title band
 * (#0D0B1E) with the H1. Below it: white page; a max-width 1200px column framed by thin rails; thin
 * rules between rows; black / grey text only; outlined grey chips (selected = solid black); black
 * primary buttons; 8-10px radii; Inter (set by ai-agents.css on .ag-page).
 * Every image sits in one frame, .bc-fig: 16:10, #F4F4F7 mat, thin border, picture shown whole and
 * never larger than its real size.
 * Rules are scoped to .bc-band (dark band) and .bc-wrap (white column) so nothing here touches the
 * shared header. Markup: scripts/lib/article-render.js. Behaviour: assets/js/blog-clean.js. */

:root {
  --bc-ink: #0F0F14;
  --bc-ink-2: #3A3E4A;
  --bc-muted: #5B5F6B;
  --bc-rule: #E7E7EA;
  --bc-line: #D9DAE0;
  --bc-bg: #FFFFFF;
  --bc-soft: #F6F6F8;
  --bc-max: 1200px;
  --bc-prose: 704px;
  --bc-pad: 28px;
}

.bc { display: block; background: var(--bc-bg); color: var(--bc-ink); -webkit-font-smoothing: antialiased; }
.bc .bc-wrap { padding: 0 24px; }
.bc :where(.bc-wrap, .bc-band) *, .bc :where(.bc-wrap, .bc-band) *::before, .bc :where(.bc-wrap, .bc-band) *::after { box-sizing: border-box; }
.bc :where(.bc-wrap) a { color: var(--bc-ink); }
.bc :where(.bc-wrap, .bc-band) img { max-width: 100%; }
.bc .bc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bc [hidden] { display: none !important; }

.bc .bc-frame { max-width: var(--bc-max); margin: 0 auto; border-left: 1px solid var(--bc-rule); border-right: 1px solid var(--bc-rule); }
.bc .bc-row { padding: 18px var(--bc-pad); border-bottom: 1px solid var(--bc-rule); margin: 0; }

/* buttons, chips, links */
.bc .bc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 16px; border-radius: 8px;
  background: var(--bc-ink); color: #fff; border: 1px solid var(--bc-ink); font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.bc .bc-btn:hover { background: #2A2A33; color: #fff; }
.bc .bc-btn--ghost { background: #fff; color: var(--bc-ink); border-color: var(--bc-line); font-weight: 500; }
.bc .bc-btn--ghost:hover { background: #fff; border-color: var(--bc-ink); color: var(--bc-ink); }
.bc .bc-btn--sm { min-height: 36px; padding: 8px 12px; font-size: 13px; }
.bc .bc-wrap :is(a, summary, input, button):focus-visible { outline: 2px solid var(--bc-ink); outline-offset: 2px; }
.bc .bc-band a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bc .bc-chip, .bc .tag.bc-chip { display: inline-flex; align-items: center; align-self: flex-start; margin: 0; font-size: 13px; font-weight: 400; line-height: 1.3;
  color: var(--bc-ink-2); background: #fff; border: 1px solid var(--bc-line); padding: 5px 12px; border-radius: 999px; width: auto; height: auto; }
.bc .bc-ulink { font-size: 14px; color: var(--bc-ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ dark title band
   Sits inside the shared .ag-hero, under the ag-nav header. Flat #0D0B1E like the /template hero. */
/* The shared hero clips its content (overflow: hidden) and paints the stage as one layer. Here the
   hero is short, so the header's dropdown menus must be able to hang below it: the colour moves to
   the section, the stage goes transparent and sits above the page (menus over the cover image),
   while the cover (z-index 3) still overlaps the band's own background. */
.bc .bc-top { background: #0D0B1E; overflow: visible; }
.bc .bc-stage { background: none; z-index: 5; }
.bc .bc-band { position: relative; z-index: 2; padding: 0 24px; color: #C9C6DD; }
.bc .bc-band__in { max-width: var(--bc-max); margin: 0 auto; padding: 36px var(--bc-pad) 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.bc .bc-band__col { width: 100%; max-width: var(--bc-prose); margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.bc--cover .bc-band__in { padding-bottom: 132px; }
.bc .bc-band a { color: #E4E2F5; }
.bc .bc-band .bc-h1 { margin: 0; color: #fff; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.14; font-weight: 600; letter-spacing: -0.02em; text-align: left; overflow-wrap: break-word; max-width: 100%; }
.bc--list .bc-band .bc-h1 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.025em; }
.bc .bc-band .bc-sub, .bc .bc-band .bc-intro { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.55; color: #C9C6DD; }
.bc .bc-eyebrow { margin: 0; font-size: 13px; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: #B9AEFF; }
.bc .bc-band__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.bc .bc-band__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; color: #C9C6DD; }
.bc .bc-band__back:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bc .bc-band__chip { display: inline-flex; }
.bc .bc-band__chip a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.bc .bc-band .bc-chip, .bc .bc-band .tag.bc-chip { color: #E4E2F5; background: transparent; border-color: rgba(255,255,255,.32); align-self: center; }
.bc .bc-band__chip a:hover .bc-chip { border-color: #fff; color: #fff; }
.bc .bc-band__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; font-size: 14px; line-height: 1.5; color: #C9C6DD; }
.bc .bc-dot { color: #8E8BA6; }
.bc .bc-author { display: inline-flex; align-items: center; gap: 8px; }
.bc .bc-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.3); background: #fff; }
.bc .bc-crumbs { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: center; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #9B98B3; }
.bc .bc-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #C9C6DD; text-decoration: none; }
.bc .bc-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bc .bc-crumbs [aria-current] { color: #B9AEFF; }
.bc .bc-social { margin: 8px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: #C9C6DD; }
.bc .bc-social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; }
.bc .bc-social a:hover { border-color: #fff; }
.bc .bc-social img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

/* ------------------------------------------------------------------ the image frame
   One frame for every blog / guide image (cards, featured post, related, cover, guide banner):
   16:10, grey mat, thin border. The picture is shown whole (never cropped) and never larger than
   its real size: object-fit: scale-down = "contain, but do not enlarge". */
.bc .bc-fig { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; background: #F4F4F7; border: 1px solid #E7E7EA; border-radius: 8px; overflow: hidden; }
.bc .bc-fig img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; padding: 10px; border: 0; border-radius: 0; background: transparent; object-fit: scale-down; object-position: center; }
.bc .bc-fig--cover { border-radius: 10px; }
.bc .bc-fig--cover img { padding: 12px; }

/* ------------------------------------------------------------------ article */
.bc .bc-cover { max-width: calc(var(--bc-prose) + 2 * var(--bc-pad)); margin: 0 auto; padding: 28px var(--bc-pad) 0; }
.bc--cover .bc-cover { position: relative; z-index: 3; margin-top: -84px; padding-top: 0; }

.bc .bc-body { display: flex; gap: 40px; justify-content: center; padding: 40px var(--bc-pad) 32px; }
.bc .bc-toc { display: none; }
@media (min-width: 1180px) {
  .bc .bc-toc { display: block; flex: 0 0 210px; position: sticky; top: 24px; align-self: flex-start; max-height: calc(100vh - 48px); overflow-y: auto; }
}
.bc .bc-toc-h { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--bc-ink); }
.bc .bc-toc nav { display: flex; flex-direction: column; border-left: 1px solid var(--bc-rule); }
.bc .bc-toc a { display: block; font-size: 14px; line-height: 1.4; padding: 6px 12px; margin-left: -1px; text-decoration: none; color: var(--bc-muted); border-left: 1px solid transparent; }
.bc .bc-toc a:hover { color: var(--bc-ink); }
.bc .bc-toc a[aria-current="true"] { color: var(--bc-ink); font-weight: 600; border-left-color: var(--bc-ink); }

/* prose: every authored element */
.bc .bc-prose { flex: 0 1 var(--bc-prose); min-width: 0; max-width: var(--bc-prose); font-size: 17px; line-height: 1.75; color: var(--bc-ink-2); overflow-wrap: break-word; }
.bc .bc-prose > :first-child { margin-top: 0; }
.bc .bc-prose p { margin: 0 0 20px; font-size: 17px; line-height: 1.75; color: var(--bc-ink-2); text-align: left; padding: 0; }
.bc .bc-prose h2 { margin: 44px 0 14px; font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; color: var(--bc-ink); text-align: left; padding: 0; scroll-margin-top: 24px; }
.bc .bc-prose h3 { margin: 32px 0 10px; font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--bc-ink); text-align: left; padding: 0; scroll-margin-top: 24px; }
.bc .bc-prose h4, .bc .bc-prose h5, .bc .bc-prose h6 { margin: 24px 0 8px; font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--bc-ink); text-align: left; padding: 0; }
.bc .bc-prose .bc-subhead { margin: 28px 0 10px; font-size: 19px; font-weight: 600; color: var(--bc-ink); }
.bc .bc-prose strong, .bc .bc-prose b { font-weight: 600; color: var(--bc-ink); }
.bc .bc-prose em, .bc .bc-prose i { font-style: italic; }
.bc .bc-prose a:not(.bc-btn) { color: var(--bc-ink); text-decoration: underline; text-decoration-color: #9A9DA8; text-underline-offset: 3px; }
.bc .bc-prose a:not(.bc-btn):hover { text-decoration-color: var(--bc-ink); }
.bc .bc-prose ul, .bc .bc-prose ol { margin: 0 0 20px; padding-left: 24px; font-size: 17px; line-height: 1.75; color: var(--bc-ink-2); text-align: left; }
.bc .bc-prose ul { list-style: disc; }
.bc .bc-prose ol { list-style: decimal; }
.bc .bc-prose li { margin: 0 0 6px; padding-left: 2px; }
.bc .bc-prose li > p { margin: 0 0 6px; }
.bc .bc-prose li > ul, .bc .bc-prose li > ol { margin: 6px 0 6px; }
.bc .bc-prose li::marker { color: var(--bc-muted); }
.bc .bc-prose blockquote { margin: 0 0 24px; padding: 4px 0 4px 18px; border-left: 2px solid var(--bc-ink); font-size: 18px; line-height: 1.6; color: var(--bc-ink); }
.bc .bc-prose blockquote p { color: var(--bc-ink); font-size: 18px; margin-bottom: 8px; }
.bc .bc-prose hr { border: 0; border-top: 1px solid var(--bc-rule); margin: 32px 0; }
/* body images: real size, never wider than the column, centred; width: auto beats a wrong width attribute */
.bc .bc-prose img { display: block; width: auto; max-width: 100%; height: auto; margin: 8px auto 28px; border-radius: 10px; border: 1px solid var(--bc-rule); float: none; }
.bc .bc-prose p > img { margin: 0 auto; }
.bc .bc-prose figure { margin: 8px 0 28px; }
.bc .bc-prose figure img { margin: 0 auto; }
.bc .bc-prose figcaption { font-size: 14px; line-height: 1.5; color: var(--bc-muted); padding-top: 10px; }
.bc .bc-prose video, .bc .bc-prose iframe, .bc .bc-prose embed, .bc .bc-prose object { display: block; width: 100%; max-width: 100%; height: auto; margin: 8px 0 24px; border-radius: 10px; border: 1px solid var(--bc-rule); background: var(--bc-soft); }
.bc .bc-prose iframe { aspect-ratio: 16 / 9; height: auto; }
.bc .bc-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: 0.88em; background: var(--bc-soft); border: 1px solid var(--bc-rule); border-radius: 6px; padding: 1px 6px; color: var(--bc-ink); }
.bc .bc-prose pre { margin: 0 0 24px; padding: 16px 18px; background: var(--bc-soft); border: 1px solid var(--bc-rule); border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.bc .bc-prose pre, .bc .bc-prose pre * { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; }
.bc .bc-prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }
/* real tables only: a sideways scroll box is allowed here */
.bc .bc-prose .bc-table { margin: 8px 0 28px; overflow-x: auto; border: 1px solid var(--bc-rule); border-radius: 10px; -webkit-overflow-scrolling: touch; }
.bc .bc-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; color: var(--bc-ink-2); }
.bc .bc-prose th, .bc .bc-prose td { padding: 10px 14px; border-bottom: 1px solid var(--bc-rule); border-right: 1px solid var(--bc-rule); text-align: left; vertical-align: top; min-width: 110px; }
.bc .bc-prose tr > :last-child { border-right: 0; }
.bc .bc-prose tr:last-child > * { border-bottom: 0; }
.bc .bc-prose tr:first-child > *, .bc .bc-prose thead th { color: var(--bc-ink); font-weight: 600; background: #FAFAFB; }
.bc .bc-prose td p, .bc .bc-prose th p { margin: 0; font-size: 15px; line-height: 1.5; }

/* template card (old .img-box-section) */
.bc .bc-prose .bc-tcard { margin: 8px 0 28px; border: 1px solid var(--bc-rule); border-radius: 10px; overflow: hidden; }
/* the diagram is the content: full column width up to its real size, whole, on the grey mat */
.bc .bc-prose .bc-tcard { background: #F4F4F7; }
.bc .bc-prose .bc-tcard img { margin: 0 auto; border: 0; border-radius: 0; width: auto; max-width: 100%; height: auto; }
.bc .bc-prose .bc-tcard figcaption { background: #fff; border-top: 1px solid var(--bc-rule); }
.bc .bc-prose .bc-tcard figcaption { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 18px; color: var(--bc-ink-2); }
.bc .bc-tcard-txt { display: flex; flex-direction: column; gap: 4px; flex: 1 1 280px; min-width: 0; }
.bc .bc-tcard-t { font-size: 16px; font-weight: 600; color: var(--bc-ink); line-height: 1.35; }
.bc .bc-tcard-d { font-size: 14px; line-height: 1.55; color: var(--bc-muted); }

/* bordered boxes: TL;DR, what you'll learn */
.bc .bc-box { margin: 0 0 28px; padding: 18px 20px; border: 1px solid var(--bc-rule); border-radius: 10px; }
.bc .bc-prose .bc-box-label { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--bc-ink); line-height: 1.4; }
.bc .bc-box ul, .bc .bc-box ol { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.7; }

/* guide symbol / type runs: a ruled grid (authored h3 + p, in order) */
.bc .bc-prose .bc-defs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); border-top: 1px solid var(--bc-rule); border-left: 1px solid var(--bc-rule); margin: 8px 0 24px; }
.bc .bc-prose .bc-def { border-right: 1px solid var(--bc-rule); border-bottom: 1px solid var(--bc-rule); padding: 16px; min-width: 0; }
.bc .bc-prose .bc-def h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; }
.bc .bc-prose .bc-def p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--bc-muted); }
.bc .bc-prose .bc-defs--list { list-style: none; padding: 0; }
.bc .bc-prose .bc-defs--list > li { margin: 0; border-right: 1px solid var(--bc-rule); border-bottom: 1px solid var(--bc-rule); padding: 16px; min-width: 0; font-size: 14px; line-height: 1.55; color: var(--bc-muted); }
.bc .bc-prose .bc-defs--list > li > strong:first-child, .bc .bc-prose .bc-defs--list > li > b:first-child { display: inline-block; margin-bottom: 6px; font-size: 16px; line-height: 1.35; color: var(--bc-ink); }

/* quiet share row (end of article) */
.bc .bc-prose .bc-share { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--bc-rule); font-size: 14px; color: var(--bc-muted); }
.bc .bc-prose .bc-share a { color: var(--bc-ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* quiet CTA */
.bc .bc-cta { margin: 8px 0 28px; padding: 18px 20px; border: 1px solid var(--bc-rule); border-radius: 10px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.bc .bc-prose .bc-cta-t { margin: 0; flex: 1 1 300px; font-size: 15px; line-height: 1.5; color: var(--bc-ink-2); }
.bc .bc-cta-b { display: flex; gap: 8px; flex-wrap: wrap; }
.bc .bc-prose > .bc-cta:last-child { margin-top: 32px; margin-bottom: 0; }

/* FAQ */
.bc .bc-faq { border-top: 1px solid var(--bc-rule); margin-bottom: 8px; }
.bc .bc-faq details { border-bottom: 1px solid var(--bc-rule); padding: 0 2px; }
.bc .bc-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 16px 0; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--bc-ink); }
.bc .bc-faq summary::-webkit-details-marker { display: none; }
.bc .bc-faq summary::after { content: "+"; flex: 0 0 auto; font-weight: 400; font-size: 20px; line-height: 1; color: var(--bc-muted); }
.bc .bc-faq details[open] summary::after { content: "−"; }
.bc .bc-faq-a { padding: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--bc-muted); }
.bc .bc-faq-a p { font-size: 15px; line-height: 1.65; color: var(--bc-muted); margin: 0 0 10px; }

/* section rows + card grids */
.bc .bc-section { border-top: 1px solid var(--bc-rule); }
.bc .bc-row--head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 22px var(--bc-pad); }
.bc .bc-row--head h2 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--bc-ink); }
.bc .bc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bc .bc-grid > * { border-right: 1px solid var(--bc-rule); border-bottom: 1px solid var(--bc-rule); }
.bc .bc-grid > *:nth-child(3n) { border-right: 0; }
.bc .bc-grid--flush > * { border-bottom: 0; }
@media (max-width: 960px) {
  .bc .bc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc .bc-grid > *:nth-child(3n) { border-right: 1px solid var(--bc-rule); }
  .bc .bc-grid > *:nth-child(2n) { border-right: 0; }
  .bc .bc-grid--flush > * { border-bottom: 1px solid var(--bc-rule); }
}
@media (max-width: 620px) {
  .bc .bc-grid { grid-template-columns: minmax(0, 1fr); }
  .bc .bc-grid > * { border-right: 0 !important; }
}
.bc .bc-card { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 28px; min-width: 0; text-decoration: none; color: var(--bc-ink); background: #fff; }
.bc .bc-card-meta { font-size: 14px; color: var(--bc-muted); line-height: 1.4; }
.bc .bc-card-meta b { color: var(--bc-ink); font-weight: 600; }
.bc .bc-card-t { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--bc-ink); }
.bc .bc-card-x { margin: 0; font-size: 15px; line-height: 1.6; color: var(--bc-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bc .bc-card:hover .bc-card-t, .bc .bc-featured:hover .bc-card-t { text-decoration: underline; text-underline-offset: 3px; }
.bc .bc-section .bc-card { padding: 20px var(--bc-pad) 28px; }
.bc .bc-section .bc-card-t { font-size: 18px; }

/* ------------------------------------------------------------------ lists */
.bc .bc-featured { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; padding: 32px var(--bc-pad); text-decoration: none; color: var(--bc-ink); }
.bc .bc-featured .bc-fig { flex: 0 1 400px; min-width: 0; max-width: 400px; }
.bc .bc-featured-t { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.bc .bc-featured .bc-card-meta { font-size: 15px; }
.bc .bc-featured .bc-card-t { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.015em; }
.bc .bc-featured .bc-card-x { font-size: 16px; -webkit-line-clamp: 3; }

.bc .bc-search { display: flex; align-items: center; gap: 10px; padding: 14px var(--bc-pad); color: var(--bc-muted); }
.bc .bc-search input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 16px; padding: 8px 0; background: transparent; color: var(--bc-ink); height: auto; box-shadow: none; }
.bc .bc-search input::placeholder { color: var(--bc-muted); }
.bc .bc-search:focus-within { box-shadow: inset 0 -1px 0 var(--bc-ink); }
.bc .bc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bc .bc-chip-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--bc-line); background: #fff; color: var(--bc-ink-2); font-size: 14px; text-decoration: none; cursor: pointer; }
.bc .bc-chip-btn:hover { border-color: var(--bc-ink); }
.bc .bc-chip-btn[aria-current="page"], .bc .bc-chip-btn[aria-pressed="true"] { background: var(--bc-ink); border-color: var(--bc-ink); color: #fff; }
.bc .bc-empty { color: var(--bc-muted); font-size: 15px; }
.bc .bc-more-row { display: flex; justify-content: center; padding: 28px; }
.bc .bc-more-row:has(> [hidden]) { padding: 0; border-bottom: 0; }

.bc .bc-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--bc-rule); }
.bc .bc-feats li { display: flex; align-items: center; gap: 12px; padding: 20px var(--bc-pad); font-size: 15px; color: var(--bc-ink-2); border-right: 1px solid var(--bc-rule); }
.bc .bc-feats li:last-child { border-right: 0; }
.bc .bc-feats strong { color: var(--bc-ink); font-weight: 600; }
.bc .bc-feat-i { width: 28px; height: 28px; flex: 0 0 28px; filter: grayscale(1); }
@media (max-width: 760px) {
  .bc .bc-feats { grid-template-columns: minmax(0, 1fr); }
  .bc .bc-feats li { border-right: 0; border-bottom: 1px solid var(--bc-rule); }
  .bc .bc-feats li:last-child { border-bottom: 0; }
}

.bc .bc-signup, .bc .bc-ready { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 40px var(--bc-pad); border-bottom: 0; }
.bc .bc-signup h2, .bc .bc-ready h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--bc-ink); }
.bc .bc-signup p, .bc .bc-ready p { margin: 6px 0 0; font-size: 15px; color: var(--bc-muted); }
.bc .bc-signup-t { max-width: 520px; }
.bc .bc-signup-f { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 340px; max-width: 460px; }
.bc .bc-signup-f input { flex: 1 1 200px; min-width: 0; font-size: 15px; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--bc-line); background: #fff; color: var(--bc-ink); height: auto; }
.bc .bc-signup-f .bc-btn { min-height: 44px; font-size: 15px; }
.bc .bc-signup .bc-status { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--bc-ink-2); min-height: 0; }
.bc .bc-ready-b { display: flex; gap: 10px; flex-wrap: wrap; }
.bc .bc-ready-b .bc-btn { min-height: 44px; font-size: 15px; padding: 11px 18px; }

/* ------------------------------------------------------------------ small screens */
@media (max-width: 1024px) {
  /* touch targets: 44px */
  .bc .bc-btn, .bc .bc-btn--sm, .bc .bc-chip-btn { min-height: 44px; }
  .bc .bc-ulink, .bc .bc-prose .bc-share a { display: inline-flex; align-items: center; min-height: 44px; }
  .bc .bc-faq summary { min-height: 44px; }
  .bc .bc-search input, .bc .bc-signup-f input { min-height: 44px; }
}
@media (max-width: 640px) {
  .bc .bc-wrap, .bc .bc-band { padding: 0 16px; }
  .bc { --bc-pad: 18px; }
  .bc .bc-band__in { padding-top: 20px; padding-bottom: 32px; gap: 12px; }
  .bc--cover .bc-band__in { padding-bottom: 84px; }
  .bc--cover .bc-cover { margin-top: -56px; }
  .bc .bc-band .bc-sub, .bc .bc-band .bc-intro { font-size: 16px; }
  .bc .bc-band__meta .bc-author { flex-basis: 100%; }
  .bc .bc-band__meta .bc-dot:has(+ .bc-author) { display: none; }
  .bc .bc-fig img { padding: 8px; }
  .bc .bc-prose, .bc .bc-prose p, .bc .bc-prose ul, .bc .bc-prose ol { font-size: 16px; }
  .bc .bc-prose h2 { font-size: 22px; margin-top: 36px; }
  .bc .bc-prose h3 { font-size: 18px; }
  .bc .bc-body { padding-top: 28px; }
  .bc .bc-card { padding: 20px 18px 24px; }
  .bc .bc-featured { gap: 20px; }
  .bc .bc-featured .bc-fig { flex-basis: 100%; max-width: none; }
  .bc .bc-cta-b { width: 100%; }
}
@media (max-width: 400px) {
  .bc { --bc-pad: 14px; }
}
/* the contact-sales modal on the hubs is styled by main.css; this is the one rule the old page CSS added */
#contact-sales-modal .required { color: #D92D20; }
@media print {
  .bc .bc-toc, .bc .bc-search, .bc .bc-chips, .bc .bc-signup { display: none !important; }
  .bc .bc-frame { border: 0; }
}
