*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #1a1a24;
  --border: #ffffff10;
  --border2: #ffffff20;
  --accent: #7c6ff7;
  --accent2: #a78bfa;
  --green: #22d3a0;
  --text: #f0eeff;
  --muted: #8882aa;
  --danger: #f07878;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.glow {
  position: fixed;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, #7c6ff71a 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
.topnav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1160px;
  margin: 0 auto;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.2px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg {
  width: 32px;
  height: 32px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-link:hover {
  color: var(--text);
  background: var(--surface2);
}
.nav-compress {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 8px 18px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 16px #7c6ff740;
}
.nav-compress:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px #7c6ff760;
}
.nav-compress svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── PAGE LAYOUT ── */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .page-wrap {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
}

/* ── ARTICLE ── */
article {
  min-width: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent2);
}
.breadcrumb svg {
  width: 11px;
  height: 11px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Post header */
.post-header {
  margin-bottom: 40px;
}
.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  background: #22d3a015;
  color: var(--green);
  border: 1px solid #22d3a030;
}
.post-tag svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1.post-title {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 16px;
}

.post-lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 24px;
  font-style: italic;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.post-meta svg {
  width: 13px;
  height: 13px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reading-badge {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}

/* Hero image area */
.post-hero {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1428 0%, #111128 50%, #0f1820 100%);
  border: 1px solid var(--border2);
  margin: 32px 0 40px;
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 32px,
      #ffffff03 32px,
      #ffffff03 33px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 32px,
      #ffffff03 32px,
      #ffffff03 33px
    );
}
.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 260px;
}
.hero-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-bar {
  height: 12px;
  border-radius: 6px;
}
.hero-bar.original {
  background: linear-gradient(90deg, #ffffff30, #ffffff20);
  width: 100%;
}
.hero-bar.compressed {
  background: linear-gradient(90deg, var(--accent2), var(--green));
  animation: compress 3s ease-in-out infinite alternate;
}
.hero-bar-label {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  min-width: 80px;
}
.hero-bar-size {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 48px;
  text-align: right;
}
.hero-bar-size.big {
  color: var(--danger);
}
.hero-bar-size.small {
  color: var(--green);
}
.hero-arrow {
  color: var(--green);
  font-size: 20px;
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}
.hero-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes compress {
  from {
    width: 90%;
  }
  to {
    width: 38%;
  }
}

/* ── ARTICLE BODY ── */
.post-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.post-body p {
  margin-bottom: 20px;
}
.post-body p:last-child {
  margin-bottom: 0;
}
.post-body strong {
  color: var(--text);
  font-weight: 500;
}
.post-body em {
  font-style: italic;
  color: var(--text);
}
.post-body a {
  color: var(--accent2);
  text-decoration: none;
}
.post-body a:hover {
  text-decoration: underline;
}

/* Headings */
.post-body h2 {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 48px 0 16px;
  line-height: 1.2;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.post-body h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.post-body h3 {
  font-family: "IBM Plex Serif", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 12px;
  letter-spacing: -0.2px;
}

/* Callout boxes */
.callout {
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout.tip {
  background: #22d3a010;
  border: 1px solid #22d3a028;
}
.callout.info {
  background: #7c6ff710;
  border: 1px solid #7c6ff728;
}
.callout.warn {
  background: #f0a05010;
  border: 1px solid #f0a05028;
}
.callout-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.callout.tip .callout-icon {
  background: #22d3a020;
}
.callout.info .callout-icon {
  background: #7c6ff720;
}
.callout.warn .callout-icon {
  background: #f0a05020;
}
.callout-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.callout.tip .callout-icon svg {
  stroke: var(--green);
}
.callout.info .callout-icon svg {
  stroke: var(--accent2);
}
.callout.warn .callout-icon svg {
  stroke: #f0a050;
}
.callout-body {
  flex: 1;
}
.callout-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.callout.tip .callout-title {
  color: var(--green);
}
.callout.info .callout-title {
  color: var(--accent2);
}
.callout.warn .callout-title {
  color: #f0a050;
}
.callout-body p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}
.callout-body p strong {
  color: var(--text);
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.compare-table th {
  font-family: "IBM Plex Serif", serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border2);
  background: var(--surface2);
}
.compare-table th:first-child {
  border-radius: 10px 0 0 0;
}
.compare-table th:last-child {
  border-radius: 0 10px 0 0;
}
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: middle;
  line-height: 1.5;
}
.compare-table td:first-child {
  color: var(--text);
  font-weight: 500;
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table tr:hover td {
  background: #ffffff03;
}
.yes {
  color: var(--green);
  font-weight: 600;
}
.no {
  color: var(--danger);
  font-weight: 600;
}
.maybe {
  color: #f0a050;
  font-weight: 600;
}

/* Step cards */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: var(--border2);
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 22, var(--accent2) 22);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Serif", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent2);
  position: relative;
  z-index: 1;
}
.step-body {
  flex: 1;
  padding-top: 8px;
}
.step-body h4 {
  font-family: "IBM Plex Serif", serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.step-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Checklist */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-icon.ok {
  background: #22d3a015;
  border: 1px solid #22d3a030;
}
.check-icon.ok svg {
  width: 11px;
  height: 11px;
  stroke: var(--green);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check-icon.bad {
  background: #f0787815;
  border: 1px solid #f0787830;
}
.check-icon.bad svg {
  width: 11px;
  height: 11px;
  stroke: var(--danger);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Stat boxes */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
@media (max-width: 500px) {
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.stat-val {
  font-family: "IBM Plex Serif", serif;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent2), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 24px 0;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.faq-q:hover {
  background: var(--surface2);
}
.faq-q span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.faq-q svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 400px;
}
.faq-a p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.faq-a p strong {
  color: var(--text);
}

/* In-article CTA */
.inline-cta {
  background: linear-gradient(135deg, #1a1428, #111128);
  border: 1px solid var(--border2);
  border-radius: 18px;
  padding: 28px 28px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.inline-cta::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, #7c6ff720 0%, transparent 70%);
}
.inline-cta-text h3 {
  font-family: "IBM Plex Serif", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}
.inline-cta-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 360px;
}
a.inline-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px #7c6ff740;
  white-space: nowrap;
}
.inline-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px #7c6ff760;
}
.inline-cta-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Post footer */
.post-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}
.share-label {
  font-size: 13px;
  color: var(--muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.share-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}
.share-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── SIDEBAR ── */
.sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Table of contents */
.toc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.toc-card h4 {
  font-family: "IBM Plex Serif", serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.toc-card h4 svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent2);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.toc-list a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 7px;
  transition: all 0.2s;
  line-height: 1.4;
}
.toc-list a:hover,
.toc-list a.active {
  background: var(--surface2);
  color: var(--accent2);
}
.toc-list a.active {
  border-left: 2px solid var(--accent2);
  padding-left: 10px;
}
.toc-list .toc-sub {
  padding-left: 14px;
  font-size: 12px;
}

