/* =====================================================================
   ADSIDE — Blog editorial system
   Static, semantic, SEO-first pages. Builds on colors_and_type.css.
   Headlines: Sharp Grotesk. Body/UI: Geist. Mono only for footer chrome.
   ===================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--font-sans); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--blue-1); transition: opacity .15s ease; }
a:hover { opacity: .72; }
img, svg { vertical-align: middle; }

/* ---------- Reading progress (article pages) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--blue-1); transition: width .08s linear; }

/* ---------- Nav (static replica of the site pill bar) ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; display: flex; justify-content: center; z-index: 50; }
.nav-inner { width: min(1296px, 92%); }
.nav-bar {
  height: 72px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 28px;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a[aria-current="page"] { color: var(--blue-1); font-weight: 600; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-login {
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600;
  background: #EEEFF0; border-radius: 999px; padding: 0 20px; display: inline-flex; align-items: center; height: 52px;
}
.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 50%; background: #EEEFF0; border: none;
  cursor: pointer; align-items: center; justify-content: center; flex: none;
}
.nav-menu {
  display: none; margin-top: 8px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-md);
  padding: 10px; flex-direction: column; animation: navMenu .22s ease both; transform-origin: top center;
}
.nav-menu a {
  color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 17px;
  font-weight: 600; padding: 14px 16px; border-radius: 14px;
}
.nav-menu a:hover { opacity: 1; background: var(--gray-100); }
.nav-menu .nav-menu-login {
  font-family: var(--font-sans); font-size: 15px; border-top: 1px solid var(--gray-200); margin-top: 4px; border-radius: 0 0 14px 14px;
}
.nav-open .nav-menu { display: flex; }
@keyframes navMenu { from { opacity: 0; transform: translateY(-6px) scale(.99); } to { opacity: 1; transform: none; } }

/* ---------- Buttons (brand pill) ---------- */
.btn {
  font-family: 'Sharp Grotesk DB', var(--font-display); font-weight: 400; font-size: 15px; cursor: pointer;
  border: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(.94); opacity: 1; }
.btn-primary { background: var(--blue-1); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.btn-sm { height: 44px; padding: 0 22px; }
.btn-arrow { padding-right: 4px; }
.btn-arrow .btn-circle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; margin-left: 10px; flex: none;
}
.btn-circle-navy { background: var(--blue-1); }
.btn-circle-red { background: var(--bordeaux-2); }

