/* ── pinpole light-theme blog styles ── */
:root {
  --bg: #f4f4f8;
  --bg-1: #eeecf5;
  --bg-card: #ffffff;
  --border: rgba(0,0,0,0.07);
  --border-mid: rgba(0,0,0,0.11);
  --text: #0d0c1a;
  --text-muted: #56536e;
  --text-subtle: #a09db8;
  --accent: #3b6af4;
  --accent-dim: rgba(59,106,244,0.08);
  --accent-dark: #2a59e3;
  --pro: #6b5ce7;
  --pro-dim: rgba(107,92,231,0.08);
  --amber: #d97706;
  --amber-dim: rgba(217,119,6,0.08);
  --green: #059669;
  --green-dim: rgba(5,150,105,0.09);
  --red: #dc2626;
  --red-dim: rgba(220,38,38,0.07);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Sora', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 3px; }

nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 62px;
  background: rgba(244,244,248,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--mono); font-size: 15px; font-weight: 500;
  color: var(--text); text-decoration: none; letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 6px;
}
.nav-logo .dot { color: var(--accent); font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 13.5px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #fff !important; font-weight: 600 !important;
  padding: 7px 18px; border-radius: 8px; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.hero {
  position: relative; overflow: hidden;
  padding: 4.5rem 2.5rem 4rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 85% 15%, rgba(59,106,244,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 45% 45% at 15% 85%, rgba(107,92,231,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { max-width: 820px; position: relative; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.5rem; }
.tag {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 6px; letter-spacing: 0.02em;
  background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(59,106,244,0.15);
}
.tag.pro { background: var(--pro-dim); color: var(--pro); border-color: rgba(107,92,231,0.15); }
.tag.neutral { background: var(--bg-1); color: var(--text-muted); border-color: var(--border-mid); }
.tag.amber { background: var(--amber-dim); color: var(--amber); border-color: rgba(217,119,6,0.18); }
.tag.green { background: var(--green-dim); color: var(--green); border-color: rgba(5,150,105,0.18); }
.tag.red, .tag.danger { background: var(--red-dim); color: var(--red); border-color: rgba(220,38,38,0.18); }

article h3.section-label {
  font-size: 1.02rem; font-weight: 600;
  margin: 1.8rem 0 0.75rem; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
article h3.section-label::before {
  content: '//';
  font-family: var(--mono); font-size: 13px;
  color: var(--text-subtle); font-weight: 400;
}

.migration-grid, .failure-grid, .scenario-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0;
}
.migration-card, .failure-card, .scenario-card {
  background: var(--bg-card); border: 1px solid var(--border-mid);
  border-radius: var(--radius); padding: 1.2rem;
}
.migration-card.keep, .scenario-card.warn { border-top: 3px solid var(--amber); }
.migration-card.upgrade, .scenario-card.good { border-top: 3px solid var(--accent); }
.migration-card h4, .failure-card h4, .scenario-card h4 {
  font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 0.5rem;
}
.migration-card p, .failure-card p, .scenario-card p {
  font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55;
}
.migration-card .price-tag {
  display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 2px 8px; border-radius: 4px; margin-bottom: 0.5rem;
  background: var(--bg-1); color: var(--text-muted); border: 1px solid var(--border-mid);
}
.failure-card { border-top: 3px solid var(--red); }

.workflow-steps { margin: 1.5rem 0; }
.workflow-step {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.3rem;
  margin-bottom: 0.75rem;
}
.workflow-step:hover { border-color: var(--border-mid); }
.step-num {
  flex-shrink: 0; width: 28px; height: 28px;
  background: var(--accent-dim); border: 1px solid rgba(59,106,244,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent);
}
.step-content h5 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.step-content p { font-size: 13px; color: var(--text-muted); margin: 0; }

.metric-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.6rem 0;
}
.metric-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.3rem; text-align: center;
}
.metric-num {
  font-family: var(--mono); font-size: 1.8rem; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.35rem;
}
.metric-num.danger { color: var(--red); }
.metric-num.good { color: var(--green); }
.metric-num.accent { color: var(--accent); }
.metric-num.amber { color: var(--amber); }
.metric-label { font-size: 12px; color: var(--text-subtle); }

.compare-grid:has(.compare-col) {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.compare-col {
  background: var(--bg-card); border: 1px solid var(--border-mid);
  border-radius: var(--radius); overflow: hidden;
}
.compare-col-head {
  padding: 0.8rem 1.2rem;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.compare-col.old .compare-col-head { background: var(--red-dim); color: var(--red); border-bottom: 1px solid rgba(220,38,38,0.15); }
.compare-col.new .compare-col-head { background: var(--green-dim); color: var(--green); border-bottom: 1px solid rgba(5,150,105,0.18); }
.compare-col-body { padding: 1rem 1.2rem; }
.compare-item {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.compare-item:last-child { border-bottom: none; }
.compare-item-icon { flex-shrink: 0; font-size: 12px; margin-top: 1px; }
.compare-col.old .compare-item-icon { color: var(--red); }
.compare-col.new .compare-item-icon { color: var(--green); }

.canvas-placeholder {
  background: var(--bg-card); border: 1.5px dashed var(--border-mid);
  border-radius: var(--radius-lg); margin: 1.75rem 0; overflow: hidden;
}
.canvas-placeholder-inner {
  padding: 2rem 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; min-height: 220px; text-align: center;
}
.canvas-placeholder-icon {
  width: 50px; height: 50px;
  background: var(--accent-dim); border: 1px solid rgba(59,106,244,0.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.canvas-placeholder-label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent);
}
.canvas-placeholder-desc {
  font-size: 13px; color: var(--text-subtle); max-width: 420px; line-height: 1.65;
}
.canvas-placeholder-bar {
  width: 100%; padding: 0.75rem 1.5rem;
  background: var(--bg-1); border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 1.5rem;
  font-family: var(--mono); font-size: 11px; color: var(--text-subtle);
  flex-wrap: wrap;
}
.canvas-bar-item { display: flex; align-items: center; gap: 5px; }
.canvas-bar-dot { width: 6px; height: 6px; border-radius: 50%; }
.canvas-bar-dot.healthy { background: var(--green); }
.canvas-bar-dot.warn { background: var(--amber); }
.canvas-bar-dot.error { background: var(--red); }

.rec-panel {
  background: var(--bg-card); border: 1px solid var(--border-mid);
  border-radius: var(--radius); margin: 1.5rem 0; overflow: hidden;
}
.rec-panel-head {
  padding: 0.7rem 1.2rem; background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-subtle);
}
.rec-item {
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--border);
  display: flex; gap: 1rem; align-items: flex-start;
}
.rec-item:last-child { border-bottom: none; }
.rec-severity {
  flex-shrink: 0; font-family: var(--mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 8px; border-radius: 4px; margin-top: 2px;
}
.sev-error { background: var(--red-dim); color: var(--red); border: 1px solid rgba(220,38,38,0.2); }
.sev-warn { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(217,119,6,0.2); }
.sev-info { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(59,106,244,0.2); }
.rec-body h5 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.rec-body p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.65; }
.rec-apply {
  margin-top: 0.65rem; display: inline-block;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 4px 12px; border-radius: 5px;
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(59,106,244,0.2);
}

.cost-snapshot {
  background: var(--bg-card); border: 1px solid var(--border-mid);
  border-radius: var(--radius); margin: 1.5rem 0; overflow: hidden;
}
.cost-snapshot-head {
  padding: 0.8rem 1.4rem;
  background: var(--green-dim); border-bottom: 1px solid rgba(5,150,105,0.18);
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--green);
}
.cost-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1.4rem; border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.cost-row:last-child { border-bottom: none; }
.cost-row-label { color: var(--text-muted); }
.cost-row-val { font-family: var(--mono); font-weight: 500; font-size: 14px; }
.cost-row-val.positive { color: var(--green); }
.cost-row-val.negative { color: var(--red); }
.cost-row-val.neutral { color: var(--text); }
.cost-row.highlight { background: var(--green-dim); }
.cost-row.winner { background: var(--green-dim); }

article h2.section-heading {
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em;
  margin: 2.5rem 0 1rem; padding-left: 1rem;
  border-left: 3px solid var(--accent); border-top: none; padding-top: 0;
}
.plan-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  padding: 3px 10px; border-radius: 4px;
  background: var(--pro-dim); color: var(--pro);
  border: 1px solid rgba(107,92,231,0.2);
  vertical-align: middle; margin-left: 8px;
}
.reveal {
  opacity: 1;
  transform: none;
}

.badge {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  padding: 2px 8px; border-radius: 4px; letter-spacing: 0.04em;
}
.badge-warn { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(217,119,6,0.2); }
.badge-info { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(59,106,244,0.15); }

.checklist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 0.7rem 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted);
}
.checklist li:last-child { border-bottom: none; }
.checklist .ck { color: var(--green); font-weight: 700; flex-shrink: 0; }
.hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.18; margin-bottom: 1.2rem; color: var(--text);
}
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 640px; line-height: 1.65; margin-bottom: 1.2rem;
}
.hero-meta {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
}
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-subtle); }

