/* ============================================================
   UNDA-THEME — Article CSS
   All article page components: layout, typography, sidebars,
   comparison tables, CTAs, callouts, and responsive breakpoints.
   ============================================================ */

/* ============================================================
   PROGRESS BAR
   ============================================================ */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--blue);
  z-index: 999;
  transition: width 0.1s linear;
}

/* ============================================================
   LAYOUT — WRAPPERS
   ============================================================ */

/* Breadcrumb + pillar-back pill — outside the narrow article-wrap,
   aligned with the header (1280px) so it always starts at the same
   left edge as the logo, regardless of article content width. */
.page-crumb-wrap {
  max-width: 1280px;
  padding: 48px 28px 0;
  margin: 0 auto;
}

.article-wrap {
  max-width: 1280px;
  padding: 0 28px;
  margin: 0 auto;
}

/* Pillar: 3-column grid — toc | content | sidebar */
.article-wrap--pillar {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  gap: 0 40px;
  align-items: start;
}

/* Full-width elements inside pillar grid */
.article-wrap--pillar .art-header,
.article-wrap--pillar .art-featured-image {
  grid-column: 1 / -1;
}

/* Breadcrumb stays left — stops before the sidebar column */
.article-wrap--pillar .art-breadcrumb {
  grid-column: 1 / 3;
}

.article-wrap--single {
  max-width: 1080px;
}

.article-wrap--comparison {
  max-width: 1240px;
}

/* Main content column */
.art-content {
  max-width: 720px;
  min-width: 0;
}

.article-wrap--single .art-content,
.article-wrap--comparison .art-content {
  max-width: 100%;
}

/* ============================================================
   ARTICLE HEADER
   ============================================================ */

.art-breadcrumb {
  padding: 48px 0 0;
}

.art-header {
  padding: 32px 0 28px;
}

/* Eyebrow pill with colored dot */
.art-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  padding: 5px 12px;
  margin-bottom: 20px;
}

.art-eyebrow--pillar {
  background: rgba(59, 91, 255, 0.12);
  color: var(--blue);
}

.art-eyebrow--cluster {
  background: rgba(61, 220, 132, 0.12);
  color: var(--green);
}

.art-eyebrow--comparison {
  background: rgba(255, 176, 32, 0.12);
  color: #FFB020;
}

.art-eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.art-eyebrow--pillar .dot {
  background: var(--blue);
}

.art-eyebrow--cluster .dot {
  background: var(--green);
}

.art-eyebrow--comparison .dot {
  background: #FFB020;
}

.art-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--t-strong);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.art-lede {
  font-size: clamp(17px, 1.5vw, 21px);
  font-style: italic;
  color: var(--t-body);
  line-height: 1.65;
  margin-bottom: 20px;
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--t-soft);
}

.art-meta-sep {
  opacity: 0.3;
}

.art-featured-image {
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--t-line);
}

.art-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   TOC SIDEBAR (pillar layout)
   ============================================================ */

.toc-aside {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 24px 0;
}

.toc-aside::-webkit-scrollbar {
  display: none;
}

.toc-title {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t-soft);
  margin-bottom: 14px;
}

.toc-list {
  list-style: none;
}

.toc-list a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--t-soft);
  padding: 5px 0 5px 12px;
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.45;
}

.toc-list a:hover {
  color: var(--t-body);
}

.toc-list a.active {
  color: var(--blue);
  border-left-color: var(--blue);
}

.toc-list .toc-h3 a {
  padding-left: 24px;
  font-size: 12px;
  font-weight: 400;
}

/* ============================================================
   INLINE TOC (cluster / comparison, collapsible)
   ============================================================ */

.inline-toc {
  background: var(--bg-soft);
  border: 1px solid var(--t-line);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 36px;
  overflow: hidden;
}

.inline-toc--comparison {
  border-left-color: #FFB020;
}

.toc-collapse-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  user-select: none;
}

.inline-toc-title {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--t-soft);
}

