/* ═══════════════════════════════════════════════════════════════
   ac-article.css — /agentic-commerce/* article pages
   Extends ac-page tokens
═══════════════════════════════════════════════════════════════ */

.ac-article {
  max-width: 860px;
  padding: 48px 0 100px;
}

.ac-article-header {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.ac-article-header h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.ac-article-header h1 em { font-style: italic; color: var(--gold); font-weight: 500; }

.ac-article-lede {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 700px;
  margin-bottom: 24px;
}
.ac-article-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ── Article banner image ── */
.ac-article-banner {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  margin-bottom: 64px;
  border-radius: 2px;
}
@media (max-width: 768px) {
  .ac-article-banner { height: 220px; margin-bottom: 40px; }
}

/* ── Body typography ── */
.ac-article-body h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin: 56px 0 20px;
}
.ac-article-body h2 em { font-style: italic; color: var(--gold); }
.ac-article-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 40px 0 16px;
}
.ac-article-body p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 20px;
}
.ac-article-body p strong { color: var(--ink); font-weight: 500; }
.ac-article-body p em { font-style: italic; color: var(--gold); }
.ac-article-body ul {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ac-article-body ul li {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-dim);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}
.ac-article-body ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.ac-article-body blockquote {
  margin: 40px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
}
.ac-article-body blockquote p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 0;
  font-style: italic;
}

/* ── CTA block at end of article ── */
.ac-article-cta {
  margin-top: 72px;
  padding: 48px;
  border: 1px solid var(--rule-s);
  background: var(--bg-e);
}
.ac-article-cta p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin-bottom: 20px;
}

/* ── Related links ── */
.ac-related {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.ac-related p {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ac-related p::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.ac-related ul { list-style: none; margin: 0; gap: 0; }
.ac-related ul li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  padding-left: 0;
}
.ac-related ul li::before { display: none; }
.ac-related ul li a {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-dim);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.ac-related ul li a:hover { color: var(--gold); }
.ac-related ul li a .arr { font-size: 14px; }

@media (max-width: 768px) {
  .ac-article-cta { padding: 28px 24px; }
}
