/* AdCtrl blog. Loaded after /docs/docs.css and reuses its tokens, header, sidebar and tables.
   Vanilla CSS, no inline styles (strict CSP). Article markup comes from
   socials/blog/tools/site/lib/render.mjs. */

/* Blog pages preload this Latin subset of the docs font (make-font.py: normal width, weights
   400-700, ~39 KB instead of the 540 KB TTF). Same family name as docs.css: this later rule wins
   for the characters in its unicode-range, and any other character falls back to the full TTF.
   Keep the url and unicode-range in sync with FONT in lib/render.mjs. */
@font-face {
  font-family: Plex;
  src: url("/fonts/IBMPlexSans-latin-v1.woff2") format("woff2");
  /* Same weight range as the docs.css face: with identical descriptors the later rule wins.
     (With 400 700 Chrome kept matching the TTF.) The subset holds 400-700; the blog uses no other. */
  font-weight: 100 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+2248, U+2260, U+2264-2265, U+FEFF, U+FFFD;
}

.bl-shell {
  grid-template-columns: 220px minmax(0, 1fr);
}
.bl-main {
  max-width: 760px;
}
.bl-article {
  font-size: 17px;
}
.bl-article p,
.bl-article li {
  color: var(--text);
  line-height: 1.7;
}
.bl-body > p,
.bl-body > .bl-list {
  margin: 0 0 18px;
}

/* Breadcrumb */
.bl-crumbs ol {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: var(--label);
}
.bl-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line);
}
.bl-crumbs a {
  color: var(--secondary);
  text-decoration: none;
}
.bl-crumbs a:hover {
  color: var(--text);
  text-decoration: underline;
}
.bl-crumbs [aria-current] {
  color: var(--label);
  overflow-wrap: anywhere;
}

/* Header */
.bl-head h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.bl-dek {
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--secondary) !important;
  line-height: 1.5 !important;
  margin-bottom: 22px !important;
}
.bl-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.bl-byline p {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.45 !important;
}
.bl-dates {
  color: var(--label) !important;
  font-size: 14px !important;
}
.bl-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

/* Hero and figures. Images sit edge to edge in a light frame (no inner padding), so the
   picture gets every pixel of the column (Kaan, 2026-11-04: images "kind of indented"). */
.bl-hero {
  margin: 28px 0 0;
}
.bl-frame {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(16, 21, 19, 0.04), 0 12px 32px -18px rgba(16, 21, 19, 0.18);
}
.bl-frame img,
.bl-figure video {
  display: block;
  width: 100%;
  height: auto;
}
.bl-figure video {
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
}
.bl-figure {
  margin: 30px 0;
}
.bl-figure figcaption {
  margin-top: 12px;
  font-size: 15px;
}
.bl-figure figcaption p {
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 6px;
}
.bl-source {
  font-size: 13.5px !important;
  color: var(--label) !important;
}
.bl-label {
  font-size: 12.5px !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--label) !important;
  margin: 0 0 6px !important;
}

/* Short answer */
.bl-answer {
  margin: 32px 0 8px;
  background: var(--paper);
  /* No coloured left edge (Kaan, 2026-11-05: "the left green border thing … classic vibe
     coding signal"). */
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
}
.bl-answer h2 {
  font-size: 15px !important;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent-ink);
  margin: 0 0 10px !important;
}
.bl-answer ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.bl-answer li {
  font-size: 16.5px;
  line-height: 1.55;
}

/* Body headings */
.bl-body h2 {
  margin: 56px 0 16px;
  padding-top: 8px;
  font-size: clamp(26px, 2.6vw, 34px);
}
.bl-body h3 {
  margin: 32px 0 10px;
  font-size: 20px;
}
.bl-list {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.bl-cite {
  font-size: 0.68em;
  line-height: 0;
  margin-left: 1px;
}
.bl-cite a {
  text-decoration: none;
  font-weight: 600;
}

/* Tables */
.bl-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}
.bl-table-wrap .dx-table {
  margin: 0;
  min-width: 480px;
}
.bl-al-right,
.bl-num {
  text-align: right !important;
  font-variant-numeric: tabular-nums lining-nums;
}
.bl-al-center {
  text-align: center !important;
}
.bl-chart-table caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--label);
  padding: 10px 16px 0;
}
.bl-chart-table tbody th {
  text-align: left;
  font-weight: 500;
  padding: 11px 16px;
  border-top: 1px solid var(--line-soft);
}

/* Charts and diagrams: classes only, no inline styles */
.bl-chart-svg,
.bl-diagram-svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
}
.bl-grid {
  stroke: var(--line-soft);
  stroke-width: 1;
}
.bl-base {
  stroke: var(--line);
  stroke-width: 1.2;
}
.bl-tick,
.bl-legend,
.bl-axis,
.bl-val {
  font-family: Plex, "IBM Plex Sans", sans-serif;
  font-size: 12.5px;
  fill: var(--secondary);
}
.bl-axis {
  fill: var(--label);
  font-size: 12px;
}
.bl-val {
  fill: var(--text);
  font-weight: 600;
}
.bl-s1 {
  fill: #355b2b;
  stroke: #355b2b;
}
.bl-s2 {
  fill: #8fcf55;
  stroke: #8fcf55;
}
.bl-s3 {
  fill: #a3a68c;
  stroke: #a3a68c;
}
.bl-s4 {
  fill: #1c2a20;
  stroke: #1c2a20;
}
rect.bl-s1,
rect.bl-s2,
rect.bl-s3,
rect.bl-s4 {
  stroke: var(--paper);
  stroke-width: 1;
}
.bl-line {
  fill: none !important;
  stroke-width: 2.5;
  stroke-linejoin: round;
}

