/* ============================================================
   Letpilot Blog — listing + article styles with light/dark theming
   Reuses brand tokens from tokens.css (--green, --font-display, --font-mono)
   ============================================================ */

/* ── Theme tokens ────────────────────────────────────────── */
:root {
  /* dark is the brand default */
  --page-bg:        #060c17;
  --page-bg-alt:    #090f1e;
  --surface:        #0f1a2e;
  --surface-2:      #0d1526;
  --surface-hover:  #131f35;
  --line:           rgba(255,255,255,0.08);
  --line-strong:    rgba(255,255,255,0.14);
  --ink:            #e8edf5;
  --ink-soft:       #b8c4d6;
  --ink-muted:      #7a8ba8;
  --ink-faint:      #4a5d7a;
  --accent:         #00e87a;
  --accent-2:       #12ffaa;
  --accent-ink:     #05100a;   /* text sitting on a green fill */
  --accent-text:    #00e87a;   /* green used as text colour */
  --accent-soft:    rgba(0,232,122,0.12);
  --accent-line:    rgba(0,232,122,0.28);
  --code-bg:        #0b1424;
  --shadow:         0 30px 70px rgba(0,0,0,0.45);
  --shadow-sm:      0 10px 30px rgba(0,0,0,0.35);
  --tag-amber:      #f5a623;
  --blob-shadow:    0 20px 50px rgba(0,0,0,0.4);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --page-bg:        #f5f7fb;
  --page-bg-alt:    #eef2f8;
  --surface:        #ffffff;
  --surface-2:      #f7f9fc;
  --surface-hover:  #f0f4fa;
  --line:           rgba(16,32,60,0.10);
  --line-strong:    rgba(16,32,60,0.18);
  --ink:            #0b1424;
  --ink-soft:       #354862;
  --ink-muted:      #5a6b85;
  --ink-faint:      #93a1b8;
  --accent:         #00c46a;
  --accent-2:       #00e87a;
  --accent-ink:     #04130b;
  --accent-text:    #00915a;   /* darker green for AA text contrast on white */
  --accent-soft:    rgba(0,196,106,0.12);
  --accent-line:    rgba(0,196,106,0.30);
  --code-bg:        #0f1a2e;
  --shadow:         0 24px 60px rgba(20,40,80,0.14);
  --shadow-sm:      0 10px 26px rgba(20,40,80,0.10);
  --tag-amber:      #d1860a;
  --blob-shadow:    0 18px 44px rgba(20,40,80,0.16);
  color-scheme: light;
}

/* ── Base ────────────────────────────────────────────────── */
body.blog {
  font-family: var(--font-display);
  background: var(--page-bg);
  color: var(--ink);
  line-height: 1.6;
  transition: background 0.35s ease, color 0.35s ease;
}

.blog-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) { .blog-container { padding: 0 20px; } }

/* ── Navigation ──────────────────────────────────────────── */
.blog-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--page-bg) 82%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.blog-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 768px) { .blog-nav-inner { padding: 12px 20px; } }

.blog-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blog-logo .dot { color: var(--accent-text); }

.blog-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.blog-nav-links a {
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-nav-links a:hover,
.blog-nav-links a.active { color: var(--ink); }
.blog-nav-links a.active { font-weight: 600; }

.blog-nav-actions { display: flex; align-items: center; gap: 14px; }

/* Burger button (hidden on desktop) */
.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.nav-burger:hover { border-color: var(--accent-line); }
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page-bg) 96%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-mobile.open { display: flex; }
.nav-mobile a.nav-mobile-link {
  padding: 13px 6px;
  font-size: 1rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}
.nav-mobile a.nav-mobile-link:hover,
.nav-mobile a.nav-mobile-link.active { color: var(--accent-text); }
.nav-mobile .nav-mobile-cta {
  margin-top: 12px;
  justify-content: center;
  width: 100%;
}

@media (max-width: 760px) {
  .blog-nav-links { display: none; }
  .blog-nav-actions .b-btn-sm { display: none; }
  .nav-burger { display: flex; }
}

/* ── Theme toggle ────────────────────────────────────────── */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent-line); transform: translateY(-1px); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.b-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.b-btn-primary { background: var(--accent); color: var(--accent-ink); }
.b-btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 26px var(--accent-soft); }
.b-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.b-btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.b-btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* ============================================================
   BLOG LISTING
   ============================================================ */
.blog-hero { padding: 70px 0 30px; }
.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .blog-hero-grid { grid-template-columns: 1fr; }
  .blog-hero-art { order: -1; max-width: 420px; }
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 20px;
}
.blog-eyebrow .badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.blog-hero h1 .accent { color: var(--accent-text); }
.blog-hero p {
  font-size: 1.12rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 520px;
}
.blog-hero-art img { width: 100%; height: auto; }

/* ── Filter bar ──────────────────────────────────────────── */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pill {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-pill:hover { color: var(--ink); border-color: var(--accent-line); }
.filter-pill.active {
  color: var(--accent-text);
  border-color: var(--accent-line);
  background: var(--accent-soft);
  font-weight: 600;
}
.blog-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* ── Card grid ───────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
}
@media (max-width: 940px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-sm);
}
.post-card.is-hidden { display: none; }

.post-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--code-bg);
}
.post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-thumb img { transform: scale(1.04); }