/* ---------- Category chips (Geist, uppercase, tracked — site pattern) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: 'Geist', var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px;
}
.chip-sky { background: var(--blue-2); color: var(--blue-1); }
.chip-pink { background: var(--pink); color: var(--bordeaux); }
.chip-white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Brand pill stickers (cover art) ---------- */
.pill {
  font-family: 'Sharp Grotesk DB 15', var(--font-display); font-weight: 600; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.18); white-space: nowrap; line-height: 1.2;
}
.pill-ink { background: var(--ink); color: #fff; }
.pill-blue { background: var(--blue-1); color: #fff; }
.pill-wht { background: #fff; color: var(--ink); }
.pill-sky { background: var(--blue-2); color: var(--blue-1); }
.pill-pink { background: var(--pink); color: var(--bordeaux); }
.pill-bdx { background: var(--bordeaux); color: var(--pink); }

/* ---------- Covers — composed brand-pill art on textured grounds ---------- */
.cover { position: relative; overflow: hidden; border-radius: 20px; }
.cover::after { /* soft inner hairline so covers sit crisply on white */
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(12,12,12,.06); pointer-events: none;
}
.cover .tex { position: absolute; inset: 0; background-size: cover; background-position: center; pointer-events: none; }
.cover-blue { background: var(--blue-1); }
.cover-blue .tex { background-image: url(../assets/texture-contours.png); }
.cover-bdx { background: var(--bordeaux); }
.cover-bdx .tex { background-image: url(../assets/texture-testimonial.png); opacity: .5; }
.cover-sky { background: var(--blue-2); }
.cover-sky .tex { background-image: url(../assets/texture-contours.png); opacity: .35; }
.cover-ink { background: var(--ink); }
.cover-ink .tex { background-image: url(../assets/texture-comparison.png); opacity: .2; }
.cover .pill { position: absolute; }

/* ---------- Article header ---------- */
.art-head { padding: 168px 24px 0; text-align: center; }
.art-head .art-meta-top { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.art-head .read-time { font-size: 14px; color: var(--gray-600); }
.art-head h1 {
  font-family: var(--font-headline); font-weight: 700; font-size: 58px; line-height: 1.05;
  letter-spacing: -.02em; color: var(--ink); margin: 26px auto 0; max-width: 880px;
}
.art-head .dek {
  font-size: 20px; line-height: 1.55; color: var(--gray-600); max-width: 660px; margin: 22px auto 0;
}
.byline { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
.byline .avatar {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; flex: none;
}
.avatar-blue { background: var(--blue-1); color: #fff; }
.avatar-bdx { background: var(--bordeaux); color: var(--pink); }
.avatar-sky { background: var(--blue-2); color: var(--blue-1); }
.avatar-pink { background: var(--pink); color: var(--bordeaux); }
.byline .who { text-align: left; }
.byline .who .name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.byline .who .date { font-size: 13px; color: var(--gray-600); margin-top: 1px; }
.art-cover { max-width: 1060px; margin: 48px auto 0; padding: 0 24px; }
.art-cover .cover { aspect-ratio: 21 / 9; border-radius: 28px; }

/* ---------- Article layout: sticky TOC rail + measured column ---------- */
.art-layout {
  display: grid; grid-template-columns: 240px minmax(0, 680px); gap: 72px;
  justify-content: center; padding: 72px 24px 0; align-items: start;
}
.toc { position: sticky; top: 120px; }
.toc .toc-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--gray-300); }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent;
  color: var(--gray-600); text-decoration: none; font-size: 13.5px; line-height: 1.45;
}
.toc a:hover { color: var(--ink); opacity: 1; }
.toc a.active { color: var(--blue-1); border-left-color: var(--blue-1); font-weight: 600; }
.toc .toc-back { margin-top: 22px; }
.toc .toc-back a {
  border: none; padding: 0; margin: 0; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 13.5px; color: var(--blue-1);
}

/* ---------- Article body typography ---------- */
.art-body { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.art-body > p:first-of-type { font-size: 19px; line-height: 1.7; color: var(--ink); }
.art-body p { margin: 0 0 22px; }
.art-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.art-body h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.18;
  letter-spacing: -.015em; color: var(--ink); margin: 64px 0 20px; padding-top: 40px;
  border-top: 1px solid var(--gray-200); scroll-margin-top: 110px;
}
.art-body h3 {
  font-family: var(--font-sans); font-weight: 600; font-size: 19.5px; line-height: 1.35;
  color: var(--ink); margin: 38px 0 12px; scroll-margin-top: 110px;
}
.art-body ul, .art-body ol { margin: 0 0 22px; padding-left: 24px; }
.art-body li { margin-bottom: 9px; }
.art-body li::marker { color: var(--blue-1); font-weight: 600; }
.art-body strong { font-weight: 600; color: var(--ink); }
.art-body hr { border: none; border-top: 1px solid var(--gray-200); margin: 48px 0; }
.art-body code {
  font-family: 'Geist', var(--font-sans); font-weight: 500; font-size: .92em;
  background: var(--gray-100); border-radius: 6px; padding: 2px 7px; color: var(--ink);
}
.art-body .code-block {
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px;
  padding: 18px 22px; margin: 0 0 22px; font-family: 'Geist', var(--font-sans); font-weight: 500;
  font-size: 14.5px; line-height: 1.7; color: var(--ink); overflow-x: auto; white-space: pre;
}
.art-body blockquote {
  margin: 44px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--blue-1);
  font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.4;
  letter-spacing: -.01em; color: var(--ink);
}
.art-body blockquote p { margin: 0; }
.art-body figure { margin: 36px 0; }
.art-body figcaption { font-size: 13.5px; color: var(--gray-600); margin-top: 12px; line-height: 1.5; }

/* Tables — hairline editorial */
.art-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; line-height: 1.5; }
.art-body th {
  font-family: 'Geist', var(--font-sans); font-weight: 600; font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gray-600); text-align: left; padding: 0 14px 10px 0;
  border-bottom: 1px solid var(--gray-300);
}
.art-body td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.art-body td:first-child { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* The short version — bordeaux takeaways panel */
.takeaways {
  background: var(--bordeaux); border-radius: 20px; padding: 30px 34px; margin: 40px 0;
  color: var(--pink);
}
.takeaways .tk-title {
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: #fff; margin: 0 0 16px;
}
.takeaways ul { list-style: none; margin: 0; padding: 0; }
.takeaways li {
  position: relative; padding-left: 26px; margin-bottom: 11px; font-size: 15.5px; line-height: 1.6;
  color: rgba(255,213,243,.92);
}
.takeaways li:last-child { margin-bottom: 0; }
.takeaways li::before { content: '✓'; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.takeaways li strong { color: #fff; font-weight: 600; }

/* One-line emphasis band (ink, like the comparison summary) */
.panel-ink {
  background: var(--ink); border-radius: 20px; padding: 30px 36px; margin: 40px 0; text-align: center;
}
.panel-ink p {
  font-family: 'Sharp Grotesk DB', var(--font-display); font-weight: 400; font-size: 20px;
  line-height: 1.45; letter-spacing: -.01em; color: #fff; margin: 0;
}

/* Stat strip — big display numbers, Geist captions */
.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px;
  border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
  padding: 30px 0; margin: 40px 0;
}
.stat-strip .stat .n {
  font-family: var(--font-display); font-weight: 700; font-size: 42px; line-height: 1;
  letter-spacing: -.02em; color: var(--blue-1); display: block;
}
.stat-strip .stat .c { font-size: 13.5px; line-height: 1.45; color: var(--gray-600); margin-top: 8px; display: block; }

/* Simple horizontal bar chart (pure CSS) */
.bars { display: grid; gap: 12px; margin: 32px 0; }
.bars .bar { display: grid; grid-template-columns: 170px 1fr 64px; align-items: center; gap: 14px; }
.bars .bar .lbl { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.bars .bar .track { background: var(--gray-100); border-radius: 999px; height: 14px; overflow: hidden; }
.bars .bar .fill { display: block; height: 100%; border-radius: 999px; background: var(--blue-1); }
.bars .bar .fill.alt { background: var(--blue-2); }
.bars .bar .fill.pink { background: var(--pink); }
.bars .bar .val { font-size: 13.5px; font-weight: 600; color: var(--gray-600); text-align: right; }

/* FAQ — hairline details rows (FaqSection pattern, JS-free) */
.faq { border-bottom: 1px solid var(--gray-200); margin: 28px 0 8px; }
.faq details { border-top: 1px solid var(--gray-200); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 24px 2px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q {
  font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--ink);
}
.faq summary .tgl {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center; transition: background .25s ease;
}
.faq summary .tgl svg { transition: transform .3s cubic-bezier(.4,0,.2,1); }
.faq details[open] summary .tgl { background: var(--blue-1); }
.faq details[open] summary .tgl svg { transform: rotate(180deg); stroke: #fff; }
.faq .a { padding: 0 50px 26px 2px; font-size: 16px; line-height: 1.65; color: var(--gray-600); }
.faq .a p { margin: 0 0 12px; }
.faq .a p:last-child { margin-bottom: 0; }

/* Sources / footnotes */
.sources { margin-top: 56px; border-top: 1px solid var(--gray-200); padding-top: 28px; }
.sources h2 { border-top: none !important; padding-top: 0 !important; margin-top: 0 !important; font-size: 22px !important; }
.sources ol { font-size: 14px; color: var(--gray-600); line-height: 1.6; padding-left: 20px; margin: 0; }
.sources li { margin-bottom: 8px; }
.sources a { color: var(--blue-1); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

/* ---------- Author card (end of article) ---------- */
.author-card {
  display: flex; gap: 18px; align-items: center; margin-top: 48px;
  border-top: 1px solid var(--gray-200); padding-top: 32px;
}
.author-card .avatar { width: 56px; height: 56px; font-size: 19px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; flex: none; }
.author-card .bio .name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.author-card .bio p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--gray-600); }

/* ---------- Related reading — editorial hairline entries ---------- */
.related { padding: 88px 24px 8px; }
.related .rel-inner { max-width: 1160px; margin: 0 auto; }
.related .rel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 38px; }
.related h2 { font-family: var(--font-headline); font-weight: 700; font-size: 32px; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.related .rel-all { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--blue-1); }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }

.entry { display: flex; flex-direction: column; text-decoration: none; border-top: 1px solid var(--gray-300); padding-top: 22px; height: 100%; transition: border-color .18s ease; }
.entry:hover { border-top-color: var(--blue-1); opacity: 1; }
.entry .entry-kicker { font-size: 13px; color: var(--gray-600); margin-bottom: 10px; }
.entry h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.22;
  letter-spacing: -.01em; color: var(--ink); margin: 0 0 10px; transition: color .18s ease;
}
.entry:hover h3 { color: var(--blue-1); }
.entry p { font-size: 15px; line-height: 1.55; color: var(--gray-600); margin: 0 0 20px; }
.entry .entry-more { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--blue-1); }
.entry .entry-more svg { transition: transform .18s ease; }
.entry:hover .entry-more svg { transform: translateX(3px); }