/* Callouts */
.bl-callout {
  background: #edf4e4;
  border: 1px solid #c4dca5;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 26px 0;
}
.bl-callout-mistake {
  background: #f7efe3;
  border-color: #e2c9a3;
}
.bl-callout-note {
  background: var(--surface);
  border-color: var(--line-soft);
}
.bl-callout-title {
  font-size: 14px !important;
  font-weight: 600;
  color: var(--accent-ink) !important;
  margin: 0 0 6px !important;
}
.bl-callout-mistake .bl-callout-title {
  color: #7a4a12 !important;
}
.bl-callout p:last-child,
.bl-callout ul:last-child {
  margin-bottom: 0;
}

/* Steps */
.bl-steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  counter-reset: blstep;
}
.bl-steps > li {
  counter-increment: blstep;
  position: relative;
  padding: 0 0 24px 52px;
  border-left: 1px solid var(--line);
  margin-left: 17px;
}
.bl-steps > li:last-child {
  border-left-color: transparent;
  padding-bottom: 4px;
}
.bl-steps > li::before {
  content: counter(blstep);
  position: absolute;
  left: -18px;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink-fill);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px;
}
.bl-step-title {
  font-weight: 600;
  margin: 4px 0 6px !important;
}
.bl-step-part {
  margin: 0 0 6px !important;
  font-size: 16px;
}

/* Prompts */
.bl-prompt {
  margin: 24px 0;
  background: var(--ink-fill);
  border-radius: 14px;
  padding: 14px 16px 16px;
  position: relative;
}
.bl-prompt-label {
  color: var(--lime);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  padding-right: 80px;
}
.bl-prompt-mode {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}
.bl-prompt pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bl-prompt code {
  background: none;
  border: 0;
  padding: 0;
  color: #edf0eb;
  font-size: 14.5px;
  line-height: 1.6;
}
.bl-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  font:
    500 13px Plex,
    sans-serif;
  background: var(--lime);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}

/* Checklist */
.bl-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 8px;
}
.bl-checklist li {
  position: relative;
  padding: 10px 14px 10px 44px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.bl-checklist li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--accent-ink);
  border-radius: 4px;
}
.bl-checklist.is-interactive li::before {
  display: none;
}
.bl-checklist input {
  position: absolute;
  left: 13px;
  top: 13px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent-ink);
}

/* Quote */
.bl-quote {
  margin: 30px 0;
  padding: 0;
}
.bl-quote blockquote {
  margin: 0;
}
.bl-quote blockquote p {
  font-size: 19px;
  line-height: 1.55;
}
.bl-quote figcaption {
  font-size: 14.5px;
  color: var(--secondary);
}
.bl-quote cite {
  font-style: normal;
}

/* Calculator */
.bl-calc {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 18px 22px;
}
.bl-formula {
  font-size: 16px;
}
.bl-example {
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 10px 0;
}
.bl-example p:last-child {
  margin-bottom: 0;
}
.bl-calc-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.bl-calc-form label {
  display: grid;
  gap: 4px;
  font-size: 14px;
  color: var(--secondary);
}
.bl-calc-form input {
  font: inherit;
  font-size: 16px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.bl-calc-result {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-ink) !important;
}

/* FAQ */
.bl-faq {
  display: grid;
  gap: 10px;
}
.bl-faq-item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px 20px 4px;
}
.bl-faq-item h3 {
  margin: 0 0 8px !important;
  font-size: 18px !important;
}

/* ── Product presence (Kaan, 2026-11-04: "sprinkle in a bit more AdCtrl commercial") ─────
   Inline product block (:::cta kind=contextual), the keycap Start free button, and the product
   card under the sidebar contents (desktop) or after the short answer (phones and tablets).
   Only homepage facts: the 3-day free trial and "No card needed". No script, no tracking. */

/* The wordmark's key ("Ctrl") reads --wm-key. Unset (the header) the declaration is invalid at
   computed-value time, so fill falls back to its inherited value and the header is unchanged. */
.key-fill {
  fill: var(--wm-key);
}

/* Keycap button: the homepage's .key-btn.primary (landing.css), at blog size. */
.bl-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--lime);
  border-bottom: 4px solid #8cc65a;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition:
    transform 100ms ease,
    border-bottom-width 100ms ease,
    background 150ms ease;
}
.bl-key span {
  transform: translateY(-1px);
}
.bl-key:hover {
  background: #c6f794;
  color: var(--ink);
}
.bl-key:active {
  transform: translateY(3px);
  border-bottom-width: 1px;
}
.bl-key:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  clip-path: none;
}

/* Product card: sidebar (desktop) and in-flow twin (phones/tablets). */
.bl-promo {
  --wm-key: var(--lime);
  background: var(--ink-fill);
  color: #edf0eb;
  border-radius: 16px;
  padding: 18px 18px 16px;
}
.bl-promo-mark {
  display: block;
  width: 84px;
  height: auto;
  aspect-ratio: 640 / 205;
  color: #edf0eb;
}
.bl-promo .bl-promo-line {
  margin: 12px 0 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #edf0eb;
  letter-spacing: -0.005em;
}
.bl-promo .bl-key {
  width: 100%;
}
.bl-promo .bl-promo-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: #c9d2c4;
}
.bl-tick {
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--lime);
}
.bl-promo-side {
  flex: none;
  margin: 18px 0 0;
  padding: 16px 14px 14px;
}
.bl-promo.bl-promo-side .bl-promo-note {
  font-size: 12px;
  letter-spacing: -0.005em;
}
/* Desktop: the sidebar is a column; the contents list scrolls inside it and the product card
   stays visible under it, however long the list is. */
@media (min-width: 861px) {
  .bl-side {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .bl-side .dx-toc {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    overscroll-behavior: contain;
  }
  .bl-side .dx-toc::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}
.bl-promo-flow {
  display: none;
}
@media (max-width: 860px) {
  .bl-promo-side {
    display: none;
  }
  .bl-promo-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "mark btn" "line btn" "note note";
    column-gap: 16px;
    align-items: center;
    margin: 0 0 28px;
    padding: 16px 16px 14px;
  }
  .bl-promo-flow .bl-promo-mark {
    grid-area: mark;
    width: 72px;
  }
  .bl-promo.bl-promo-flow .bl-promo-line {
    grid-area: line;
    margin: 6px 0 0;
    font-size: 14.5px;
  }
  .bl-promo-flow .bl-key {
    grid-area: btn;
    width: auto;
  }
  .bl-promo.bl-promo-flow .bl-promo-note {
    grid-area: note;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(237, 240, 235, 0.14);
  }
}