/* CTA card sidebar */
.cta-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 18px;
  overflow: hidden;
}
.cta-card-top {
  padding: 18px 20px 0;
  background: linear-gradient(160deg, #1a1428 0%, #111118 100%);
}
.cta-anim {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 0 18px;
}
.cta-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent2), var(--green));
  animation: pulseBar 3s ease-in-out infinite;
}
.cta-bar.b1 {
  width: 100%;
  animation-delay: 0s;
}
.cta-bar.b2 {
  width: 60%;
  animation-delay: 0.15s;
}
.cta-bar.b3 {
  width: 35%;
  animation-delay: 0.3s;
}
.cta-bar-label {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
@keyframes pulseBar {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
.cta-card-body {
  padding: 16px 20px 20px;
}
.cta-card h3 {
  font-family: "IBM Plex Serif", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin-bottom: 7px;
  color: var(--text);
}
.cta-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.cta-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 16px #7c6ff740;
}
.cta-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px #7c6ff760;
}
.cta-card-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-subtext {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.4;
}

/* Related posts */
.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.related-card h4 {
  font-family: "IBM Plex Serif", serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.related-card h4 svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent2);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.related-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}
.related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.related-item:hover .related-title {
  color: var(--accent2);
}
.related-tag-sm {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.related-title {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.2s;
}
.related-meta-sm {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  display: flex;
  gap: 8px;
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 64px;
  padding: 28px 20px 36px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
footer a {
  color: var(--accent2);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ── PROGRESS BAR ── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent), var(--green));
  width: 0%;
  transition: width 0.1s linear;
}