*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #1a1a2e;
  --dark-bg: #1c1c1c;
  --dark-deep: #111111;
  --white: #ffffff;
  --off-white: #f7f7f5;
  --light-gray: #f2f2f0;
  --gray-100: #e8e8e5;
  --gray-200: #d0d0cc;
  --gray-300: #a0a09a;
  --gray-400: #787872;
  --gray-500: #555550;
  --text-dark: #1a1a1a;
  --text-body: #484848;
  --text-muted: #6b6b6b;
  --text-light: #9a9a9a;
  --accent: #3b7ddb;
  --accent-hover: #2e6bc4;
  --accent-soft: rgba(74, 143, 231, 0.08);
  --border: #e5e5e2;
  --border-light: #efefec;
  --card-bg: #f5f5f2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ==================== READING PROGRESS BAR ==================== */
.reading-progress {
  position: fixed;
  top: 60px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 999;
  transition: width 0.1s linear;
}

/* ==================== NAVIGATION ==================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  height: 60px;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav.scrolled .logo-white { display: none !important; }
.nav.scrolled .logo-dark { display: inline-block !important; }

.nav.scrolled .nav-links a { color: var(--text-dark); }

.nav.scrolled .nav-signin {
  background: var(--text-dark);
  color: var(--white);
  border: 1px solid transparent;
}

.nav-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s;
}

.nav-links a:hover { opacity: 0.7; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-signin {
  background: transparent;
  color: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-signin:hover { opacity: 0.85; }

.btn-demo {
  background: #e2f237;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-demo:hover { background: #d4e42e; }

.mobile-signin-item { display: none; }

.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--white);
}

.nav.scrolled .mobile-menu { color: var(--text-dark); }

/* ==================== ARTICLE HERO ==================== */
.article-hero {
  position: relative;
  width: 100%;
  background: linear-gradient(165deg, #040412 0%, #0a0e38 25%, #152a5c 50%, #1c366c 75%, #24447c 100%);
  padding: 140px 24px 80px;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(68, 106, 160, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.article-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(68, 106, 160, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.article-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.article-breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.article-breadcrumb a:hover { color: rgba(255,255,255,0.9); }

.article-breadcrumb svg { opacity: 0.4; }

.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  background: var(--accent);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.article-tag.tag-compliance { background: #e0f2fe; color: #2196F3; }
.article-tag.tag-operations { background: #fef3c7; color: #F59E0B; }
.article-tag.tag-industry { background: #eef0ff; color: #7C3AED; }
.article-tag.tag-technology { background: #e8f5e9; color: #10B981; }
.article-tag.tag-families { background: #fce4ec; color: #EF4444; }
.article-tag.tag-finance { background: #e8f5e9; color: #16a34a; }

.article-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.article-hero .article-excerpt {
  font-size: 19px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.article-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

.article-meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-meta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.article-meta-name {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ==================== HERO IMAGE ==================== */
.article-hero-img {
  width: 100%;
  max-width: 960px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.article-hero-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
}

.article-hero-img .img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f2f3f5 0%, #e9eaed 50%, #f5f6f8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}

.article-hero-img .img-placeholder svg {
  opacity: 0.2;
}

.article-hero-img .img-placeholder span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ==================== MID-ARTICLE IMAGE ==================== */
.article-mid-img {
  margin: 40px 0;
}

.article-mid-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.article-mid-img .img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f2f3f5 0%, #e9eaed 50%, #f5f6f8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.article-mid-img .img-placeholder svg {
  opacity: 0.2;
}

.article-mid-img .img-placeholder span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.article-mid-img figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}

/* ==================== TABLE OF CONTENTS ==================== */
/* Inline TOC: hidden on desktop, visible on mobile only */
.article-toc {
  max-width: 720px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: none;
}

.article-toc-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
}

.article-toc-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.article-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-toc-list li {
  border-left: 2px solid var(--border);
  padding: 8px 0 8px 16px;
  transition: border-color 0.2s;
}

.article-toc-list li:hover {
  border-left-color: var(--accent);
}

.article-toc-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.article-toc-list a:hover {
  color: var(--text-dark);
}

/* ==================== ARTICLE BRIEF ==================== */
.article-brief {
  max-width: 780px;
  margin: 28px auto 0;
  padding: 0 28px;
}

.article-brief-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.article-brief-card { min-width: 0; }
.article-brief-label { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 10px; }
.article-brief-title { font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.4px; line-height: 1.25; color: var(--text-dark); margin-bottom: 8px; }
.article-brief-text { font-size: 14px; line-height: 1.7; color: var(--text-body); }
.article-brief-list { list-style: none; display: grid; gap: 12px; }
.article-brief-list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--text-body); }
.article-brief-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ==================== REDESIGN TUNING ==================== */
.article-hero-inner,
.article-toc,
.article-body,
.article-footer,
.related-posts { max-width: 780px; }
.article-hero-img { max-width: 1080px; }
.article-hero .article-excerpt { max-width: 680px; }
.article-toc { padding: 0 28px; }
.article-toc-inner { padding: 30px 36px; }
.article-body { padding: 64px 28px 56px; }
.article-body p,
.article-body li { font-size: 17.5px; }
.article-body h2 { margin-top: 64px; }
.article-body blockquote,
.article-callout { margin: 44px 0; }
.article-footer,
.related-posts { padding-left: 28px; padding-right: 28px; }
.sidebar-toc { left: max(24px, calc((100vw - 780px) / 2 - 240px)); }

/* ==================== ARTICLE BODY ==================== */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 48px;
}

.article-body .drop-cap::first-letter {
  float: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 68px;
  font-weight: 800;
  line-height: 0.85;
  margin-right: 10px;
  margin-top: 6px;
  color: var(--text-dark);
}

.article-body h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text-dark);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-top: 8px;
}

.article-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--text-dark);
  margin-top: 36px;
  margin-bottom: 12px;
}

.article-body p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 22px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 0;
  list-style: none;
}

.article-body li {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.article-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.article-body blockquote {
  border: none;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px 24px 28px 28px;
  margin: 40px 0;
  position: relative;
}

.article-body blockquote::before {
  content: '\201C';
  font-family: 'DM Sans', serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  position: absolute;
  top: 4px;
  left: 20px;
  line-height: 1;
  opacity: 0.35;
}

.article-body blockquote p {
  font-size: 1.15em;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  padding-left: 8px;
  line-height: 1.7;
}

.article-body strong {
  color: var(--text-dark);
  font-weight: 600;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(59, 125, 219, 0.55);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.article-body a:hover {
  text-decoration-color: var(--accent);
}

.article-callout {
  background: var(--accent-soft);
  border: 1px solid rgba(74, 143, 231, 0.15);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px 32px;
  margin: 40px 0;
}

.article-callout p {
  font-size: 15.5px;
  color: var(--text-body);
  margin-bottom: 0;
  line-height: 1.7;
}

.article-callout p:first-child {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-callout p:first-child::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  flex-shrink: 0;
}

/* ==================== STAT CALLOUT ==================== */
.stat-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 40px 0;
  overflow: hidden;
}

.stat-callout.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

.stat-callout-item {
  padding: 32px;
  text-align: center;
}

.stat-callout-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat-callout-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-callout-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==================== OBJECTION CARDS ==================== */
.objection-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gray-200);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px 32px;
  margin-bottom: 16px;
  transition: border-left-color 0.2s, box-shadow 0.2s;
}

