/* ============================================================================
   Southern AI Systems — Blog styles
   Shared by /blog/ index + every /blog/<slug>/ article page.
   Consumes tokens.css (loaded first on every blog page). Do not redefine
   palette/type/spacing here — use var(--token).
   ----------------------------------------------------------------------------
   BLOG TYPE OVERRIDE (blog-scoped only — this stylesheet loads after tokens.css
   and only on /blog/ pages, so these redefinitions never touch the rest of the
   site). Editorial pairing chosen by owner: Newsreader (serif display) +
   Inter (sans body/UI), JetBrains Mono retained for kickers/labels.
   ============================================================================ */

:root {
  --font-display: "Newsreader", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-serif:   "Newsreader", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* --font-mono keeps JetBrains Mono from tokens.css */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--surface-0);
  color: var(--ink-1);
  font-family: var(--font-body);
  line-height: var(--leading-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Global nav (same system as the rest of the site) ─────────────────── */
.gc-nav {
  position: fixed;
  top: 12px; left: 12px; right: 12px;
  z-index: 9999;
  border-radius: 1rem;
  background: rgba(8,11,20,0.30);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  transition: top 0.35s cubic-bezier(.4,0,.2,1), left 0.35s cubic-bezier(.4,0,.2,1),
    right 0.35s cubic-bezier(.4,0,.2,1), border-radius 0.35s cubic-bezier(.4,0,.2,1),
    background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gc-nav.is-scrolled {
  top: 0 !important; left: 0 !important; right: 0 !important;
  border-radius: 0 !important;
  background: rgba(8,11,20,0.65) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}
.gc-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }
.gc-nav-brand { display: flex; align-items: center; gap:14px; text-decoration: none; flex-shrink: 0; }
.gc-nav-brand-text { font-family: var(--font-body); font-size: 18px; font-weight: 700; color: #fff; white-space: nowrap; }
.gc-nav-links { display: none; align-items: center; gap: 28px; }
@media (min-width: 960px) { .gc-nav-links { display: flex; } }
.gc-nav-link {
  position: relative; padding: 6px 2px;
  color: #cbd5e1; font-family: var(--font-body);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: color 0.2s ease;
}
.gc-nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent-gradient);
  transform: translateX(-50%);
  transition: width 0.25s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}