/* Inline product block (:::cta kind=contextual). */
.bl-product {
  --wm-key: var(--lime);
  position: relative;
  margin: 34px 0;
  padding: 22px 24px 20px;
  background: var(--ink-fill);
  border-radius: 18px;
  color: #edf0eb;
  overflow: hidden;
}
.bl-product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 100% 0, rgba(183, 243, 123, 0.18), transparent 70%);
  pointer-events: none;
}
.bl-product-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.bl-product-mark {
  width: 78px;
  height: auto;
  aspect-ratio: 640 / 205;
  color: #edf0eb;
  flex: none;
}
.bl-product-k {
  font-size: 12.5px;
  font-weight: 500;
  color: #c9d2c4;
  padding: 3px 9px;
  border: 1px solid rgba(237, 240, 235, 0.22);
  border-radius: 999px;
}
.bl-article .bl-product p {
  color: #edf0eb;
  margin: 0 0 8px;
  font-size: 16.5px;
  line-height: 1.6;
}
.bl-product .bl-product-prompt {
  margin: 14px 0 4px;
  background: #18211b;
  border: 1px solid rgba(237, 240, 235, 0.1);
}
.bl-product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 16px;
}
.bl-product-how {
  color: var(--lime);
  font-size: 15px;
  font-weight: 500;
  text-decoration-color: rgba(183, 243, 123, 0.5);
}
.bl-product-how:hover {
  color: #c6f794;
}
.bl-product-how:focus-visible {
  outline-color: var(--lime);
}
.bl-product-note {
  font-size: 13px;
  color: #c9d2c4;
}
@media (min-width: 1024px) {
  .bl-product {
    padding: 26px 30px 24px;
    margin: 40px 0;
  }
}
@media print {
  .bl-promo,
  .bl-product-actions {
    display: none !important;
  }
}

/* ── Components: stats, timeline, versus, cards, decision ─────────────────────
   Server-rendered by render.mjs; everything readable without JavaScript. */
.bl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Stats: big numbers in a bento row. The first card is the dark "key" card. */
.bl-stats {
  list-style: none;
  padding: 0;
  margin: 34px 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bl-stats-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bl-stats-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.bl-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 22px 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
}
.bl-stat::before {
  content: "";
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent-ink);
  opacity: 0.35;
}
.bl-stat:first-child {
  background: var(--ink-fill);
  border-color: var(--ink-fill);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.bl-stat:first-child::before {
  background: var(--lime);
  opacity: 1;
}
.bl-stat-value {
  display: block;
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--text);
  font-variant-numeric: tabular-nums lining-nums;
  overflow-wrap: anywhere;
}
.bl-stat:first-child .bl-stat-value {
  color: var(--lime);
}
.bl-stat-label {
  display: block;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--secondary);
}
.bl-stat:first-child .bl-stat-label {
  color: #c9d3c6;
}
.bl-stat:first-child .bl-cite a {
  color: var(--lime);
}

/* Timeline: a vertical rail, newest event last and highlighted. */
.bl-timeline {
  list-style: none;
  padding: 0;
  margin: 34px 0;
  position: relative;
}
.bl-timeline::before {
  content: "";
  position: absolute;
  left: 127px;
  top: 10px;
  bottom: 28px;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(
    var(--line-soft),
    var(--line) 70%,
    var(--accent-ink)
  );
}
.bl-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: 48px;
  align-items: baseline;
  padding: 0 0 22px;
}
.bl-tl-item::before {
  content: "";
  position: absolute;
  left: 122px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-ink);
}
.bl-tl-date {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.bl-tl-text {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text);
}
.bl-tl-badge {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  padding: 2px 9px;
}
.bl-tl-item.is-latest {
  padding-bottom: 0;
}
.bl-tl-item.is-latest::before {
  left: 119px;
  top: 16px;
  width: 18px;
  height: 18px;
  background: var(--lime);
  border: 4px solid var(--ink-fill);
  box-shadow: 0 0 0 4px rgba(183, 243, 123, 0.35);
}
.bl-tl-item.is-latest .bl-tl-date {
  padding-top: 13px;
}
.bl-tl-item.is-latest .bl-tl-text {
  background: var(--ink-fill);
  color: #edf0eb;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 500;
}
.bl-tl-item.is-latest .bl-cite a {
  color: var(--lime);
}

/* Versus: "it isn't A, it's B". Left is what is claimed, right is what holds. */
.bl-versus {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin: 34px 0;
}
.bl-vs-side {
  border-radius: 18px;
  padding: 22px 24px 20px;
}
.bl-article .bl-vs-side p {
  margin: 0 0 10px;
  font-size: 16.5px;
  line-height: 1.55;
}
.bl-article .bl-vs-side p:last-child {
  margin-bottom: 0;
}
.bl-vs-left {
  background: var(--surface);
  border: 1px dashed var(--line);
}
.bl-article .bl-vs-left p {
  color: var(--secondary);
}
.bl-vs-right {
  background: var(--ink-fill);
  border: 1px solid var(--ink-fill);
}
.bl-article .bl-vs-right p {
  color: #edf0eb;
}
.bl-vs-right .bl-cite a {
  color: var(--lime);
}
.bl-article .bl-vs-side .bl-vs-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--label);
}
.bl-article p.bl-vs-label strong,
.bl-article p.bl-choice-title strong {
  font-weight: 600;
  color: inherit;
}
.bl-article .bl-vs-right .bl-vs-label {
  color: var(--lime);
}
.bl-vs-label::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 2px;
  background: var(--line);
}
.bl-vs-right .bl-vs-label::before {
  background: var(--lime);
}
.bl-vs-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 4px solid var(--bg);
}