.objection-card:hover {
  border-left-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.objection-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 0 !important;
  margin-bottom: 10px;
}

.objection-card p {
  font-size: 16px !important;
  color: var(--text-body);
  margin-bottom: 0 !important;
  line-height: 1.75;
}

/* ==================== AUTHOR BIO ==================== */
.author-bio {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.author-bio-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-bio-text {
  display: flex;
  flex-direction: column;
}

.author-bio-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.author-bio-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-top: 2px;
}

/* ==================== SIDEBAR TOC ==================== */
.sidebar-toc {
  position: fixed;
  left: max(24px, calc((100vw - 720px) / 2 - 240px));
  top: 100px;
  width: 200px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sidebar-toc.visible {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.sidebar-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sidebar-toc-list li {
  border-left: 2px solid var(--border);
  padding: 6px 0 6px 12px;
  transition: border-color 0.2s;
}

.sidebar-toc-list li.active {
  border-left-color: var(--accent);
}

.sidebar-toc-list a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
  line-height: 1.4;
  display: block;
}

.sidebar-toc-list li.active a {
  color: var(--accent);
  font-weight: 600;
}

.sidebar-toc-list a:hover {
  color: var(--text-dark);
}

/* ==================== RELATED POSTS ==================== */
.related-posts {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.related-posts-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.related-posts-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-post-card {
  display: flex;
  flex-direction: row;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.related-post-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateX(4px);
}

.related-post-thumb {
  width: 180px;
  flex-shrink: 0;
  aspect-ratio: auto;
  min-height: 100px;
  background: linear-gradient(135deg, #f2f3f5 0%, #e9eaed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-post-thumb svg {
  opacity: 0.15;
}

.related-post-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.related-post-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}

.related-post-body h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.related-post-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==================== SECTION DIVIDER ==================== */
.section-break {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 48px 0;
}

.section-break-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-200);
}

/* ==================== ARTICLE FOOTER ==================== */
.article-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.article-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}

.article-cta {
  background: linear-gradient(135deg, #0a1628 0%, #162a50 40%, #1c3a6e 70%, #1a2f5a 100%);
  border: none;
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 50px rgba(10,22,40,0.25);
}
.article-cta::before, .article-cta::after { display: none; }
.article-cta-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.article-cta-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  line-height: 1.6;
}
.article-cta-form {
  display: flex;
  gap: 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 5px;
  align-items: center;
  max-width: 460px;
  margin: 0 auto;
}
.article-cta-form input[type="email"] {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-dark);
  flex: 1;
  outline: none;
  min-width: 0;
}
.article-cta-form input[type="email"]::placeholder {
  color: var(--text-light);
}
.article-cta-form button {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  background: #e2f237;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.article-cta-form button:hover {
  background: #d4e42e;
  transform: translateY(-1px);
}
.article-cta-msg {
  font-size: 14px;
  color: #ffffff;
  margin-top: 12px;
  font-weight: 600;
}
.article-cta-trust { font-size: 13px; color: rgba(255, 255, 255, 0.4); margin-top: 16px; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 40px;
  transition: color 0.2s, gap 0.2s;
}