.post-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-text);
  margin-bottom: 14px;
}
.post-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.post-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.post-title a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
.post-card:hover .post-title a { color: var(--accent-text); }
.post-excerpt {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-text);
  text-decoration: none;
  align-self: flex-start;
}
.read-more svg { transition: transform 0.2s ease; }
.read-more:hover svg { transform: translateX(4px); }

.blog-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--ink-muted);
  font-size: 1rem;
  display: none;
}
.blog-empty.show { display: block; }

/* ── Newsletter CTA ──────────────────────────────────────── */
.blog-cta {
  margin: 90px 0 40px;
  padding: 54px 48px;
  border-radius: 26px;
  background:
    radial-gradient(120% 140% at 100% 0%, var(--accent-soft) 0%, transparent 55%),
    var(--surface);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.blog-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.blog-cta p { color: var(--ink-muted); max-width: 460px; font-size: 1rem; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 200;
  transition: width 0.1s linear;
}

.article-head { padding: 44px 0 20px; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
  margin-bottom: 26px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb span { color: var(--ink-faint); }

.article-head .post-tag { margin-bottom: 18px; }
.article-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 900px;
  margin-bottom: 24px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.author-name { color: var(--ink); font-weight: 600; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

.article-hero-img {
  margin: 34px 0 10px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.article-hero-img img { width: 100%; height: auto; }

/* ── Article layout: TOC + body ──────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  padding: 40px 0 30px;
  align-items: start;
}
@media (max-width: 940px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.toc {
  position: sticky;
  top: 96px;
  align-self: start;
}
@media (max-width: 940px) {
  .toc {
    position: static;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 22px;
  }
  .toc details { }
  .toc summary { cursor: pointer; }
}
.toc-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.toc ul { display: flex; flex-direction: column; gap: 2px; }
.toc a {
  display: block;
  padding: 7px 14px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  text-decoration: none;
  border-left: 2px solid var(--line);
  line-height: 1.35;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.toc a:hover { color: var(--ink); }
.toc a.active {
  color: var(--accent-text);
  border-left-color: var(--accent);
  font-weight: 600;
}

/* ── Article body typography ─────────────────────────────── */
.article-body { max-width: 720px; min-width: 0; font-size: 1.08rem; }
.article-body > p,
.article-body > ul,
.article-body > ol { color: var(--ink-soft); line-height: 1.8; margin-bottom: 24px; }
.article-body .lede {
  font-size: 1.22rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 30px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 46px 0 18px;
  scroll-margin-top: 90px;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 30px 0 12px;
  scroll-margin-top: 90px;
}
.article-body a.inline-link {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body ul.bullets,
.article-body ol.steps { padding-left: 4px; }
.article-body ul.bullets li,
.article-body ol.steps li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.article-body ul.bullets li::before {
  content: "";
  position: absolute;
  left: 6px; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.article-body ol.steps { counter-reset: step; }
.article-body ol.steps li { padding-left: 46px; margin-bottom: 22px; }
.article-body ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 2px;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

/* pull-quote / callout */
.callout {
  margin: 34px 0;
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}
.callout .callout-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}

/* comparison table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 560px;
}
table.compare thead th {
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
table.compare thead th.col-ai { color: var(--accent-text); }
table.compare td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.metric { color: var(--ink); font-weight: 600; }
table.compare td.col-ai { color: var(--ink); background: var(--accent-soft); }

/* strengths / weaknesses cards */
.sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0;
}
@media (max-width: 620px) { .sw-grid { grid-template-columns: 1fr; } }
.sw-card {
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.sw-card h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.sw-card.pro h4 { color: var(--accent-text); }
.sw-card.con h4 { color: var(--tag-amber); }
.sw-card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.sw-card.pro ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 700; }
.sw-card.con ul li::before { content: "!"; position: absolute; left: 4px; color: var(--tag-amber); font-weight: 700; }

/* inline CTA box within article */
.inline-cta {
  margin: 46px 0;
  padding: 34px 34px;
  border-radius: 20px;
  background:
    radial-gradient(120% 160% at 0% 0%, var(--accent-soft) 0%, transparent 55%),
    var(--surface);
  border: 1px solid var(--accent-line);
}
.inline-cta h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.inline-cta p { color: var(--ink-muted); margin-bottom: 20px; font-size: 0.98rem; }

/* share row */
.share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 30px 0;
  flex-wrap: wrap;
}
.share-row .share-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.share-btn {
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-muted);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.share-btn:hover { color: var(--accent-text); border-color: var(--accent-line); transform: translateY(-2px); }

/* ── Related posts ───────────────────────────────────────── */
.related {
  padding: 60px 0 20px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.related-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; } }

/* ── Footer (shared) ─────────────────────────────────────── */
.blog-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 70px;
}
.blog-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.blog-footer p { font-size: 0.86rem; color: var(--ink-muted); line-height: 1.65; max-width: 320px; margin-top: 12px; }
.blog-footer-links { display: flex; flex-direction: column; gap: 12px; }
.blog-footer-links a { font-size: 0.9rem; color: var(--ink-muted); text-decoration: none; transition: color 0.2s ease; }
.blog-footer-links a:hover { color: var(--accent-text); }
.blog-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Reveal animation ────────────────────────────────────── */
.b-reveal { opacity: 1; transform: none; }
body.js-on .b-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.js-on .b-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  body.js-on .b-reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