/* Option cards: a square badge with our own icon, the vendor's own icon (icon=brand:, nominative
   use, provenance in socials/blog/brands.json) or a monogram. */
.bl-options {
  list-style: none;
  padding: 0;
  margin: 34px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bl-options-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bl-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "mono tag" "body body";
  align-items: start;
  row-gap: 16px;
  min-width: 0;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  transition:
    border-color 0.16s,
    transform 0.16s;
}
.bl-option:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}
.bl-mono {
  grid-area: mono;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bl-mono-1 {
  background: var(--ink-fill);
  color: var(--lime);
}
.bl-mono-2 {
  background: var(--lime);
  color: var(--ink);
}
.bl-mono-3 {
  background: #dfe4d3;
  color: var(--accent-ink);
}
.bl-mono-4 {
  background: #e9e3d3;
  color: #5b5236;
}
.bl-article .bl-option-tag {
  grid-area: tag;
  justify-self: end;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--secondary);
  white-space: nowrap;
}
.bl-article .bl-option-body {
  grid-area: body;
  margin: 0;
}
.bl-option-name {
  display: block;
  font-size: 17.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.bl-option-desc {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--secondary);
}

/* Icon badges: same square as the monogram, white tile, icon centred without distortion. */
.bl-icon {
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 1px 2px rgba(16, 21, 19, 0.06);
}
.bl-icon svg,
.bl-icon img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.bl-icon-brand img {
  width: 28px;
  height: 28px;
}
/* The AdCtrl mark is already a charcoal tile: it fills the badge. */
.bl-icon-adctrl {
  background: var(--ink-fill);
  border-color: var(--ink-fill);
  overflow: hidden;
}
.bl-icon-adctrl svg {
  width: 100%;
  height: 100%;
}
.bl-icon-chatgpt svg {
  color: #101513;
}

/* Decision: "Choose … if" columns. */
.bl-decision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0;
}
.bl-decision-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bl-choice {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
}
.bl-article .bl-choice-title {
  margin: 0;
  padding: 16px 20px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.bl-article .bl-choice-1 .bl-choice-title {
  background: var(--ink-fill);
  color: var(--lime);
  border-bottom-color: var(--ink-fill);
}
.bl-article .bl-choice-2 .bl-choice-title {
  background: var(--lime);
  color: var(--ink);
  border-bottom-color: var(--lime);
}
.bl-choice ul {
  list-style: none;
  margin: 0;
  padding: 16px 20px 18px;
  display: grid;
  gap: 10px;
}
.bl-article .bl-choice li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  line-height: 1.5;
}
.bl-choice li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(-45deg);
}

/* Sources */
.bl-sources {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.bl-sources h2,
.bl-related h2,
.bl-next h2 {
  font-size: 22px !important;
  margin-bottom: 14px !important;
}
.bl-sources ol {
  padding-left: 22px;
  display: grid;
  gap: 6px;
}
.bl-sources li {
  font-size: 14.5px;
  color: var(--secondary) !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere;
}
.bl-sources li:target {
  background: #edf4e4;
  border-radius: 6px;
}

/* Cards */
.bl-related,
.bl-next {
  margin-top: 48px;
}
.bl-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bl-card,
.bl-path {
  display: grid;
  gap: 6px;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  background: var(--paper);
  transition:
    border-color 0.16s,
    transform 0.16s;
}
.bl-card:hover,
.bl-path:hover {
  border-color: var(--accent-ink);
  transform: translateY(-2px);
}
.bl-card strong,
.bl-path strong {
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.35;
}
.bl-card span,
.bl-path span {
  color: var(--secondary);
  font-size: 14.5px;
  line-height: 1.45;
}
.bl-card .bl-card-meta {
  color: var(--label);
  font-size: 13px;
}

/* Two-path CTA */
.bl-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bl-paths-soft {
  grid-template-columns: 1fr;
}
.bl-path .bl-path-k {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--label);
}
.bl-path-try {
  background: var(--ink-fill);
  border-color: var(--ink-fill);
}
.bl-path-try strong {
  color: var(--lime);
}
.bl-path-try span,
.bl-path-try .bl-path-k {
  color: #c9d3c6;
}
.bl-next-soft {
  font-size: 15.5px;
}

