
.article-hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0 80px;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(37, 99, 235, 0.08),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 10%,
      rgba(14, 165, 233, 0.07),
      transparent 30%
    ),
    #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.article-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -320px;
  top: -280px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.07);
  pointer-events: none;
}

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


.article-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  color: #94a3b8;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.article-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 180ms ease;
}

.article-breadcrumb a:hover {
  color: #2563eb;
}

.article-breadcrumb span {
  color: #cbd5e1;
}


.article-category {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 20px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}



.article-hero h1 {
  max-width: none;
  margin: 0;
  color: #0f172a;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.article-hero h1 span {
  display: inline;
}



.article-lead {
  max-width: none;
  margin: 28px 0 0;
  color: #64748b;
  font-size: 1.14rem;
  line-height: 1.7;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 600;
}

.meta-separator {
  color: #cbd5e1;
}



.article-section {
  padding: 68px 0 100px;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%
    );
}

.article-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 760px)
    280px;
  gap: 80px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}


.article-content {
  min-width: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
}

.article-content p {
  margin: 0 0 22px;
}

.article-content strong {
  color: #1e293b;
  font-weight: 700;
}

.article-intro {
  color: #334155;
  font-size: 1.14rem;
  line-height: 1.7;
  font-weight: 500;
}



.article-content h2 {
  margin: 60px 0 20px;
  color: #0f172a;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.article-content h3 {
  margin: 35px 0 13px;
  color: #0f172a;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}


.article-list {
  margin: 25px 0 28px;
  padding-left: 25px;
}

.article-list li {
  margin-bottom: 12px;
  padding-left: 5px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

.article-list li::marker {
  color: #2563eb;
}



.article-callout {
  position: relative;
  margin: 38px 0 45px;
  padding: 27px 30px;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      #eff6ff,
      #f8fbff
    );
  box-shadow:
    0 8px 25px rgba(37, 99, 235, 0.06);
}

.article-callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #2563eb;
}

.callout-label {
  margin-bottom: 10px;
  color: #2563eb;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.article-callout p {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 600;
}



.article-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 35px 0;
}

.article-feature {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 23px 25px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #ffffff;
  box-shadow:
    0 5px 20px rgba(15, 23, 42, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.article-feature:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow:
    0 10px 28px rgba(37, 99, 235, 0.08);
}

.article-feature-number {
  color: #93c5fd;
  font-size: 1rem;
  font-weight: 800;
  padding-top: 4px;
}

.article-feature h3 {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.article-feature p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}



.article-sidebar {
  position: sticky;
  top: 110px;
}

.article-toc {
  padding: 23px;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: #ffffff;
  box-shadow:
    0 6px 25px rgba(15, 23, 42, 0.05);
}

.toc-title {
  margin-bottom: 17px;
  color: #2563eb;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.article-toc a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-decoration: none;
  transition:
    color 180ms ease,
    padding-left 180ms ease;
}

.article-toc a:last-child {
  border-bottom: 0;
}

.article-toc a:hover {
  padding-left: 4px;
  color: #2563eb;
}



.article-sidebar-cta {
  margin-top: 20px;
  padding: 25px;
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );
  box-shadow:
    0 15px 35px rgba(37, 99, 235, 0.20);
}

.article-sidebar-cta > span {
  color: #bfdbfe;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.article-sidebar-cta h3 {
  margin: 12px 0;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
}

.article-sidebar-cta p {
  margin: 0 0 20px;
  color: #dbeafe;
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-sidebar-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.article-sidebar-cta a span {
  font-size: 1.0625rem;
  transition: transform 180ms ease;
}

.article-sidebar-cta a:hover span {
  transform: translateX(4px);
}



.article-page .topbar .nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
}

.article-page .topbar .nav-menu .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}



.article-page footer {
  position: relative;
  padding: 34px 0 48px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid #e2e8f0;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%
    );
}

.article-page footer a {
  color: inherit;
}

.article-page footer .footer-brand {
  color: #0f172a;
  font-weight: 800;
}

.article-page footer .footer-copy {
  color: #64748b;
}

.article-page footer .footer-links a:hover {
  color: #0f172a;
}



@media (max-width: 1000px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .article-sidebar-cta {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .article-page .topbar .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow:
      0 20px 50px rgba(15, 23, 42, 0.12);
    z-index: 1000;
  }

  .article-page .topbar .nav-menu.is-open {
    display: flex;
  }

  .article-page .topbar .nav-menu .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .article-page .topbar .nav-menu .nav-links a {
    width: 100%;
    padding: 12px 14px;
    color: #0f172a;
    font-family:
      "Inter",
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    border-radius: 9px;
  }

  .article-page .topbar .nav-menu .nav-links a:hover {
    background: #f8fafc;
    color: #1d4ed8;
  }

  .article-page .topbar .nav-menu .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
  }

  .article-page .topbar .nav-menu .nav-actions a {
    width: 100%;
    text-align: center;
  }

  .article-page .topbar .nav-menu .nav-actions .outline {
    color: #1d4ed8;
    background: #ffffff;
    border: 1px solid #e2e8f0;
  }

  .article-page .topbar .nav-menu .nav-actions .solid {
    color: #ffffff;
    background: #2563eb;
  }

  .article-page .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .article-hero {
    padding: 70px 0 60px;
  }

  .article-breadcrumb {
    margin-bottom: 22px;
    font-size: 0.75rem;
  }

  .article-hero h1 {
    font-size: 2.7rem;
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .article-lead {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .meta-separator {
    display: none;
  }

  .article-section {
    padding: 60px 0 80px;
  }

  .article-content {
    font-size: 1rem;
    line-height: 1.75;
  }

  .article-intro {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .article-content h2 {
    margin-top: 50px;
    font-size: 2rem;
    line-height: 1.08;
  }

  .article-content h3 {
    font-size: 1.18rem;
  }

  .article-callout {
    padding: 23px 24px;
  }

  .article-feature {
    grid-template-columns: 42px 1fr;
    gap: 13px;
    padding: 20px;
  }

  .article-sidebar {
    display: block;
  }

  .article-sidebar-cta {
    margin-top: 20px;
  }
}