.gc-nav-link:hover { color: #fff; }
.gc-nav-link:hover::after { width: 100%; }
.gc-nav-link.is-active { color: #fff; }
.gc-nav-link.is-active::after { width: 100%; opacity: 0.7; }
.gc-nav-right { display: flex; align-items: center; gap: 12px; }
.gc-nav-loc { display: none; }
@media (min-width: 1024px) {
  .gc-nav-loc {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px; border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    font-family: var(--font-mono); font-size: var(--text-xs);
    letter-spacing: 0.04em; color: #94a3b8;
  }
}
.gc-nav-loc .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(205,216,230,0.65); }
.gc-nav-book {
  display: none; align-items: center; gap: 6px;
  background: var(--accent-gradient);
  color:#0a1018; font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 0.75rem; text-decoration: none;
  box-shadow: 0 0 18px rgba(205,216,230,0.35);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.gc-nav-book:hover { box-shadow: 0 0 40px rgba(205,216,230,0.7); transform: translateY(-1px); }
@media (min-width: 640px) { .gc-nav-book { display: inline-flex; } }
.gc-nav-hamburger { display: flex; flex-direction: column; gap: 5px; padding: 12px; background: none; border: none; cursor: pointer; }
@media (min-width: 960px) { .gc-nav-hamburger { display: none; } }
.gc-nav-hamburger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }
#gc-mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
#gc-mobile-menu.open { max-height: 400px; }
.gc-mobile-links { padding: 12px 24px 16px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(255,255,255,0.07); }
.gc-mobile-link { color: #d1d5db; font-family: var(--font-body); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.gc-mobile-link:hover, .gc-mobile-link.is-active { color: #fff; }
.gc-mobile-call {
  display: block; text-align: center;
  background: var(--accent-gradient);
  color:#0a1018; font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: 0.75rem; text-decoration: none;
  box-shadow: 0 0 18px rgba(205,216,230,0.35);
}
.gc-mobile-text {
  display: block; text-align: center; color: #9ca3af;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 10px 16px; border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.12); text-decoration: none; transition: color 0.2s;
}
.gc-mobile-text:hover { color: #fff; }

/* ── Shared page scaffolding ──────────────────────────────────────────── */
.blog-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(242,245,250,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,245,250,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.grad-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* ── Blog index ───────────────────────────────────────────────────────── */
.bi-hero { padding: 148px 24px 56px; position: relative; overflow: hidden; background: linear-gradient(180deg, #040a18 0%, var(--surface-0) 100%); }
.bi-hero-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }
.bi-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--h1); line-height: 1.05; letter-spacing: -0.02em; color: #fff; margin: 16px 0 18px; max-width: 15ch; }
.bi-hero .lede { font-size: var(--text-lg); color: var(--ink-2); line-height: 1.65; max-width: 52ch; }

.bi-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.bi-chip {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink-2);
  padding: 8px 15px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  cursor: pointer; transition: all var(--duration-fast) var(--ease-standard);
}
.bi-chip:hover { color: #fff; border-color: rgba(242,245,250,0.4); background: var(--accent-tint-weak); }
.bi-chip.active { color: var(--on-accent); background: var(--accent); border-color: var(--accent); font-weight: 700; }

.bi-main { padding: 24px 24px var(--space-16); position: relative; }
.bi-wrap { max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }

/* Featured card */
.bi-featured {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 0;
  background: linear-gradient(165deg, var(--surface-1), #060d1f);
  border: 1px solid rgba(242,245,250,0.22);
  border-radius: var(--radius-xl); overflow: hidden;
  margin-bottom: var(--space-12);
  transition: border-color var(--duration-normal) var(--ease-standard), transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) var(--ease-standard);
}
.bi-featured:hover { border-color: rgba(242,245,250,0.5); transform: translateY(-3px); box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px var(--accent-glow-soft); }
.bi-featured-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.bi-featured-body h2 { font-family: var(--font-display); font-size: var(--h3); font-weight: 800; letter-spacing: -0.02em; line-height: var(--leading-snug); color: #fff; }
.bi-featured-body p { color: var(--ink-2); font-size: var(--text-base); line-height: 1.65; max-width: 52ch; }
.bi-featured-side {
  border-left: 1px solid var(--border);
  background: rgba(2,6,16,0.45);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.bi-featured-stat .num { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--accent-soft); line-height: 1; letter-spacing: -0.02em; }
.bi-featured-stat .lbl { font-size: var(--text-sm); color: var(--ink-2); margin-top: 5px; }
@media (max-width: 820px) {
  .bi-featured { grid-template-columns: 1fr; }
  .bi-featured-side { border-left: none; border-top: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; gap: 24px; justify-content: flex-start; }
}

/* Post cards */
.bi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .bi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bi-grid { grid-template-columns: 1fr; } }
.bi-card {
  position: relative;
  display: flex; flex-direction: column; gap: 13px;
  background: rgba(10,22,40,0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 24px 22px 22px;
  transition: border-color var(--duration-fast) var(--ease-standard), transform var(--duration-normal) var(--ease-out-expo), background var(--duration-fast) var(--ease-standard);
}
.bi-card:hover { border-color: rgba(242,245,250,0.45); background: rgba(10,22,40,0.85); transform: translateY(-3px); }
.bi-card.hidden { display: none; }
.bi-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bi-card-num { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; color: var(--ink-3); letter-spacing: 0.1em; }
.bi-cat {
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--accent-soft); background: var(--accent-tint-weak);
  border: 1px solid rgba(242,245,250,0.22);
  border-radius: var(--radius-pill); padding: 3px 11px; white-space: nowrap;
}
.bi-card h3 { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; color: #f1f5f9; }
.bi-card:hover h3 { color: #fff; }
.bi-card p { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.6; flex: 1; }
.bi-card-meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-3); letter-spacing: 0.03em; }
.bi-card-meta .read-arrow { margin-left: auto; color: var(--accent); font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); transition: transform var(--duration-fast) var(--ease-standard); }
.bi-card:hover .read-arrow { transform: translateX(3px); }

/* ── Post images ──────────────────────────────────────────────────────── */
/* Featured card: full-width banner spanning both columns, clipped by card radius */
.bi-featured-media { grid-column: 1 / -1; display: block; width: 100%; height: clamp(190px, 24vw, 300px); object-fit: cover; }
/* Grid card: 16:9 image bleeding to the card edges (card has overflow:hidden) */
.bi-card-media { display: block; margin: -24px -22px 0; width: calc(100% + 44px); aspect-ratio: 16 / 9; object-fit: cover; }
/* Article hero cover, sits between the title block and the body */
.post-cover { max-width: 820px; margin: 6px auto 0; padding: 0 24px; position: relative; z-index: 1; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid rgba(242,245,250,0.18); box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.post-cover figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-3); letter-spacing: 0.03em; text-align: center; }

/* ── Article pages ────────────────────────────────────────────────────── */
.post-hero { padding: 148px 24px 40px; position: relative; overflow: hidden; background: linear-gradient(180deg, #040a18 0%, var(--surface-0) 100%); }
.post-hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.post-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-3); letter-spacing: 0.05em; margin-bottom: 22px; }
.post-crumbs a { color: var(--ink-2); transition: color var(--duration-fast); }
.post-crumbs a:hover { color: var(--accent-soft); }
.post-crumbs .sep { color: var(--ink-3); opacity: 0.6; }
.post-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); line-height: 1.1; letter-spacing: -0.018em; color: #fff; margin-bottom: 20px; }
.post-hero .lede { font-size: var(--text-lg); color: var(--ink-2); line-height: 1.65; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.post-meta-author { display: flex; align-items: center; gap: 10px; }
.post-meta-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--on-accent);
  flex-shrink: 0;
}
.post-meta-name { font-size: var(--text-sm); font-weight: 600; color: var(--ink-1); line-height: 1.3; }
.post-meta-role { font-size: var(--text-xs); color: var(--ink-2); font-family: var(--font-mono); letter-spacing: 0.03em; }
.post-meta-dates { margin-left: auto; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-3); letter-spacing: 0.04em; display: flex; gap: 12px; align-items: center; }
@media (max-width: 560px) { .post-meta-dates { margin-left: 0; } }