/* Author */
.bl-author {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 48px;
  padding: 20px 22px;
  background: var(--surface);
  border-radius: 16px;
}
.bl-author-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.bl-author-name {
  font-weight: 600;
  margin: 0 0 6px !important;
}
.bl-author p {
  font-size: 15.5px;
}
.bl-author p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .bl-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .bl-article,
  .bl-side {
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .bl-article {
    font-size: 16px;
  }
  .bl-cards,
  .bl-paths {
    grid-template-columns: 1fr;
  }
  .bl-answer {
    padding: 16px 18px;
  }
  .bl-author {
    flex-direction: column;
  }
  .bl-steps > li {
    padding-left: 38px;
  }
  .bl-stats,
  .bl-stats-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bl-stats-3 .bl-stat:first-child {
    grid-column: 1 / -1;
  }
  .bl-stat {
    padding: 18px 16px 16px;
  }
  .bl-stat-value {
    font-size: clamp(30px, 9vw, 42px);
  }
  .bl-timeline::before {
    left: 5px;
    bottom: 20px;
  }
  .bl-tl-item {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 6px;
    align-items: center;
    padding-left: 28px;
  }
  .bl-tl-item::before {
    left: 0;
    top: 5px;
  }
  .bl-tl-item.is-latest::before {
    left: -3px;
    top: 2px;
  }
  .bl-tl-date {
    text-align: left;
  }
  .bl-tl-item.is-latest .bl-tl-date {
    padding-top: 0;
  }
  .bl-tl-badge {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin-top: 0;
  }
  .bl-tl-text {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .bl-versus,
  .bl-options,
  .bl-options-3,
  .bl-decision,
  .bl-decision-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .bl-versus {
    gap: 26px;
  }
  .bl-options {
    gap: 10px;
  }
  .bl-option {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "mono body" ". tag";
    column-gap: 14px;
    row-gap: 10px;
    padding: 16px;
  }
  .bl-mono {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
  }
  .bl-article .bl-option-tag {
    justify-self: start;
  }
  .bl-option-name {
    font-size: 16.5px;
    margin-bottom: 4px;
  }
  .bl-vs-side {
    padding: 20px 20px 18px;
  }
}
/* Wide desktop column (Kaan, 2026-11-04: "make the page on desktop at least as wide as the
   start free [button]"). The article column runs to the header's right edge, the Start free
   button. Everything in it uses the full column: prose, headings, the short answer, callouts,
   FAQ, captions, sources and the author box share both edges with the hero, figures, tables and
   components (Kaan, 2026-11-04: "the text needs to follow width here"; the earlier 740 px prose
   measure is gone). */
@media (min-width: 1024px) {
  .bl-main {
    max-width: none;
  }
  .bl-article > *,
  .bl-body > *,
  .bl-figure figcaption {
    max-width: none;
  }
  .bl-figure {
    margin: 40px 0;
  }
  .bl-hero {
    margin-top: 32px;
  }
  /* Cards: three across; five cards as a 3 + 2 bento, four as 2 + 2. */
  .bl-options-3,
  .bl-options-5,
  .bl-options-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .bl-options-3 > .bl-option,
  .bl-options-5 > .bl-option,
  .bl-options-6 > .bl-option {
    grid-column: span 2;
  }
  .bl-options-5 > .bl-option:nth-child(n + 4) {
    grid-column: span 3;
  }
  .bl-option {
    padding: 22px;
  }
  .bl-mono {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }
  .bl-icon svg,
  .bl-icon img {
    width: 28px;
    height: 28px;
  }
  .bl-icon-brand img {
    width: 30px;
    height: 30px;
  }
  .bl-icon-adctrl svg {
    width: 100%;
    height: 100%;
  }
  .bl-stats,
  .bl-versus,
  .bl-options,
  .bl-decision,
  .bl-timeline {
    margin: 40px 0;
  }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .bl-stats-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .bl-card,
  .bl-path,
  .bl-option {
    transition: none;
  }
}
@media print {
  .dx-top,
  .bl-side,
  .bl-next,
  .bl-foot,
  .bl-copy {
    display: none !important;
  }
  .bl-shell {
    display: block;
  }
}

/* Sidebar contents: scrolls without a visible bar; a thin thumb appears only while the
   pointer is over it (Kaan, 2026-11-04: "fix that ugly scrollbar"). */
.bl-side {
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.bl-side::-webkit-scrollbar {
  width: 0;
  height: 0;
}
@media (hover: hover) {
  .bl-side:hover,
  .bl-side .dx-toc:hover {
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .bl-side:hover::-webkit-scrollbar,
  .bl-side .dx-toc:hover::-webkit-scrollbar {
    width: 6px;
  }
  .bl-side:hover::-webkit-scrollbar-thumb,
  .bl-side .dx-toc:hover::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 3px;
  }
  .bl-side:hover::-webkit-scrollbar-track,
  .bl-side .dx-toc:hover::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* ══ Blog archive (/blog/) ══════════════════════════════════════════════════════
   Kaan, 2026-11-04: "the blog archive page is so piss ugly … Look at how nice our whole website
   is … Make a sick archive page for the blog." The archive speaks the homepage's language
   (landing.css) without loading it: the floating pill header, the centred display hero with
   tilted cards, lime tags, bento-style cards and the dark closing section. Markup: renderIndex()
   in socials/blog/tools/site/lib/render.mjs. Every article appears once: the newest as the dark
   feature, the rest under their topic. Works without JavaScript. */
.ba-page,
.site-end {
  --g: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Header: the homepage's floating ivory pill (.pill-header). */
.ba-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 24px);
  transform: translateX(-50%);
}
.ba-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 46px;
  padding: 4px 5px 4px 16px;
  border: 1px solid #c6cbb8;
  border-radius: 999px;
  background: #faf9f1ed;
  box-shadow: 0 10px 30px #35442a12;
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.ba-brand {
  display: flex;
  margin-right: 10px;
  color: var(--text);
}
.ba-brand svg {
  width: 112px;
  height: 35.9px;
}
.ba-links {
  display: flex;
  align-items: center;
}
.ba-links::after {
  content: "";
  width: 1px;
  height: 18px;
  margin: 0 6px 0 8px;
  background: currentColor;
  opacity: 0.18;
}
.ba-links a,
.ba-login {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
}
.ba-links a:hover,
.ba-login:hover,
.ba-links a[aria-current="page"] {
  background: #e6eadc;
}
.ba-links a[aria-current="page"] {
  font-weight: 500;
}
.ba-start {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-left: 5px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background 160ms;
}
.ba-start:hover {
  background: #c6f794;
}
.ba-menu {
  display: none;
  position: relative;
}
.ba-menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 42px;
  margin-left: 4px;
  border-radius: 999px;
  background: #e6eadc;
  cursor: pointer;
  list-style: none;
}
.ba-menu summary::-webkit-details-marker {
  display: none;
}
.ba-glyph {
  position: relative;
  width: 18px;
  height: 14px;
}
.ba-glyph::before,
.ba-glyph::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition:
    transform 220ms ease,
    top 220ms ease;
}
.ba-glyph::before {
  top: 3px;
}
.ba-glyph::after {
  top: 9px;
}
.ba-menu[open] .ba-glyph::before {
  top: 6px;
  transform: rotate(45deg);
}
.ba-menu[open] .ba-glyph::after {
  top: 6px;
  transform: rotate(-45deg);
}
.ba-menu nav {
  position: absolute;
  top: calc(100% + 12px);
  right: -5px;
  display: grid;
  width: min(280px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid #c6cbb8;
  border-radius: 20px;
  background: #faf9f1f7;
  box-shadow: 0 16px 32px #35442a18;
}
.ba-menu nav a {
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
}
.ba-menu nav a:hover,
.ba-menu nav a[aria-current="page"] {
  background: #e6eadc;
}
@media (max-width: 959.98px) {
  .ba-links,
  .ba-login {
    display: none;
  }
  .ba-menu {
    display: block;
  }
  .ba-nav {
    min-height: 52px;
    padding-right: 4px;
  }
  .ba-start {
    min-height: 42px;
  }
}

/* Hero: centred display type, the lime tag, topic chips and three tilted cards. */
.ba-main {
  padding-top: 76px;
}
.ba-hero {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(44px, 5vw, 84px) var(--g) clamp(56px, 6vw, 88px);
}
.ba-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.ba-hero .bl-crumbs ol {
  justify-content: center;
  margin-bottom: 26px;
}
.ba-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: #243127;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.ba-display {
  margin-top: 26px;
  font-size: clamp(44px, 6.2vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--text);
}
.ba-display span {
  display: block;
  padding-bottom: 0.06em;
}
.ba-dek {
  max-width: 640px;
  margin-top: 26px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--secondary);
  text-wrap: balance;
}
.ba-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.ba-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 7px 6px 6px;
  border: 1px solid #d1d5c5;
  border-radius: 999px;
  background: #fffdf7;
  box-shadow: 0 6px 18px #38432c0d;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 200ms var(--ease),
    border-color 200ms,
    box-shadow 200ms;
}
.ba-chip:hover {
  border-color: #9bb586;
  box-shadow: 0 10px 24px #38432c17;
  transform: translateY(-2px);
}
.ba-chip .ba-ico {
  border-radius: 999px;
}
.ba-count {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.ba-feed {
  margin-top: 22px;
  font-size: 14px;
}
.ba-feed a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
  text-decoration: none;
}
.ba-feed a:hover {
  border-color: var(--text);
  color: var(--text);
}
/* The feed glyph: a dot and an arc, drawn with borders. */
.ba-feed-ico {
  position: relative;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--accent-ink);
  border-right: 2px solid var(--accent-ink);
  border-top-right-radius: 12px;
}
.ba-feed-ico::after {
  content: "";
  position: absolute;
  left: -2px;
  bottom: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-ink);
}