.toc-collapse-arrow {
  width: 16px;
  height: 16px;
  color: var(--t-soft);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.inline-toc.is-open .toc-collapse-arrow {
  transform: rotate(180deg);
}

.toc-collapse-content {
  display: none;
  padding: 0 20px 16px;
}

.inline-toc.is-open .toc-collapse-content {
  display: block;
}

.toc-collapse-content .toc-list a {
  font-size: 13px;
}

/* ============================================================
   RIGHT SIDEBAR
   ============================================================ */

.aside-right {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 0;
}

/* ============================================================
   CTA BOX (sidebar)
   ============================================================ */

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--t-line);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.cta-box-mark {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.cta-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--t-strong);
  margin-bottom: 8px;
}

.cta-box p {
  font-size: 13px;
  color: var(--t-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cta-box .btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cta-box .btn-download:hover {
  opacity: 0.88;
}

.cta-box-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--t-soft);
  justify-content: center;
}

/* ============================================================
   INLINE CTA (cluster / comparison)
   ============================================================ */

.cta-inline {
  background: linear-gradient(108deg, rgba(59,91,255,0.10) 0%, var(--bg-card) 55%);
  border: 1px solid rgba(59,91,255,0.28);
  border-radius: 16px;
  padding: 22px 28px;
  margin: 36px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle blue glow accent on the left edge */
.cta-inline::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--blue);
  border-radius: 16px 0 0 16px;
}

.cta-inline-mark {
  width: 50px;
  height: 50px;
  background: var(--blue);
  border-radius: 13px;
  box-shadow: 0 4px 20px rgba(59,91,255,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.cta-inline-body h3,
.cta-inline-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--t-strong);
  margin: 0 0 5px;
}

.cta-inline-body p {
  font-size: 13px;
  color: var(--t-soft);
  margin: 0;
  line-height: 1.5;
}

.cta-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(59,91,255,0.42);
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}

.cta-inline-btn:hover {
  background: #2c4ae0;
  color: #fff;
  box-shadow: 0 6px 22px rgba(59,91,255,0.58);
  transform: translateY(-1px);
}

/* ============================================================
   ARTICLE BODY TYPOGRAPHY
   ============================================================ */

.art-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--t-body);
}

.art-body h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--t-strong);
  margin: 56px 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  scroll-margin-top: 96px;
}

.art-body h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.art-body--cluster h2::before {
  background: var(--green);
}

.art-body--comparison h2::before {
  background: #FFB020;
}

.art-body h3 {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--t-strong);
  margin: 36px 0 14px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  scroll-margin-top: 96px;
}

.art-body p {
  margin-bottom: 20px;
}

.art-body p:last-child {
  margin-bottom: 0;
}

.art-body ul,
.art-body ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.art-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.art-body strong {
  font-weight: 700;
  color: var(--t-strong);
}

.art-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(59, 91, 255, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.art-body a:hover {
  text-decoration-color: var(--blue);
}

.art-body code {
  font-family: var(--f-mono);
  font-size: 13px;
  background: var(--bg-card);
  border: 1px solid var(--t-line);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--green);
}

.art-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--t-body);
}

.art-body blockquote p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   CLUSTER LINK CARD
   ============================================================ */

.cluster-link {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--t-line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.cluster-link:hover {
  border-color: var(--blue);
  transform: translateX(3px);
}

.cluster-link-icon {
  width: 36px;
  height: 36px;
  background: rgba(59, 91, 255, 0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-top: 2px;
  flex-shrink: 0;
}

.cluster-link-body {
  flex: 1;
  min-width: 0;
}

.cluster-link-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 4px;
}

.cluster-link-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--t-strong);
  margin-bottom: 4px;
}

.cluster-link-desc {
  font-size: 13px;
  color: var(--t-soft);
  line-height: 1.55;
}

.cluster-link-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--t-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-soft);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  align-self: center;
}

.cluster-link:hover .cluster-link-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ============================================================
   CALLOUTS
   ============================================================ */

.callout {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}

/* BEM classes (--info) and plain classes (.info) both supported */
.callout.info,
.callout--info {
  background: rgba(59,91,255,0.08);
  border: 1px solid rgba(59,91,255,0.25);
}

.callout.success,
.callout--success {
  background: rgba(61,220,132,0.08);
  border: 1px solid rgba(61,220,132,0.25);
}