/* ---------- CTA band ---------- */
.blog-cta { padding: 80px 24px 96px; }
.blog-cta .cta-panel {
  position: relative; max-width: 1160px; margin: 0 auto; border-radius: 28px; overflow: hidden;
  background: var(--blue-1); padding: 72px 64px; text-align: center; color: #fff;
}
.blog-cta .cta-tex { position: absolute; inset: 0; background: url(../assets/texture-testimonial.png) center / cover no-repeat; pointer-events: none; }
.blog-cta h2 {
  position: relative; font-family: var(--font-headline); font-weight: 700; font-size: 42px;
  line-height: 1.08; letter-spacing: -.02em; margin: 0 auto; max-width: 640px;
}
.blog-cta p { position: relative; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.86); max-width: 520px; margin: 18px auto 0; }
.blog-cta .cta-actions { position: relative; margin-top: 32px; display: flex; justify-content: center; }

/* ---------- Blog index ---------- */
.bx-hero { position: relative; background: var(--bordeaux); overflow: hidden; padding: 192px 24px 96px; text-align: center; }
.bx-hero .tex { position: absolute; inset: 0; background: url(../assets/texture-testimonial.png) center / cover no-repeat; opacity: .5; pointer-events: none; }
.bx-hero h1 {
  position: relative; font-family: var(--font-headline); font-weight: 700; font-size: 64px; line-height: 1.04;
  letter-spacing: -.02em; color: #fff; margin: 0 auto; max-width: 880px;
}
.bx-hero .bx-sub { position: relative; font-size: 20px; line-height: 1.5; color: rgba(255,213,243,.82); max-width: 620px; margin: 22px auto 0; }