/* Body typography */
.post-body { padding: 8px 24px var(--space-16); position: relative; }
.post-body-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.post-body h2 { font-family: var(--font-display); font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: #fff; margin: 52px 0 18px; }
.post-body h3 { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; color: #f1f5f9; margin: 34px 0 12px; }
.post-body p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 18px; }
.post-body p strong, .post-body li strong { color: var(--ink-1); font-weight: 600; }
.post-body a:not(.post-cta-btn) { color: var(--accent-soft); border-bottom: 1px solid rgba(242,245,250,0.35); transition: border-color var(--duration-fast); }
.post-body a:not(.post-cta-btn):hover { border-color: var(--accent-soft); }
.post-body ul, .post-body ol { margin: 0 0 20px 0; padding-left: 24px; color: var(--ink-2); }
.post-body li { font-size: 1.0625rem; line-height: 1.7; margin-bottom: 10px; }
.post-body li::marker { color: var(--accent); }
.post-body blockquote {
  margin: 30px 0; padding: 6px 0 6px 24px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.25rem; line-height: 1.55; color: var(--ink-1);
}

/* TL;DR box — answer-first for AI search engines and skimmers */
.post-tldr {
  background: linear-gradient(165deg, rgba(10,22,40,0.9), rgba(6,13,31,0.9));
  border: 1px solid rgba(242,245,250,0.25);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin: 8px 0 40px;
}
.post-tldr .kicker { display: block; margin-bottom: 10px; }
.post-tldr p { color: var(--ink-1); font-size: var(--text-base); line-height: 1.7; margin: 0; }

/* Stat pull */
.post-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
@media (max-width: 640px) { .post-stat-row { grid-template-columns: 1fr; } }
.post-stat { background: rgba(10,22,40,0.6); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 18px 16px; }
.post-stat .num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--accent-soft); line-height: 1.1; letter-spacing: -0.02em; }
.post-stat .lbl { font-size: var(--text-sm); color: var(--ink-2); margin-top: 6px; line-height: 1.45; }

/* Callout */
.post-callout {
  display: flex; gap: 14px;
  background: var(--accent-tint-weak);
  border: 1px solid rgba(242,245,250,0.2);
  border-radius: var(--radius-md);
  padding: 20px 22px; margin: 30px 0;
}
.post-callout .icon { flex-shrink: 0; font-size: 18px; line-height: 1.5; }
.post-callout p { margin: 0; font-size: var(--text-base); color: var(--ink-1); }
.post-callout p + p { margin-top: 10px; }

/* Tables */
.post-table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--border); border-radius: var(--radius-md); }
.post-table { width: 100%; border-collapse: collapse; min-width: 560px; background: rgba(10,22,40,0.45); }
.post-table th {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft);
  text-align: left; padding: 13px 16px;
  background: rgba(2,6,16,0.6); border-bottom: 1px solid rgba(242,245,250,0.2);
}
.post-table td { padding: 13px 16px; font-size: var(--text-sm); color: var(--ink-2); border-bottom: 1px solid var(--border); line-height: 1.55; vertical-align: top; }
.post-table tr:last-child td { border-bottom: none; }
.post-table td:first-child { color: var(--ink-1); font-weight: 600; }

