/* ===== Custom Properties ===== */
:root {
  --green: #22C55E;
  --green-hover: #16A34A;
  --green-light: #F0FDF4;
  --black: #111827;
  --gray-900: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --container: 1140px;
  --nav-height: 72px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--black); line-height: 1.2; font-weight: 700; }

/* ===== Utilities ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.btn-text {
  background: transparent;
  color: var(--black);
  padding: 12px 0;
  border: none;
}
.btn-text:hover { color: var(--green-hover); }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--nav-height);
}
.navbar .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 28px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }
.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  max-width: 720px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.social-proof-label {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}
.logo-scroll {
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-scroll-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: logo-marquee 12s linear infinite;
}
.logo-scroll-track img {
  width: auto;
  flex-shrink: 0;
}
/* bitespeed (1st, 4th) */
.logo-scroll-track img:nth-child(3n+1) { height: 64px; }
/* rh (2nd, 5th) */
.logo-scroll-track img:nth-child(3n+2) { height: 54px; }
/* pbs (3rd, 6th) */
.logo-scroll-track img:nth-child(3n)   { height: 28px; }
@keyframes logo-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Process ===== */
.process {
  padding: 80px 0;
  background: var(--gray-50);
}
.process .section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.process .section-header h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.process .section-header p {
  font-size: 16px;
  color: var(--gray-600);
}
.process .section-header .stat {
  font-weight: 700;
  color: var(--black);
  display: block;
  margin-bottom: 4px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.step:hover {
  box-shadow: var(--shadow-md);
}
.step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green);
}
.step h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}
.step-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-color: var(--green);
}
.step-cta h3 {
  margin-bottom: 16px;
}

/* ===== Differentiator ===== */
.differentiator {
  padding: 80px 0;
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.diff-left h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.diff-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.diff-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.checkmark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.diff-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.diff-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== About / Bio ===== */
.about {
  padding: 80px 0;
  background: var(--gray-50);
}
.about > .container > h2 {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 48px;
}
.about-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about-text {
  padding: 48px 44px;
}
.about-text h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.about-text > p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.7;
}
.about-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}
.about-checks .check-icon {
  flex-shrink: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  margin-top: 1px;
}
.about-ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.about-photo {
  display: flex;
  align-items: stretch;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo .photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 14px;
}

/* ===== Pricing ===== */
.pricing {
  padding: 80px 0;
}
.pricing .section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.pricing .section-header h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.pricing .section-header p {
  font-size: 16px;
  color: var(--gray-600);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.pricing-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  background: var(--white);
  transition: box-shadow 0.2s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.pricing-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-price .amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}
.pricing-price .period {
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 500;
}
.pricing-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.6;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}
.pricing-features .check-icon {
  flex-shrink: 0;
  color: var(--green);
  font-weight: 700;
  margin-top: 1px;
}
.pricing-card .btn {
  width: 100%;
  justify-content: center;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 10px;
}

/* ===== Footer ===== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--gray-200);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer-brand {
  flex-shrink: 0;
}
.footer-brand .logo {
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--gray-500);
  max-width: 260px;
}
.footer-columns {
  display: flex;
  gap: 64px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--black);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--black); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
}

/* ===== Mobile Nav Overlay ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mobile-nav a:hover { background: var(--gray-50); }
.mobile-nav .btn {
  margin-top: 16px;
  justify-content: center;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-card {
    grid-template-columns: 1fr;
  }
  .about-photo {
    order: -1;
    max-height: 320px;
    overflow: hidden;
  }
  .about-photo .photo-placeholder {
    min-height: 280px;
  }
  .footer-inner {
    flex-direction: column;
  }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .logo-scroll { max-width: 360px; }
  .logo-scroll-track img:nth-child(3n+1) { height: 52px; }
  .logo-scroll-track img:nth-child(3n+2) { height: 44px; }
  .logo-scroll-track img:nth-child(3n)   { height: 22px; }
  .process { padding: 56px 0; }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .differentiator { padding: 56px 0; }
  .diff-grid { gap: 32px; }
  .about { padding: 56px 0; }
  .about-text { padding: 32px 24px; }
  .pricing { padding: 56px 0; }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .pricing-card { padding: 32px 24px; }
  .footer-columns { gap: 40px; flex-wrap: wrap; }
}

/* Small mobile */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 26px; }
  .logo-scroll { max-width: 280px; }
  .logo-scroll-track { gap: 36px; }
  .about-text h3 { font-size: 22px; }
}