.callout.warning,
.callout--warning {
  background: rgba(255,176,32,0.08);
  border: 1px solid rgba(255,176,32,0.30);
}

.callout-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.callout.info .callout-icon,
.callout--info .callout-icon {
  background: var(--blue);
  color: #fff;
}

.callout.success .callout-icon,
.callout--success .callout-icon {
  background: var(--green);
  color: var(--bg);
}

.callout.warning .callout-icon,
.callout--warning .callout-icon {
  background: #FFB020;
  color: var(--bg);
}

.callout-body {
  font-size: 15px;
  color: var(--t-body);
  line-height: 1.65;
}

.callout-body p:last-child {
  margin-bottom: 0;
}

.callout-body strong {
  color: var(--t-strong);
}

/* ============================================================
   CODE BLOCK
   ============================================================ */

.code-block {
  background: var(--bg-soft);
  border: 1px solid var(--t-line);
  border-radius: var(--radius);
  margin: 24px 0;
  overflow: hidden;
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid var(--t-line);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--t-soft);
}

.code-block-lang {
  background: rgba(59, 91, 255, 0.1);
  color: var(--blue);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.code-block pre {
  margin: 0;
  padding: 16px 20px;
  overflow-x: auto;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--t-body);
}

.code-block pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
  border-radius: 0;
}

/* ============================================================
   FIGURE
   ============================================================ */

.art-figure {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--t-line);
}

.art-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.art-figure figcaption {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--t-soft);
  border-top: 1px solid var(--t-line);
  font-style: italic;
}

/* ============================================================
   COMPARE TABLE (simple)
   ============================================================ */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.compare-table th {
  background: var(--bg-soft);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--t-soft);
  text-align: left;
}

.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--t-line);
  color: var(--t-body);
}

.compare-table tbody tr:hover td {
  background: var(--bg-soft);
}

/* ============================================================
   MEGA COMPARE TABLE
   ============================================================ */

.compare-mega-wrap {
  overflow-x: auto;
  border: 1px solid var(--t-line-2);
  border-radius: var(--radius);
  margin: 32px 0;
  background: var(--bg-card);
}

.compare-mega {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-mega thead th {
  padding: 20px 18px;
  text-align: center;
  font-weight: 700;
  color: var(--t-strong);
  border-bottom: 1px solid var(--t-line-2);
  background: var(--bg-card-hi);
  vertical-align: bottom;
}

.compare-mega thead th:first-child {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t-soft);
  background: var(--bg-soft);
  min-width: 160px;
}

/* Featured column header (Undaplayer) */
.compare-mega thead th.featured {
  background: linear-gradient(180deg, rgba(59,91,255,0.15), rgba(59,91,255,0.04));
  border-bottom: 2px solid var(--blue);
}

.compare-mega tbody td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--t-line);
  color: var(--t-body);
  vertical-align: middle;
}

.compare-mega tbody td:first-child {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--t-strong);
  background: var(--bg-soft);
}

.compare-mega tbody tr:last-child td {
  border-bottom: 0;
}

.compare-mega .featured-cell {
  background: rgba(59,91,255,0.04);
}

.compare-mega .check,
.compare-mega .cross,
.compare-mega .partial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.compare-mega .check {
  background: rgba(61, 220, 132, 0.15);
  color: var(--green);
}

.compare-mega .cross {
  background: rgba(255, 80, 80, 0.12);
  color: #FF5050;
}

.compare-mega .partial {
  background: rgba(255, 176, 32, 0.15);
  color: #FFB020;
}

.compare-mega .price-cell {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--t-strong);
}

.compare-mega-app-name {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--t-strong);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.compare-mega thead th.featured .compare-mega-app-name {
  color: var(--blue);
}

.compare-mega-app-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--t-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   COMPARISON CAROUSEL (mobile)
   ============================================================ */

.compare-carousel-label {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--t-soft);
  text-align: center;
  margin-bottom: 12px;
}

.compare-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.compare-carousel::-webkit-scrollbar {
  display: none;
}

.compare-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--t-line);
  border-radius: var(--radius);
  padding: 20px;
}