/* Topic icons: the homepage's provider marks on a white tile (or a monogram). */
.ba-ico {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #fff;
}
.ba-ico svg {
  width: 18px;
  height: 18px;
}
.ba-ico-mono {
  border-color: var(--ink-fill);
  background: var(--ink-fill);
  color: var(--lime);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ba-ico-lg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 8px 20px #38432c12;
}
.ba-ico-lg svg {
  width: 28px;
  height: 28px;
}
.ba-ico-lg.ba-ico-mono {
  font-size: 18px;
}

/* Tilted cards (decoration, like the homepage hero's .hero-float). */
.ba-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ba-float {
  --tilt: 0deg;
  position: absolute;
  width: 210px;
  padding: 18px;
  border: 1px solid #d1d5c5;
  border-radius: 14px;
  background: #fffdf7;
  box-shadow: 0 14px 36px #38432c14;
  transform: rotate(var(--tilt));
}
.ba-float-k {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--label);
}
.ba-float p {
  font-size: 16px;
  line-height: 1.35;
  color: var(--text);
}
.ba-float strong {
  display: block;
  color: var(--text);
}
.ba-float-ask {
  --tilt: -5deg;
  top: 168px;
  left: var(--g);
}
.ba-float-go {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 14px 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
}
.ba-float-post {
  --tilt: 5deg;
  top: 96px;
  right: calc(var(--g) + 8px);
  width: 236px;
  padding: 9px 9px 16px;
}
.ba-float-post img {
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border-radius: 8px;
}
.ba-float-post .ba-float-k,
.ba-float-post strong {
  padding-inline: 7px;
}
.ba-float-post strong {
  font-size: 14px;
  line-height: 1.3;
}
.ba-float-src {
  --tilt: -3deg;
  right: calc(var(--g) + 30px);
  bottom: 54px;
  width: 224px;
}
.ba-float-src strong {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ba-float-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 6px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--secondary);
}
/* A tick drawn with two borders. */
.ba-float-row i {
  width: 9px;
  height: 5px;
  margin: -3px 2px 0 0;
  border-left: 1.6px solid var(--accent-ink);
  border-bottom: 1.6px solid var(--accent-ink);
  transform: rotate(-45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .ba-float {
    animation: ba-drift 6.5s ease-in-out infinite;
  }
  .ba-float-post {
    animation-delay: -2s;
    animation-duration: 7s;
  }
  .ba-float-src {
    animation-delay: -4s;
  }
  @keyframes ba-drift {
    0%,
    100% {
      transform: translateY(0) rotate(var(--tilt));
    }
    50% {
      transform: translateY(-9px) rotate(calc(var(--tilt) + 1deg));
    }
  }
}
@media (max-width: 1179.98px) {
  .ba-floats {
    display: none;
  }
}

/* Shared card parts. The title link covers the whole card. */
.ba-stretch {
  color: inherit;
  text-decoration: none;
}
.ba-stretch::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
}
.ba-stretch:focus-visible {
  outline: none;
}
.ba-topic-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--secondary);
}
.ba-topic-name .ba-ico {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.ba-topic-name .ba-ico svg {
  width: 15px;
  height: 15px;
}
.ba-topic-name .ba-ico-mono {
  font-size: 10px;
}
.ba-guide {
  padding: 2px 9px;
  border-radius: 999px;
  background: #e1edcf;
  color: var(--accent-ink);
  font-size: 12px;
}
.ba-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--label);
}
.ba-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* The feature: the newest article as a large dark card, like the homepage's dark bentos. */
.ba-feature-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--g);
}
.ba-feature {
  --text: #edf0eb;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3.4vw, 56px);
  padding: 12px clamp(24px, 3.6vw, 56px) 12px 12px;
  overflow: hidden;
  border-radius: 28px;
  background: #101513;
  box-shadow: 0 30px 80px #36442b26;
  color: var(--text);
}
.ba-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 100% 110%, #b7f37b26, #b7f37b00 70%),
    radial-gradient(ellipse 40% 50% at 0% 0%, #43614033, #43614000 70%);
}
.ba-feature-media {
  overflow: hidden;
  border: 1px solid #ffffff17;
  border-radius: 18px;
  background: #1a221d;
}
.ba-feature-media img,
.ba-card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 750;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.ba-feature-body {
  padding-block: 28px;
}
.ba-feature-k {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.ba-new {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--lime);
  color: #243127;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
}
.ba-feature .ba-topic-name {
  color: #c3cfc4;
}
.ba-feature .ba-ico {
  border-color: #ffffff2b;
}
.ba-feature h2 {
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text);
}
.ba-feature .ba-desc {
  max-width: 50ch;
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #c3cfc4;
}
.ba-feature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #ffffff1f;
}
.ba-feature .ba-meta {
  color: #9fb3a2;
}
.ba-read {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.ba-read span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-bottom: 3px solid #8cc65a;
  background: var(--lime);
  color: var(--ink);
  font-size: 16px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  transition: transform 160ms var(--ease);
}
.ba-feature:has(.ba-stretch:focus-visible),
.ba-card article:has(.ba-stretch:focus-visible) {
  outline: 3px solid var(--accent-ink);
  outline-offset: 4px;
}