/* live text-selection effect — rose variant (site pattern) */
.sel-rose { background: rgba(255,213,243,.16); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: .02em .08em; border-radius: 2px; }
.caret-rose { position: relative; display: inline-block; width: 3px; height: 1.04em; margin: 0; background: var(--pink); vertical-align: middle; }
.caret-rose::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 13px; height: 13px; border-radius: 50%; background: var(--pink); transform: translateX(-50%); }
.caret-rose-start::after { bottom: auto; top: -6px; }
@media (prefers-reduced-motion: no-preference) {
  .caret-rose { animation: caretBlink 2s steps(1, end) infinite; }
  @keyframes caretBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
}

/* Category filter — site tab-pill pattern with a sliding thumb (same motion
   as the pricing Monthly/Yearly toggle). */
.bx-filters { display: flex; justify-content: center; padding: 56px 24px 0; }
.bx-filters .filter-track { position: relative; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; background: var(--gray-100); padding: 6px; border-radius: 999px; }
.bx-filters .filter-thumb {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  background: var(--blue-1); border-radius: 999px; will-change: transform;
}
.bx-filters .filter-track.ready .filter-thumb {
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), width .4s cubic-bezier(.16, 1, .3, 1), height .4s cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .bx-filters .filter-track.ready .filter-thumb { transition: none; }
}
.bx-filters button {
  position: relative; z-index: 1;
  border: none; cursor: pointer; font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; transition: color .3s ease; background: transparent; color: var(--gray-600);
}
.bx-filters button[aria-pressed="true"] { color: #fff; }
.bx-filters button[aria-pressed="false"]:hover { color: var(--ink); }
/* No-JS fallback: solid active pill (the thumb is injected by blog.js). */
.bx-filters .filter-track:not(.ready) button[aria-pressed="true"] { background: var(--blue-1); }
.card.filtered-out { display: none; }

/* Featured article — cover + text, two columns */
.bx-featured { padding: 72px 24px 0; }
.bx-featured .feat-inner {
  max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 56px; align-items: center; text-decoration: none;
}
.bx-featured .cover { aspect-ratio: 16 / 10; border-radius: 24px; }
.bx-featured .feat-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bx-featured .feat-date { font-size: 14px; color: var(--gray-600); }
.bx-featured h2 {
  font-family: var(--font-headline); font-weight: 700; font-size: 40px; line-height: 1.08;
  letter-spacing: -.02em; color: var(--ink); margin: 18px 0 0; transition: color .18s ease;
}
.bx-featured .feat-inner:hover h2 { color: var(--blue-1); }
.bx-featured .feat-desc { font-size: 16.5px; line-height: 1.6; color: var(--gray-600); margin: 16px 0 0; }
.bx-featured .feat-more { margin-top: 22px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--blue-1); }