/* ===== Blog Listing ===== */
.blog-hero {
  padding: 64px 0 48px;
  text-align: center;
}
.blog-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 700px;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
}
.blog-hero p {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 28px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-bottom: 80px;
}
.blog-card {
  position: relative;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--white);
  cursor: pointer;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card-body {
  padding: 28px 24px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.blog-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card-title a {
  transition: color 0.2s;
}
.blog-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.blog-card:hover .blog-card-title a {
  color: var(--green);
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Blog Article ===== */

/* Article Hero */
.article-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}
.category-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.15;
}
.article-hero .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-500);
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.article-hero .article-meta .author {
  font-weight: 600;
  color: var(--black);
}
.article-hero-visual {
  background: linear-gradient(135deg, var(--green-light) 0%, #DCFCE7 50%, #BBF7D0 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.article-hero-visual::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 30% 70%, rgba(34,197,94,0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 30%, rgba(34,197,94,0.1) 0%, transparent 50%);
}
.article-hero-visual svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
  position: relative;
}
.article-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* Article Layout */
.article-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}

/* TOC Sidebar */
.toc-sidebar {
  position: relative;
}
.toc-sidebar nav {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  max-height: calc(100vh - var(--nav-height) - 48px);
  overflow-y: auto;
}
.toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.toc-sidebar ol {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--gray-200);
}
.toc-sidebar li {
  margin: 0;
}
.toc-sidebar a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray-500);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.toc-sidebar a:hover {
  color: var(--black);
}
.toc-sidebar a.active {
  color: var(--green);
  border-left-color: var(--green);
  font-weight: 600;
}

/* Article Body */
.article-body {
  max-width: 720px;
  padding-bottom: 48px;
}
.article-body h2 {
  font-size: 26px;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}
.article-body h3 {
  font-size: 20px;
  margin: 36px 0 12px;
}
.article-body h4 {
  font-size: 17px;
  margin: 28px 0 10px;
}
.article-body p {
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 16px;
}
.article-body ul,
.article-body ol {
  margin-bottom: 18px;
  padding-left: 24px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 16px;
}
.article-body strong {
  font-weight: 700;
  color: var(--black);
}
.article-body blockquote {
  border-left: 4px solid var(--green);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--gray-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--gray-700);
}
.article-body blockquote p {
  margin-bottom: 8px;
}
.article-body blockquote p:last-child {
  margin-bottom: 0;
}
.article-body a {
  color: var(--green);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: var(--green-hover);
}
.article-body .btn {
  color: var(--white);
  text-decoration: none;
}
.article-body hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 40px 0;
}

/* CTA Banner */
.article-cta-banner {
  background: var(--green-light);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.article-cta-banner h3 {
  font-size: 20px;
  margin: 0 0 4px;
  color: var(--black);
}
.article-cta-banner p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}
.article-cta-banner .btn {
  flex-shrink: 0;
}

/* Related Articles */
.related-articles {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 80px;
  border-top: 1px solid var(--gray-200);
}
.related-articles h2 {
  font-size: 24px;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.related-articles .blog-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 0;
}

/* Blog responsive */
@media (max-width: 1024px) {
  .article-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-hero-visual {
    display: none;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .toc-sidebar nav {
    position: static;
    max-height: none;
  }
  .related-articles .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .blog-hero { padding: 48px 0 32px; }
  .article-hero {
    padding: 48px 24px 32px;
  }
  .toc-sidebar {
    display: none;
  }
  .article-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .related-articles .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