/* Inline CTA */
.post-cta {
  background: radial-gradient(ellipse at 20% 0%, rgba(159,176,196,0.16) 0%, transparent 55%), linear-gradient(165deg, var(--surface-1), #060d1f);
  border: 1px solid rgba(242,245,250,0.25);
  border-radius: var(--radius-lg);
  padding: 30px 30px 28px; margin: 44px 0;
}
.post-cta h3 { margin: 8px 0 10px; font-size: 1.3125rem; }
.post-cta p { font-size: var(--text-base); margin-bottom: 20px; }
.post-cta-btn {
  display: inline-block;
  background: var(--accent-gradient);
  color:#0a1018; font-family: var(--font-body); font-size: 15px; font-weight: 700;
  padding: 13px 26px; border-radius: var(--radius-pill);
  box-shadow: 0 10px 32px rgba(159,176,196,0.4);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
.post-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(159,176,196,0.55); }
.post-cta-sub { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-3); margin: 12px 0 0 !important; letter-spacing: 0.03em; }

/* FAQ */
.post-faq { margin: 30px 0 10px; display: flex; flex-direction: column; gap: 10px; }
.post-faq details { background: rgba(10,22,40,0.55); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color var(--duration-fast); }
.post-faq details[open] { border-color: rgba(242,245,250,0.35); }
.post-faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px;
  font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; color: var(--ink-1);
}
.post-faq summary::-webkit-details-marker { display: none; }
.post-faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 18px; flex-shrink: 0; transition: transform var(--duration-fast); }
.post-faq details[open] summary::after { transform: rotate(45deg); }
.post-faq .faq-a { padding: 0 20px 18px; }
.post-faq .faq-a p { font-size: var(--text-base); margin-bottom: 0; }

/* Author box */
.post-author {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: rgba(10,22,40,0.5);
  padding: 24px; margin-top: 56px;
}
.post-author .post-meta-avatar { width: 52px; height: 52px; font-size: 19px; }
.post-author-name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); color: #fff; }
.post-author-bio { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.6; margin: 6px 0 0 !important; }

/* Related posts */
.post-related { padding: 0 24px var(--space-16); }
.post-related-inner { max-width: 1080px; margin: 0 auto; }
.post-related h2 { font-family: var(--font-display); font-size: var(--h3); font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-bottom: 24px; }

/* Final CTA band */
.blog-final-cta {
  background: radial-gradient(ellipse at 50% 50%, rgba(159,176,196,0.18) 0%, transparent 60%), var(--surface-0);
  padding: 96px 24px; text-align: center;
}
.blog-final-cta h2 { font-family: var(--font-display); font-size: var(--h2); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: #fff; margin: 14px 0 16px; }
.blog-final-cta .lede { font-size: var(--text-lg); color: var(--ink-2); max-width: 54ch; margin: 0 auto 32px; }
.blog-final-cta .post-cta-sub { margin-top: 14px !important; }

/* Footer */
.blog-footer { padding: 36px 24px; border-top: 1px solid rgba(242,245,250,0.1); text-align: center; color: var(--ink-2); font-size: var(--text-xs); font-family: var(--font-body); }
.blog-footer a { color: var(--ink-2); transition: color var(--duration-fast); }
.blog-footer a:hover { color: var(--accent-soft); }

/* Sticky mobile CTA */
#sai-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: linear-gradient(180deg, rgba(2,6,16,0.85), rgba(2,6,16,0.98));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(242,245,250,0.2);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none; transform: translateY(100%); transition: transform 0.3s ease-out;
}
#sai-sticky-cta.visible { transform: translateY(0); }
#sai-sticky-cta-row { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
#sai-sticky-cta-book { flex: 1; background: var(--accent-gradient); color:#0a1018; font-size: 15px; font-weight: 700; padding: 13px; border-radius: 14px; text-align: center; box-shadow: 0 6px 18px rgba(159,176,196,0.4); }
#sai-sticky-cta-text { background: rgba(255,255,255,0.06); color: var(--ink-1); font-size: 15px; font-weight: 600; padding: 13px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 768px) { #sai-sticky-cta { display: block; } body { padding-bottom: 80px; } }