.page-body {
  max-width: 1160px; margin: 0 auto;
  padding: 3rem 2.5rem;
  display: grid; grid-template-columns: 1fr 300px; gap: 3rem;
  align-items: start;
}

article h2 {
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem; padding-top: 0.5rem;
  border-top: 2px solid var(--accent-dim); color: var(--text);
}
article h2:first-of-type { margin-top: 0; }
article h3 {
  font-size: 1.02rem; font-weight: 600;
  margin: 1.6rem 0 0.6rem; color: var(--text);
}
article p { font-size: 15px; color: var(--text-muted); margin-bottom: 1.1rem; line-height: 1.75; }
article p strong { color: var(--text); font-weight: 600; }
article ul, article ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
article li { font-size: 15px; color: var(--text-muted); margin-bottom: 0.55rem; line-height: 1.7; }
article li strong { color: var(--text); }
article code {
  font-family: var(--mono); font-size: 13px;
  background: var(--bg-1); padding: 2px 6px; border-radius: 4px;
  color: var(--text); border: 1px solid var(--border);
}

blockquote {
  margin: 1.6rem 0; padding: 1.2rem 1.5rem;
  background: var(--bg-1);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
blockquote p {
  color: var(--text); font-size: 15px; font-weight: 500;
  margin: 0; font-style: italic;
}

.callout {
  background: var(--bg-card); border: 1px solid var(--border-mid);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.4rem 0;
}
.callout-accent { background: var(--accent-dim); border-color: rgba(59,106,244,0.18); }
.callout-amber { background: var(--amber-dim); border-color: rgba(217,119,6,0.2); }
.callout-green { background: var(--green-dim); border-color: rgba(5,150,105,0.2); }
.callout-red { background: var(--red-dim); border-color: rgba(220,38,38,0.15); }
.callout-head {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem;
  color: var(--accent);
}
.callout-amber .callout-head { color: var(--amber); }
.callout-green .callout-head { color: var(--green); }
.callout-red .callout-head { color: var(--red); }
.callout p { margin: 0; font-size: 14px; color: var(--text-muted); }
.callout p + p { margin-top: 0.6rem; }

.table-wrap {
  overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--border-mid); margin: 1.4rem 0;
}
table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--bg-card); }
thead th {
  background: var(--bg-1); font-family: var(--mono); font-size: 11.5px;
  font-weight: 500; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.05em; padding: 10px 14px; text-align: left;
  border-bottom: 1px solid var(--border-mid);
}
tbody td { padding: 10px 14px; color: var(--text-muted); border-bottom: 1px solid var(--border); line-height: 1.5; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-1); }
td strong { color: var(--text); }
.check-y { color: var(--green); font-weight: 600; }
.check-n { color: var(--red); font-weight: 600; }
.check-p { color: var(--amber); }