.compare-card.featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, rgba(59, 91, 255, 0.08) 0%, var(--bg-card) 60%);
}

.compare-card-header {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--t-line);
}

.compare-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--t-strong);
}

.compare-card-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--t-soft);
  margin-top: 2px;
}

.compare-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: 12px;
}

.compare-feature-label {
  color: var(--t-soft);
}

.compare-feature-value {
  font-weight: 600;
  color: var(--t-body);
}

/* ============================================================
   APP CARDS (comparison)
   ============================================================ */

.app-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 32px 0;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--t-line-2);
  border-radius: 16px;
  overflow: hidden;
}

.app-card.featured {
  border-color: var(--blue);
  background:
    linear-gradient(180deg, rgba(59,91,255,0.08), transparent),
    var(--bg-card);
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--t-line);
}

.app-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--t-strong);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.app-card.featured .app-card-name {
  color: var(--blue);
}

.app-card-cat {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--t-soft);
  letter-spacing: 0.04em;
}

.app-card-rating {
  text-align: right;
  flex-shrink: 0;
  margin-left: 16px;
}

.app-card-rating-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--t-strong);
  line-height: 1;
  letter-spacing: -0.03em;
}

.app-card.featured .app-card-rating-value {
  color: var(--blue);
}

.app-card-rating-label {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--t-soft);
  text-align: right;
  letter-spacing: 0.04em;
}

.app-card-body {
  padding: 14px 24px;
  font-size: 14px;
  color: var(--t-body);
  line-height: 1.65;
  border-bottom: 1px solid var(--t-line);
  margin: 0;
}

.app-card-section {
  padding: 14px 24px;
  border-bottom: 1px solid var(--t-line);
}

.app-card-section:last-child {
  border-bottom: 0;
}

.app-card-section h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.app-card-section.pros h5 {
  color: var(--green);
}

.app-card-section.cons h5 {
  color: #FF5050;
}

.app-card-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.app-card-section li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--t-body);
  padding: 4px 0;
  line-height: 1.5;
}

.app-card-section.pros li::before {
  content: '+';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--f-mono);
}

.app-card-section.cons li::before {
  content: '−';
  color: #FF5050;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--f-mono);
}

/* ============================================================
   QUICK VERDICT (comparison)
   ============================================================ */

.quick-verdict {
  background:
    linear-gradient(180deg, rgba(59,91,255,0.10), transparent),
    var(--bg-card);
  border: 1px solid var(--blue);
  border-radius: 16px;
  padding: 32px 36px;
  margin: 0 0 48px;
}

.quick-verdict-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.quick-verdict-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 4px 10px;
  background: var(--blue-soft);
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-verdict-header h2 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--t-strong);
  margin: 0;
  line-height: 1.3;
}

.quick-verdict-header h2::before { display: none; }

.quick-verdict-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.qv-pick {
  background: var(--bg-soft);
  border: 1px solid var(--t-line-2);
  border-radius: 12px;
  padding: 18px;
}

.qv-pick-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t-soft);
  margin-bottom: 10px;
  line-height: 1.4;
}

.qv-pick-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--t-strong);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.qv-pick-reason {
  font-size: 12px;
  color: var(--t-body);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   USE-CASE GRID
   ============================================================ */

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 32px 0;
}

.usecase-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--t-line-2);
  border-radius: 14px;
  padding: 24px 26px;
}

.usecase-card.featured {
  border-color: var(--blue);
  background:
    linear-gradient(180deg, rgba(59,91,255,0.06), transparent),
    var(--bg-card);
}

.usecase-card-icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(59,91,255,0.35);
}

/* SVG icons: white stroke on blue background */
.usecase-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Fallback when SVG is stripped by WordPress kses */
.usecase-card-icon:empty::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.usecase-card-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--t-soft);
  display: block;
}

.usecase-card-pick {
  font-size: 18px;
  font-weight: 700;
  color: var(--t-strong);
  letter-spacing: -0.01em;
  display: block;
}

.usecase-card.featured .usecase-card-pick {
  color: var(--blue);
}