/* Topic sections: every article except the feature, once, under its topic. */
.ba-topic {
  max-width: 1440px;
  margin: clamp(72px, 8vw, 128px) auto 0;
  padding-inline: var(--g);
}
.ba-main > :last-child {
  margin-bottom: clamp(88px, 10vw, 150px);
}
.ba-topic-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.ba-topic-head h2 {
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.ba-topic-count {
  margin-left: auto;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--secondary);
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ba-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ba-card-wide {
  grid-column: 1 / -1;
}
.ba-card-lead {
  grid-column: span 2;
}
.ba-card article {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  border: 1px solid #d7dacd;
  border-radius: 22px;
  background: #f0eee6;
  transition:
    transform 280ms var(--ease),
    border-color 280ms,
    box-shadow 280ms;
}
.ba-card-media {
  overflow: hidden;
  border-radius: 14px;
  background: #1a221d;
}
.ba-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 14px 10px;
}
.ba-card h3 {
  margin-top: 16px;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}
.ba-card .ba-desc {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.6;
  color: var(--secondary);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.ba-card .ba-meta {
  margin-top: auto;
  padding-top: 20px;
}
/* Horizontal cards, the image beside the text: a topic's only article (wide, the full row),
   its lead (two of three columns) or a pair (halves). */
:is(.ba-card-wide, .ba-card-lead, .ba-card-half) article {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px clamp(20px, 2.6vw, 44px);
}
:is(.ba-card-wide, .ba-card-lead, .ba-card-half) .ba-card-body {
  padding: 18px clamp(14px, 2.4vw, 36px) 18px 4px;
}
.ba-card-half article {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 12px 24px;
}
.ba-card-half .ba-card-body {
  padding: 12px 18px 12px 0;
}
.ba-card-half .ba-desc {
  -webkit-line-clamp: 2;
}
.ba-card-half .ba-meta {
  padding-top: 16px;
}
:is(.ba-card-wide, .ba-card-lead) h3 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}
:is(.ba-card-wide, .ba-card-lead) .ba-desc {
  max-width: 50ch;
  margin-top: 16px;
  font-size: 16px;
  -webkit-line-clamp: 4;
}
:is(.ba-card-wide, .ba-card-lead) .ba-meta {
  padding-top: 28px;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ba-card article:hover {
    border-color: #b4c6a0;
    box-shadow: 0 18px 44px #36442b14;
    transform: translateY(-5px);
  }
  :is(.ba-feature, .ba-card article):hover img {
    transform: scale(1.035);
  }
  .ba-feature:hover .ba-read span {
    transform: translate(2px, -2px);
  }
}
/* Two columns: the lead takes the full row; a pair stacks its cards vertically. */
@media (max-width: 1099.98px) {
  .ba-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* An odd number of plain cards: the last one takes the full row, image beside the text. */
  .ba-card-lead,
  .ba-card-odd {
    grid-column: 1 / -1;
  }
  .ba-card-odd article {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px 28px;
  }
  .ba-card-half article {
    display: flex;
  }
  .ba-card-half .ba-card-body {
    padding: 20px 14px 10px;
  }
  .ba-card-half .ba-desc {
    -webkit-line-clamp: 3;
  }
}
@media (max-width: 959.98px) {
  .ba-feature,
  :is(.ba-card-wide, .ba-card-lead) article {
    grid-template-columns: minmax(0, 1fr);
  }
  .ba-feature {
    padding: 10px;
    border-radius: 24px;
  }
  .ba-feature-body {
    padding: 14px 14px 18px;
  }
  :is(.ba-card-wide, .ba-card-lead) .ba-card-body {
    padding: 20px 14px 10px;
  }
}
@media (max-width: 639.98px) {
  .ba-main {
    padding-top: 70px;
  }
  .ba-hero .bl-crumbs ol {
    margin-bottom: 20px;
  }
  .ba-display {
    margin-top: 22px;
    font-size: clamp(40px, 12vw, 56px);
  }
  .ba-dek {
    margin-top: 20px;
    font-size: 17px;
  }
  .ba-chips {
    gap: 8px;
    margin-top: 28px;
  }
  .ba-chip {
    min-height: 44px;
    font-size: 14px;
  }
  .ba-chip .ba-ico {
    width: 30px;
    height: 30px;
  }
  .ba-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .ba-card-odd article {
    display: flex;
  }
  :is(.ba-card-wide, .ba-card-lead) h3 {
    font-size: 26px;
  }
  .ba-topic-head {
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
  }
  .ba-ico-lg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .ba-ico-lg svg {
    width: 22px;
    height: 22px;
  }
  .ba-feature h2 {
    font-size: 30px;
  }
  .ba-feature .ba-desc {
    font-size: 16px;
  }
  .ba-feature-k {
    margin-bottom: 18px;
  }
  .ba-feature-foot {
    margin-top: 26px;
  }
}