.article-back:hover { color: var(--text-dark); gap: 12px; }

/* ==================== SHARE BAR ==================== */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.article-share-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}

.article-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.article-share-btn:hover {
  background: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
}

/* ==================== TRUST STRIP ==================== */
.trust-strip {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.trust-strip-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 24px;
}

.trust-item svg { flex-shrink: 0; opacity: 0.6; }

.trust-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 60px 0 40px;
  background: var(--dark-deep);
  color: rgba(255,255,255,0.6);
}

.footer .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ==================== RESPONSIVE ==================== */

/* Sidebar TOC only on wide screens */
@media (max-width: 1280px) {
  .sidebar-toc { display: none !important; }
  .article-toc { display: block; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .related-posts-grid { flex-direction: column; }
  .related-post-card:last-child { display: flex; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .mobile-menu { display: block; color: var(--white); }
  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #111111;
    padding: 8px 0 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }
  .nav.nav-open .nav-links li { list-style: none; }
  .nav.nav-open .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    color: rgba(255,255,255,0.9) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav.nav-open .nav-links li:last-child a { border-bottom: none; }
  .mobile-signin-item { display: block; }
  .nav-right .nav-signin { display: none; }
  .nav-right .btn-demo { display: inline-flex; font-size: 12px; padding: 6px 14px; height: 32px; }

  .article-hero { padding: 110px 20px 56px; }
  .article-hero h1 { font-size: 30px; letter-spacing: -1px; }
  .article-hero .article-excerpt { font-size: 16px; }
  .author-bio { margin-top: 12px; }
  .author-bio-avatar { width: 40px; height: 40px; font-size: 14px; }
  .author-bio-name { font-size: 13px; }
  .author-bio-desc { font-size: 12px; }
  .article-hero-img { margin-top: -24px; padding: 0 16px; }
  .article-hero-img img, .article-hero-img .img-placeholder { border-radius: var(--radius-lg); aspect-ratio: 16 / 8; }

  /* Mobile TOC accordion */
  .article-toc { margin-top: 0; padding: 0 16px; }
  .article-toc-inner { padding: 0; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: none; }
  .article-toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .article-toc-toggle svg {
    transition: transform 0.2s;
    color: var(--text-light);
  }
  .article-toc-inner.toc-open .article-toc-toggle svg {
    transform: rotate(180deg);
  }
  .article-toc-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
  }
  .article-toc-inner.toc-open .article-toc-list {
    max-height: 500px;
    padding: 0 20px 16px;
  }

  .article-brief { padding: 0 16px; }
  .article-brief-inner { grid-template-columns: 1fr; padding: 22px 20px; }
  .article-body { padding: 40px 16px 40px; }
  .article-footer, .related-posts { padding-left: 16px; padding-right: 16px; }
  .article-body { padding-top: 40px; }
  .article-body h2 { font-size: 22px; margin-top: 40px; }
  .article-body h3 { font-size: 18px; }
  .article-body p, .article-body li { font-size: 15.5px; }
  .article-body blockquote { padding: 24px 20px 24px 24px; }
  .article-body blockquote::before { font-size: 48px; top: 2px; left: 14px; }
  .article-body .drop-cap::first-letter { font-size: 52px; }

  .stat-callout { grid-template-columns: 1fr; }
  .stat-callout.three-col { grid-template-columns: 1fr; }
  .stat-callout-item:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-callout-number { font-size: 36px; }
  .stat-callout-item { padding: 24px 16px; }
  .objection-card { padding: 24px; }

  .related-posts { padding: 0 16px 48px; }
  .related-posts-grid { flex-direction: column; }
  .related-post-card { flex-direction: column; }
  .related-post-thumb { width: 100%; min-height: 140px; }
  .related-post-card:last-child { display: flex; }

  .article-cta { padding: 32px 20px; }
  .article-cta-heading { font-size: 20px; }
  .article-cta-form { flex-direction: column; gap: 8px; background: none; padding: 0; border-radius: 0; }
  .article-cta-form input[type="email"] { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; }
  .article-cta-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
  .article-cta-form button { width: 100%; text-align: center; border-radius: 10px; }
  .trust-strip-inner { gap: 4px; justify-content: center; flex-wrap: nowrap; padding: 0 16px; }
  .trust-item { padding: 4px 8px; font-size: 11px; white-space: nowrap; }
  .trust-divider { display: none; }

  .footer .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* Desktop: hide mobile TOC toggle */
@media (min-width: 769px) {
  .article-toc-toggle { display: none; }
  .article-toc-list { max-height: none !important; overflow: visible !important; }
}

/* ==================== BACK TO TOP BUTTON ==================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a1a1a;
  border: none;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