.compare-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem; margin: 1.4rem 0;
}
.compare-card {
  background: var(--bg-card); border: 1px solid var(--border-mid);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
  border-top: 3px solid var(--accent);
}
.compare-card.warn { border-top-color: var(--amber); }
.compare-card.good { border-top-color: var(--green); }
.compare-card.bad { border-top-color: var(--red); }
.compare-card h4 { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.compare-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55; }

.cta-block {
  background: linear-gradient(135deg, var(--accent) 0%, var(--pro) 100%);
  border-radius: var(--radius-lg); padding: 2rem 2.2rem; margin: 2.2rem 0; color: #fff;
}
.cta-block h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; }
.cta-block p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 1.1rem; }
.cta-block a {
  display: inline-block;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600;
  padding: 9px 20px; border-radius: 8px; transition: background 0.2s;
}
.cta-block a:hover { background: rgba(255,255,255,0.3); }

.sidebar { position: sticky; top: 82px; }
.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1.1rem;
}
.sidebar-card h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-subtle); margin-bottom: 1rem;
}
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 0.5rem; }
.toc-list a {
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  display: block; padding: 3px 0;
  border-left: 2px solid transparent; padding-left: 10px; transition: all 0.2s;
}
.toc-list a:hover { color: var(--accent); border-left-color: var(--accent); }

.stat-big { text-align: center; padding: 0.5rem; }
.stat-big .num {
  font-family: var(--mono); font-size: 2.2rem; font-weight: 700;
  color: var(--accent); letter-spacing: -0.03em; line-height: 1;
}
.stat-big .label { font-size: 12px; color: var(--text-subtle); margin-top: 6px; line-height: 1.45; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  margin-bottom: 2rem; transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

.related {
  border-top: 1px solid var(--border); padding-top: 1.6rem; margin-top: 2.4rem;
}
.related h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-subtle); margin-bottom: 1rem;
}
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 0.5rem; font-size: 14px; }
.related a { color: var(--accent); text-decoration: none; }
.related a:hover { text-decoration: underline; }

footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 2.5rem; text-align: center;
}
footer p { font-size: 13px; color: var(--text-subtle); }
footer a { color: var(--accent); text-decoration: none; }
.footer-logo { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 0.6rem; }
.footer-logo span { color: var(--accent); }

/* ── Blog index (/blog) ── */
.blog-index-header {
  padding: 4rem 2.5rem 3rem;
  max-width: 1160px; margin: 0 auto;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.blog-index-header .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--text-subtle);
  margin-bottom: 1.5rem;
}
.blog-index-header .breadcrumb a { color: var(--text-muted); text-decoration: none; }
.blog-index-header .breadcrumb a:hover { color: var(--accent); }
.blog-index-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
  margin-bottom: 0.75rem; color: var(--text);
}
.blog-index-header h1 em { font-style: normal; color: var(--accent); }
.blog-index-header .lead {
  font-size: 1.05rem; color: var(--text-muted); max-width: 560px; line-height: 1.6;
}
.filter-bar {
  max-width: 1160px; margin: 0 auto; padding: 2rem 2.5rem 0;
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--mono); font-size: 12px;
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid var(--border-mid);
  background: var(--bg-card); color: var(--text-muted);
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-btn:hover { color: var(--text); border-color: var(--accent); }
.filter-btn.active {
  background: var(--accent-dim); border-color: rgba(59,106,244,0.35); color: var(--accent);
}
.blog-grid {
  max-width: 1160px; margin: 0 auto;
  padding: 2.5rem 2.5rem 4rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  border-color: rgba(59,106,244,0.25);
  box-shadow: 0 8px 28px rgba(59,106,244,0.08);
  transform: translateY(-2px);
}
.blog-card.featured {
  grid-column: 1 / -1;
  flex-direction: row; align-items: flex-start; gap: 2rem; padding: 2rem;
}
.blog-card .card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.blog-card .card-title {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.35; color: var(--text);
}
.blog-card.featured .card-title { font-size: 1.35rem; }
.blog-card .card-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card .card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.blog-card .card-date { font-family: var(--mono); font-size: 11px; color: var(--text-subtle); }
.blog-card .card-link { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.blog-card .card-aside {
  flex-shrink: 0; display: flex; flex-direction: column;
  align-items: flex-end; gap: 0.75rem;
}
.read-time { font-family: var(--mono); font-size: 11px; color: var(--text-subtle); }
.topic-pill {
  font-family: var(--mono); font-size: 10px; color: var(--text-subtle);
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 8px;
}
.card-topics { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.blog-index-cta {
  max-width: 1160px; margin: 0 auto 4rem; padding: 0 2.5rem;
}
.blog-index-cta .cta-inner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--pro) 100%);
  border-radius: var(--radius-lg); padding: 2.5rem 2.75rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; color: #fff;
}
.blog-index-cta h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.4rem; color: #fff; }
.blog-index-cta p { font-size: 0.9375rem; color: rgba(255,255,255,0.88); max-width: 480px; }
.blog-index-cta .cta-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.btn-primary-light {
  background: #fff; color: var(--accent-dark); font-size: 14px; font-weight: 600;
  padding: 10px 22px; border-radius: 8px; text-decoration: none;
}
.btn-ghost-light {
  background: rgba(255,255,255,0.15); color: #fff; font-size: 14px;
  padding: 10px 22px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.35);
  text-decoration: none;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 900px) {
  .page-body { grid-template-columns: 1fr; padding: 2rem 1.4rem; }
  .sidebar { position: static; }
  nav { padding: 0 1.2rem; }
  .hero { padding: 3rem 1.4rem 2.5rem; }
  .compare-grid { grid-template-columns: 1fr; }
  .migration-grid, .failure-grid, .scenario-grid { grid-template-columns: 1fr; }
  .compare-grid:has(.compare-col) { grid-template-columns: 1fr; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .blog-card.featured { flex-direction: column; }
  .blog-card.featured .card-aside { align-items: flex-start; flex-direction: row; }
  .blog-index-cta .cta-inner { flex-direction: column; align-items: flex-start; }
  .blog-index-header, .filter-bar, .blog-grid, .blog-index-cta { padding-left: 1.25rem; padding-right: 1.25rem; }
}