/* ══ Site end (every blog page) ═════════════════════════════════════════════════
   The homepage's closing section (landing.css .site-end), restyled here because blog pages
   don't load landing.css: the ribbon loop, the closing call to action, the footer nav, the
   legal lines and the big wordmark. blog.js plays the loop only while it is on screen. */
.site-end {
  --text: #edf0eb;
  --secondary: #c3cfc4;
  --label: #9fb3a2;
  --accent-ink: #b7f37b;
  --wm-key: var(--lime);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #101513;
  color: var(--text);
}
.se-flow {
  position: absolute;
  z-index: -2;
  top: 0;
  left: -8%;
  width: 116%;
  max-width: none;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  pointer-events: none;
  background: #101513;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, #0000 98%);
  mask-image: linear-gradient(180deg, #000 62%, #0000 98%);
}
.site-end::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #10151300 0%,
    #10151300 30%,
    #101513b3 46%,
    #101513 60%
  );
}
.se-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 6vw, 88px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(110px, 13vw, 190px) var(--g) 0;
}
.se-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.site-end .se-cta h2 {
  font-size: clamp(42px, 5.8vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--text);
}
.site-end .se-cta p {
  max-width: 50ch;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
  color: #d6e0d0;
  text-wrap: balance;
}
.site-end .se-cta .se-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: -12px;
  font-size: 13px;
  font-weight: 500;
  color: #c9d2c4;
}
.se-check {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
}
.se-check svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: #101513;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bl-key-large {
  gap: 12px;
  min-height: 56px;
  padding: 0 26px;
  font-size: 16px;
}
.se-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: start;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid #ffffff1f;
}
.se-links nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-end .se-links h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--label);
}
.se-links nav a {
  padding-block: 9px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  text-decoration: none;
}
.se-links nav a:hover {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-end a:focus-visible {
  outline-color: var(--lime);
}
.se-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--secondary);
  text-decoration: none;
}
.se-top-key {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff38;
  transition:
    background 160ms,
    color 160ms;
}
.se-top:hover .se-top-key {
  border-color: var(--lime);
  background: var(--lime);
  color: #101513;
}
.se-legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  padding-top: 22px;
  border-top: 1px solid #ffffff1f;
}
.se-legal p {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--label);
}
.se-signature {
  position: relative;
  max-width: 1440px;
  height: calc((100vw - 2 * var(--g)) * 205 / 640 * 0.6);
  max-height: calc((1440px - 96px) * 205 / 640 * 0.6);
  margin: clamp(28px, 4vw, 56px) auto 0;
  padding-inline: var(--g);
  overflow: hidden;
  color: var(--text);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 10%, #0000 100%);
  mask-image: linear-gradient(180deg, #000 10%, #0000 100%);
}
.se-signature svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 205;
  opacity: 0.9;
}
@media (max-width: 900px) {
  .se-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .se-top {
    grid-column: 1 / -1;
  }
  .se-legal {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .se-flow {
    left: 0;
    width: 100%;
    height: 58%;
    aspect-ratio: auto;
    object-position: 10% 70%;
    opacity: 0.5;
  }
  .se-inner {
    gap: 64px;
    padding-top: 100px;
  }
  .se-cta {
    gap: 22px;
  }
  .site-end .se-cta h2 {
    font-size: clamp(40px, 11vw, 60px);
  }
  .se-links {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .se-links nav:last-of-type {
    grid-column: 1 / -1;
  }
  .se-links nav a {
    font-size: 14px;
  }
  .se-signature {
    height: calc((100vw - 2 * var(--g)) * 205 / 640 * 0.82);
    margin-top: 16px;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, #0000 100%);
    mask-image: linear-gradient(180deg, #000 35%, #0000 100%);
  }
}

/* Archive hero, its own shape (Kaan, 2026-11-04: "too identical to our frontpage … left aligned and
   it doesn't have to be full height"): copy left-aligned, the tilted cards gathered in a column
   on the right, and a shorter block. */
.ba-hero {
  padding-top: clamp(28px, 3vw, 48px);
  padding-bottom: clamp(32px, 3.5vw, 56px);
}
.ba-hero-copy {
  align-items: flex-start;
  max-width: 860px;
  margin-inline: 0;
  text-align: left;
}
.ba-hero .bl-crumbs ol {
  justify-content: flex-start;
  margin-bottom: 18px;
}
/* Two lines at most (Kaan, 2026-11-04: "make it two lines max please"). */
.ba-display {
  margin-top: 20px;
  font-size: clamp(36px, 4.6vw, 70px);
}
@media (max-width: 639.98px) {
  .ba-hero .ba-display {
    font-size: 9.2vw;
  }
}
.ba-dek {
  margin-top: 20px;
}
.ba-chips {
  justify-content: flex-start;
  margin-top: 28px;
}
@media (min-width: 1180px) {
  .ba-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: center;
    gap: 48px;
  }
  .ba-floats {
    position: relative;
    inset: auto;
    height: 390px;
  }
  .ba-float-ask {
    top: 26px;
    left: 0;
  }
  .ba-float-post {
    top: 0;
    right: 16px;
  }
  .ba-float-src {
    right: auto;
    bottom: 0;
    left: 70px;
  }
}

/* Contents list: the active section is a filled pill, with no lime left edge (Kaan, 2026-11-05:
   "the left green border thing … classic vibe coding signal"). Docs keep their own style. */
.bl-page .dx-toc a {
  border-left: 0;
}