/* Article grid — cover cards over editorial entries */
.bx-grid-wrap { padding: 72px 24px 24px; }
.bx-grid-inner { max-width: 1160px; margin: 0 auto; }
.bx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card .cover { aspect-ratio: 16 / 10; margin-bottom: 22px; border-radius: 18px; }
.card .card-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--gray-600); }
.card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.2;
  letter-spacing: -.01em; color: var(--ink); margin: 0 0 10px; transition: color .18s ease;
}
.card:hover h3 { color: var(--blue-1); }
.card p { font-size: 15px; line-height: 1.55; color: var(--gray-600); margin: 0 0 18px; }
.card .card-meta { margin-top: auto; font-size: 13.5px; color: var(--gray-600); }
.card .card-meta strong { color: var(--ink); font-weight: 600; }

/* ---------- Video: lite YouTube embed (no third-party JS until click) ---------- */
.yt-lite {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden;
  background: var(--ink); cursor: pointer; text-decoration: none;
}
.yt-lite img.yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-lite::after { /* gentle bottom scrim so the duration pill reads */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,0) 30%); pointer-events: none;
}
.yt-lite .yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--blue-1);
  display: flex; align-items: center; justify-content: center; z-index: 2;
  box-shadow: 0 12px 32px rgba(0,0,0,.35); transition: transform .18s ease, background .18s ease;
}
.yt-lite:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); background: var(--blue-1-700); }
.yt-lite:hover { opacity: 1; }
.yt-lite .yt-play svg { margin-left: 4px; }
.yt-lite .yt-dur {
  position: absolute; right: 16px; bottom: 14px; z-index: 2;
  font-family: 'Sharp Grotesk DB 15', var(--font-display); font-weight: 600; font-size: 14px;
  background: var(--ink); color: #fff; padding: 6px 14px; border-radius: 999px;
}
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* In-article embed */
.video-embed { margin: 36px 0; }
.video-embed .yt-lite { border-radius: 16px; box-shadow: var(--shadow-lg); }
.video-embed .yt-lite .yt-play { width: 60px; height: 60px; }
.video-embed figcaption a { text-decoration: underline; text-underline-offset: 3px; }

