/* ===== Single article page ===== */
/* Reuses home.css for shared header/footer; this adds the article layout +
   prose styles. Lives under /articles/, so the HTML references assets with ../ */

html {
  background-image: none;
}

.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  font-family: Inter, "Inter Fallback", sans-serif;
}

/* Breadcrumb */
.article-breadcrumb {
  padding: 104px 0 0;
  font-size: 13.5px;
  color: #8a8a9c;
}
.article-breadcrumb a {
  color: #6b6b80;
  text-decoration: none;
}
.article-breadcrumb a:hover {
  color: #533afd;
}
.article-breadcrumb span[aria-hidden] {
  margin: 0 7px;
  color: #c7c7d4;
}

/* Hero */
.article-hero {
  padding: 20px 0 6px;
}
.article-cat {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #3b82f6, #7c3aed, #d946ef);
  border-radius: 999px;
  margin-bottom: 18px;
}
.article-title {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -1px;
  color: #0a0a0a;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #7a7a8c;
}
.article-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c9c9d6;
}
.article-cover {
  margin: 26px 0 4px;
  aspect-ratio: 2 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #3b82f6, #7c3aed, #d946ef);
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prose body */
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: #2b2b38;
  padding: 28px 0 8px;
}
.article-body p {
  margin: 0 0 20px;
}
.article-body h2 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #0a0a0a;
  margin: 42px 0 14px;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 30px 0 10px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body a {
  color: #533afd;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body strong {
  color: #0a0a0a;
}
.article-body blockquote {
  margin: 26px 0;
  padding: 14px 22px;
  border-left: 3px solid #7c3aed;
  background: #faf9ff;
  color: #33333f;
  font-size: 18px;
  border-radius: 0 10px 10px 0;
}
.article-body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14.5px;
  background: #f3f2f8;
  padding: 2px 6px;
  border-radius: 6px;
}
.article-body pre {
  background: #0f0e1c;
  color: #e6e6f0;
  padding: 18px 20px;
  border-radius: 12px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 8px 0 22px;
}
.article-body hr {
  border: 0;
  border-top: 1px solid #eceaf2;
  margin: 34px 0;
}

/* Bottom CTA */
.article-cta {
  margin: 30px 0 80px;
  padding: 34px 30px;
  border-radius: 18px;
  background: linear-gradient(150deg, #1a1730, #0f0d20);
  color: #fff;
  text-align: center;
}
.article-cta h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.article-cta p {
  margin: 0 0 20px;
  color: #b9b8cc;
  font-size: 15px;
  line-height: 1.6;
}
.article-cta a {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 11px;
  background: linear-gradient(90deg, #3b82f6, #7c3aed, #d946ef);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

@media (max-width: 640px) {
  .article-breadcrumb {
    padding-top: 88px;
  }
  .article-title {
    font-size: 30px;
    letter-spacing: -0.6px;
  }
  .article-body {
    font-size: 16px;
  }
  .article-body h2 {
    font-size: 23px;
  }
}

/* TL;DR / key takeaways box */
.article-tldr {
  margin: 26px 0 4px;
  padding: 20px 22px;
  background: linear-gradient(160deg, #f7f6ff, #fdf6fb);
  border: 1px solid #ece8fb;
  border-radius: 14px;
}
.article-tldr h2 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #533afd;
}
.article-tldr ul {
  margin: 0;
  padding-left: 20px;
}
.article-tldr li {
  margin-bottom: 7px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #33333f;
}

/* FAQ */
.article-faq {
  margin: 38px 0 0;
}
.article-faq > h2 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #0a0a0a;
  margin: 0 0 8px;
}
.article-faq__item {
  border-top: 1px solid #eceaf2;
  padding: 18px 0;
}
.article-faq__q {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0a0a0a;
}
.article-faq__a {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: #2b2b38;
}

/* Comparison tables */
.cmp-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.55;
  min-width: 520px;
}
.cmp-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 10px;
  font-size: 16px;
}
.cmp-table th,
.cmp-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #eceaf2;
  vertical-align: top;
}
.cmp-table thead th {
  color: #0a0a0a;
  font-weight: 700;
  border-bottom: 2px solid #533afd;
  white-space: nowrap;
}
.cmp-table tbody th {
  color: #2b2b38;
  font-weight: 600;
  width: 30%;
}
.cmp-table td {
  color: #3a3a48;
}
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td {
  border-bottom: 0;
}
.cmp-table .cmp-win {
  color: #1a7f48;
  font-weight: 600;
}