.usecase-card-reason {
  font-size: 13px;
  color: var(--t-body);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   DISCLOSURE + METHODOLOGY
   ============================================================ */

.disclosure-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 176, 32, 0.06);
  border: 1px solid rgba(255, 176, 32, 0.25);
  border-left: 3px solid #FFB020;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--t-body);
  line-height: 1.65;
  margin: 24px 0;
}

.disclosure-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.4;
}

.disclosure-box a,
.disclosure-box__cta {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.methodology {
  background: var(--bg-soft);
  border-left: 3px solid #FFB020;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 36px 0;
}

.methodology-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFB020;
  margin-bottom: 8px;
}

.methodology p {
  font-size: 13px;
  color: var(--t-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   PILLAR BACK-LINKS
   ============================================================ */

.pillar-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid rgba(59, 91, 255, 0.25);
  border-radius: 100px;
  padding: 5px 14px 5px 5px;
  margin-bottom: 28px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.pillar-back:hover {
  border-color: var(--blue);
  background: rgba(59, 91, 255, 0.06);
}

.pillar-back-label {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #fff;
  background: var(--blue);
  border-radius: 100px;
  padding: 4px 10px;
  line-height: 1.4;
}

.pillar-back-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--t-head);
}

.pillar-back-arrow {
  font-size: 13px;
  color: var(--blue);
  margin-left: 2px;
}

.pillar-return {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 56px 0 28px;
  text-decoration: none;
  transition: background 0.2s;
}

.pillar-return:hover {
  background: rgba(59, 91, 255, 0.05);
}

.pillar-return-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue);
  margin-bottom: 6px;
}

.pillar-return-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--t-strong);
  margin-bottom: 4px;
}

.pillar-return-desc {
  font-size: 13px;
  color: var(--t-soft);
}

.pillar-return-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================================
   RELATED SECTION
   ============================================================ */

.related-section {
  padding: 56px 0 0;
  border-top: 1px solid var(--t-line);
  margin-top: 56px;
}

.related-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 10px;
}

.related-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--t-strong);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.related-sub {
  font-size: 15px;
  color: var(--t-soft);
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--t-line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s;
}

.related-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.related-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue);
  background: rgba(59, 91, 255, 0.1);
  padding: 3px 9px;
  border-radius: 20px;
  align-self: flex-start;
}

.related-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--t-strong);
  line-height: 1.4;
}

.related-card p {
  font-size: 13px;
  color: var(--t-soft);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0;
}

/* ============================================================
   DISCLAIMER + STICKY CTA
   ============================================================ */

.disclaimer-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--t-line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 40px 0 0;
  font-size: 13px;
  color: var(--t-soft);
}

.disclaimer-box::before {
  content: '⚖️';
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1.4;
}

.disclaimer-box__cta {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.disclaimer-box__cta:hover {
  text-decoration: underline;
}

/* Sticky CTA — hidden on desktop, shown when aside-right is hidden */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 19, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--t-line);
  padding: 12px 20px;
  align-items: center;
  gap: 14px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-mark {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.sticky-cta-body {
  flex: 1;
  min-width: 0;
}

.sticky-cta-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--t-strong);
  line-height: 1.3;
}

.sticky-cta-sub {
  font-size: 11px;
  color: var(--t-soft);
}

.sticky-cta-btn {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.sticky-cta-btn:hover {
  opacity: 0.88;
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */

.section-divider {
  margin: 64px 0 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: none;
  background: none;
  height: auto;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--t-line);
}

.section-divider span {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--t-soft);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   IMAGE PLACEHOLDER (editorial demo — remove when real images added)
   ============================================================ */

.img-placeholder {
  width: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      var(--bg-card) 0,
      var(--bg-card) 12px,
      var(--bg-card-hi) 12px,
      var(--bg-card-hi) 24px
    );
  border: 2px dashed rgba(255,176,32,0.5);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.img-placeholder-content {
  text-align: center;
  max-width: 520px;
}

.img-placeholder-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #FFB020;
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 14px;
}

.img-placeholder h5 {
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--t-strong);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.img-placeholder p {
  font-size: 13px;
  color: var(--t-body);
  margin-bottom: 12px;
  line-height: 1.55;
}