/* Chapter rows — timestamp pill + label, clickable */
.chapters { border-bottom: 1px solid var(--gray-200); margin: 28px 0; }
.chapters .ch { display: flex; align-items: center; gap: 16px; padding: 13px 2px; border-top: 1px solid var(--gray-200); width: 100%; background: none; border-left: none; border-right: none; border-bottom: none; cursor: pointer; text-align: left; font-family: var(--font-sans); }
.chapters .ch .t {
  flex: none; font-family: 'Geist', var(--font-sans); font-weight: 600; font-size: 13px;
  background: var(--blue-2); color: var(--blue-1); padding: 4px 12px; border-radius: 999px; min-width: 58px; text-align: center;
}
.chapters .ch .l { font-size: 15.5px; font-weight: 500; color: var(--ink); }
.chapters .ch:hover .l { color: var(--blue-1); }

/* Watch cards on the index — thumbnail cover + play badge */
.cover-thumb { background: var(--ink); }
.cover-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-thumb .play-badge {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Sharp Grotesk DB 15', var(--font-display); font-weight: 600; font-size: 13.5px;
  background: var(--blue-1); color: #fff; padding: 7px 14px 7px 10px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.cover-thumb::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(12,12,12,.1); pointer-events: none; }

@media (max-width: 760px) {
  .yt-lite { border-radius: 20px; }
  .yt-lite .yt-play { width: 58px; height: 58px; }
  .chapters .ch .l { font-size: 14.5px; }
}

/* ---------- Footer (static replica) ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 64px 72px 40px; margin-top: 56px; }
.site-footer .ft-inner { max-width: 1240px; margin: 0 auto; }
.site-footer .ft-cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.site-footer .ft-brand { max-width: 280px; }
.site-footer .ft-brand p { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.5; margin-top: 16px; }
.site-footer .ft-col-h { font-family: 'Geist', var(--font-sans); font-weight: 600; font-size: 14px; color: #fff; margin-bottom: 16px; }
.site-footer .ft-cols a { display: block; color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.site-footer .ft-base {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-family: var(--font-sans); font-size: 12px; color: rgba(255,255,255,.5);
}

/* ---------- Scroll reveal (JS-gated: html.js only, crawler/no-JS safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .art-layout { grid-template-columns: minmax(0, 680px); }
  .toc { display: none; }
}
@media (max-width: 920px) {
  .bx-featured .feat-inner { grid-template-columns: 1fr; gap: 28px; }
  .bx-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-login { display: none; }
  .nav-burger { display: flex; }
  .nav-bar { padding: 0 10px 0 20px; }
  .art-head { padding: 132px 20px 0; }
  .art-head h1 { font-size: 34px; line-height: 1.1; }
  .art-head .dek { font-size: 17px; }
  .art-cover { margin-top: 32px; padding: 0 20px; }
  .art-cover .cover { aspect-ratio: 4 / 3; border-radius: 20px; }
  .art-layout { padding: 48px 20px 0; }
  .art-body { font-size: 16px; }
  .art-body > p:first-of-type { font-size: 17.5px; }
  .art-body h2 { font-size: 24px; margin-top: 48px; padding-top: 32px; }
  .art-body blockquote { font-size: 19px; padding-left: 20px; }
  .takeaways { padding: 24px; }
  .panel-ink { padding: 24px; }
  .panel-ink p { font-size: 17px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .stat-strip .stat .n { font-size: 32px; }
  .bars .bar { grid-template-columns: 1fr; gap: 6px; }
  .bars .bar .val { text-align: left; }
  .bars { gap: 18px; }
  .bx-hero { padding: 148px 20px 64px; }
  .bx-hero h1 { font-size: 38px; }
  .bx-hero .bx-sub { font-size: 16px; }
  .bx-featured { padding: 48px 20px 0; }
  .bx-featured h2 { font-size: 27px; }
  .bx-grid-wrap { padding: 48px 20px 16px; }
  .bx-grid { grid-template-columns: 1fr; gap: 44px; }
  .related { padding: 64px 20px 8px; }
  .related h2 { font-size: 26px; }
  .blog-cta { padding: 56px 20px 64px; }
  .blog-cta .cta-panel { padding: 48px 28px; }
  .blog-cta h2 { font-size: 28px; }
  .site-footer { padding: 56px 20px 36px; }
  .faq summary .q { font-size: 17px; }
  .faq .a { padding-right: 8px; }
}