.img-placeholder .specs {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--t-soft);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  margin-top: 8px;
}

.img-placeholder .specs b {
  color: #FFB020;
  font-weight: 700;
}

.img-placeholder .prompt-box {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--t-line);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 12px 0;
  text-align: left;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.55;
  color: var(--t-soft);
}

.img-placeholder .prompt-box-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #FFB020;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.img-placeholder.featured  { min-height: 320px; }
.img-placeholder.screenshot { min-height: 260px; }
.img-placeholder.diagram   { min-height: 200px; }
.img-placeholder.small     { min-height: 160px; padding: 20px; }

/* Article-type color variants */
.art-body--pillar .img-placeholder     { border-color: rgba(59,91,255,0.5); }
.art-body--pillar .img-placeholder-tag { background: var(--blue); color: #fff; }
.art-body--pillar .img-placeholder .specs b { color: var(--blue); }

.art-body--cluster .img-placeholder     { border-color: rgba(61,220,132,0.5); }
.art-body--cluster .img-placeholder-tag { background: var(--green); color: var(--bg); }
.art-body--cluster .img-placeholder .specs b { color: var(--green); }

/* ============================================================
   STEPS LIST (numbered how-to)
   ============================================================ */

.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  counter-reset: step;
}

.steps > li {
  counter-increment: step;
  padding: 24px 0 24px 64px;
  position: relative;
  border-bottom: 1px solid var(--t-line);
}

.steps > li:last-child { border-bottom: 0; }

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--f-mono);
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--t-strong);
  letter-spacing: -0.01em;
  scroll-margin-top: 96px;
}

.steps p {
  margin: 0;
  font-size: 15px;
  color: var(--t-body);
}

/* ============================================================
   RESPONSIVE — 1280px
   ============================================================ */

@media (max-width: 1280px) {
  .article-wrap--pillar {
    grid-template-columns: 210px 1fr 240px;
    gap: 0 28px;
  }
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */

@media (max-width: 1024px) {
  .article-wrap--pillar {
    grid-template-columns: 200px 1fr;
  }

  .aside-right {
    display: none;
  }

  .sticky-cta {
    display: flex;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-verdict-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */

@media (max-width: 768px) {
  .article-wrap--pillar {
    grid-template-columns: 1fr;
  }

  .toc-aside {
    display: none;
  }

  .art-body h2::before {
    display: none;
  }

  .art-body h2 {
    margin-top: 36px;
  }

  .art-featured-image {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .art-figure {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .related-grid,
  .related-grid--2col {
    grid-template-columns: 1fr;
  }

  .app-cards {
    grid-template-columns: 1fr;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .compare-mega-wrap {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .quick-verdict {
    padding: 24px 20px;
  }

  .quick-verdict-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inline {
    grid-template-columns: auto 1fr;
    padding: 20px;
  }

  .cta-inline-btn {
    grid-column: 1 / -1;
    justify-self: start;
    /* align with text column: icon(50px) + gap(22px) */
    margin-left: calc(50px + 22px);
  }

  .pillar-return {
    grid-template-columns: 1fr;
  }

  .pillar-return-arrow {
    display: none;
  }

  .steps > li {
    padding: 20px 0 20px 58px;
  }

  .steps > li::before {
    top: 20px;
    width: 40px;
    height: 40px;
    font-size: 14px;
    border-radius: 10px;
  }

  .steps h3 {
    font-size: 16px;
  }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */

@media (max-width: 480px) {
  .quick-verdict {
    padding: 20px 16px;
  }

  .quick-verdict-grid {
    grid-template-columns: 1fr;
  }

  /* CTA stacks vertically on very small phones */
  .cta-inline {
    grid-template-columns: auto 1fr;
  }

  .cta-inline-btn {
    margin-left: 0;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .steps > li {
    padding: 16px 0 16px 52px;
  }

  .steps > li::before {
    top: 16px;
    width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 9px;
  }

  .cluster-link {
    padding: 16px;
  }

  .compare-card {
    flex: 0 0 250px;
  }
}
